@pontive/pontkit-core 1.42.0 → 1.43.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/catalog.json +1 -1
- package/dist/styles.css +380 -116
- package/dist/theme/types.d.ts +5 -1
- package/dist/theme/vocabulary.d.ts +7 -2
- package/dist/theme-golden.json +251 -59
- package/dist/theme.mjs +127 -110
- package/dist/theme.mjs.map +1 -1
- package/dist/tokens.json +400 -106
- package/package.json +1 -1
package/dist/styles.css
CHANGED
|
@@ -39,18 +39,22 @@
|
|
|
39
39
|
* border.css border width unit and styles (ref), the border width, style and outline roles and
|
|
40
40
|
* the `sem-border` / `sem-border-outline` shorthands (sem)
|
|
41
41
|
* color/ index.css imports ref-color/ and sem-color/ (the colour roles:
|
|
42
|
-
* light-mode.css, dark-mode.css
|
|
42
|
+
* light-mode.css, dark-mode.css, and the mode-independent shadow and chart colours in
|
|
43
|
+
* sem-color/index.css); ref-color/index.css declares the ref colour
|
|
43
44
|
* keywords and roles (global only) and imports tw-scales.css (the
|
|
44
45
|
* hue ramps)
|
|
45
46
|
* cursor.css cursor keywords (ref) and the cursor roles (sem)
|
|
46
47
|
* dimension.css the dimension unit, size scale and keywords, space keywords, size/inset defaults
|
|
47
48
|
* filter.css the blur unit (--pont-ref-filter-blur) and the blur scale derived from it
|
|
48
|
-
* layout.css aspect ratios
|
|
49
|
+
* layout.css aspect ratios, box-sizing, align-items and justify-content keywords (ref) and the
|
|
50
|
+
* items and justify roles (sem)
|
|
49
51
|
* motion.css durations, easings, transition properties (ref) and the transition/animation roles (sem)
|
|
50
52
|
* opacity.css the opacity unit (--pont-ref-opacity), none/full, and the disabled role
|
|
51
53
|
* radius.css the radius knob (--pont-ref-radius) and the ref scale derived from it
|
|
54
|
+
* shadow.css the shadow and inset shadow scales (ref), coloured by the sem shadow colours;
|
|
55
|
+
* the ring widths and ring shadows (focus, invalid, offset; sem)
|
|
52
56
|
* typography.css font stacks (ref) and roles (sem), size, weight, tracking and leading scales (ref)
|
|
53
|
-
* sem/
|
|
57
|
+
* sem/ mode switches (mode.css)
|
|
54
58
|
*/
|
|
55
59
|
|
|
56
60
|
/* ./border.css */
|
|
@@ -584,8 +588,6 @@
|
|
|
584
588
|
* re-declared on that element, so its sem tokens are resolved there.
|
|
585
589
|
*/
|
|
586
590
|
|
|
587
|
-
/* TODO(tokens): not yet migrated/refactored */
|
|
588
|
-
|
|
589
591
|
/*
|
|
590
592
|
* --------------------------------------------------
|
|
591
593
|
* COLOR SEMANTIC TOKENS - LIGHT MODE (DEFAULT)
|
|
@@ -826,12 +828,6 @@
|
|
|
826
828
|
|
|
827
829
|
--pont-sem-color-ghost: var(--pont-ref-color-transparent);
|
|
828
830
|
--pont-sem-color-ghost-hover: var(--pont-sem-color-muted);
|
|
829
|
-
|
|
830
|
-
--pont-sem-color-chart-1: var(--pont-ref-color-brand-300);
|
|
831
|
-
--pont-sem-color-chart-2: var(--pont-ref-color-brand-500);
|
|
832
|
-
--pont-sem-color-chart-3: var(--pont-ref-color-brand-600);
|
|
833
|
-
--pont-sem-color-chart-4: var(--pont-ref-color-brand-700);
|
|
834
|
-
--pont-sem-color-chart-5: var(--pont-ref-color-brand-800);
|
|
835
831
|
}
|
|
836
832
|
}
|
|
837
833
|
|
|
@@ -1146,6 +1142,46 @@
|
|
|
1146
1142
|
}
|
|
1147
1143
|
}
|
|
1148
1144
|
|
|
1145
|
+
/*
|
|
1146
|
+
* --------------------------------------------------
|
|
1147
|
+
* COLOR SEMANTIC TOKENS - COMMON
|
|
1148
|
+
* --------------------------------------------------
|
|
1149
|
+
*/
|
|
1150
|
+
|
|
1151
|
+
@layer pont.tokens {
|
|
1152
|
+
:root {
|
|
1153
|
+
--pont-sem-color-shadow: color-mix(
|
|
1154
|
+
in oklab,
|
|
1155
|
+
var(--pont-ref-color-black) 10%,
|
|
1156
|
+
var(--pont-ref-color-transparent)
|
|
1157
|
+
);
|
|
1158
|
+
|
|
1159
|
+
--pont-sem-color-shadow-subtle: color-mix(
|
|
1160
|
+
in oklab,
|
|
1161
|
+
var(--pont-ref-color-black) 5%,
|
|
1162
|
+
var(--pont-ref-color-transparent)
|
|
1163
|
+
);
|
|
1164
|
+
|
|
1165
|
+
--pont-sem-color-shadow-strong: color-mix(
|
|
1166
|
+
in oklab,
|
|
1167
|
+
var(--pont-ref-color-black) 25%,
|
|
1168
|
+
var(--pont-ref-color-transparent)
|
|
1169
|
+
);
|
|
1170
|
+
|
|
1171
|
+
--pont-sem-color-shadow-transparent: var(--pont-ref-color-transparent);
|
|
1172
|
+
}
|
|
1173
|
+
}
|
|
1174
|
+
|
|
1175
|
+
@layer pont.tokens {
|
|
1176
|
+
:root {
|
|
1177
|
+
--pont-sem-color-chart-1: var(--pont-ref-color-brand-300);
|
|
1178
|
+
--pont-sem-color-chart-2: var(--pont-ref-color-brand-500);
|
|
1179
|
+
--pont-sem-color-chart-3: var(--pont-ref-color-brand-600);
|
|
1180
|
+
--pont-sem-color-chart-4: var(--pont-ref-color-brand-700);
|
|
1181
|
+
--pont-sem-color-chart-5: var(--pont-ref-color-brand-800);
|
|
1182
|
+
}
|
|
1183
|
+
}
|
|
1184
|
+
|
|
1149
1185
|
/* ./cursor.css */
|
|
1150
1186
|
/*
|
|
1151
1187
|
* ===========================================================================
|
|
@@ -1396,6 +1432,9 @@
|
|
|
1396
1432
|
/*
|
|
1397
1433
|
* ===========================================================================
|
|
1398
1434
|
* LAYOUT TOKENS
|
|
1435
|
+
* ---------------------------------------------------------------------------
|
|
1436
|
+
* Aspect ratios and box sizing (ref); align-items and justify-content
|
|
1437
|
+
* keywords (ref, fixed) and their roles (sem, themable)
|
|
1399
1438
|
* ===========================================================================
|
|
1400
1439
|
*/
|
|
1401
1440
|
|
|
@@ -1422,6 +1461,107 @@
|
|
|
1422
1461
|
}
|
|
1423
1462
|
}
|
|
1424
1463
|
|
|
1464
|
+
/*
|
|
1465
|
+
* ---------------------------------------------------------------------------
|
|
1466
|
+
* LAYOUT BOX TOKENS
|
|
1467
|
+
* ---------------------------------------------------------------------------
|
|
1468
|
+
* `box-sizing`
|
|
1469
|
+
* ---------------------------------------------------------------------------
|
|
1470
|
+
*/
|
|
1471
|
+
|
|
1472
|
+
/*
|
|
1473
|
+
* --------------------------------------------------
|
|
1474
|
+
* LAYOUT BOX REFERENCE TOKENS
|
|
1475
|
+
* --------------------------------------------------
|
|
1476
|
+
*/
|
|
1477
|
+
|
|
1478
|
+
@layer pont.tokens {
|
|
1479
|
+
:root {
|
|
1480
|
+
--pont-ref-layout-box-border: border-box;
|
|
1481
|
+
--pont-ref-layout-box-content: content-box;
|
|
1482
|
+
}
|
|
1483
|
+
}
|
|
1484
|
+
|
|
1485
|
+
/*
|
|
1486
|
+
* ---------------------------------------------------------------------------
|
|
1487
|
+
* LAYOUT ITEMS TOKENS
|
|
1488
|
+
* ---------------------------------------------------------------------------
|
|
1489
|
+
* `align-items`
|
|
1490
|
+
* ---------------------------------------------------------------------------
|
|
1491
|
+
*/
|
|
1492
|
+
|
|
1493
|
+
/*
|
|
1494
|
+
* --------------------------------------------------
|
|
1495
|
+
* LAYOUT ITEMS REFERENCE TOKENS
|
|
1496
|
+
* --------------------------------------------------
|
|
1497
|
+
*/
|
|
1498
|
+
|
|
1499
|
+
@layer pont.tokens {
|
|
1500
|
+
:root {
|
|
1501
|
+
--pont-ref-layout-items-start: flex-start;
|
|
1502
|
+
--pont-ref-layout-items-end: flex-end;
|
|
1503
|
+
--pont-ref-layout-items-end-safe: safe flex-end;
|
|
1504
|
+
--pont-ref-layout-items-center: center;
|
|
1505
|
+
--pont-ref-layout-items-center-safe: safe center;
|
|
1506
|
+
--pont-ref-layout-items-baseline: baseline;
|
|
1507
|
+
--pont-ref-layout-items-baseline-last: last baseline;
|
|
1508
|
+
--pont-ref-layout-items-stretch: stretch;
|
|
1509
|
+
}
|
|
1510
|
+
}
|
|
1511
|
+
|
|
1512
|
+
/*
|
|
1513
|
+
* --------------------------------------------------
|
|
1514
|
+
* LAYOUT ITEMS SEMANTIC TOKENS
|
|
1515
|
+
* --------------------------------------------------
|
|
1516
|
+
*/
|
|
1517
|
+
|
|
1518
|
+
@layer pont.tokens {
|
|
1519
|
+
:root {
|
|
1520
|
+
--pont-sem-layout-items: var(--pont-ref-layout-items-start);
|
|
1521
|
+
}
|
|
1522
|
+
}
|
|
1523
|
+
|
|
1524
|
+
/*
|
|
1525
|
+
* ---------------------------------------------------------------------------
|
|
1526
|
+
* LAYOUT JUSTIFY TOKENS
|
|
1527
|
+
* ---------------------------------------------------------------------------
|
|
1528
|
+
* `justify-content`
|
|
1529
|
+
* ---------------------------------------------------------------------------
|
|
1530
|
+
*/
|
|
1531
|
+
|
|
1532
|
+
/*
|
|
1533
|
+
* --------------------------------------------------
|
|
1534
|
+
* LAYOUT JUSTIFY REFERENCE TOKENS
|
|
1535
|
+
* --------------------------------------------------
|
|
1536
|
+
*/
|
|
1537
|
+
|
|
1538
|
+
@layer pont.tokens {
|
|
1539
|
+
:root {
|
|
1540
|
+
--pont-ref-layout-justify-start: flex-start;
|
|
1541
|
+
--pont-ref-layout-justify-end: flex-end;
|
|
1542
|
+
--pont-ref-layout-justify-end-safe: safe flex-end;
|
|
1543
|
+
--pont-ref-layout-justify-center: center;
|
|
1544
|
+
--pont-ref-layout-justify-center-safe: safe center;
|
|
1545
|
+
--pont-ref-layout-justify-between: space-between;
|
|
1546
|
+
--pont-ref-layout-justify-around: space-around;
|
|
1547
|
+
--pont-ref-layout-justify-evenly: space-evenly;
|
|
1548
|
+
--pont-ref-layout-justify-stretch: stretch;
|
|
1549
|
+
--pont-ref-layout-justify-normal: normal;
|
|
1550
|
+
}
|
|
1551
|
+
}
|
|
1552
|
+
|
|
1553
|
+
/*
|
|
1554
|
+
* --------------------------------------------------
|
|
1555
|
+
* LAYOUT JUSTIFY SEMANTIC TOKENS
|
|
1556
|
+
* --------------------------------------------------
|
|
1557
|
+
*/
|
|
1558
|
+
|
|
1559
|
+
@layer pont.tokens {
|
|
1560
|
+
:root {
|
|
1561
|
+
--pont-sem-layout-justify: var(--pont-ref-layout-justify-start);
|
|
1562
|
+
}
|
|
1563
|
+
}
|
|
1564
|
+
|
|
1425
1565
|
/* ./motion.css */
|
|
1426
1566
|
/*
|
|
1427
1567
|
* ===========================================================================
|
|
@@ -1748,6 +1888,122 @@
|
|
|
1748
1888
|
}
|
|
1749
1889
|
}
|
|
1750
1890
|
|
|
1891
|
+
/* ./shadow.css */
|
|
1892
|
+
/*
|
|
1893
|
+
* ===========================================================================
|
|
1894
|
+
* SHADOW TOKENS
|
|
1895
|
+
* ---------------------------------------------------------------------------
|
|
1896
|
+
* `box-shadow`
|
|
1897
|
+
* ===========================================================================
|
|
1898
|
+
*/
|
|
1899
|
+
|
|
1900
|
+
/*
|
|
1901
|
+
* --------------------------------------------------
|
|
1902
|
+
* SHADOW REFERENCE TOKENS
|
|
1903
|
+
* --------------------------------------------------
|
|
1904
|
+
*/
|
|
1905
|
+
|
|
1906
|
+
@layer pont.tokens {
|
|
1907
|
+
:root {
|
|
1908
|
+
--pont-ref-shadow-none: 0 0 var(--pont-sem-color-shadow-transparent);
|
|
1909
|
+
}
|
|
1910
|
+
|
|
1911
|
+
:root {
|
|
1912
|
+
--pont-ref-shadow-2xs: 0 1px
|
|
1913
|
+
var(--pont-shadow-color, var(--pont-sem-color-shadow-subtle));
|
|
1914
|
+
|
|
1915
|
+
--pont-ref-shadow-xs: 0 1px 2px 0
|
|
1916
|
+
var(--pont-shadow-color, var(--pont-sem-color-shadow-subtle));
|
|
1917
|
+
|
|
1918
|
+
--pont-ref-shadow-sm:
|
|
1919
|
+
0 1px 3px 0 var(--pont-shadow-color, var(--pont-sem-color-shadow)),
|
|
1920
|
+
0 1px 2px -1px var(--pont-shadow-color, var(--pont-sem-color-shadow));
|
|
1921
|
+
|
|
1922
|
+
--pont-ref-shadow-md:
|
|
1923
|
+
0 4px 6px -1px var(--pont-shadow-color, var(--pont-sem-color-shadow)),
|
|
1924
|
+
0 2px 4px -2px var(--pont-shadow-color, var(--pont-sem-color-shadow));
|
|
1925
|
+
|
|
1926
|
+
--pont-ref-shadow-lg:
|
|
1927
|
+
0 10px 15px -3px var(--pont-shadow-color, var(--pont-sem-color-shadow)),
|
|
1928
|
+
0 4px 6px -4px var(--pont-shadow-color, var(--pont-sem-color-shadow));
|
|
1929
|
+
|
|
1930
|
+
--pont-ref-shadow-xl:
|
|
1931
|
+
0 20px 25px -5px var(--pont-shadow-color, var(--pont-sem-color-shadow)),
|
|
1932
|
+
0 8px 10px -6px var(--pont-shadow-color, var(--pont-sem-color-shadow));
|
|
1933
|
+
|
|
1934
|
+
--pont-ref-shadow-2xl: 0 25px 50px -12px
|
|
1935
|
+
var(--pont-shadow-color, var(--pont-sem-color-shadow-strong));
|
|
1936
|
+
}
|
|
1937
|
+
}
|
|
1938
|
+
|
|
1939
|
+
@layer pont.tokens {
|
|
1940
|
+
:root {
|
|
1941
|
+
--pont-ref-shadow-inset-none: inset var(--pont-ref-shadow-none);
|
|
1942
|
+
}
|
|
1943
|
+
|
|
1944
|
+
:root {
|
|
1945
|
+
--pont-ref-shadow-inset-2xs: inset 0 1px
|
|
1946
|
+
var(--pont-inset-shadow-color, var(--pont-sem-color-shadow-subtle));
|
|
1947
|
+
|
|
1948
|
+
--pont-ref-shadow-inset-xs: inset 0 1px 1px
|
|
1949
|
+
var(--pont-inset-shadow-color, var(--pont-sem-color-shadow-subtle));
|
|
1950
|
+
|
|
1951
|
+
--pont-ref-shadow-inset-sm: inset 0 2px 4px
|
|
1952
|
+
var(--pont-inset-shadow-color, var(--pont-sem-color-shadow-subtle));
|
|
1953
|
+
}
|
|
1954
|
+
}
|
|
1955
|
+
|
|
1956
|
+
/*
|
|
1957
|
+
* --------------------------------------------------
|
|
1958
|
+
* SHADOW SEMANTIC TOKENS
|
|
1959
|
+
* --------------------------------------------------
|
|
1960
|
+
*/
|
|
1961
|
+
|
|
1962
|
+
@layer pont.tokens {
|
|
1963
|
+
:root {
|
|
1964
|
+
--pont-sem-shadow-ring-width: 0px;
|
|
1965
|
+
--pont-sem-shadow-ring-width-focus: 3px;
|
|
1966
|
+
/* One ring width by default, as before: theming the focus width moves both. */
|
|
1967
|
+
--pont-sem-shadow-ring-width-invalid: var(--pont-sem-shadow-ring-width-focus);
|
|
1968
|
+
|
|
1969
|
+
--pont-sem-shadow-ring-offset-width: 0px;
|
|
1970
|
+
}
|
|
1971
|
+
|
|
1972
|
+
/*
|
|
1973
|
+
* The widths and the offset colour are read directly: Tailwind's
|
|
1974
|
+
* --pont-ring-width, --pont-ring-offset-width and --pont-ring-offset-color
|
|
1975
|
+
* are registered with an initial value (base.css), so a var() of them
|
|
1976
|
+
* never falls back. --pont-ring-color has none, so its fallback applies.
|
|
1977
|
+
*/
|
|
1978
|
+
:root {
|
|
1979
|
+
--pont-sem-shadow-ring: 0 0 0
|
|
1980
|
+
calc(
|
|
1981
|
+
var(--pont-sem-shadow-ring-width) +
|
|
1982
|
+
var(--pont-sem-shadow-ring-offset-width)
|
|
1983
|
+
)
|
|
1984
|
+
var(--pont-ring-color, var(--pont-sem-color-ring));
|
|
1985
|
+
|
|
1986
|
+
--pont-sem-shadow-ring-focus: 0 0 0
|
|
1987
|
+
calc(
|
|
1988
|
+
var(--pont-sem-shadow-ring-width-focus) +
|
|
1989
|
+
var(--pont-sem-shadow-ring-offset-width)
|
|
1990
|
+
)
|
|
1991
|
+
var(--pont-ring-color, var(--pont-sem-color-ring-focus));
|
|
1992
|
+
|
|
1993
|
+
--pont-sem-shadow-ring-invalid: 0 0 0
|
|
1994
|
+
calc(
|
|
1995
|
+
var(--pont-sem-shadow-ring-width-invalid) +
|
|
1996
|
+
var(--pont-sem-shadow-ring-offset-width)
|
|
1997
|
+
)
|
|
1998
|
+
var(--pont-ring-color, var(--pont-sem-color-ring-invalid));
|
|
1999
|
+
}
|
|
2000
|
+
|
|
2001
|
+
:root {
|
|
2002
|
+
--pont-sem-shadow-ring-offset: 0 0 0
|
|
2003
|
+
var(--pont-sem-shadow-ring-offset-width) var(--pont-sem-color-bg);
|
|
2004
|
+
}
|
|
2005
|
+
}
|
|
2006
|
+
|
|
1751
2007
|
/* ./typography.css */
|
|
1752
2008
|
/*
|
|
1753
2009
|
* ===========================================================================
|
|
@@ -1966,48 +2222,6 @@
|
|
|
1966
2222
|
}
|
|
1967
2223
|
}
|
|
1968
2224
|
|
|
1969
|
-
/* ./sem/shadow.css */
|
|
1970
|
-
/*
|
|
1971
|
-
* ===========================================================================
|
|
1972
|
-
* SHADOW SEMANTIC TOKENS
|
|
1973
|
-
* ===========================================================================
|
|
1974
|
-
*/
|
|
1975
|
-
|
|
1976
|
-
@layer pont.tokens {
|
|
1977
|
-
:root {
|
|
1978
|
-
--pont-sem-shadow-none: 0 0 #0000;
|
|
1979
|
-
--pont-sem-shadow-2xs: 0 1px rgb(0 0 0 / 0.05);
|
|
1980
|
-
--pont-sem-shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
|
|
1981
|
-
--pont-sem-shadow-sm:
|
|
1982
|
-
0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
|
|
1983
|
-
--pont-sem-shadow-md:
|
|
1984
|
-
0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
|
|
1985
|
-
--pont-sem-shadow-lg:
|
|
1986
|
-
0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
|
|
1987
|
-
--pont-sem-shadow-xl:
|
|
1988
|
-
0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
|
|
1989
|
-
--pont-sem-shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
|
|
1990
|
-
|
|
1991
|
-
--pont-sem-inset-shadow-none: inset 0 0 #0000;
|
|
1992
|
-
--pont-sem-inset-shadow-2xs: inset 0 1px rgb(0 0 0 / 0.05);
|
|
1993
|
-
--pont-sem-inset-shadow-xs: inset 0 1px 1px rgb(0 0 0 / 0.05);
|
|
1994
|
-
--pont-sem-inset-shadow-sm: inset 0 2px 4px rgb(0 0 0 / 0.05);
|
|
1995
|
-
}
|
|
1996
|
-
}
|
|
1997
|
-
|
|
1998
|
-
/* ./sem/shape.css */
|
|
1999
|
-
/*
|
|
2000
|
-
* sem · shape: the focus ring width. The border width (and style) live in
|
|
2001
|
-
* tokens/border.css, the radius knob and its scale in tokens/radius.css,
|
|
2002
|
-
* opacity in tokens/opacity.css.
|
|
2003
|
-
*/
|
|
2004
|
-
@layer pont.tokens {
|
|
2005
|
-
:root {
|
|
2006
|
-
/* Focus ring: `focus-visible:ring-3 ring-ring/50` */
|
|
2007
|
-
--pont-sem-ring-width: 3px;
|
|
2008
|
-
}
|
|
2009
|
-
}
|
|
2010
|
-
|
|
2011
2225
|
/* ./base.css */
|
|
2012
2226
|
/*
|
|
2013
2227
|
* ===========================================================================
|
|
@@ -2091,12 +2305,6 @@
|
|
|
2091
2305
|
* --------------------------------------------------
|
|
2092
2306
|
* SHADOW PROPERTY AT-RULES
|
|
2093
2307
|
* --------------------------------------------------
|
|
2094
|
-
*
|
|
2095
|
-
* Box-shadow composition (how Tailwind composes `shadow-xs` + `ring-3`).
|
|
2096
|
-
* A recipe sets `--pont-shadow` and/or `--pont-ring-shadow` and the
|
|
2097
|
-
* shared declaration below combines them, so a focus ring never erases the
|
|
2098
|
-
* elevation shadow. `inherits: false` stops a parent's ring leaking into
|
|
2099
|
-
* children. @property is global; it cannot be layered and does not need to be.
|
|
2100
2308
|
*/
|
|
2101
2309
|
|
|
2102
2310
|
@property --pont-shadow {
|
|
@@ -2105,12 +2313,68 @@
|
|
|
2105
2313
|
initial-value: 0 0 #0000;
|
|
2106
2314
|
}
|
|
2107
2315
|
|
|
2316
|
+
@property --pont-shadow-color {
|
|
2317
|
+
syntax: "*";
|
|
2318
|
+
inherits: false;
|
|
2319
|
+
}
|
|
2320
|
+
|
|
2321
|
+
@property --pont-inset-shadow {
|
|
2322
|
+
syntax: "*";
|
|
2323
|
+
inherits: false;
|
|
2324
|
+
initial-value: 0 0 #0000;
|
|
2325
|
+
}
|
|
2326
|
+
|
|
2327
|
+
@property --pont-inset-shadow-color {
|
|
2328
|
+
syntax: "*";
|
|
2329
|
+
inherits: false;
|
|
2330
|
+
}
|
|
2331
|
+
|
|
2108
2332
|
@property --pont-ring-shadow {
|
|
2109
2333
|
syntax: "*";
|
|
2110
2334
|
inherits: false;
|
|
2111
2335
|
initial-value: 0 0 #0000;
|
|
2112
2336
|
}
|
|
2113
2337
|
|
|
2338
|
+
@property --pont-ring-width {
|
|
2339
|
+
syntax: "<length>";
|
|
2340
|
+
inherits: false;
|
|
2341
|
+
initial-value: 0px;
|
|
2342
|
+
}
|
|
2343
|
+
|
|
2344
|
+
@property --pont-ring-color {
|
|
2345
|
+
syntax: "*";
|
|
2346
|
+
inherits: false;
|
|
2347
|
+
}
|
|
2348
|
+
|
|
2349
|
+
@property --pont-inset-ring-shadow {
|
|
2350
|
+
syntax: "*";
|
|
2351
|
+
inherits: false;
|
|
2352
|
+
initial-value: 0 0 #0000;
|
|
2353
|
+
}
|
|
2354
|
+
|
|
2355
|
+
@property --pont-inset-ring-color {
|
|
2356
|
+
syntax: "*";
|
|
2357
|
+
inherits: false;
|
|
2358
|
+
}
|
|
2359
|
+
|
|
2360
|
+
@property --pont-ring-offset-shadow {
|
|
2361
|
+
syntax: "*";
|
|
2362
|
+
inherits: false;
|
|
2363
|
+
initial-value: 0 0 #0000;
|
|
2364
|
+
}
|
|
2365
|
+
|
|
2366
|
+
@property --pont-ring-offset-width {
|
|
2367
|
+
syntax: "<length>";
|
|
2368
|
+
inherits: false;
|
|
2369
|
+
initial-value: 0px;
|
|
2370
|
+
}
|
|
2371
|
+
|
|
2372
|
+
@property --pont-ring-offset-color {
|
|
2373
|
+
syntax: "*";
|
|
2374
|
+
inherits: false;
|
|
2375
|
+
initial-value: #ffffff;
|
|
2376
|
+
}
|
|
2377
|
+
|
|
2114
2378
|
/* * -------------------------------------------------------------------- * */
|
|
2115
2379
|
|
|
2116
2380
|
@layer pont.base {
|
|
@@ -2239,7 +2503,7 @@
|
|
|
2239
2503
|
/** @token Background on hover */
|
|
2240
2504
|
--_pont-button-bg-hover: var(--pont-button-outline-bg-hover, var(--pont-sem-color-control-hover));
|
|
2241
2505
|
--_pont-button-fg-hover: var(--pont-sem-color-fg);
|
|
2242
|
-
--pont-shadow: var(--pont-
|
|
2506
|
+
--pont-shadow: var(--pont-ref-shadow-xs);
|
|
2243
2507
|
}
|
|
2244
2508
|
|
|
2245
2509
|
[data-pont-button][data-variant="secondary"] {
|
|
@@ -2336,15 +2600,15 @@
|
|
|
2336
2600
|
|
|
2337
2601
|
[data-pont-button]:focus-visible {
|
|
2338
2602
|
border-color: var(--pont-sem-color-border-focus);
|
|
2339
|
-
--pont-ring-shadow:
|
|
2603
|
+
--pont-ring-shadow: var(--pont-sem-shadow-ring-focus);
|
|
2340
2604
|
}
|
|
2341
2605
|
[data-pont-button][aria-invalid="true"] {
|
|
2342
2606
|
border-color: var(--pont-sem-color-border-invalid);
|
|
2343
|
-
--pont-ring-shadow:
|
|
2607
|
+
--pont-ring-shadow: var(--pont-sem-shadow-ring-invalid);
|
|
2344
2608
|
}
|
|
2345
2609
|
[data-pont-button][data-variant="destructive"]:focus-visible {
|
|
2346
2610
|
border-color: color-mix(in oklab, var(--pont-sem-color-destructive) 40%, transparent);
|
|
2347
|
-
--pont-ring-shadow: 0 0 0 var(--pont-sem-ring-width) var(--pont-sem-color-destructive-ring);
|
|
2611
|
+
--pont-ring-shadow: 0 0 0 var(--pont-sem-shadow-ring-width-focus) var(--pont-sem-color-destructive-ring);
|
|
2348
2612
|
}
|
|
2349
2613
|
|
|
2350
2614
|
[data-pont-button]:active:not([aria-haspopup]) {
|
|
@@ -2579,7 +2843,7 @@
|
|
|
2579
2843
|
font-size: var(--pont-ref-typography-size-base);
|
|
2580
2844
|
line-height: var(--pont-ref-typography-leading-of-base);
|
|
2581
2845
|
outline: none;
|
|
2582
|
-
--pont-shadow: var(--pont-
|
|
2846
|
+
--pont-shadow: var(--pont-ref-shadow-xs);
|
|
2583
2847
|
box-shadow: var(--pont-ring-shadow), var(--pont-shadow);
|
|
2584
2848
|
transition-property: color, box-shadow;
|
|
2585
2849
|
transition-duration: var(--pont-sem-motion-trans-duration);
|
|
@@ -2612,12 +2876,12 @@
|
|
|
2612
2876
|
|
|
2613
2877
|
[data-pont-input]:focus-visible {
|
|
2614
2878
|
border-color: var(--pont-sem-color-border-focus);
|
|
2615
|
-
--pont-ring-shadow:
|
|
2879
|
+
--pont-ring-shadow: var(--pont-sem-shadow-ring-focus);
|
|
2616
2880
|
}
|
|
2617
2881
|
|
|
2618
2882
|
[data-pont-input][aria-invalid="true"] {
|
|
2619
2883
|
border-color: var(--pont-sem-color-border-invalid);
|
|
2620
|
-
--pont-ring-shadow:
|
|
2884
|
+
--pont-ring-shadow: var(--pont-sem-shadow-ring-invalid);
|
|
2621
2885
|
}
|
|
2622
2886
|
|
|
2623
2887
|
[data-pont-input]:disabled {
|
|
@@ -2669,7 +2933,7 @@
|
|
|
2669
2933
|
font-size: var(--pont-ref-typography-size-base);
|
|
2670
2934
|
line-height: var(--pont-ref-typography-leading-of-base);
|
|
2671
2935
|
outline: none;
|
|
2672
|
-
--pont-shadow: var(--pont-
|
|
2936
|
+
--pont-shadow: var(--pont-ref-shadow-xs);
|
|
2673
2937
|
box-shadow: var(--pont-ring-shadow), var(--pont-shadow);
|
|
2674
2938
|
transition-property: color, box-shadow;
|
|
2675
2939
|
transition-duration: var(--pont-sem-motion-trans-duration);
|
|
@@ -2690,12 +2954,12 @@
|
|
|
2690
2954
|
|
|
2691
2955
|
[data-pont-textarea]:focus-visible {
|
|
2692
2956
|
border-color: var(--pont-sem-color-border-focus);
|
|
2693
|
-
--pont-ring-shadow:
|
|
2957
|
+
--pont-ring-shadow: var(--pont-sem-shadow-ring-focus);
|
|
2694
2958
|
}
|
|
2695
2959
|
|
|
2696
2960
|
[data-pont-textarea][aria-invalid="true"] {
|
|
2697
2961
|
border-color: var(--pont-sem-color-border-invalid);
|
|
2698
|
-
--pont-ring-shadow:
|
|
2962
|
+
--pont-ring-shadow: var(--pont-sem-shadow-ring-invalid);
|
|
2699
2963
|
}
|
|
2700
2964
|
|
|
2701
2965
|
[data-pont-textarea]:disabled {
|
|
@@ -2750,7 +3014,7 @@
|
|
|
2750
3014
|
background-color: var(--_pont-checkbox-bg);
|
|
2751
3015
|
outline: none;
|
|
2752
3016
|
color: inherit;
|
|
2753
|
-
--pont-shadow: var(--pont-
|
|
3017
|
+
--pont-shadow: var(--pont-ref-shadow-xs);
|
|
2754
3018
|
box-shadow: var(--pont-ring-shadow), var(--pont-shadow);
|
|
2755
3019
|
transition-property: var(--pont-ref-motion-trans-property-shadow);
|
|
2756
3020
|
transition-duration: var(--pont-sem-motion-trans-duration);
|
|
@@ -2772,12 +3036,12 @@
|
|
|
2772
3036
|
|
|
2773
3037
|
[data-pont-checkbox]:focus-visible {
|
|
2774
3038
|
border-color: var(--pont-sem-color-border-focus);
|
|
2775
|
-
--pont-ring-shadow:
|
|
3039
|
+
--pont-ring-shadow: var(--pont-sem-shadow-ring-focus);
|
|
2776
3040
|
}
|
|
2777
3041
|
|
|
2778
3042
|
[data-pont-checkbox][aria-invalid="true"] {
|
|
2779
3043
|
border-color: var(--pont-sem-color-border-invalid);
|
|
2780
|
-
--pont-ring-shadow:
|
|
3044
|
+
--pont-ring-shadow: var(--pont-sem-shadow-ring-invalid);
|
|
2781
3045
|
}
|
|
2782
3046
|
[data-pont-checkbox][aria-invalid="true"]:is([data-checked], [data-indeterminate]) {
|
|
2783
3047
|
border-color: var(--_pont-checkbox-border-color-checked);
|
|
@@ -3562,7 +3826,7 @@
|
|
|
3562
3826
|
font-size: var(--pont-ref-typography-size-sm);
|
|
3563
3827
|
line-height: var(--pont-ref-typography-leading-of-sm);
|
|
3564
3828
|
font-weight: var(--_pont-button-group-text-font-weight, var(--pont-ref-typography-weight-medium));
|
|
3565
|
-
--pont-shadow: var(--pont-
|
|
3829
|
+
--pont-shadow: var(--pont-ref-shadow-xs);
|
|
3566
3830
|
box-shadow: var(--pont-ring-shadow), var(--pont-shadow);
|
|
3567
3831
|
}
|
|
3568
3832
|
:is(pont-prim-button-group-text, [data-pont-button-group-text]) svg {
|
|
@@ -3613,7 +3877,7 @@
|
|
|
3613
3877
|
/** @token Corner radius */
|
|
3614
3878
|
--_pont-card-radius: var(--pont-card-radius, var(--pont-ref-radius-xl));
|
|
3615
3879
|
/** @token Shadow */
|
|
3616
|
-
--_pont-card-shadow: var(--pont-card-shadow, var(--pont-
|
|
3880
|
+
--_pont-card-shadow: var(--pont-card-shadow, var(--pont-ref-shadow-xs));
|
|
3617
3881
|
/** @token Spacing (padding and gap) */
|
|
3618
3882
|
--_pont-card-spacing: var(--pont-card-spacing, 1.5rem);
|
|
3619
3883
|
}
|
|
@@ -4072,7 +4336,7 @@
|
|
|
4072
4336
|
}
|
|
4073
4337
|
[data-pont-field-label]:has(> [data-slot="field"]):has(:focus-visible) {
|
|
4074
4338
|
border-color: var(--pont-sem-color-border-focus);
|
|
4075
|
-
--pont-ring-shadow:
|
|
4339
|
+
--pont-ring-shadow: var(--pont-sem-shadow-ring-focus);
|
|
4076
4340
|
}
|
|
4077
4341
|
[data-pont-field-label] > [data-slot="field"] {
|
|
4078
4342
|
padding: 0.75rem;
|
|
@@ -4237,7 +4501,7 @@
|
|
|
4237
4501
|
border-radius: var(--_pont-input-group-radius);
|
|
4238
4502
|
background-color: var(--_pont-input-group-bg);
|
|
4239
4503
|
outline: none;
|
|
4240
|
-
--pont-shadow: var(--pont-
|
|
4504
|
+
--pont-shadow: var(--pont-ref-shadow-xs);
|
|
4241
4505
|
box-shadow: var(--pont-ring-shadow), var(--pont-shadow);
|
|
4242
4506
|
transition-property: color, box-shadow;
|
|
4243
4507
|
transition-duration: var(--pont-sem-motion-trans-duration);
|
|
@@ -4246,11 +4510,11 @@
|
|
|
4246
4510
|
|
|
4247
4511
|
:is(pont-prim-input-group, [data-pont-input-group]):has([data-slot="input-group-control"]:focus-visible) {
|
|
4248
4512
|
border-color: var(--pont-sem-color-border-focus);
|
|
4249
|
-
--pont-ring-shadow:
|
|
4513
|
+
--pont-ring-shadow: var(--pont-sem-shadow-ring-focus);
|
|
4250
4514
|
}
|
|
4251
4515
|
:is(pont-prim-input-group, [data-pont-input-group]):has([data-slot][aria-invalid="true"]) {
|
|
4252
4516
|
border-color: var(--pont-sem-color-destructive);
|
|
4253
|
-
--pont-ring-shadow:
|
|
4517
|
+
--pont-ring-shadow: var(--pont-sem-shadow-ring-invalid);
|
|
4254
4518
|
}
|
|
4255
4519
|
[data-slot="combobox-content"] :is(pont-prim-input-group, [data-pont-input-group]):focus-within {
|
|
4256
4520
|
border-color: inherit;
|
|
@@ -4379,7 +4643,7 @@
|
|
|
4379
4643
|
border: 0;
|
|
4380
4644
|
border-radius: var(--pont-ref-radius-none);
|
|
4381
4645
|
background-color: transparent;
|
|
4382
|
-
--pont-shadow: var(--pont-
|
|
4646
|
+
--pont-shadow: var(--pont-ref-shadow-none);
|
|
4383
4647
|
--pont-ring-shadow: 0 0 #0000;
|
|
4384
4648
|
}
|
|
4385
4649
|
:is([data-pont-input-group-input], [data-pont-input-group-textarea]):is(:focus-visible, [aria-invalid="true"]) {
|
|
@@ -4395,7 +4659,7 @@
|
|
|
4395
4659
|
display: flex;
|
|
4396
4660
|
align-items: center;
|
|
4397
4661
|
gap: 0.5rem;
|
|
4398
|
-
--pont-shadow: var(--pont-
|
|
4662
|
+
--pont-shadow: var(--pont-ref-shadow-none);
|
|
4399
4663
|
font-size: var(--pont-ref-typography-size-sm);
|
|
4400
4664
|
line-height: var(--pont-ref-typography-leading-of-sm);
|
|
4401
4665
|
}
|
|
@@ -4734,7 +4998,7 @@
|
|
|
4734
4998
|
line-height: var(--pont-ref-typography-leading-of-sm);
|
|
4735
4999
|
user-select: none;
|
|
4736
5000
|
outline: none;
|
|
4737
|
-
--pont-shadow: var(--pont-
|
|
5001
|
+
--pont-shadow: var(--pont-ref-shadow-xs);
|
|
4738
5002
|
box-shadow: var(--pont-ring-shadow), var(--pont-shadow);
|
|
4739
5003
|
transition-property: color, box-shadow;
|
|
4740
5004
|
transition-duration: var(--pont-sem-motion-trans-duration);
|
|
@@ -4749,11 +5013,11 @@
|
|
|
4749
5013
|
}
|
|
4750
5014
|
[data-pont-native-select]:focus-visible {
|
|
4751
5015
|
border-color: var(--pont-sem-color-border-focus);
|
|
4752
|
-
--pont-ring-shadow:
|
|
5016
|
+
--pont-ring-shadow: var(--pont-sem-shadow-ring-focus);
|
|
4753
5017
|
}
|
|
4754
5018
|
[data-pont-native-select][aria-invalid="true"] {
|
|
4755
5019
|
border-color: var(--pont-sem-color-border-invalid);
|
|
4756
|
-
--pont-ring-shadow:
|
|
5020
|
+
--pont-ring-shadow: var(--pont-sem-shadow-ring-invalid);
|
|
4757
5021
|
}
|
|
4758
5022
|
[data-pont-native-select]:disabled {
|
|
4759
5023
|
pointer-events: none;
|
|
@@ -5090,7 +5354,7 @@
|
|
|
5090
5354
|
}
|
|
5091
5355
|
:is(pont-prim-input-otp-group, [data-pont-input-otp-group]):has([aria-invalid="true"], [data-invalid]) {
|
|
5092
5356
|
border-color: var(--pont-sem-color-destructive);
|
|
5093
|
-
box-shadow:
|
|
5357
|
+
box-shadow: var(--pont-sem-shadow-ring-invalid);
|
|
5094
5358
|
}
|
|
5095
5359
|
|
|
5096
5360
|
:is(pont-prim-input-otp-slot, [data-pont-input-otp-slot]) {
|
|
@@ -5108,7 +5372,7 @@
|
|
|
5108
5372
|
font-size: var(--pont-ref-typography-size-sm);
|
|
5109
5373
|
line-height: var(--pont-ref-typography-leading-of-sm);
|
|
5110
5374
|
outline: none;
|
|
5111
|
-
--pont-shadow: var(--pont-
|
|
5375
|
+
--pont-shadow: var(--pont-ref-shadow-xs);
|
|
5112
5376
|
box-shadow: var(--pont-ring-shadow), var(--pont-shadow);
|
|
5113
5377
|
transition-property: var(--pont-ref-motion-trans-property-all);
|
|
5114
5378
|
transition-duration: var(--pont-sem-motion-trans-duration);
|
|
@@ -5127,14 +5391,14 @@
|
|
|
5127
5391
|
[data-pont-input-otp-slot][data-active="true"] {
|
|
5128
5392
|
z-index: 10;
|
|
5129
5393
|
border-color: var(--pont-sem-color-border-focus);
|
|
5130
|
-
--pont-ring-shadow:
|
|
5394
|
+
--pont-ring-shadow: var(--pont-sem-shadow-ring-focus);
|
|
5131
5395
|
}
|
|
5132
5396
|
[data-pont-input-otp-slot]:is([aria-invalid="true"], [data-invalid]) {
|
|
5133
5397
|
border-color: var(--pont-sem-color-destructive);
|
|
5134
5398
|
}
|
|
5135
5399
|
[data-pont-input-otp-slot]:is([aria-invalid="true"], [data-invalid])[data-active="true"] {
|
|
5136
5400
|
border-color: var(--pont-sem-color-destructive);
|
|
5137
|
-
--pont-ring-shadow:
|
|
5401
|
+
--pont-ring-shadow: var(--pont-sem-shadow-ring-invalid);
|
|
5138
5402
|
}
|
|
5139
5403
|
|
|
5140
5404
|
[data-pont-input-otp-caret] {
|
|
@@ -5295,7 +5559,7 @@
|
|
|
5295
5559
|
background-color: var(--_pont-radio-group-item-bg);
|
|
5296
5560
|
outline: none;
|
|
5297
5561
|
color: inherit;
|
|
5298
|
-
--pont-shadow: var(--pont-
|
|
5562
|
+
--pont-shadow: var(--pont-ref-shadow-xs);
|
|
5299
5563
|
box-shadow: var(--pont-ring-shadow), var(--pont-shadow);
|
|
5300
5564
|
}
|
|
5301
5565
|
|
|
@@ -5313,13 +5577,13 @@
|
|
|
5313
5577
|
|
|
5314
5578
|
[data-pont-radio-group-item]:focus-visible {
|
|
5315
5579
|
border-color: var(--pont-sem-color-border-focus);
|
|
5316
|
-
--pont-ring-shadow:
|
|
5580
|
+
--pont-ring-shadow: var(--pont-sem-shadow-ring-focus);
|
|
5317
5581
|
}
|
|
5318
5582
|
|
|
5319
5583
|
/* aria-invalid may sit on the item or on the group */
|
|
5320
5584
|
:is([data-pont-radio-group-item][aria-invalid="true"], [data-pont-radio-group][aria-invalid="true"] [data-pont-radio-group-item]) {
|
|
5321
5585
|
border-color: var(--pont-sem-color-border-invalid);
|
|
5322
|
-
--pont-ring-shadow:
|
|
5586
|
+
--pont-ring-shadow: var(--pont-sem-shadow-ring-invalid);
|
|
5323
5587
|
}
|
|
5324
5588
|
:is([data-pont-radio-group-item][aria-invalid="true"], [data-pont-radio-group][aria-invalid="true"] [data-pont-radio-group-item])[data-checked] {
|
|
5325
5589
|
border-color: var(--_pont-radio-group-item-border-color-checked);
|
|
@@ -5391,7 +5655,7 @@
|
|
|
5391
5655
|
/** @token Thumb border */
|
|
5392
5656
|
--_pont-slider-thumb-border-color: var(--pont-slider-thumb-border-color, var(--_pont-slider-range-bg));
|
|
5393
5657
|
/** @token Thumb shadow */
|
|
5394
|
-
--_pont-slider-thumb-shadow: var(--pont-slider-thumb-shadow, var(--pont-
|
|
5658
|
+
--_pont-slider-thumb-shadow: var(--pont-slider-thumb-shadow, var(--pont-ref-shadow-sm));
|
|
5395
5659
|
--_pont-slider-thumb: 1rem;
|
|
5396
5660
|
}
|
|
5397
5661
|
|
|
@@ -5551,7 +5815,7 @@
|
|
|
5551
5815
|
border-radius: var(--pont-ref-radius-full);
|
|
5552
5816
|
background-color: var(--_pont-switch-bg);
|
|
5553
5817
|
outline: none;
|
|
5554
|
-
--pont-shadow: var(--pont-
|
|
5818
|
+
--pont-shadow: var(--pont-ref-shadow-xs);
|
|
5555
5819
|
box-shadow: var(--pont-ring-shadow), var(--pont-shadow);
|
|
5556
5820
|
transition-property: var(--pont-ref-motion-trans-property-all);
|
|
5557
5821
|
transition-duration: var(--pont-sem-motion-trans-duration);
|
|
@@ -5575,12 +5839,12 @@
|
|
|
5575
5839
|
|
|
5576
5840
|
[data-pont-switch]:focus-visible {
|
|
5577
5841
|
border-color: var(--pont-sem-color-border-focus);
|
|
5578
|
-
--pont-ring-shadow:
|
|
5842
|
+
--pont-ring-shadow: var(--pont-sem-shadow-ring-focus);
|
|
5579
5843
|
}
|
|
5580
5844
|
|
|
5581
5845
|
[data-pont-switch][aria-invalid="true"] {
|
|
5582
5846
|
border-color: var(--pont-sem-color-border-invalid);
|
|
5583
|
-
--pont-ring-shadow:
|
|
5847
|
+
--pont-ring-shadow: var(--pont-sem-shadow-ring-invalid);
|
|
5584
5848
|
}
|
|
5585
5849
|
|
|
5586
5850
|
[data-pont-switch][data-disabled] {
|
|
@@ -5785,19 +6049,19 @@
|
|
|
5785
6049
|
color: var(--_pont-tabs-trigger-fg-active, var(--pont-sem-color-fg));
|
|
5786
6050
|
}
|
|
5787
6051
|
[data-pont-tabs-list]:not([data-variant="line"]) > [data-pont-tabs-trigger][data-active] {
|
|
5788
|
-
--pont-shadow: var(--pont-
|
|
6052
|
+
--pont-shadow: var(--pont-ref-shadow-sm);
|
|
5789
6053
|
}
|
|
5790
6054
|
|
|
5791
6055
|
/* After data-active, so a focused active tab shows the ring border too. */
|
|
5792
6056
|
[data-pont-tabs-trigger]:focus-visible {
|
|
5793
6057
|
border-color: var(--pont-sem-color-border-focus);
|
|
5794
|
-
--pont-ring-shadow:
|
|
6058
|
+
--pont-ring-shadow: var(--pont-sem-shadow-ring-focus);
|
|
5795
6059
|
outline: var(--pont-ref-border-width) var(--pont-ref-border-style-solid) var(--pont-sem-color-border-focus);
|
|
5796
6060
|
}
|
|
5797
6061
|
|
|
5798
6062
|
/* line variant (colours: the privates above) */
|
|
5799
6063
|
[data-pont-tabs-list][data-variant="line"] [data-pont-tabs-trigger] {
|
|
5800
|
-
--pont-shadow: var(--pont-
|
|
6064
|
+
--pont-shadow: var(--pont-ref-shadow-none);
|
|
5801
6065
|
}
|
|
5802
6066
|
|
|
5803
6067
|
/* the line indicator */
|
|
@@ -5981,7 +6245,7 @@
|
|
|
5981
6245
|
/** @token Corner radius */
|
|
5982
6246
|
--_pont-popover-radius: var(--pont-popover-radius, var(--pont-ref-radius-md));
|
|
5983
6247
|
/** @token Shadow */
|
|
5984
|
-
--_pont-popover-shadow: var(--pont-popover-shadow, var(--pont-
|
|
6248
|
+
--_pont-popover-shadow: var(--pont-popover-shadow, var(--pont-ref-shadow-md));
|
|
5985
6249
|
/** @token Width */
|
|
5986
6250
|
--_pont-popover-width: var(--pont-popover-width, 18rem);
|
|
5987
6251
|
/** @token Horizontal padding */
|
|
@@ -6061,7 +6325,7 @@
|
|
|
6061
6325
|
/** @token Corner radius */
|
|
6062
6326
|
--_pont-dropdown-menu-radius: var(--pont-dropdown-menu-radius, var(--pont-ref-radius-md));
|
|
6063
6327
|
/** @token Shadow */
|
|
6064
|
-
--_pont-dropdown-menu-shadow: var(--pont-dropdown-menu-shadow, var(--pont-
|
|
6328
|
+
--_pont-dropdown-menu-shadow: var(--pont-dropdown-menu-shadow, var(--pont-ref-shadow-md));
|
|
6065
6329
|
/** @token Minimum width */
|
|
6066
6330
|
--_pont-dropdown-menu-min-width: var(--pont-dropdown-menu-min-width, 8rem);
|
|
6067
6331
|
/** @token Horizontal padding */
|
|
@@ -6084,7 +6348,7 @@
|
|
|
6084
6348
|
shadow token when only that is set */
|
|
6085
6349
|
:is(pont-prim-dropdown-menu-sub-content, [data-pont-dropdown-menu-sub-content]) {
|
|
6086
6350
|
/** @token Shadow */
|
|
6087
|
-
--_pont-dropdown-menu-shadow: var(--pont-dropdown-menu-sub-content-shadow, var(--pont-dropdown-menu-shadow, var(--pont-
|
|
6351
|
+
--_pont-dropdown-menu-shadow: var(--pont-dropdown-menu-sub-content-shadow, var(--pont-dropdown-menu-shadow, var(--pont-ref-shadow-lg)));
|
|
6088
6352
|
}
|
|
6089
6353
|
|
|
6090
6354
|
/* ------------------------------------------------------------------ */
|
|
@@ -6268,7 +6532,7 @@
|
|
|
6268
6532
|
/** @token Corner radius */
|
|
6269
6533
|
--_pont-select-content-radius: var(--pont-select-content-radius, var(--pont-ref-radius-md));
|
|
6270
6534
|
/** @token Shadow */
|
|
6271
|
-
--_pont-select-content-shadow: var(--pont-select-content-shadow, var(--pont-
|
|
6535
|
+
--_pont-select-content-shadow: var(--pont-select-content-shadow, var(--pont-ref-shadow-md));
|
|
6272
6536
|
/** @token Corner radius */
|
|
6273
6537
|
--_pont-select-item-radius: var(--pont-select-item-radius, var(--pont-ref-radius-sm));
|
|
6274
6538
|
/** @token Background when highlighted */
|
|
@@ -6309,7 +6573,7 @@
|
|
|
6309
6573
|
font-size: var(--pont-ref-typography-size-sm);
|
|
6310
6574
|
line-height: var(--pont-ref-typography-leading-of-sm);
|
|
6311
6575
|
outline: none;
|
|
6312
|
-
--pont-shadow: var(--pont-
|
|
6576
|
+
--pont-shadow: var(--pont-ref-shadow-xs);
|
|
6313
6577
|
box-shadow: var(--pont-ring-shadow), var(--pont-shadow);
|
|
6314
6578
|
transition-property: color, box-shadow;
|
|
6315
6579
|
transition-duration: var(--pont-sem-motion-trans-duration);
|
|
@@ -6323,11 +6587,11 @@
|
|
|
6323
6587
|
}
|
|
6324
6588
|
[data-pont-select-trigger]:focus-visible {
|
|
6325
6589
|
border-color: var(--pont-sem-color-border-focus);
|
|
6326
|
-
--pont-ring-shadow:
|
|
6590
|
+
--pont-ring-shadow: var(--pont-sem-shadow-ring-focus);
|
|
6327
6591
|
}
|
|
6328
6592
|
[data-pont-select-trigger][aria-invalid="true"] {
|
|
6329
6593
|
border-color: var(--pont-sem-color-border-invalid);
|
|
6330
|
-
--pont-ring-shadow:
|
|
6594
|
+
--pont-ring-shadow: var(--pont-sem-shadow-ring-invalid);
|
|
6331
6595
|
}
|
|
6332
6596
|
[data-pont-select-trigger]:disabled {
|
|
6333
6597
|
cursor: var(--pont-sem-cursor-disabled);
|
|
@@ -6488,7 +6752,7 @@
|
|
|
6488
6752
|
/** @token Corner radius */
|
|
6489
6753
|
--_pont-combobox-content-radius: var(--pont-combobox-content-radius, var(--pont-ref-radius-md));
|
|
6490
6754
|
/** @token Shadow */
|
|
6491
|
-
--_pont-combobox-content-shadow: var(--pont-combobox-content-shadow, var(--pont-
|
|
6755
|
+
--_pont-combobox-content-shadow: var(--pont-combobox-content-shadow, var(--pont-ref-shadow-md));
|
|
6492
6756
|
/** @token Corner radius */
|
|
6493
6757
|
--_pont-combobox-item-radius: var(--pont-combobox-item-radius, var(--pont-ref-radius-sm));
|
|
6494
6758
|
/** @token Background when highlighted */
|
|
@@ -6520,7 +6784,7 @@
|
|
|
6520
6784
|
border-radius: var(--_pont-combobox-input-radius);
|
|
6521
6785
|
background-color: var(--_pont-combobox-input-bg);
|
|
6522
6786
|
outline: none;
|
|
6523
|
-
--pont-shadow: var(--pont-
|
|
6787
|
+
--pont-shadow: var(--pont-ref-shadow-xs);
|
|
6524
6788
|
box-shadow: var(--pont-ring-shadow), var(--pont-shadow);
|
|
6525
6789
|
transition-property: color, box-shadow;
|
|
6526
6790
|
transition-duration: var(--pont-sem-motion-trans-duration);
|
|
@@ -6528,11 +6792,11 @@
|
|
|
6528
6792
|
}
|
|
6529
6793
|
[data-pont-combobox-input]:has(> [data-slot="input-group-control"]:focus-visible) {
|
|
6530
6794
|
border-color: var(--pont-sem-color-border-focus);
|
|
6531
|
-
--pont-ring-shadow:
|
|
6795
|
+
--pont-ring-shadow: var(--pont-sem-shadow-ring-focus);
|
|
6532
6796
|
}
|
|
6533
6797
|
[data-pont-combobox-input]:has([aria-invalid="true"]) {
|
|
6534
6798
|
border-color: var(--pont-sem-color-border-invalid);
|
|
6535
|
-
--pont-ring-shadow:
|
|
6799
|
+
--pont-ring-shadow: var(--pont-sem-shadow-ring-invalid);
|
|
6536
6800
|
}
|
|
6537
6801
|
|
|
6538
6802
|
/* InputGroupInput: Input base + "flex-1 rounded-none border-0 bg-transparent shadow-none ring-0"
|
|
@@ -6595,7 +6859,7 @@
|
|
|
6595
6859
|
height: 1.5rem;
|
|
6596
6860
|
padding: 0;
|
|
6597
6861
|
border-radius: calc(var(--pont-ref-radius-lg) - 5px);
|
|
6598
|
-
--pont-shadow: var(--pont-
|
|
6862
|
+
--pont-shadow: var(--pont-ref-shadow-none);
|
|
6599
6863
|
}
|
|
6600
6864
|
/* .cn-combobox-trigger [&_svg]:size-4, .cn-combobox-trigger-icon text-muted-foreground */
|
|
6601
6865
|
[data-pont-combobox-input-addon] > [data-combobox-trigger] svg {
|
|
@@ -6755,7 +7019,7 @@
|
|
|
6755
7019
|
}
|
|
6756
7020
|
[data-pont-combobox-chips]:focus-within {
|
|
6757
7021
|
border-color: var(--pont-sem-color-border-focus);
|
|
6758
|
-
--pont-ring-shadow:
|
|
7022
|
+
--pont-ring-shadow: var(--pont-sem-shadow-ring-focus);
|
|
6759
7023
|
}
|
|
6760
7024
|
[data-pont-combobox-chips][data-disabled],
|
|
6761
7025
|
[data-pont-combobox][data-disabled] [data-pont-combobox-chips] {
|
|
@@ -6788,7 +7052,7 @@
|
|
|
6788
7052
|
padding-right: 0;
|
|
6789
7053
|
}
|
|
6790
7054
|
[data-pont-combobox-chip]:focus-visible {
|
|
6791
|
-
--pont-ring-shadow:
|
|
7055
|
+
--pont-ring-shadow: var(--pont-sem-shadow-ring-focus);
|
|
6792
7056
|
box-shadow: var(--pont-ring-shadow);
|
|
6793
7057
|
}
|
|
6794
7058
|
/* .cn-combobox-chip-remove "-ml-1 opacity-50 hover:opacity-100" (Button ghost icon-xs) */
|
|
@@ -6948,7 +7212,7 @@
|
|
|
6948
7212
|
/** @token Corner radius */
|
|
6949
7213
|
--_pont-dialog-radius: var(--pont-dialog-radius, var(--pont-ref-radius-xl));
|
|
6950
7214
|
/** @token Shadow */
|
|
6951
|
-
--_pont-dialog-shadow: var(--pont-dialog-shadow, var(--pont-
|
|
7215
|
+
--_pont-dialog-shadow: var(--pont-dialog-shadow, var(--pont-ref-shadow-none));
|
|
6952
7216
|
/** @token Maximum width */
|
|
6953
7217
|
--_pont-dialog-max-width: var(--pont-dialog-max-width, 28rem);
|
|
6954
7218
|
/** @token Horizontal padding */
|
|
@@ -7256,7 +7520,7 @@
|
|
|
7256
7520
|
/** @token Border */
|
|
7257
7521
|
--_pont-sheet-border-color: var(--pont-sheet-border-color, var(--pont-sem-color-border));
|
|
7258
7522
|
/** @token Shadow */
|
|
7259
|
-
--_pont-sheet-shadow: var(--pont-sheet-shadow, var(--pont-
|
|
7523
|
+
--_pont-sheet-shadow: var(--pont-sheet-shadow, var(--pont-ref-shadow-lg));
|
|
7260
7524
|
/** @token Width (left and right sheets) */
|
|
7261
7525
|
--_pont-sheet-width: var(--pont-sheet-width, 75%);
|
|
7262
7526
|
/** @token Maximum width (left and right sheets) */
|
|
@@ -7579,7 +7843,7 @@
|
|
|
7579
7843
|
/** @token Corner radius */
|
|
7580
7844
|
--_pont-hover-card-radius: var(--pont-hover-card-radius, var(--pont-ref-radius-lg));
|
|
7581
7845
|
/** @token Shadow */
|
|
7582
|
-
--_pont-hover-card-shadow: var(--pont-hover-card-shadow, var(--pont-
|
|
7846
|
+
--_pont-hover-card-shadow: var(--pont-hover-card-shadow, var(--pont-ref-shadow-md));
|
|
7583
7847
|
/** @token Width */
|
|
7584
7848
|
--_pont-hover-card-width: var(--pont-hover-card-width, 16rem);
|
|
7585
7849
|
/** @token Horizontal padding */
|
|
@@ -7715,7 +7979,7 @@
|
|
|
7715
7979
|
transition: opacity 400ms, translate 400ms;
|
|
7716
7980
|
}
|
|
7717
7981
|
[data-pont-toast]:focus-visible {
|
|
7718
|
-
--pont-ring-shadow:
|
|
7982
|
+
--pont-ring-shadow: var(--pont-sem-shadow-ring-focus);
|
|
7719
7983
|
}
|
|
7720
7984
|
[data-pont-toaster][data-y-position="top"] [data-pont-toast] {
|
|
7721
7985
|
animation-name: pont-toast-enter-top;
|
|
@@ -8329,7 +8593,7 @@
|
|
|
8329
8593
|
/** @token Corner radius */
|
|
8330
8594
|
--_pont-card-radius: var(--pont-block-radius, var(--pont-card-radius, var(--pont-ref-radius-xl)));
|
|
8331
8595
|
/** @token Shadow */
|
|
8332
|
-
--_pont-card-shadow: var(--pont-block-shadow, var(--pont-card-shadow, var(--pont-
|
|
8596
|
+
--_pont-card-shadow: var(--pont-block-shadow, var(--pont-card-shadow, var(--pont-ref-shadow-xs)));
|
|
8333
8597
|
/** @token Spacing (padding) */
|
|
8334
8598
|
--_pont-card-spacing: var(--pont-block-spacing, var(--pont-card-spacing, 1.5rem));
|
|
8335
8599
|
/** @token Maximum width */
|