update to Tabler v1.5.1

This commit is contained in:
JACS 2026-09-12 23:29:45 -05:00
parent 58bd5490e2
commit 0e6063f421
426 changed files with 57276 additions and 16205 deletions

View file

@ -10,28 +10,24 @@
* @param {Color} $color - The base color to be made transparent.
* @param {Number} $alpha - The level of transparency, ranging from 0 (fully transparent) to 1 (fully opaque). Default is 1.
* @return {Color} - The resulting color with the specified transparency.
*
* Mixes in `oklab` so tints against an opaque background (e.g. alert backgrounds
* over `--bg-surface`) stay perceptually even; mixing with `transparent` gives
* the same result in every color space.
*/
.flag {
position: relative;
display: inline-block;
width: 2.5rem;
aspect-ratio: 1.33333;
vertical-align: bottom;
background: no-repeat center/cover;
box-shadow: var(--tblr-shadow-border);
border-radius: var(--tblr-border-radius-sm);
}
@supports (corner-shape: squircle) {
.flag {
corner-shape: squircle;
border-radius: calc(var(--tblr-border-radius-sm) * 2.5) !important;
}
}
.flag {
vertical-align: bottom;
}
.flag.flag-country-np {
box-shadow: none;
border-radius: 0;
box-shadow: none;
}
.flag-country-ad {
@ -1074,12 +1070,6 @@
width: 1.25rem;
border-radius: 2px;
}
@supports (corner-shape: squircle) {
.flag-xs {
corner-shape: squircle;
border-radius: calc(2px * 2.5) !important;
}
}
.flag-sm {
width: 2rem;