@plexui/styles 0.1.33 → 0.1.34
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/dist/es/components/Accordion/Accordion.module.css +14 -0
- package/dist/es/components/Alert/Alert.module.css +112 -1
- package/dist/es/components/Breadcrumb/Breadcrumb.module.css +34 -0
- package/dist/es/components/Button/Button.module.css +70 -22
- package/dist/es/components/Card/Card.module.css +22 -6
- package/dist/es/components/Checkbox/Checkbox.module.css +26 -72
- package/dist/es/components/CodeBlock/CodeBlock.module.css +20 -0
- package/dist/es/components/ColorPicker/ColorPicker.module.css +396 -0
- package/dist/es/components/ContextMenu/ContextMenu.module.css +55 -0
- package/dist/es/components/DataTable/DataTable.module.css +4 -0
- package/dist/es/components/DatePicker/Calendar.module.css +18 -5
- package/dist/es/components/DateRangePicker/Calendar.module.css +20 -2
- package/dist/es/components/DateRangePicker/Trigger.module.css +29 -1
- package/dist/es/components/Dialog/Dialog.module.css +212 -77
- package/dist/es/components/EmptyMessage/EmptyMessage.module.css +31 -0
- package/dist/es/components/Field/Field.module.css +188 -23
- package/dist/es/components/FieldGroup/FieldGroup.module.css +59 -0
- package/dist/es/components/FloatingLabelInput/FloatingLabelInput.module.css +21 -0
- package/dist/es/components/FloatingLabelSelect/FloatingLabelSelect.module.css +16 -0
- package/dist/es/components/Indicator/LoadingIndicator.module.css +14 -7
- package/dist/es/components/Input/Input.module.css +69 -0
- package/dist/es/components/InputGroup/InputGroup.module.css +4 -0
- package/dist/es/components/Menu/Menu.module.css +278 -28
- package/dist/es/components/Page/Page.module.css +92 -24
- package/dist/es/components/PageControl/PageControl.module.css +81 -0
- package/dist/es/components/Popover/Popover.module.css +10 -1
- package/dist/es/components/Select/Select.module.css +53 -9
- package/dist/es/components/SelectControl/SelectControl.module.css +38 -3
- package/dist/es/components/Sidebar/Sidebar.module.css +276 -57
- package/dist/es/components/Slider/Slider.module.css +52 -45
- package/dist/es/components/Sortable/Sortable.module.css +7 -3
- package/dist/es/components/Stepper/Stepper.module.css +98 -0
- package/dist/es/components/TabBar/TabBar.module.css +233 -0
- package/dist/es/components/Tabs/Tabs.module.css +149 -2
- package/dist/es/components/Toast/Toast.module.css +50 -5
- package/dist/es/components/Toolbar/Toolbar.module.css +208 -18
- package/dist/es/styles/katex-fonts/KaTeX_AMS-Regular.woff2 +0 -0
- package/dist/es/styles/katex-fonts/KaTeX_Caligraphic-Bold.woff2 +0 -0
- package/dist/es/styles/katex-fonts/KaTeX_Caligraphic-Regular.woff2 +0 -0
- package/dist/es/styles/katex-fonts/KaTeX_Fraktur-Bold.woff2 +0 -0
- package/dist/es/styles/katex-fonts/KaTeX_Fraktur-Regular.woff2 +0 -0
- package/dist/es/styles/katex-fonts/KaTeX_Main-Bold.woff2 +0 -0
- package/dist/es/styles/katex-fonts/KaTeX_Main-BoldItalic.woff2 +0 -0
- package/dist/es/styles/katex-fonts/KaTeX_Main-Italic.woff2 +0 -0
- package/dist/es/styles/katex-fonts/KaTeX_Main-Regular.woff2 +0 -0
- package/dist/es/styles/katex-fonts/KaTeX_Math-BoldItalic.woff2 +0 -0
- package/dist/es/styles/katex-fonts/KaTeX_Math-Italic.woff2 +0 -0
- package/dist/es/styles/katex-fonts/KaTeX_SansSerif-Bold.woff2 +0 -0
- package/dist/es/styles/katex-fonts/KaTeX_SansSerif-Italic.woff2 +0 -0
- package/dist/es/styles/katex-fonts/KaTeX_SansSerif-Regular.woff2 +0 -0
- package/dist/es/styles/katex-fonts/KaTeX_Script-Regular.woff2 +0 -0
- package/dist/es/styles/katex-fonts/KaTeX_Size1-Regular.woff2 +0 -0
- package/dist/es/styles/katex-fonts/KaTeX_Size2-Regular.woff2 +0 -0
- package/dist/es/styles/katex-fonts/KaTeX_Size3-Regular.woff2 +0 -0
- package/dist/es/styles/katex-fonts/KaTeX_Size4-Regular.woff2 +0 -0
- package/dist/es/styles/katex-fonts/KaTeX_Typewriter-Regular.woff2 +0 -0
- package/dist/es/styles/katex-fonts/LICENSE +21 -0
- package/dist/es/styles/katex.min.css +666 -730
- package/dist/es/styles/mobile-materials.css +56 -14
- package/dist/es/styles/mobile-surfaces.css +39 -32
- package/dist/es/styles/touch.css +328 -90
- package/dist/es/styles/variables-components.css +232 -13
- package/package.json +1 -1
|
@@ -1,27 +1,69 @@
|
|
|
1
|
-
/* Mobile glass shared by Back, Close, More and the phone toolbar: Liquid Glass
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
/* Mobile glass shared by Back, Close, More and the phone toolbar: the Liquid Glass of the iOS 27 kit's bar
|
|
2
|
+
buttons (Toolbars 507:25993, Buttons - 44pt 5432:23133). A translucent fill that lifts a dark backdrop and
|
|
3
|
+
dims a white one a little, a hairline outline with darker sides that keeps the capsule visible on any
|
|
4
|
+
background, a faint shadow, a sheen darker at the top and lighter at the bottom, and a thin rim of light
|
|
5
|
+
along the top and the bottom edges that fades out at the sides. The kit draws that rim on the top-left and
|
|
6
|
+
bottom-right corners; native glass lights the top and bottom alike and none of the sides (Photos Close,
|
|
7
|
+
IMG_5453; Calendar checkmark, IMG_5433; 08.11), and a rim on one diagonal made a round button read as an
|
|
8
|
+
oval. A deeper shadow comes once content is under the control. */
|
|
5
9
|
@media (max-width: 767px) {
|
|
6
10
|
:root {
|
|
11
|
+
/* PlexUI colors. Light: the kit stacks white 25% over black 25%, 68/68/68 at 60% plus-lighter and 248 at 20%
|
|
12
|
+
luminosity, which comes to 248 over white and 133 over black: gray-75 (#f3f3f3) at 55%. Dark follows native
|
|
13
|
+
iOS 26 screens rather than the kit's flattened layers (about 10 on black): the glass lifts what is under it
|
|
14
|
+
by white at about 12.5%, 0 to 31/32 (Mail, iOS2 IMG_5530) and the 28/28/29 sheet to 57/57/59
|
|
15
|
+
(IMG_5523/5526), so it takes alpha-12. Hover and press add more of the same; no native reference. */
|
|
7
16
|
--mobile-glass-sheen: linear-gradient(light-dark(rgb(0 0 0 / 3%), rgb(0 0 0 / 6%)), transparent 50%, light-dark(rgb(255 255 255 / 45%), rgb(255 255 255 / 3%)));
|
|
8
|
-
|
|
9
|
-
|
|
17
|
+
/* The kit's edge in light: a 0.5px outline of #e8e8e8 (gray-100) all round, and the sides 0.5px darker in
|
|
18
|
+
#d0d0d0 (gray-200), with a 2% shadow 8px down. Dark glass has neither in native frames, only its rim. */
|
|
19
|
+
/* The kit's Glass Effect frosts at a radius of 6 (iOS 27 Buttons - 44pt, 5720:29596; refraction 0.7,
|
|
20
|
+
depth 30, light 0.25 are not drawn: CSS has no lens for a backdrop). */
|
|
21
|
+
--mobile-glass-backdrop-filter: blur(6px);
|
|
22
|
+
/* Dark menus and Select lists are glass, as native iOS 26 pop-up menus and popovers are: the glass
|
|
23
|
+
of the buttons, alpha-12, over a blurred backdrop (iOS2 IMG_5524, 5525, 5528: a sheet of 28 shows at
|
|
24
|
+
56, a card of 44 at 69, a switch behind spreads over about 10pt). Light menus keep the elevated
|
|
25
|
+
surface; the blur applies in dark only. */
|
|
26
|
+
--menu-mobile-backdrop-filter: blur(10px);
|
|
27
|
+
/* A popover takes the material of the menus: iOS 26 presents an action sheet from its source in the same
|
|
28
|
+
dark glass (iOS2 IMG_5528: a card of 44 under it at 65 to 69, the sheet of 28 at 55). */
|
|
29
|
+
--popover-mobile-background: var(--menu-mobile-background);
|
|
30
|
+
--popover-mobile-backdrop-filter: var(--menu-mobile-backdrop-filter);
|
|
31
|
+
/* An Alert is glass in both themes, as native iOS alerts are. Light: Files (iOS-menu, Screenshot 18.22.08,
|
|
32
|
+
08.11) shows 237 over a page dimmed to 204, as white at 65% does; kit iOS 27 (Alerts 65:57149) comes to
|
|
33
|
+
235, an older frame to 233 (iOS2 IMG_5533). Dark: 34 to 45 over a page dimmed to 0 to 14 (IMG_5532). The
|
|
34
|
+
backdrop is blurred. The shadow is the raised glass one: 16 levels under the alert, gone within 33pt,
|
|
35
|
+
with the light rim along its edge (Files). */
|
|
36
|
+
--dialog-alert-backdrop-filter: blur(10px);
|
|
37
|
+
--dialog-alert-shadow: var(--mobile-glass-shadow-raised);
|
|
38
|
+
/* Native frames take precedence over the kit (plan 162): the message is the secondary label under a primary
|
|
39
|
+
title, as Files shows it (125 on 237) and iOS 26 did (IMG_5532, 5533); kit iOS 27 draws it primary. */
|
|
40
|
+
--dialog-alert-message-color: var(--mobile-label-secondary, var(--color-text-secondary));
|
|
41
|
+
/* A soft action and a field share one fill: Files 203 on 237 in light, 15% of black; dark 73 on 46. */
|
|
10
42
|
}
|
|
11
43
|
:where(:root), :where([data-theme="light"]) {
|
|
12
|
-
--mobile-glass-background:
|
|
13
|
-
--mobile-glass-background-hover:
|
|
14
|
-
--mobile-glass-background-active:
|
|
44
|
+
--mobile-glass-background: color-mix(in oklab, var(--gray-75) 55%, transparent);
|
|
45
|
+
--mobile-glass-background-hover: color-mix(in oklab, var(--gray-75) 65%, transparent);
|
|
46
|
+
--mobile-glass-background-active: color-mix(in oklab, var(--gray-75) 75%, transparent);
|
|
15
47
|
--mobile-glass-rim: rgb(255 255 255 / 100%);
|
|
16
|
-
--mobile-glass-
|
|
48
|
+
--mobile-glass-outline: 1.25px 0 0 -0.75px var(--gray-200), -1.25px 0 0 -0.75px var(--gray-200), 0 0 0 0.5px var(--gray-100);
|
|
49
|
+
--mobile-glass-shadow: 0 8px 15px rgb(0 0 0 / 2%), var(--mobile-glass-outline), inset 0 0.67px 0 var(--mobile-glass-rim), inset 0 -0.67px 0 var(--mobile-glass-rim);
|
|
50
|
+
--mobile-glass-shadow-raised: 0 8px 40px rgb(0 0 0 / 12%), var(--mobile-glass-outline), inset 0 0.67px 0 var(--mobile-glass-rim), inset 0 -0.67px 0 var(--mobile-glass-rim);
|
|
17
51
|
--mobile-grabber-color: rgb(0 0 0 / 20%);
|
|
52
|
+
--menu-mobile-background: var(--color-surface-elevated);
|
|
53
|
+
--dialog-alert-background: rgb(255 255 255 / 65%);
|
|
54
|
+
--dialog-alert-fill: var(--alpha-15)
|
|
18
55
|
}
|
|
19
56
|
:where([data-theme="dark"]) {
|
|
20
|
-
--mobile-glass-background:
|
|
21
|
-
--mobile-glass-background-hover:
|
|
22
|
-
--mobile-glass-background-active:
|
|
57
|
+
--mobile-glass-background: var(--alpha-12);
|
|
58
|
+
--mobile-glass-background-hover: var(--alpha-16);
|
|
59
|
+
--mobile-glass-background-active: var(--alpha-20);
|
|
23
60
|
--mobile-glass-rim: rgb(255 255 255 / 30%);
|
|
24
|
-
--mobile-glass-
|
|
61
|
+
--mobile-glass-outline: 1.25px 0 0 -0.75px transparent, -1.25px 0 0 -0.75px transparent, 0 0 0 0.5px transparent;
|
|
62
|
+
--mobile-glass-shadow: 0 8px 15px transparent, var(--mobile-glass-outline), inset 0 0.67px 0 var(--mobile-glass-rim), inset 0 -0.67px 0 var(--mobile-glass-rim);
|
|
63
|
+
--mobile-glass-shadow-raised: 0 8px 40px rgb(0 0 0 / 8%), var(--mobile-glass-outline), inset 0 0.67px 0 var(--mobile-glass-rim), inset 0 -0.67px 0 var(--mobile-glass-rim);
|
|
25
64
|
--mobile-grabber-color: rgb(255 255 255 / 20%);
|
|
65
|
+
--menu-mobile-background: var(--alpha-12);
|
|
66
|
+
--dialog-alert-background: var(--alpha-12);
|
|
67
|
+
--dialog-alert-fill: var(--alpha-12)
|
|
26
68
|
}
|
|
27
69
|
}
|
|
@@ -1,39 +1,46 @@
|
|
|
1
1
|
/* Contextual iOS background roles. Import with touch.css; no global body color is changed. */
|
|
2
2
|
@media (max-width: 767px) {
|
|
3
|
+
:root {
|
|
4
|
+
/* The iOS label roles take the nearest PlexUI alpha of each theme, translucent like the native labels, so a
|
|
5
|
+
row on a card and a footer on the canvas read as in iOS 26. Native secondary is 60% (light: a count shows
|
|
6
|
+
at 138 on a white card, a subtitle at 133 on #f2f2f7, iOS2 IMG_5534; dark: 152 on a #1c1c1e card, 141 on
|
|
7
|
+
black, IMG_5530), tertiary 30% (a chevron at 197 on white, 89 on #1c1c1e), quaternary 18%. alpha-50 shows
|
|
8
|
+
at 134 on white and 141 on gray-150, alpha-25 at 194 and 85, alpha-15 at 219 and 62. A secondary
|
|
9
|
+
accessory (units and the pop-up chevrons of a row value) takes the secondary label: a pop-up shows at
|
|
10
|
+
138 next to its value (iOS IMG_5442); a disclosure chevron is tertiary (197 next to a value at 138, IMG_5512). */
|
|
11
|
+
--mobile-label-secondary: var(--alpha-50);
|
|
12
|
+
--mobile-label-tertiary: var(--alpha-25);
|
|
13
|
+
--mobile-label-quaternary: var(--alpha-15);
|
|
14
|
+
--mobile-accessory-secondary: var(--mobile-label-secondary);
|
|
15
|
+
/* The iOS background roles take the nearest PlexUI gray of each theme: white stays gray-0, iOS #f2f2f7
|
|
16
|
+
is gray-75 (#f3f3f3, without the blue cast), #1c1c1e gray-150 (#1c1c1c), #2c2c2e gray-300 (#303030, the
|
|
17
|
+
PlexUI elevated surface), #3a3a3c gray-350 (#393939), and black the PlexUI canvas gray-0 (#0d0d0d). */
|
|
18
|
+
--mobile-surface-plain-primary: var(--gray-0);
|
|
19
|
+
}
|
|
3
20
|
:where(:root), :where([data-theme="light"]) {
|
|
4
|
-
--mobile-
|
|
5
|
-
--mobile-
|
|
6
|
-
--mobile-
|
|
7
|
-
--mobile-
|
|
8
|
-
--mobile-surface-
|
|
9
|
-
--mobile-surface-plain-
|
|
10
|
-
--mobile-surface-plain-
|
|
11
|
-
--mobile-surface-
|
|
12
|
-
--mobile-surface-grouped-
|
|
13
|
-
--mobile-surface-grouped-
|
|
14
|
-
--mobile-surface-elevated-
|
|
15
|
-
--mobile-surface-elevated-plain-secondary: #f2f2f7;
|
|
16
|
-
--mobile-surface-elevated-plain-tertiary: #ffffff;
|
|
17
|
-
--mobile-surface-elevated-grouped-primary: #f2f2f7;
|
|
18
|
-
--mobile-surface-elevated-grouped-secondary: #ffffff;
|
|
19
|
-
--mobile-surface-elevated-grouped-tertiary: #f2f2f7
|
|
21
|
+
--mobile-surface-plain-secondary: var(--gray-75);
|
|
22
|
+
--mobile-surface-plain-tertiary: var(--gray-0);
|
|
23
|
+
--mobile-surface-grouped-primary: var(--gray-75);
|
|
24
|
+
--mobile-surface-grouped-secondary: var(--gray-0);
|
|
25
|
+
--mobile-surface-grouped-tertiary: var(--gray-75);
|
|
26
|
+
--mobile-surface-elevated-plain-primary: var(--gray-0);
|
|
27
|
+
--mobile-surface-elevated-plain-secondary: var(--gray-75);
|
|
28
|
+
--mobile-surface-elevated-plain-tertiary: var(--gray-0);
|
|
29
|
+
--mobile-surface-elevated-grouped-primary: var(--gray-75);
|
|
30
|
+
--mobile-surface-elevated-grouped-secondary: var(--gray-0);
|
|
31
|
+
--mobile-surface-elevated-grouped-tertiary: var(--gray-75);
|
|
20
32
|
}
|
|
21
33
|
:where([data-theme="dark"]) {
|
|
22
|
-
--mobile-
|
|
23
|
-
--mobile-
|
|
24
|
-
--mobile-
|
|
25
|
-
--mobile-
|
|
26
|
-
--mobile-surface-
|
|
27
|
-
--mobile-surface-plain-
|
|
28
|
-
--mobile-surface-plain-
|
|
29
|
-
--mobile-surface-
|
|
30
|
-
--mobile-surface-grouped-
|
|
31
|
-
--mobile-surface-grouped-
|
|
32
|
-
--mobile-surface-elevated-
|
|
33
|
-
--mobile-surface-elevated-plain-secondary: #2c2c2e;
|
|
34
|
-
--mobile-surface-elevated-plain-tertiary: #3a3a3c;
|
|
35
|
-
--mobile-surface-elevated-grouped-primary: #1c1c1e;
|
|
36
|
-
--mobile-surface-elevated-grouped-secondary: #2c2c2e;
|
|
37
|
-
--mobile-surface-elevated-grouped-tertiary: #3a3a3c
|
|
34
|
+
--mobile-surface-plain-secondary: var(--gray-150);
|
|
35
|
+
--mobile-surface-plain-tertiary: var(--gray-300);
|
|
36
|
+
--mobile-surface-grouped-primary: var(--gray-0);
|
|
37
|
+
--mobile-surface-grouped-secondary: var(--gray-150);
|
|
38
|
+
--mobile-surface-grouped-tertiary: var(--gray-300);
|
|
39
|
+
--mobile-surface-elevated-plain-primary: var(--gray-150);
|
|
40
|
+
--mobile-surface-elevated-plain-secondary: var(--gray-300);
|
|
41
|
+
--mobile-surface-elevated-plain-tertiary: var(--gray-350);
|
|
42
|
+
--mobile-surface-elevated-grouped-primary: var(--gray-150);
|
|
43
|
+
--mobile-surface-elevated-grouped-secondary: var(--gray-300);
|
|
44
|
+
--mobile-surface-elevated-grouped-tertiary: var(--gray-350);
|
|
38
45
|
}
|
|
39
46
|
}
|