ui-style-kit-css 2.1.0 → 2.2.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/CHANGELOG.md +16 -0
- package/README.md +93 -47
- package/STYLE-MAP.md +36 -0
- package/dist/ui-style-kit.css +688 -672
- package/dist/ui-style-kit.min.css +2 -2
- package/dist/ui-style-kit.visual.css +688 -672
- package/dist/ui-style-kit.visual.min.css +2 -2
- package/dist/ui-style-kit.with-bridge.css +694 -677
- package/dist/ui-style-kit.with-bridge.min.css +2 -2
- package/dist/visual/bauhaus.css +93 -77
- package/dist/visual/bento.css +93 -77
- package/dist/visual/brutalism.css +74 -58
- package/dist/visual/cyberpunk.css +77 -61
- package/dist/visual/maximalist.css +93 -77
- package/dist/visual/minimal-saas.css +93 -77
- package/dist/visual/neumorphism.css +97 -81
- package/dist/visual/retro-glass.css +75 -59
- package/dist/visual/retrofuturism.css +95 -79
- package/dist/visual/tactile.css +93 -77
- package/dist/visual/y2k.css +75 -59
- package/docs/BRIDGE-MIGRATION.md +20 -0
- package/docs/ECOSYSTEM.md +35 -4
- package/docs/PUBLISHING.md +31 -10
- package/docs/TOKENS.md +40 -0
- package/manifest.json +323 -1
- package/package.json +18 -5
- package/styles/interactive-surface-bridge.css +6 -5
- package/styles/interactive-surface-theme.css +6 -5
- package/styles/native-elements.css +16 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* UI Style Kit CSS v2.
|
|
2
|
+
* UI Style Kit CSS v2.2.0
|
|
3
3
|
* CSS theme and UI style preset library.
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -846,6 +846,22 @@
|
|
|
846
846
|
--usk-native-shadow: none;
|
|
847
847
|
--usk-native-shadow-md: var(--usk-native-shadow);
|
|
848
848
|
--usk-native-focus-ring: 0 0 0 3px rgb(var(--usk-focus-rgb) / .28);
|
|
849
|
+
--usk-motion-duration: 140ms;
|
|
850
|
+
--usk-motion-easing: cubic-bezier(0.2, 0, 0.2, 1);
|
|
851
|
+
|
|
852
|
+
/* Shared semantic values are fully typed so optional companion and third-party consumers can use them directly. */
|
|
853
|
+
--ui-color-bg: rgb(var(--usk-bg-rgb));
|
|
854
|
+
--ui-color-surface: var(--usk-native-surface-strong);
|
|
855
|
+
--ui-color-text: var(--usk-native-text);
|
|
856
|
+
--ui-color-muted: var(--usk-native-text-muted);
|
|
857
|
+
--ui-color-primary: var(--usk-native-primary);
|
|
858
|
+
--ui-color-on-primary: var(--usk-native-on-primary);
|
|
859
|
+
--ui-color-border: var(--usk-native-border);
|
|
860
|
+
--ui-radius-control: var(--usk-native-radius);
|
|
861
|
+
--ui-shadow-control: var(--usk-native-shadow);
|
|
862
|
+
--ui-focus-color: var(--usk-native-focus);
|
|
863
|
+
--ui-motion-duration: var(--usk-motion-duration);
|
|
864
|
+
--ui-motion-easing: var(--usk-motion-easing);
|
|
849
865
|
}
|
|
850
866
|
|
|
851
867
|
[data-ui][data-theme][data-mode] :where(h1, h2, h3, h4, h5, h6) {
|
|
@@ -1536,7 +1552,7 @@
|
|
|
1536
1552
|
[class~="rg-alert"],
|
|
1537
1553
|
[class~="rg-table-wrap"],
|
|
1538
1554
|
[class~="rg-nav"]
|
|
1539
|
-
) {
|
|
1555
|
+
), [data-ui]:where([data-ui="maximalist"])[data-theme][data-mode] :where([class~="saas-surface"],[class~="saas-surface-sm"],[class~="saas-surface-lg"],.ui-card,[class~="saas-panel"],.ui-toolbar,[class~="saas-well"],[class~="saas-inset"],.ui-field,.ui-alert,.ui-table-wrap,.ui-nav,[class~="bento-surface"],[class~="bento-surface-sm"],[class~="bento-surface-lg"],.ui-card,[class~="bento-panel"],.ui-toolbar,[class~="bento-well"],[class~="bento-inset"],.ui-field,.ui-alert,.ui-table-wrap,.ui-nav,[class~="max-surface"],[class~="max-surface-sm"],[class~="max-surface-lg"],.ui-card,[class~="max-panel"],.ui-toolbar,[class~="max-well"],[class~="max-inset"],.ui-field,.ui-alert,.ui-table-wrap,.ui-nav,[class~="bau-surface"],[class~="bau-surface-sm"],[class~="bau-surface-lg"],.ui-card,[class~="bau-panel"],.ui-toolbar,[class~="bau-well"],[class~="bau-inset"],.ui-field,.ui-alert,.ui-table-wrap,.ui-nav,[class~="tactile-surface"],[class~="tactile-surface-sm"],[class~="tactile-surface-lg"],.ui-card,[class~="tactile-panel"],.ui-toolbar,[class~="tactile-well"],[class~="tactile-inset"],.ui-field,.ui-alert,.ui-table-wrap,.ui-nav,[class~="neo-surface"],[class~="neo-surface-sm"],[class~="neo-surface-lg"],.ui-card,[class~="neo-panel"],.ui-toolbar,[class~="neo-well"],[class~="neo-inset"],.ui-field,.ui-alert,.ui-table-wrap,.ui-nav,[class~="retro-surface"],[class~="retro-surface-sm"],[class~="retro-surface-lg"],.ui-card,[class~="retro-panel"],.ui-toolbar,[class~="retro-well"],[class~="retro-inset"],.ui-field,.ui-alert,.ui-table-wrap,.ui-nav,[class~="brutal-surface"],.ui-card,[class~="brutal-panel"],.ui-toolbar,[class~="brutal-well"],[class~="brutal-inset"],.ui-field,.ui-alert,.ui-table-wrap,.ui-nav,.ui-card,[class~="cyber-panel"],.ui-toolbar,[class~="cyber-well"],[class~="cyber-inset"],.ui-field,.ui-alert,.ui-table-wrap,.ui-nav,.ui-card,[class~="y2k-panel"],.ui-toolbar,[class~="y2k-well"],[class~="y2k-inset"],.ui-field,.ui-alert,.ui-table-wrap,.ui-nav,.ui-card,[class~="rg-panel"],.ui-toolbar,[class~="rg-well"],[class~="rg-inset"],.ui-field,.ui-alert,.ui-table-wrap,.ui-nav) {
|
|
1540
1556
|
max-inline-size: 100%;
|
|
1541
1557
|
min-inline-size: 0;
|
|
1542
1558
|
overflow-wrap: anywhere;
|
|
@@ -1587,7 +1603,7 @@
|
|
|
1587
1603
|
[class~="rg-icon-button"],
|
|
1588
1604
|
[class~="rg-badge"],
|
|
1589
1605
|
[class~="rg-nav-link"]
|
|
1590
|
-
) {
|
|
1606
|
+
), [data-ui]:where([data-ui="maximalist"])[data-theme][data-mode] :where(.ui-button,.ui-icon-button,.ui-badge,.ui-nav-link,.ui-button,.ui-icon-button,.ui-badge,.ui-nav-link,.ui-button,.ui-icon-button,.ui-badge,.ui-nav-link,.ui-button,.ui-icon-button,.ui-badge,.ui-nav-link,.ui-button,.ui-icon-button,.ui-badge,.ui-nav-link,.ui-button,.ui-icon-button,.ui-badge,.ui-nav-link,.ui-button,.ui-icon-button,.ui-badge,.ui-nav-link,.ui-button,.ui-icon-button,.ui-badge,.ui-nav-link,.ui-button,.ui-icon-button,.ui-badge,.ui-nav-link,.ui-button,.ui-icon-button,.ui-badge,.ui-nav-link,.ui-button,.ui-icon-button,.ui-badge,.ui-nav-link) {
|
|
1591
1607
|
max-inline-size: 100%;
|
|
1592
1608
|
min-inline-size: 0;
|
|
1593
1609
|
white-space: normal;
|
|
@@ -1627,7 +1643,7 @@
|
|
|
1627
1643
|
.rg-button,
|
|
1628
1644
|
.rg-icon-button,
|
|
1629
1645
|
.rg-button-pill
|
|
1630
|
-
) {
|
|
1646
|
+
), [data-ui]:where([data-ui="maximalist"])[data-theme][data-mode] :where(.ui-button,.ui-icon-button,.saas-button-pill,.ui-button,.ui-icon-button,.bento-button-pill,.ui-button,.ui-icon-button,.max-button-pill,.ui-button,.ui-icon-button,.bau-button-pill,.ui-button,.ui-icon-button,.tactile-button-pill,.ui-button,.ui-icon-button,.neo-button-pill,.ui-button,.ui-icon-button,.retro-button-pill,.ui-button,.ui-icon-button,.brutal-button-pill,.ui-button,.ui-icon-button,.cyber-button-pill,.ui-button,.ui-icon-button,.y2k-button-pill,.ui-button,.ui-icon-button,.rg-button-pill) {
|
|
1631
1647
|
box-sizing: border-box;
|
|
1632
1648
|
display: inline-flex;
|
|
1633
1649
|
align-items: center;
|
|
@@ -1951,13 +1967,13 @@
|
|
|
1951
1967
|
.saas-divider, .bento-divider, .max-divider, .bau-divider, .tactile-divider, .neo-divider, .retro-divider, .brutal-divider, .cyber-divider, .y2k-divider, .rg-divider { inline-size: 100%; block-size: 1px; border: 0; background: var(--usk-native-border); }
|
|
1952
1968
|
.saas-disabled, .bento-disabled, .max-disabled, .bau-disabled, .tactile-disabled, .neo-disabled, .retro-disabled, .brutal-disabled, .cyber-disabled, .y2k-disabled, .rg-disabled { opacity: .55; cursor: not-allowed; pointer-events: none; }
|
|
1953
1969
|
|
|
1954
|
-
.saas-button-ghost, .bento-button-ghost, .max-button-ghost, .bau-button-ghost, .tactile-button-ghost, .neo-button-ghost, .retro-button-ghost, .brutal-button-ghost, .cyber-button-ghost, .y2k-button-ghost, .rg-button-ghost {
|
|
1970
|
+
.saas-button-ghost, .bento-button-ghost, .max-button-ghost, .bau-button-ghost, .tactile-button-ghost, .neo-button-ghost, .retro-button-ghost, .brutal-button-ghost, .cyber-button-ghost, .y2k-button-ghost, .rg-button-ghost, :where([data-ui="maximalist"]) .ui-button:where([data-ui-variant="ghost"]) {
|
|
1955
1971
|
color: var(--usk-native-primary);
|
|
1956
1972
|
background: transparent;
|
|
1957
1973
|
border-color: var(--usk-native-border);
|
|
1958
1974
|
}
|
|
1959
1975
|
|
|
1960
|
-
.saas-check, .saas-radio, .saas-switch, .bento-check, .bento-radio, .bento-switch, .max-check, .max-radio, .max-switch, .bau-check, .bau-radio, .bau-switch, .tactile-check, .tactile-radio, .tactile-switch, .neo-check, .neo-radio, .neo-switch, .retro-check, .retro-radio, .retro-switch, .brutal-check, .brutal-radio, .brutal-switch, .cyber-check, .cyber-radio, .cyber-switch, .y2k-check, .y2k-radio, .y2k-switch, .rg-check, .rg-radio, .rg-switch {
|
|
1976
|
+
.saas-check, .saas-radio, .saas-switch, .bento-check, .bento-radio, .bento-switch, .max-check, .max-radio, .max-switch, .bau-check, .bau-radio, .bau-switch, .tactile-check, .tactile-radio, .tactile-switch, .neo-check, .neo-radio, .neo-switch, .retro-check, .retro-radio, .retro-switch, .brutal-check, .brutal-radio, .brutal-switch, .cyber-check, .cyber-radio, .cyber-switch, .y2k-check, .y2k-radio, .y2k-switch, .rg-check, .rg-radio, .rg-switch, :where([data-ui="maximalist"]) .ui-check, :where([data-ui="maximalist"]) .ui-radio, :where([data-ui="maximalist"]) .ui-switch {
|
|
1961
1977
|
display: inline-flex;
|
|
1962
1978
|
align-items: center;
|
|
1963
1979
|
gap: var(--usk-native-field-gap);
|
|
@@ -1965,13 +1981,13 @@
|
|
|
1965
1981
|
color: var(--usk-native-text);
|
|
1966
1982
|
}
|
|
1967
1983
|
|
|
1968
|
-
.saas-check-control, .saas-radio-control, .bento-check-control, .bento-radio-control, .max-check-control, .max-radio-control, .bau-check-control, .bau-radio-control, .tactile-check-control, .tactile-radio-control, .neo-check-control, .neo-radio-control, .retro-check-control, .retro-radio-control, .brutal-check-control, .brutal-radio-control, .cyber-check-control, .cyber-radio-control, .y2k-check-control, .y2k-radio-control, .rg-check-control, .rg-radio-control {
|
|
1984
|
+
.saas-check-control, .saas-radio-control, .bento-check-control, .bento-radio-control, .max-check-control, .max-radio-control, .bau-check-control, .bau-radio-control, .tactile-check-control, .tactile-radio-control, .neo-check-control, .neo-radio-control, .retro-check-control, .retro-radio-control, .brutal-check-control, .brutal-radio-control, .cyber-check-control, .cyber-radio-control, .y2k-check-control, .y2k-radio-control, .rg-check-control, .rg-radio-control, :where([data-ui="maximalist"]) .ui-check-control, :where([data-ui="maximalist"]) .ui-radio-control {
|
|
1969
1985
|
inline-size: 1.5rem;
|
|
1970
1986
|
block-size: 1.5rem;
|
|
1971
1987
|
accent-color: var(--usk-native-primary);
|
|
1972
1988
|
}
|
|
1973
1989
|
|
|
1974
|
-
.saas-switch-track, .bento-switch-track, .max-switch-track, .bau-switch-track, .tactile-switch-track, .neo-switch-track, .retro-switch-track, .brutal-switch-track, .cyber-switch-track, .y2k-switch-track, .rg-switch-track {
|
|
1990
|
+
.saas-switch-track, .bento-switch-track, .max-switch-track, .bau-switch-track, .tactile-switch-track, .neo-switch-track, .retro-switch-track, .brutal-switch-track, .cyber-switch-track, .y2k-switch-track, .rg-switch-track, :where([data-ui="maximalist"]) .ui-switch-track {
|
|
1975
1991
|
position: relative;
|
|
1976
1992
|
display: inline-flex;
|
|
1977
1993
|
align-items: center;
|
|
@@ -1983,7 +1999,7 @@
|
|
|
1983
1999
|
border-radius: 999px;
|
|
1984
2000
|
}
|
|
1985
2001
|
|
|
1986
|
-
.saas-switch-thumb, .bento-switch-thumb, .max-switch-thumb, .bau-switch-thumb, .tactile-switch-thumb, .neo-switch-thumb, .retro-switch-thumb, .brutal-switch-thumb, .cyber-switch-thumb, .y2k-switch-thumb, .rg-switch-thumb {
|
|
2002
|
+
.saas-switch-thumb, .bento-switch-thumb, .max-switch-thumb, .bau-switch-thumb, .tactile-switch-thumb, .neo-switch-thumb, .retro-switch-thumb, .brutal-switch-thumb, .cyber-switch-thumb, .y2k-switch-thumb, .rg-switch-thumb, :where([data-ui="maximalist"]) .ui-switch-thumb {
|
|
1987
2003
|
inline-size: 1rem;
|
|
1988
2004
|
block-size: 1rem;
|
|
1989
2005
|
background: var(--usk-native-thumb);
|
|
@@ -2002,7 +2018,7 @@
|
|
|
2002
2018
|
.brutal-switch:has(input:checked) .brutal-switch-track,
|
|
2003
2019
|
.cyber-switch:has(input:checked) .cyber-switch-track,
|
|
2004
2020
|
.y2k-switch:has(input:checked) .y2k-switch-track,
|
|
2005
|
-
.rg-switch:has(input:checked) .rg-switch-track {
|
|
2021
|
+
.rg-switch:has(input:checked) .rg-switch-track, :where([data-ui="maximalist"]) .ui-switch:has(input:checked) .ui-switch-track {
|
|
2006
2022
|
background: var(--usk-native-track-fill);
|
|
2007
2023
|
}
|
|
2008
2024
|
|
|
@@ -2016,7 +2032,7 @@
|
|
|
2016
2032
|
.brutal-switch:has(input:checked) .brutal-switch-thumb,
|
|
2017
2033
|
.cyber-switch:has(input:checked) .cyber-switch-thumb,
|
|
2018
2034
|
.y2k-switch:has(input:checked) .y2k-switch-thumb,
|
|
2019
|
-
.rg-switch:has(input:checked) .rg-switch-thumb {
|
|
2035
|
+
.rg-switch:has(input:checked) .rg-switch-thumb, :where([data-ui="maximalist"]) .ui-switch:has(input:checked) .ui-switch-thumb {
|
|
2020
2036
|
transform: translateX(1.25rem);
|
|
2021
2037
|
}
|
|
2022
2038
|
|
|
@@ -2214,7 +2230,7 @@
|
|
|
2214
2230
|
background-size: var(--max-theme-bg-size);
|
|
2215
2231
|
}
|
|
2216
2232
|
|
|
2217
|
-
.max-title, .max-heading, .max-kicker, .max-button, .max-badge, .max-nav-link {
|
|
2233
|
+
.max-title, .max-heading, .max-kicker, .max-button, .max-badge, .max-nav-link, :where([data-ui="maximalist"]) .ui-button, :where([data-ui="maximalist"]) .ui-badge, :where([data-ui="maximalist"]) .ui-nav-link {
|
|
2218
2234
|
font-family: var(--max-font-heading);
|
|
2219
2235
|
}
|
|
2220
2236
|
|
|
@@ -2261,7 +2277,7 @@
|
|
|
2261
2277
|
height: 3px;
|
|
2262
2278
|
}
|
|
2263
2279
|
|
|
2264
|
-
.max-surface, .max-card, .max-panel, .max-toolbar, .max-table-wrap {
|
|
2280
|
+
.max-surface, .max-card, .max-panel, .max-toolbar, .max-table-wrap, :where([data-ui="maximalist"]) .ui-card, :where([data-ui="maximalist"]) .ui-toolbar, :where([data-ui="maximalist"]) .ui-table-wrap {
|
|
2265
2281
|
background: linear-gradient(135deg,rgb(var(--max-accent-rgb)/.18),transparent 42%),var(--max-surface);
|
|
2266
2282
|
color: var(--max-text);
|
|
2267
2283
|
border: 3px solid var(--max-border);
|
|
@@ -2271,11 +2287,11 @@
|
|
|
2271
2287
|
position: relative;
|
|
2272
2288
|
}
|
|
2273
2289
|
|
|
2274
|
-
.max-card, .max-panel {
|
|
2290
|
+
.max-card, .max-panel, :where([data-ui="maximalist"]) .ui-card {
|
|
2275
2291
|
padding: var(--max-space-6);
|
|
2276
2292
|
}
|
|
2277
2293
|
|
|
2278
|
-
.max-toolbar {
|
|
2294
|
+
.max-toolbar, :where([data-ui="maximalist"]) .ui-toolbar {
|
|
2279
2295
|
justify-content: space-between;
|
|
2280
2296
|
align-items: center;
|
|
2281
2297
|
gap: var(--max-space-4);
|
|
@@ -2308,7 +2324,7 @@
|
|
|
2308
2324
|
transform: translate(-2px, -2px);
|
|
2309
2325
|
}
|
|
2310
2326
|
|
|
2311
|
-
.max-button, .max-icon-button {
|
|
2327
|
+
.max-button, .max-icon-button, :where([data-ui="maximalist"]) .ui-button, :where([data-ui="maximalist"]) .ui-icon-button {
|
|
2312
2328
|
appearance: none;
|
|
2313
2329
|
justify-content: center;
|
|
2314
2330
|
align-items: center;
|
|
@@ -2332,87 +2348,87 @@
|
|
|
2332
2348
|
display: inline-flex;
|
|
2333
2349
|
}
|
|
2334
2350
|
|
|
2335
|
-
.max-button:hover, .max-icon-button:hover {
|
|
2351
|
+
.max-button:hover, .max-icon-button:hover, :where([data-ui="maximalist"]) .ui-button:hover, :where([data-ui="maximalist"]) .ui-icon-button:hover {
|
|
2336
2352
|
border-color: var(--max-primary);
|
|
2337
2353
|
transform: translateY(-1px);
|
|
2338
2354
|
}
|
|
2339
2355
|
|
|
2340
|
-
.max-button:active, .max-icon-button:active, .max-button[aria-pressed="true"], .max-icon-button[aria-pressed="true"], .max-button.is-active, .max-icon-button.is-active {
|
|
2356
|
+
.max-button:active, .max-icon-button:active, .max-button[aria-pressed="true"], .max-icon-button[aria-pressed="true"], .max-button.is-active, .max-icon-button.is-active, :where([data-ui="maximalist"]) .ui-button:active, :where([data-ui="maximalist"]) .ui-icon-button:active, :where([data-ui="maximalist"]) .ui-button[aria-pressed="true"], :where([data-ui="maximalist"]) .ui-icon-button[aria-pressed="true"], :where([data-ui="maximalist"]) .ui-button.is-active, :where([data-ui="maximalist"]) .ui-icon-button.is-active {
|
|
2341
2357
|
transform: translateY(1px);
|
|
2342
2358
|
box-shadow: inset 0 3px 10px #0000002e;
|
|
2343
2359
|
}
|
|
2344
2360
|
|
|
2345
|
-
.max-button-primary {
|
|
2361
|
+
.max-button-primary, :where([data-ui="maximalist"]) .ui-button:where([data-ui-variant="primary"]) {
|
|
2346
2362
|
background: var(--max-primary);
|
|
2347
2363
|
color: var(--max-on-primary);
|
|
2348
2364
|
border-color: var(--max-primary);
|
|
2349
2365
|
}
|
|
2350
2366
|
|
|
2351
|
-
.max-button-primary:hover {
|
|
2367
|
+
.max-button-primary:hover, :where([data-ui="maximalist"]) .ui-button:where([data-ui-variant="primary"]):hover {
|
|
2352
2368
|
background: var(--max-primary-hover);
|
|
2353
2369
|
border-color: var(--max-primary-hover);
|
|
2354
2370
|
}
|
|
2355
2371
|
|
|
2356
|
-
.max-button-secondary {
|
|
2372
|
+
.max-button-secondary, :where([data-ui="maximalist"]) .ui-button:where([data-ui-variant="secondary"]) {
|
|
2357
2373
|
background: var(--max-secondary);
|
|
2358
2374
|
color: var(--max-on-secondary);
|
|
2359
2375
|
border-color: var(--max-secondary);
|
|
2360
2376
|
}
|
|
2361
2377
|
|
|
2362
|
-
.max-button-secondary:hover {
|
|
2378
|
+
.max-button-secondary:hover, :where([data-ui="maximalist"]) .ui-button:where([data-ui-variant="secondary"]):hover {
|
|
2363
2379
|
background: var(--max-secondary-hover);
|
|
2364
2380
|
border-color: var(--max-secondary-hover);
|
|
2365
2381
|
}
|
|
2366
2382
|
|
|
2367
|
-
.max-button-danger {
|
|
2383
|
+
.max-button-danger, :where([data-ui="maximalist"]) .ui-button:where([data-ui-variant="danger"]) {
|
|
2368
2384
|
background: var(--max-danger);
|
|
2369
2385
|
color: var(--max-on-danger);
|
|
2370
2386
|
border-color: var(--max-danger);
|
|
2371
2387
|
}
|
|
2372
2388
|
|
|
2373
|
-
.max-button-ghost {
|
|
2389
|
+
.max-button-ghost, :where([data-ui="maximalist"]) .ui-button:where([data-ui-variant="ghost"]) {
|
|
2374
2390
|
color: var(--max-text);
|
|
2375
2391
|
box-shadow: none;
|
|
2376
2392
|
background: none;
|
|
2377
2393
|
}
|
|
2378
2394
|
|
|
2379
|
-
.max-icon-button {
|
|
2395
|
+
.max-icon-button, :where([data-ui="maximalist"]) .ui-icon-button {
|
|
2380
2396
|
border-radius: var(--max-radius-pill);
|
|
2381
2397
|
width: 2.75rem;
|
|
2382
2398
|
padding: 0;
|
|
2383
2399
|
}
|
|
2384
2400
|
|
|
2385
|
-
.max-button:disabled, .max-icon-button:disabled, .max-disabled {
|
|
2401
|
+
.max-button:disabled, .max-icon-button:disabled, .max-disabled, :where([data-ui="maximalist"]) .ui-button:disabled, :where([data-ui="maximalist"]) .ui-icon-button:disabled {
|
|
2386
2402
|
opacity: .55;
|
|
2387
2403
|
cursor: not-allowed;
|
|
2388
2404
|
transform: none;
|
|
2389
2405
|
}
|
|
2390
2406
|
|
|
2391
|
-
.max-card, .max-panel {
|
|
2407
|
+
.max-card, .max-panel, :where([data-ui="maximalist"]) .ui-card {
|
|
2392
2408
|
background: var(--max-card-bg);
|
|
2393
2409
|
}
|
|
2394
2410
|
|
|
2395
|
-
.max-toolbar, .max-table-wrap, .max-button:not(.max-button-primary):not(.max-button-secondary):not(.max-button-danger):not(.max-button-ghost), .max-icon-button {
|
|
2411
|
+
.max-toolbar, .max-table-wrap, .max-button:not(.max-button-primary):not(.max-button-secondary):not(.max-button-danger):not(.max-button-ghost), .max-icon-button, :where([data-ui="maximalist"]) .ui-toolbar, :where([data-ui="maximalist"]) .ui-table-wrap, :where([data-ui="maximalist"]) .ui-button:not(.ui-button:where([data-ui-variant="primary"])):not(.ui-button:where([data-ui-variant="secondary"])):not(.ui-button:where([data-ui-variant="danger"])):not(.ui-button:where([data-ui-variant="ghost"])), :where([data-ui="maximalist"]) .ui-icon-button {
|
|
2396
2412
|
background: var(--max-control-bg);
|
|
2397
2413
|
}
|
|
2398
2414
|
|
|
2399
|
-
.max-button, .max-icon-button, .max-badge, .max-nav-link {
|
|
2415
|
+
.max-button, .max-icon-button, .max-badge, .max-nav-link, :where([data-ui="maximalist"]) .ui-button, :where([data-ui="maximalist"]) .ui-icon-button, :where([data-ui="maximalist"]) .ui-badge, :where([data-ui="maximalist"]) .ui-nav-link {
|
|
2400
2416
|
font-family: var(--max-font-control);
|
|
2401
2417
|
}
|
|
2402
2418
|
|
|
2403
|
-
.max-field {
|
|
2419
|
+
.max-field, :where([data-ui="maximalist"]) .ui-field {
|
|
2404
2420
|
gap: var(--max-space-2);
|
|
2405
2421
|
flex-direction: column;
|
|
2406
2422
|
display: flex;
|
|
2407
2423
|
}
|
|
2408
2424
|
|
|
2409
|
-
.max-label {
|
|
2425
|
+
.max-label, :where([data-ui="maximalist"]) .ui-label {
|
|
2410
2426
|
color: var(--max-text);
|
|
2411
2427
|
font-size: .925rem;
|
|
2412
2428
|
font-weight: 800;
|
|
2413
2429
|
}
|
|
2414
2430
|
|
|
2415
|
-
.max-input, .max-textarea, .max-select {
|
|
2431
|
+
.max-input, .max-textarea, .max-select, :where([data-ui="maximalist"]) .ui-input, :where([data-ui="maximalist"]) .ui-textarea, :where([data-ui="maximalist"]) .ui-select {
|
|
2416
2432
|
background: var(--max-surface-soft);
|
|
2417
2433
|
width: 100%;
|
|
2418
2434
|
min-height: 2.875rem;
|
|
@@ -2425,32 +2441,32 @@
|
|
|
2425
2441
|
padding: .75rem 1rem;
|
|
2426
2442
|
}
|
|
2427
2443
|
|
|
2428
|
-
.max-textarea {
|
|
2444
|
+
.max-textarea, :where([data-ui="maximalist"]) .ui-textarea {
|
|
2429
2445
|
resize: vertical;
|
|
2430
2446
|
min-height: 8rem;
|
|
2431
2447
|
}
|
|
2432
2448
|
|
|
2433
|
-
.max-input::placeholder, .max-textarea::placeholder {
|
|
2449
|
+
.max-input::placeholder, .max-textarea::placeholder, :where([data-ui="maximalist"]) .ui-input::placeholder, :where([data-ui="maximalist"]) .ui-textarea::placeholder {
|
|
2434
2450
|
color: var(--max-text-muted);
|
|
2435
2451
|
opacity: .82;
|
|
2436
2452
|
}
|
|
2437
2453
|
|
|
2438
|
-
.max-input:hover, .max-textarea:hover, .max-select:hover {
|
|
2454
|
+
.max-input:hover, .max-textarea:hover, .max-select:hover, :where([data-ui="maximalist"]) .ui-input:hover, :where([data-ui="maximalist"]) .ui-textarea:hover, :where([data-ui="maximalist"]) .ui-select:hover {
|
|
2439
2455
|
border-color: rgb(var(--max-primary-rgb)/.58);
|
|
2440
2456
|
}
|
|
2441
2457
|
|
|
2442
|
-
.max-input:focus, .max-textarea:focus, .max-select:focus {
|
|
2458
|
+
.max-input:focus, .max-textarea:focus, .max-select:focus, :where([data-ui="maximalist"]) .ui-input:focus, :where([data-ui="maximalist"]) .ui-textarea:focus, :where([data-ui="maximalist"]) .ui-select:focus {
|
|
2443
2459
|
border-color: var(--max-focus);
|
|
2444
2460
|
box-shadow: var(--max-focus-ring);
|
|
2445
2461
|
}
|
|
2446
2462
|
|
|
2447
|
-
.max-help-text {
|
|
2463
|
+
.max-help-text, :where([data-ui="maximalist"]) .ui-help-text {
|
|
2448
2464
|
color: var(--max-text-muted);
|
|
2449
2465
|
font-size: .875rem;
|
|
2450
2466
|
line-height: 1.45;
|
|
2451
2467
|
}
|
|
2452
2468
|
|
|
2453
|
-
.max-check, .max-radio {
|
|
2469
|
+
.max-check, .max-radio, :where([data-ui="maximalist"]) .ui-check, :where([data-ui="maximalist"]) .ui-radio {
|
|
2454
2470
|
align-items: center;
|
|
2455
2471
|
gap: var(--max-space-2);
|
|
2456
2472
|
color: var(--max-text);
|
|
@@ -2458,13 +2474,13 @@
|
|
|
2458
2474
|
display: inline-flex;
|
|
2459
2475
|
}
|
|
2460
2476
|
|
|
2461
|
-
.max-check input, .max-radio input {
|
|
2477
|
+
.max-check input, .max-radio input, :where([data-ui="maximalist"]) .ui-check input, :where([data-ui="maximalist"]) .ui-radio input {
|
|
2462
2478
|
opacity: 0;
|
|
2463
2479
|
pointer-events: none;
|
|
2464
2480
|
position: absolute;
|
|
2465
2481
|
}
|
|
2466
2482
|
|
|
2467
|
-
.max-check-control, .max-radio-control {
|
|
2483
|
+
.max-check-control, .max-radio-control, :where([data-ui="maximalist"]) .ui-check-control, :where([data-ui="maximalist"]) .ui-radio-control {
|
|
2468
2484
|
background: var(--max-surface-soft);
|
|
2469
2485
|
border: 3px solid var(--max-border);
|
|
2470
2486
|
width: 1.35rem;
|
|
@@ -2474,28 +2490,28 @@
|
|
|
2474
2490
|
display: inline-grid;
|
|
2475
2491
|
}
|
|
2476
2492
|
|
|
2477
|
-
.max-check-control {
|
|
2493
|
+
.max-check-control, :where([data-ui="maximalist"]) .ui-check-control {
|
|
2478
2494
|
border-radius: var(--max-radius-xs);
|
|
2479
2495
|
}
|
|
2480
2496
|
|
|
2481
|
-
.max-radio-control {
|
|
2497
|
+
.max-radio-control, :where([data-ui="maximalist"]) .ui-radio-control {
|
|
2482
2498
|
border-radius: 50%;
|
|
2483
2499
|
}
|
|
2484
2500
|
|
|
2485
|
-
.max-check input:checked + .max-check-control, .max-radio input:checked + .max-radio-control {
|
|
2501
|
+
.max-check input:checked + .max-check-control, .max-radio input:checked + .max-radio-control, :where([data-ui="maximalist"]) .ui-check input:checked+.ui-check-control, :where([data-ui="maximalist"]) .ui-radio input:checked+.ui-radio-control {
|
|
2486
2502
|
background: var(--max-primary);
|
|
2487
2503
|
border-color: var(--max-primary);
|
|
2488
2504
|
box-shadow: var(--max-focus-ring);
|
|
2489
2505
|
}
|
|
2490
2506
|
|
|
2491
|
-
.max-check input:checked + .max-check-control:after {
|
|
2507
|
+
.max-check input:checked + .max-check-control:after, :where([data-ui="maximalist"]) .ui-check input:checked+.ui-check-control:after {
|
|
2492
2508
|
content: "✓";
|
|
2493
2509
|
color: var(--max-on-primary);
|
|
2494
2510
|
font-size: .9rem;
|
|
2495
2511
|
font-weight: 900;
|
|
2496
2512
|
}
|
|
2497
2513
|
|
|
2498
|
-
.max-radio input:checked + .max-radio-control:after {
|
|
2514
|
+
.max-radio input:checked + .max-radio-control:after, :where([data-ui="maximalist"]) .ui-radio input:checked+.ui-radio-control:after {
|
|
2499
2515
|
content: "";
|
|
2500
2516
|
background: var(--max-on-primary);
|
|
2501
2517
|
border-radius: 50%;
|
|
@@ -2503,7 +2519,7 @@
|
|
|
2503
2519
|
height: .55rem;
|
|
2504
2520
|
}
|
|
2505
2521
|
|
|
2506
|
-
.max-switch {
|
|
2522
|
+
.max-switch, :where([data-ui="maximalist"]) .ui-switch {
|
|
2507
2523
|
align-items: center;
|
|
2508
2524
|
gap: var(--max-space-3);
|
|
2509
2525
|
color: var(--max-text);
|
|
@@ -2511,13 +2527,13 @@
|
|
|
2511
2527
|
display: inline-flex;
|
|
2512
2528
|
}
|
|
2513
2529
|
|
|
2514
|
-
.max-switch input {
|
|
2530
|
+
.max-switch input, :where([data-ui="maximalist"]) .ui-switch input {
|
|
2515
2531
|
opacity: 0;
|
|
2516
2532
|
pointer-events: none;
|
|
2517
2533
|
position: absolute;
|
|
2518
2534
|
}
|
|
2519
2535
|
|
|
2520
|
-
.max-switch-track {
|
|
2536
|
+
.max-switch-track, :where([data-ui="maximalist"]) .ui-switch-track {
|
|
2521
2537
|
background: var(--max-surface-soft);
|
|
2522
2538
|
border: 3px solid var(--max-border);
|
|
2523
2539
|
border-radius: var(--max-radius-pill);
|
|
@@ -2527,7 +2543,7 @@
|
|
|
2527
2543
|
position: relative;
|
|
2528
2544
|
}
|
|
2529
2545
|
|
|
2530
|
-
.max-switch-thumb {
|
|
2546
|
+
.max-switch-thumb, :where([data-ui="maximalist"]) .ui-switch-thumb {
|
|
2531
2547
|
background: var(--max-surface-strong);
|
|
2532
2548
|
border: 3px solid var(--max-border);
|
|
2533
2549
|
width: 1.34rem;
|
|
@@ -2540,17 +2556,17 @@
|
|
|
2540
2556
|
left: .22rem;
|
|
2541
2557
|
}
|
|
2542
2558
|
|
|
2543
|
-
.max-switch input:checked + .max-switch-track {
|
|
2559
|
+
.max-switch input:checked + .max-switch-track, :where([data-ui="maximalist"]) .ui-switch input:checked+.ui-switch-track {
|
|
2544
2560
|
background: var(--max-primary);
|
|
2545
2561
|
border-color: var(--max-primary);
|
|
2546
2562
|
}
|
|
2547
2563
|
|
|
2548
|
-
.max-switch input:checked + .max-switch-track .max-switch-thumb {
|
|
2564
|
+
.max-switch input:checked + .max-switch-track .max-switch-thumb, :where([data-ui="maximalist"]) .ui-switch input:checked+.ui-switch-track .ui-switch-thumb {
|
|
2549
2565
|
background: var(--max-on-primary);
|
|
2550
2566
|
left: calc(100% - 1.56rem);
|
|
2551
2567
|
}
|
|
2552
2568
|
|
|
2553
|
-
.max-badge {
|
|
2569
|
+
.max-badge, :where([data-ui="maximalist"]) .ui-badge {
|
|
2554
2570
|
align-items: center;
|
|
2555
2571
|
gap: var(--max-space-1);
|
|
2556
2572
|
background: var(--max-surface-soft);
|
|
@@ -2565,37 +2581,37 @@
|
|
|
2565
2581
|
display: inline-flex;
|
|
2566
2582
|
}
|
|
2567
2583
|
|
|
2568
|
-
.max-badge-primary {
|
|
2584
|
+
.max-badge-primary, :where([data-ui="maximalist"]) .ui-badge:where([data-ui-variant="primary"]) {
|
|
2569
2585
|
background: var(--max-primary);
|
|
2570
2586
|
color: var(--max-on-primary);
|
|
2571
2587
|
border-color: var(--max-primary);
|
|
2572
2588
|
}
|
|
2573
2589
|
|
|
2574
|
-
.max-badge-secondary {
|
|
2590
|
+
.max-badge-secondary, :where([data-ui="maximalist"]) .ui-badge:where([data-ui-variant="secondary"]) {
|
|
2575
2591
|
background: var(--max-secondary);
|
|
2576
2592
|
color: var(--max-on-secondary);
|
|
2577
2593
|
border-color: var(--max-secondary);
|
|
2578
2594
|
}
|
|
2579
2595
|
|
|
2580
|
-
.max-badge-success {
|
|
2596
|
+
.max-badge-success, :where([data-ui="maximalist"]) .ui-badge:where([data-ui-variant="success"]) {
|
|
2581
2597
|
background: var(--max-success);
|
|
2582
2598
|
color: var(--max-on-success);
|
|
2583
2599
|
border-color: var(--max-success);
|
|
2584
2600
|
}
|
|
2585
2601
|
|
|
2586
|
-
.max-badge-warning {
|
|
2602
|
+
.max-badge-warning, :where([data-ui="maximalist"]) .ui-badge:where([data-ui-variant="warning"]) {
|
|
2587
2603
|
background: var(--max-warning);
|
|
2588
2604
|
color: var(--max-on-warning);
|
|
2589
2605
|
border-color: var(--max-warning);
|
|
2590
2606
|
}
|
|
2591
2607
|
|
|
2592
|
-
.max-badge-danger {
|
|
2608
|
+
.max-badge-danger, :where([data-ui="maximalist"]) .ui-badge:where([data-ui-variant="danger"]) {
|
|
2593
2609
|
background: var(--max-danger);
|
|
2594
2610
|
color: var(--max-on-danger);
|
|
2595
2611
|
border-color: var(--max-danger);
|
|
2596
2612
|
}
|
|
2597
2613
|
|
|
2598
|
-
.max-nav {
|
|
2614
|
+
.max-nav, :where([data-ui="maximalist"]) .ui-nav {
|
|
2599
2615
|
align-items: center;
|
|
2600
2616
|
gap: var(--max-space-2);
|
|
2601
2617
|
padding: var(--max-space-2);
|
|
@@ -2607,7 +2623,7 @@
|
|
|
2607
2623
|
display: flex;
|
|
2608
2624
|
}
|
|
2609
2625
|
|
|
2610
|
-
.max-nav-link {
|
|
2626
|
+
.max-nav-link, :where([data-ui="maximalist"]) .ui-nav-link {
|
|
2611
2627
|
min-height: 2.5rem;
|
|
2612
2628
|
color: var(--max-text-muted);
|
|
2613
2629
|
border-radius: var(--max-radius-pill);
|
|
@@ -2620,12 +2636,12 @@
|
|
|
2620
2636
|
display: inline-flex;
|
|
2621
2637
|
}
|
|
2622
2638
|
|
|
2623
|
-
.max-nav-link:hover {
|
|
2639
|
+
.max-nav-link:hover, :where([data-ui="maximalist"]) .ui-nav-link:hover {
|
|
2624
2640
|
color: var(--max-text);
|
|
2625
2641
|
background: var(--max-surface-soft);
|
|
2626
2642
|
}
|
|
2627
2643
|
|
|
2628
|
-
.max-nav-link[aria-current="page"], .max-nav-link.is-active {
|
|
2644
|
+
.max-nav-link[aria-current="page"], .max-nav-link.is-active, :where([data-ui="maximalist"]) .ui-nav-link[aria-current="page"], :where([data-ui="maximalist"]) .ui-nav-link.is-active {
|
|
2629
2645
|
color: var(--max-on-primary);
|
|
2630
2646
|
background: var(--max-primary);
|
|
2631
2647
|
}
|
|
@@ -2657,7 +2673,7 @@
|
|
|
2657
2673
|
transform: rotate(45deg);
|
|
2658
2674
|
}
|
|
2659
2675
|
|
|
2660
|
-
.max-progress {
|
|
2676
|
+
.max-progress, :where([data-ui="maximalist"]) .ui-progress {
|
|
2661
2677
|
background: var(--max-surface-soft);
|
|
2662
2678
|
border: 3px solid var(--max-border);
|
|
2663
2679
|
border-radius: var(--max-radius-pill);
|
|
@@ -2666,14 +2682,14 @@
|
|
|
2666
2682
|
overflow: hidden;
|
|
2667
2683
|
}
|
|
2668
2684
|
|
|
2669
|
-
.max-progress-bar {
|
|
2685
|
+
.max-progress-bar, :where([data-ui="maximalist"]) .ui-progress-bar {
|
|
2670
2686
|
height: 100%;
|
|
2671
2687
|
width: var(--max-progress-value, 50%);
|
|
2672
2688
|
background: linear-gradient(90deg,var(--max-primary),var(--max-accent));
|
|
2673
2689
|
border-radius: inherit;
|
|
2674
2690
|
}
|
|
2675
2691
|
|
|
2676
|
-
.max-alert {
|
|
2692
|
+
.max-alert, :where([data-ui="maximalist"]) .ui-alert {
|
|
2677
2693
|
gap: var(--max-space-2);
|
|
2678
2694
|
padding: var(--max-space-4);
|
|
2679
2695
|
background: var(--max-surface);
|
|
@@ -2684,45 +2700,45 @@
|
|
|
2684
2700
|
display: grid;
|
|
2685
2701
|
}
|
|
2686
2702
|
|
|
2687
|
-
.max-alert-success {
|
|
2703
|
+
.max-alert-success, :where([data-ui="maximalist"]) .ui-alert:where([data-ui-variant="success"]) {
|
|
2688
2704
|
border-left-color: var(--max-success);
|
|
2689
2705
|
}
|
|
2690
2706
|
|
|
2691
|
-
.max-alert-warning {
|
|
2707
|
+
.max-alert-warning, :where([data-ui="maximalist"]) .ui-alert:where([data-ui-variant="warning"]) {
|
|
2692
2708
|
border-left-color: var(--max-warning);
|
|
2693
2709
|
}
|
|
2694
2710
|
|
|
2695
|
-
.max-alert-danger {
|
|
2711
|
+
.max-alert-danger, :where([data-ui="maximalist"]) .ui-alert:where([data-ui-variant="danger"]) {
|
|
2696
2712
|
border-left-color: var(--max-danger);
|
|
2697
2713
|
}
|
|
2698
2714
|
|
|
2699
|
-
.max-alert-title {
|
|
2715
|
+
.max-alert-title, :where([data-ui="maximalist"]) .ui-alert-title {
|
|
2700
2716
|
margin: 0;
|
|
2701
2717
|
font-weight: 900;
|
|
2702
2718
|
}
|
|
2703
2719
|
|
|
2704
|
-
.max-alert-body {
|
|
2720
|
+
.max-alert-body, :where([data-ui="maximalist"]) .ui-alert-body {
|
|
2705
2721
|
color: var(--max-text-muted);
|
|
2706
2722
|
margin: 0;
|
|
2707
2723
|
line-height: 1.55;
|
|
2708
2724
|
}
|
|
2709
2725
|
|
|
2710
|
-
.max-table-wrap {
|
|
2726
|
+
.max-table-wrap, :where([data-ui="maximalist"]) .ui-table-wrap {
|
|
2711
2727
|
overflow: auto;
|
|
2712
2728
|
}
|
|
2713
2729
|
|
|
2714
|
-
.max-table {
|
|
2730
|
+
.max-table, :where([data-ui="maximalist"]) .ui-table {
|
|
2715
2731
|
border-collapse: collapse;
|
|
2716
2732
|
width: 100%;
|
|
2717
2733
|
}
|
|
2718
2734
|
|
|
2719
|
-
.max-table th, .max-table td {
|
|
2735
|
+
.max-table th, .max-table td, :where([data-ui="maximalist"]) .ui-table th, :where([data-ui="maximalist"]) .ui-table td {
|
|
2720
2736
|
text-align: left;
|
|
2721
2737
|
border-bottom: 3px solid var(--max-border);
|
|
2722
2738
|
padding: .95rem 1rem;
|
|
2723
2739
|
}
|
|
2724
2740
|
|
|
2725
|
-
.max-table th {
|
|
2741
|
+
.max-table th, :where([data-ui="maximalist"]) .ui-table th {
|
|
2726
2742
|
color: var(--max-text);
|
|
2727
2743
|
text-transform: uppercase;
|
|
2728
2744
|
letter-spacing: .08em;
|
|
@@ -2731,11 +2747,11 @@
|
|
|
2731
2747
|
font-weight: 900;
|
|
2732
2748
|
}
|
|
2733
2749
|
|
|
2734
|
-
.max-table td {
|
|
2750
|
+
.max-table td, :where([data-ui="maximalist"]) .ui-table td {
|
|
2735
2751
|
color: var(--max-text-muted);
|
|
2736
2752
|
}
|
|
2737
2753
|
|
|
2738
|
-
.max-table tr:hover td {
|
|
2754
|
+
.max-table tr:hover td, :where([data-ui="maximalist"]) .ui-table tr:hover td {
|
|
2739
2755
|
background: rgb(var(--max-primary-rgb)/.045);
|
|
2740
2756
|
}
|
|
2741
2757
|
|
|
@@ -2888,12 +2904,12 @@
|
|
|
2888
2904
|
inline-size: 3rem;
|
|
2889
2905
|
}
|
|
2890
2906
|
|
|
2891
|
-
.max-button[aria-busy="true"], .max-icon-button[aria-busy="true"], [data-ui="maximalist"] :where(button[aria-busy="true"], input[type="button"][aria-busy="true"], input[type="submit"][aria-busy="true"], input[type="reset"][aria-busy="true"]) {
|
|
2907
|
+
.max-button[aria-busy="true"], .max-icon-button[aria-busy="true"], [data-ui="maximalist"] :where(button[aria-busy="true"], input[type="button"][aria-busy="true"], input[type="submit"][aria-busy="true"], input[type="reset"][aria-busy="true"]), :where([data-ui="maximalist"]) .ui-button[aria-busy="true"], :where([data-ui="maximalist"]) .ui-icon-button[aria-busy="true"] {
|
|
2892
2908
|
cursor: progress;
|
|
2893
2909
|
gap: .55rem;
|
|
2894
2910
|
}
|
|
2895
2911
|
|
|
2896
|
-
.max-button[aria-busy="true"]:after, .max-icon-button[aria-busy="true"]:after, [data-ui="maximalist"] :where(button[aria-busy="true"], input[type="button"][aria-busy="true"], input[type="submit"][aria-busy="true"], input[type="reset"][aria-busy="true"]):after {
|
|
2912
|
+
.max-button[aria-busy="true"]:after, .max-icon-button[aria-busy="true"]:after, [data-ui="maximalist"] :where(button[aria-busy="true"], input[type="button"][aria-busy="true"], input[type="submit"][aria-busy="true"], input[type="reset"][aria-busy="true"]):after, :where([data-ui="maximalist"]) .ui-button[aria-busy="true"]:after, :where([data-ui="maximalist"]) .ui-icon-button[aria-busy="true"]:after {
|
|
2897
2913
|
content: "";
|
|
2898
2914
|
border: .16em solid rgb(var(--max-primary-text-rgb)/.42);
|
|
2899
2915
|
border-block-start-color: currentColor;
|