@mrpelz/uikit-ish 7.8.0 → 7.10.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/dist/components/accordion/main.d.ts +12 -0
- package/dist/components/accordion/main.d.ts.map +1 -0
- package/dist/components/accordion/main.js +20 -0
- package/dist/components/accordion/main.js.map +1 -0
- package/dist/components/accordion/style.css +23 -0
- package/dist/components/action-sheet/main.d.ts +22 -16
- package/dist/components/action-sheet/main.d.ts.map +1 -1
- package/dist/components/action-sheet/main.js +89 -19
- package/dist/components/action-sheet/main.js.map +1 -1
- package/dist/components/action-sheet/props.d.ts +17 -5
- package/dist/components/action-sheet/props.d.ts.map +1 -1
- package/dist/components/action-sheet/style.css +24 -0
- package/dist/components/activity-view/main.d.ts +15 -4
- package/dist/components/activity-view/main.d.ts.map +1 -1
- package/dist/components/activity-view/main.js +27 -14
- package/dist/components/activity-view/main.js.map +1 -1
- package/dist/components/activity-view/props.d.ts +2 -10
- package/dist/components/activity-view/props.d.ts.map +1 -1
- package/dist/components/activity-view/style.css +29 -67
- package/dist/components/alert/main.d.ts +8 -7
- package/dist/components/alert/main.d.ts.map +1 -1
- package/dist/components/alert/main.js +32 -19
- package/dist/components/alert/main.js.map +1 -1
- package/dist/components/alert/props.d.ts +13 -2
- package/dist/components/alert/props.d.ts.map +1 -1
- package/dist/components/alert/style.css +36 -50
- package/dist/components/avatar/main.d.ts +5 -3
- package/dist/components/avatar/main.d.ts.map +1 -1
- package/dist/components/avatar/main.js +10 -8
- package/dist/components/avatar/main.js.map +1 -1
- package/dist/components/avatar/props.d.ts +4 -0
- package/dist/components/avatar/props.d.ts.map +1 -1
- package/dist/components/avatar/style.css +1 -7
- package/dist/components/badge/main.d.ts +3 -3
- package/dist/components/badge/main.d.ts.map +1 -1
- package/dist/components/badge/main.js +9 -9
- package/dist/components/badge/main.js.map +1 -1
- package/dist/components/badge/props.d.ts +4 -3
- package/dist/components/badge/props.d.ts.map +1 -1
- package/dist/components/badge/style.css +10 -4
- package/dist/components/button/main.d.ts.map +1 -1
- package/dist/components/button/main.js +15 -15
- package/dist/components/button/main.js.map +1 -1
- package/dist/components/button/props.d.ts +8 -8
- package/dist/components/button/props.d.ts.map +1 -1
- package/dist/components/button/style.css +37 -55
- package/dist/components/checkbox/main.d.ts.map +1 -1
- package/dist/components/checkbox/main.js +5 -7
- package/dist/components/checkbox/main.js.map +1 -1
- package/dist/components/checkbox/style.css +5 -8
- package/dist/components/collapsible/main.d.ts +9 -0
- package/dist/components/collapsible/main.d.ts.map +1 -0
- package/dist/components/collapsible/main.js +19 -0
- package/dist/components/collapsible/main.js.map +1 -0
- package/dist/components/collapsible/style.css +23 -0
- package/dist/components/color-picker/main.d.ts +27 -4
- package/dist/components/color-picker/main.d.ts.map +1 -1
- package/dist/components/color-picker/main.js +292 -110
- package/dist/components/color-picker/main.js.map +1 -1
- package/dist/components/color-picker/props.d.ts +64 -15
- package/dist/components/color-picker/props.d.ts.map +1 -1
- package/dist/components/color-picker/style.css +133 -65
- package/dist/components/contextual-menu/main.d.ts +11 -7
- package/dist/components/contextual-menu/main.d.ts.map +1 -1
- package/dist/components/contextual-menu/main.js +207 -202
- package/dist/components/contextual-menu/main.js.map +1 -1
- package/dist/components/contextual-menu/props.d.ts +21 -34
- package/dist/components/contextual-menu/props.d.ts.map +1 -1
- package/dist/components/contextual-menu/style.css +63 -34
- package/dist/components/date-picker/handle.d.ts +41 -0
- package/dist/components/date-picker/handle.d.ts.map +1 -0
- package/dist/components/date-picker/handle.js +47 -0
- package/dist/components/date-picker/handle.js.map +1 -0
- package/dist/components/date-picker/main.d.ts +31 -49
- package/dist/components/date-picker/main.d.ts.map +1 -1
- package/dist/components/date-picker/main.js +373 -178
- package/dist/components/date-picker/main.js.map +1 -1
- package/dist/components/date-picker/pager.d.ts +24 -0
- package/dist/components/date-picker/pager.d.ts.map +1 -0
- package/dist/components/date-picker/pager.js +307 -0
- package/dist/components/date-picker/pager.js.map +1 -0
- package/dist/components/date-picker/props.d.ts +98 -27
- package/dist/components/date-picker/props.d.ts.map +1 -1
- package/dist/components/date-picker/style.css +110 -118
- package/dist/components/drawer/main.d.ts +31 -0
- package/dist/components/drawer/main.d.ts.map +1 -0
- package/dist/components/drawer/main.js +119 -0
- package/dist/components/drawer/main.js.map +1 -0
- package/dist/components/drawer/props.d.ts +39 -0
- package/dist/components/drawer/props.d.ts.map +1 -0
- package/dist/components/drawer/props.js +2 -0
- package/dist/components/drawer/props.js.map +1 -0
- package/dist/components/drawer/style.css +135 -0
- package/dist/components/edit-menu/main.d.ts +7 -7
- package/dist/components/edit-menu/main.d.ts.map +1 -1
- package/dist/components/edit-menu/main.js +57 -40
- package/dist/components/edit-menu/main.js.map +1 -1
- package/dist/components/edit-menu/props.d.ts +14 -1
- package/dist/components/edit-menu/props.d.ts.map +1 -1
- package/dist/components/edit-menu/style.css +15 -8
- package/dist/components/form/main.d.ts +8 -0
- package/dist/components/form/main.d.ts.map +1 -1
- package/dist/components/form/main.js +18 -5
- package/dist/components/form/main.js.map +1 -1
- package/dist/components/form/props.d.ts +1 -2
- package/dist/components/form/props.d.ts.map +1 -1
- package/dist/components/glass/main.d.ts +1 -1
- package/dist/components/glass/main.js +4 -4
- package/dist/components/glass/main.js.map +1 -1
- package/dist/components/glass/props.d.ts +5 -5
- package/dist/components/glass/props.d.ts.map +1 -1
- package/dist/components/glass/style.css +176 -161
- package/dist/components/header/main.d.ts +5 -4
- package/dist/components/header/main.d.ts.map +1 -1
- package/dist/components/header/main.js +64 -34
- package/dist/components/header/main.js.map +1 -1
- package/dist/components/header/props.d.ts +2 -3
- package/dist/components/header/props.d.ts.map +1 -1
- package/dist/components/header/style.css +46 -65
- package/dist/components/index.d.ts +27 -23
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +17 -13
- package/dist/components/index.js.map +1 -1
- package/dist/components/layout/main.d.ts +2 -2
- package/dist/components/layout/main.d.ts.map +1 -1
- package/dist/components/layout/main.js +63 -167
- package/dist/components/layout/main.js.map +1 -1
- package/dist/components/layout/props.d.ts +2 -20
- package/dist/components/layout/props.d.ts.map +1 -1
- package/dist/components/layout/style.css +20 -91
- package/dist/components/list/main.d.ts +58 -10
- package/dist/components/list/main.d.ts.map +1 -1
- package/dist/components/list/main.js +1022 -465
- package/dist/components/list/main.js.map +1 -1
- package/dist/components/list/props.d.ts +211 -21
- package/dist/components/list/props.d.ts.map +1 -1
- package/dist/components/list/reorder.d.ts +146 -0
- package/dist/components/list/reorder.d.ts.map +1 -0
- package/dist/components/list/reorder.js +819 -0
- package/dist/components/list/reorder.js.map +1 -0
- package/dist/components/list/select.d.ts +6 -0
- package/dist/components/list/select.d.ts.map +1 -0
- package/dist/components/list/select.js +141 -0
- package/dist/components/list/select.js.map +1 -0
- package/dist/components/list/style.css +492 -507
- package/dist/components/list/swipe-actions-handle.d.ts +40 -0
- package/dist/components/list/swipe-actions-handle.d.ts.map +1 -0
- package/dist/components/list/swipe-actions-handle.js +51 -0
- package/dist/components/list/swipe-actions-handle.js.map +1 -0
- package/dist/components/menu/main.d.ts +102 -32
- package/dist/components/menu/main.d.ts.map +1 -1
- package/dist/components/menu/main.js +510 -99
- package/dist/components/menu/main.js.map +1 -1
- package/dist/components/menu/props.d.ts +5 -5
- package/dist/components/menu/props.d.ts.map +1 -1
- package/dist/components/menu/style.css +35 -43
- package/dist/components/navigation/main.d.ts +14 -2
- package/dist/components/navigation/main.d.ts.map +1 -1
- package/dist/components/navigation/main.js +437 -119
- package/dist/components/navigation/main.js.map +1 -1
- package/dist/components/navigation/props.d.ts +53 -3
- package/dist/components/navigation/props.d.ts.map +1 -1
- package/dist/components/navigation/style.css +56 -9
- package/dist/components/page/main.d.ts.map +1 -1
- package/dist/components/page/main.js +13 -8
- package/dist/components/page/main.js.map +1 -1
- package/dist/components/page/props.d.ts +8 -0
- package/dist/components/page/props.d.ts.map +1 -1
- package/dist/components/page/style.css +39 -4
- package/dist/components/page-control/main.d.ts +2 -2
- package/dist/components/page-control/main.d.ts.map +1 -1
- package/dist/components/page-control/main.js +66 -32
- package/dist/components/page-control/main.js.map +1 -1
- package/dist/components/page-control/props.d.ts +10 -2
- package/dist/components/page-control/props.d.ts.map +1 -1
- package/dist/components/page-control/style.css +7 -2
- package/dist/components/popover/main.d.ts +11 -6
- package/dist/components/popover/main.d.ts.map +1 -1
- package/dist/components/popover/main.js +63 -38
- package/dist/components/popover/main.js.map +1 -1
- package/dist/components/popover/props.d.ts +7 -6
- package/dist/components/popover/props.d.ts.map +1 -1
- package/dist/components/popover/style.css +54 -4
- package/dist/components/progress/main.d.ts +2 -3
- package/dist/components/progress/main.d.ts.map +1 -1
- package/dist/components/progress/main.js +148 -29
- package/dist/components/progress/main.js.map +1 -1
- package/dist/components/progress/props.d.ts +43 -9
- package/dist/components/progress/props.d.ts.map +1 -1
- package/dist/components/progress/style.css +82 -50
- package/dist/components/roll/main.d.ts +1 -1
- package/dist/components/roll/main.d.ts.map +1 -1
- package/dist/components/roll/main.js +90 -34
- package/dist/components/roll/main.js.map +1 -1
- package/dist/components/roll/props.d.ts +25 -8
- package/dist/components/roll/props.d.ts.map +1 -1
- package/dist/components/roll/style.css +12 -24
- package/dist/components/segmented/main.d.ts.map +1 -1
- package/dist/components/segmented/main.js +47 -30
- package/dist/components/segmented/main.js.map +1 -1
- package/dist/components/segmented/style.css +16 -23
- package/dist/components/sheet/main.d.ts +25 -15
- package/dist/components/sheet/main.d.ts.map +1 -1
- package/dist/components/sheet/main.js +66 -78
- package/dist/components/sheet/main.js.map +1 -1
- package/dist/components/sheet/props.d.ts +37 -3
- package/dist/components/sheet/props.d.ts.map +1 -1
- package/dist/components/sheet/style.css +183 -45
- package/dist/components/sidebar/main.d.ts.map +1 -1
- package/dist/components/sidebar/main.js +9 -13
- package/dist/components/sidebar/main.js.map +1 -1
- package/dist/components/sidebar/style.css +20 -14
- package/dist/components/slider/main.d.ts.map +1 -1
- package/dist/components/slider/main.js +23 -22
- package/dist/components/slider/main.js.map +1 -1
- package/dist/components/slider/props.d.ts +1 -2
- package/dist/components/slider/props.d.ts.map +1 -1
- package/dist/components/slider/style.css +27 -53
- package/dist/components/stepper/main.d.ts +4 -6
- package/dist/components/stepper/main.d.ts.map +1 -1
- package/dist/components/stepper/main.js +29 -25
- package/dist/components/stepper/main.js.map +1 -1
- package/dist/components/stepper/style.css +12 -16
- package/dist/components/switch/main.d.ts.map +1 -1
- package/dist/components/switch/main.js +40 -28
- package/dist/components/switch/main.js.map +1 -1
- package/dist/components/switch/props.d.ts +7 -5
- package/dist/components/switch/props.d.ts.map +1 -1
- package/dist/components/switch/style.css +40 -17
- package/dist/components/symbol/main.d.ts +2 -2
- package/dist/components/symbol/main.d.ts.map +1 -1
- package/dist/components/symbol/main.js +36 -28
- package/dist/components/symbol/main.js.map +1 -1
- package/dist/components/symbol/props.d.ts +39 -4
- package/dist/components/symbol/props.d.ts.map +1 -1
- package/dist/components/symbol/style.css +26 -5
- package/dist/components/tab-bar/main.d.ts +2 -2
- package/dist/components/tab-bar/main.d.ts.map +1 -1
- package/dist/components/tab-bar/main.js +133 -101
- package/dist/components/tab-bar/main.js.map +1 -1
- package/dist/components/tab-bar/props.d.ts +6 -6
- package/dist/components/tab-bar/props.d.ts.map +1 -1
- package/dist/components/tab-bar/style.css +113 -99
- package/dist/components/text-field/main.d.ts +3 -2
- package/dist/components/text-field/main.d.ts.map +1 -1
- package/dist/components/text-field/main.js +29 -30
- package/dist/components/text-field/main.js.map +1 -1
- package/dist/components/text-field/props.d.ts +23 -1
- package/dist/components/text-field/props.d.ts.map +1 -1
- package/dist/components/text-field/style.css +122 -82
- package/dist/components/toolbar/main.js +27 -27
- package/dist/components/toolbar/main.js.map +1 -1
- package/dist/components/toolbar/props.d.ts +10 -4
- package/dist/components/toolbar/props.d.ts.map +1 -1
- package/dist/components/toolbar/style.css +39 -33
- package/dist/components/tooltip/main.d.ts +10 -9
- package/dist/components/tooltip/main.d.ts.map +1 -1
- package/dist/components/tooltip/main.js +39 -10
- package/dist/components/tooltip/main.js.map +1 -1
- package/dist/components/tooltip/props.d.ts +2 -0
- package/dist/components/tooltip/props.d.ts.map +1 -1
- package/dist/components/tooltip/style.css +16 -16
- package/dist/components/typography/main.d.ts +2 -2
- package/dist/components/typography/main.d.ts.map +1 -1
- package/dist/components/typography/main.js +24 -16
- package/dist/components/typography/main.js.map +1 -1
- package/dist/components/typography/props.d.ts +11 -18
- package/dist/components/typography/props.d.ts.map +1 -1
- package/dist/components/typography/style.css +503 -623
- package/dist/components/utils/main.d.ts +78 -8
- package/dist/components/utils/main.d.ts.map +1 -1
- package/dist/components/utils/main.js +235 -16
- package/dist/components/utils/main.js.map +1 -1
- package/dist/components/utils/props.d.ts +27 -4
- package/dist/components/utils/props.d.ts.map +1 -1
- package/dist/components/utils/style.css +31 -18
- package/dist/components/viewport/edge-effect.d.ts +10 -0
- package/dist/components/viewport/edge-effect.d.ts.map +1 -0
- package/dist/components/viewport/edge-effect.js +100 -0
- package/dist/components/viewport/edge-effect.js.map +1 -0
- package/dist/components/viewport/edge.d.ts +39 -0
- package/dist/components/viewport/edge.d.ts.map +1 -0
- package/dist/components/viewport/edge.js +151 -0
- package/dist/components/viewport/edge.js.map +1 -0
- package/dist/components/viewport/input.d.ts +39 -0
- package/dist/components/viewport/input.d.ts.map +1 -0
- package/dist/components/viewport/input.js +280 -0
- package/dist/components/viewport/input.js.map +1 -0
- package/dist/components/viewport/main.d.ts +47 -9
- package/dist/components/viewport/main.d.ts.map +1 -1
- package/dist/components/viewport/main.js +745 -86
- package/dist/components/viewport/main.js.map +1 -1
- package/dist/components/viewport/padding.d.ts +78 -0
- package/dist/components/viewport/padding.d.ts.map +1 -0
- package/dist/components/viewport/padding.js +321 -0
- package/dist/components/viewport/padding.js.map +1 -0
- package/dist/components/viewport/props.d.ts +220 -11
- package/dist/components/viewport/props.d.ts.map +1 -1
- package/dist/components/viewport/style.css +377 -6
- package/dist/main.d.ts +0 -1
- package/dist/main.d.ts.map +1 -1
- package/dist/main.js.map +1 -1
- package/dist/styles.css +318 -302
- package/dist/styles.d.ts +2 -1
- package/dist/styles.d.ts.map +1 -1
- package/dist/styles.js +2 -1
- package/dist/styles.js.map +1 -1
- package/package.json +8 -16
package/dist/styles.css
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Base UI Styled: global styles (tokens:
|
|
2
|
+
* Base UI Styled: global styles (tokens: colors, text styles, glass,
|
|
3
3
|
* shadows; pressed states, color schemes, accessibility), see styles.tsx.
|
|
4
4
|
*/
|
|
5
5
|
@layer uikit-ish {
|
|
@@ -7,206 +7,210 @@
|
|
|
7
7
|
color-scheme: light dark;
|
|
8
8
|
|
|
9
9
|
/*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
10
|
+
* The safe area insets (a camera cutout, the home indicator,
|
|
11
|
+
* the rounded corners): the device's, or an app's (e.g. a frame
|
|
12
|
+
* emulating a device). A component keeping a side clear sets it to 0px
|
|
13
|
+
* for its content (e.g. Viewport's layers, Page, Sheet).
|
|
14
|
+
*/
|
|
15
|
+
--uikit-safe-area-inset-top: env(safe-area-inset-top, 0px);
|
|
16
|
+
--uikit-safe-area-inset-right: env(safe-area-inset-right, 0px);
|
|
17
|
+
--uikit-safe-area-inset-bottom: env(safe-area-inset-bottom, 0px);
|
|
18
|
+
--uikit-safe-area-inset-left: env(safe-area-inset-left, 0px);
|
|
19
|
+
|
|
20
|
+
/*
|
|
21
|
+
* Grayscale antialiasing (Framework7 components/app/app.less)
|
|
12
22
|
*/
|
|
13
23
|
-webkit-font-smoothing: antialiased;
|
|
14
24
|
|
|
15
25
|
/*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
20
|
-
* Source: Apple iOS 26 Figma (Typography: Text styles, Dynamic Type)
|
|
26
|
+
* Text styles at the default text size (Large): size, line height and
|
|
27
|
+
* tracking (see components/typography/main.tsx for all sizes), weight
|
|
28
|
+
* and emphasized weight
|
|
21
29
|
*/
|
|
22
|
-
--font-
|
|
23
|
-
--font-
|
|
24
|
-
--font-
|
|
25
|
-
--font-
|
|
26
|
-
--font-
|
|
27
|
-
--font-
|
|
28
|
-
--font-
|
|
29
|
-
--font-
|
|
30
|
-
--font-
|
|
31
|
-
--font-
|
|
32
|
-
--font-
|
|
33
|
-
--font-
|
|
34
|
-
--font-
|
|
35
|
-
--font-
|
|
36
|
-
--font-
|
|
37
|
-
--font-
|
|
38
|
-
--font-
|
|
39
|
-
--font-
|
|
40
|
-
--font-
|
|
41
|
-
--font-
|
|
42
|
-
--font-
|
|
43
|
-
--font-
|
|
44
|
-
--font-
|
|
45
|
-
--font-
|
|
46
|
-
--font-
|
|
47
|
-
--font-
|
|
48
|
-
--font-
|
|
49
|
-
--font-
|
|
50
|
-
--font-
|
|
51
|
-
--font-
|
|
52
|
-
--font-
|
|
53
|
-
--font-
|
|
54
|
-
--font-
|
|
55
|
-
--font-
|
|
56
|
-
--font-
|
|
57
|
-
--font-
|
|
58
|
-
--font-
|
|
59
|
-
--font-
|
|
60
|
-
--font-
|
|
61
|
-
--font-
|
|
62
|
-
--font-
|
|
63
|
-
--font-
|
|
64
|
-
--font-
|
|
65
|
-
--font-
|
|
66
|
-
--font-
|
|
67
|
-
--font-
|
|
68
|
-
--font-
|
|
69
|
-
--font-
|
|
70
|
-
--font-
|
|
71
|
-
--font-
|
|
72
|
-
--font-
|
|
73
|
-
--font-
|
|
74
|
-
--font-
|
|
75
|
-
--font-
|
|
76
|
-
--font-
|
|
30
|
+
--font-ui-large-title-size: 34px;
|
|
31
|
+
--font-ui-large-title-line-height: 41px;
|
|
32
|
+
--font-ui-large-title-tracking: 0.4px;
|
|
33
|
+
--font-ui-title1-size: 28px;
|
|
34
|
+
--font-ui-title1-line-height: 34px;
|
|
35
|
+
--font-ui-title1-tracking: 0.38px;
|
|
36
|
+
--font-ui-title2-size: 22px;
|
|
37
|
+
--font-ui-title2-line-height: 28px;
|
|
38
|
+
--font-ui-title2-tracking: -0.26px;
|
|
39
|
+
--font-ui-title3-size: 20px;
|
|
40
|
+
--font-ui-title3-line-height: 25px;
|
|
41
|
+
--font-ui-title3-tracking: -0.45px;
|
|
42
|
+
--font-ui-headline-size: 17px;
|
|
43
|
+
--font-ui-headline-line-height: 22px;
|
|
44
|
+
--font-ui-headline-tracking: -0.43px;
|
|
45
|
+
--font-ui-body-size: 17px;
|
|
46
|
+
--font-ui-body-line-height: 22px;
|
|
47
|
+
--font-ui-body-tracking: -0.43px;
|
|
48
|
+
--font-ui-callout-size: 16px;
|
|
49
|
+
--font-ui-callout-line-height: 21px;
|
|
50
|
+
--font-ui-callout-tracking: -0.31px;
|
|
51
|
+
--font-ui-subheadline-size: 15px;
|
|
52
|
+
--font-ui-subheadline-line-height: 20px;
|
|
53
|
+
--font-ui-subheadline-tracking: -0.23px;
|
|
54
|
+
--font-ui-footnote-size: 13px;
|
|
55
|
+
--font-ui-footnote-line-height: 18px;
|
|
56
|
+
--font-ui-footnote-tracking: -0.08px;
|
|
57
|
+
--font-ui-caption1-size: 12px;
|
|
58
|
+
--font-ui-caption1-line-height: 16px;
|
|
59
|
+
--font-ui-caption1-tracking: 0px;
|
|
60
|
+
--font-ui-caption2-size: 11px;
|
|
61
|
+
--font-ui-caption2-line-height: 13px;
|
|
62
|
+
--font-ui-caption2-tracking: 0.06px;
|
|
63
|
+
--font-ui-large-title-weight: 400;
|
|
64
|
+
--font-ui-large-title-weight-emphasized: 700;
|
|
65
|
+
--font-ui-title1-weight: 400;
|
|
66
|
+
--font-ui-title1-weight-emphasized: 700;
|
|
67
|
+
--font-ui-title2-weight: 400;
|
|
68
|
+
--font-ui-title2-weight-emphasized: 700;
|
|
69
|
+
--font-ui-title3-weight: 400;
|
|
70
|
+
--font-ui-title3-weight-emphasized: 590;
|
|
71
|
+
--font-ui-headline-weight: 590;
|
|
72
|
+
--font-ui-headline-weight-emphasized: 590;
|
|
73
|
+
--font-ui-body-weight: 400;
|
|
74
|
+
--font-ui-body-weight-emphasized: 590;
|
|
75
|
+
--font-ui-callout-weight: 400;
|
|
76
|
+
--font-ui-callout-weight-emphasized: 590;
|
|
77
|
+
--font-ui-subheadline-weight: 400;
|
|
78
|
+
--font-ui-subheadline-weight-emphasized: 590;
|
|
79
|
+
--font-ui-footnote-weight: 400;
|
|
80
|
+
--font-ui-footnote-weight-emphasized: 590;
|
|
81
|
+
--font-ui-caption1-weight: 400;
|
|
82
|
+
--font-ui-caption1-weight-emphasized: 510;
|
|
83
|
+
--font-ui-caption2-weight: 400;
|
|
84
|
+
--font-ui-caption2-weight-emphasized: 590;
|
|
77
85
|
|
|
78
86
|
/*
|
|
79
|
-
* App tint
|
|
87
|
+
* App tint, systemBlue unless overridden
|
|
80
88
|
*
|
|
81
89
|
* tint/shade: HSL lightness +/- 8% (Konsta UI color-utils/ios-colors.js)
|
|
82
90
|
*/
|
|
83
|
-
--color-
|
|
84
|
-
--color-
|
|
85
|
-
from var(--color-
|
|
91
|
+
--color-ui-primary: var(--color-ui-system-blue);
|
|
92
|
+
--color-ui-primary-tint: hsl(
|
|
93
|
+
from var(--color-ui-primary) h s calc(l + 8)
|
|
86
94
|
);
|
|
87
|
-
--color-
|
|
88
|
-
from var(--color-
|
|
95
|
+
--color-ui-primary-shade: hsl(
|
|
96
|
+
from var(--color-ui-primary) h s calc(l - 8)
|
|
89
97
|
);
|
|
90
98
|
|
|
91
99
|
/*
|
|
92
|
-
*
|
|
100
|
+
* Semantic colors
|
|
93
101
|
*
|
|
94
|
-
* - system grays and system colors
|
|
95
|
-
*
|
|
96
|
-
*
|
|
97
|
-
* published in the HIG); label and tertiary-system-fill match the
|
|
98
|
-
* iOS 26 Figma, system-fill (light) is the Figma value (switch and
|
|
99
|
-
* slider tracks: 120 120 120, UIKit: 120 120 128)
|
|
102
|
+
* - system grays and system colors, incl. increased contrast variants
|
|
103
|
+
* - labels, separators, link, fills, backgrounds; system-fill (light)
|
|
104
|
+
* for switch and slider tracks: 120 120 120
|
|
100
105
|
*/
|
|
101
|
-
--color-
|
|
102
|
-
--color-
|
|
106
|
+
--color-ui-label: light-dark(rgb(0 0 0), rgb(255 255 255));
|
|
107
|
+
--color-ui-secondary-label: light-dark(
|
|
103
108
|
rgb(60 60 67 / 60%),
|
|
104
109
|
rgb(235 235 245 / 60%)
|
|
105
110
|
);
|
|
106
|
-
--color-
|
|
111
|
+
--color-ui-tertiary-label: light-dark(
|
|
107
112
|
rgb(60 60 67 / 30%),
|
|
108
113
|
rgb(235 235 245 / 30%)
|
|
109
114
|
);
|
|
110
|
-
--color-
|
|
115
|
+
--color-ui-quaternary-label: light-dark(
|
|
111
116
|
rgb(60 60 67 / 18%),
|
|
112
117
|
rgb(235 235 245 / 16%)
|
|
113
118
|
);
|
|
114
|
-
--color-
|
|
119
|
+
--color-ui-placeholder-text: light-dark(
|
|
115
120
|
rgb(60 60 67 / 30%),
|
|
116
121
|
rgb(235 235 245 / 30%)
|
|
117
122
|
);
|
|
118
|
-
--color-
|
|
119
|
-
--color-
|
|
123
|
+
--color-ui-separator: light-dark(rgb(60 60 67 / 29%), rgb(84 84 88 / 60%));
|
|
124
|
+
--color-ui-opaque-separator: light-dark(rgb(198 198 200), rgb(56 56 58));
|
|
120
125
|
|
|
121
|
-
/*
|
|
122
|
-
--color-
|
|
126
|
+
/* A segmented control's selected segment. */
|
|
127
|
+
--color-ui-segmented-selection: light-dark(
|
|
123
128
|
rgb(255 255 255),
|
|
124
129
|
rgb(108 108 113)
|
|
125
130
|
);
|
|
126
|
-
--color-
|
|
127
|
-
--color-
|
|
131
|
+
--color-ui-link: light-dark(rgb(0 122 255), rgb(9 132 255));
|
|
132
|
+
--color-ui-system-fill: light-dark(
|
|
128
133
|
rgb(120 120 120 / 20%),
|
|
129
134
|
rgb(120 120 128 / 36%)
|
|
130
135
|
);
|
|
131
|
-
--color-
|
|
136
|
+
--color-ui-secondary-system-fill: light-dark(
|
|
132
137
|
rgb(120 120 128 / 16%),
|
|
133
138
|
rgb(120 120 128 / 32%)
|
|
134
139
|
);
|
|
135
|
-
--color-
|
|
140
|
+
--color-ui-tertiary-system-fill: light-dark(
|
|
136
141
|
rgb(118 118 128 / 12%),
|
|
137
142
|
rgb(118 118 128 / 24%)
|
|
138
143
|
);
|
|
139
|
-
--color-
|
|
144
|
+
--color-ui-quaternary-system-fill: light-dark(
|
|
140
145
|
rgb(116 116 128 / 8%),
|
|
141
146
|
rgb(118 118 128 / 18%)
|
|
142
147
|
);
|
|
143
|
-
--color-
|
|
144
|
-
--color-
|
|
148
|
+
--color-ui-system-background: light-dark(rgb(255 255 255), rgb(0 0 0));
|
|
149
|
+
--color-ui-secondary-system-background: light-dark(
|
|
145
150
|
rgb(242 242 247),
|
|
146
151
|
rgb(28 28 30)
|
|
147
152
|
);
|
|
148
|
-
--color-
|
|
153
|
+
--color-ui-tertiary-system-background: light-dark(
|
|
149
154
|
rgb(255 255 255),
|
|
150
155
|
rgb(44 44 46)
|
|
151
156
|
);
|
|
152
|
-
--color-
|
|
157
|
+
--color-ui-system-grouped-background: light-dark(
|
|
153
158
|
rgb(242 242 247),
|
|
154
159
|
rgb(0 0 0)
|
|
155
160
|
);
|
|
156
|
-
--color-
|
|
161
|
+
--color-ui-secondary-system-grouped-background: light-dark(
|
|
157
162
|
rgb(255 255 255),
|
|
158
163
|
rgb(28 28 30)
|
|
159
164
|
);
|
|
160
|
-
--color-
|
|
165
|
+
--color-ui-tertiary-system-grouped-background: light-dark(
|
|
161
166
|
rgb(242 242 247),
|
|
162
167
|
rgb(44 44 46)
|
|
163
168
|
);
|
|
164
|
-
--color-
|
|
165
|
-
--color-
|
|
166
|
-
--color-
|
|
167
|
-
--color-
|
|
168
|
-
--color-
|
|
169
|
-
--color-
|
|
170
|
-
--color-
|
|
171
|
-
--color-
|
|
172
|
-
--color-
|
|
173
|
-
--color-
|
|
174
|
-
--color-
|
|
175
|
-
--color-
|
|
176
|
-
--color-
|
|
177
|
-
--color-
|
|
178
|
-
--color-
|
|
179
|
-
--color-
|
|
180
|
-
--color-
|
|
181
|
-
--color-
|
|
169
|
+
--color-ui-system-gray: light-dark(rgb(142 142 147), rgb(142 142 147));
|
|
170
|
+
--color-ui-system-gray2: light-dark(rgb(174 174 178), rgb(99 99 102));
|
|
171
|
+
--color-ui-system-gray3: light-dark(rgb(199 199 204), rgb(72 72 74));
|
|
172
|
+
--color-ui-system-gray4: light-dark(rgb(209 209 214), rgb(58 58 60));
|
|
173
|
+
--color-ui-system-gray5: light-dark(rgb(229 229 234), rgb(44 44 46));
|
|
174
|
+
--color-ui-system-gray6: light-dark(rgb(242 242 247), rgb(28 28 30));
|
|
175
|
+
--color-ui-system-red: light-dark(rgb(255 56 60), rgb(255 66 69));
|
|
176
|
+
--color-ui-system-orange: light-dark(rgb(255 141 40), rgb(255 146 48));
|
|
177
|
+
--color-ui-system-yellow: light-dark(rgb(255 204 0), rgb(255 214 0));
|
|
178
|
+
--color-ui-system-green: light-dark(rgb(52 199 89), rgb(48 209 88));
|
|
179
|
+
--color-ui-system-mint: light-dark(rgb(0 200 179), rgb(0 218 195));
|
|
180
|
+
--color-ui-system-teal: light-dark(rgb(0 195 208), rgb(0 210 224));
|
|
181
|
+
--color-ui-system-cyan: light-dark(rgb(0 192 232), rgb(60 211 254));
|
|
182
|
+
--color-ui-system-blue: light-dark(rgb(0 136 255), rgb(0 145 255));
|
|
183
|
+
--color-ui-system-indigo: light-dark(rgb(97 85 245), rgb(109 124 255));
|
|
184
|
+
--color-ui-system-purple: light-dark(rgb(203 48 224), rgb(219 52 242));
|
|
185
|
+
--color-ui-system-pink: light-dark(rgb(255 45 85), rgb(255 55 95));
|
|
186
|
+
--color-ui-system-brown: light-dark(rgb(172 127 94), rgb(183 138 102));
|
|
182
187
|
|
|
183
188
|
@media (prefers-contrast: more) {
|
|
184
|
-
--color-
|
|
185
|
-
--color-
|
|
186
|
-
--color-
|
|
187
|
-
--color-
|
|
188
|
-
--color-
|
|
189
|
-
--color-
|
|
190
|
-
--color-
|
|
191
|
-
--color-
|
|
192
|
-
--color-
|
|
193
|
-
--color-
|
|
194
|
-
--color-
|
|
195
|
-
--color-
|
|
196
|
-
--color-
|
|
197
|
-
--color-
|
|
198
|
-
--color-
|
|
199
|
-
--color-
|
|
200
|
-
--color-
|
|
201
|
-
--color-
|
|
189
|
+
--color-ui-system-gray: light-dark(rgb(108 108 112), rgb(174 174 178));
|
|
190
|
+
--color-ui-system-gray2: light-dark(rgb(142 142 147), rgb(124 124 128));
|
|
191
|
+
--color-ui-system-gray3: light-dark(rgb(174 174 178), rgb(84 84 86));
|
|
192
|
+
--color-ui-system-gray4: light-dark(rgb(188 188 192), rgb(68 68 70));
|
|
193
|
+
--color-ui-system-gray5: light-dark(rgb(216 216 220), rgb(54 54 56));
|
|
194
|
+
--color-ui-system-gray6: light-dark(rgb(235 235 240), rgb(36 36 38));
|
|
195
|
+
--color-ui-system-red: light-dark(rgb(233 21 45), rgb(255 97 101));
|
|
196
|
+
--color-ui-system-orange: light-dark(rgb(197 83 0), rgb(255 160 86));
|
|
197
|
+
--color-ui-system-yellow: light-dark(rgb(161 106 0), rgb(254 223 67));
|
|
198
|
+
--color-ui-system-green: light-dark(rgb(0 137 50), rgb(74 217 104));
|
|
199
|
+
--color-ui-system-mint: light-dark(rgb(0 133 117), rgb(84 223 203));
|
|
200
|
+
--color-ui-system-teal: light-dark(rgb(0 129 152), rgb(59 221 236));
|
|
201
|
+
--color-ui-system-cyan: light-dark(rgb(0 126 174), rgb(109 217 255));
|
|
202
|
+
--color-ui-system-blue: light-dark(rgb(30 110 244), rgb(92 184 255));
|
|
203
|
+
--color-ui-system-indigo: light-dark(rgb(86 74 222), rgb(167 170 255));
|
|
204
|
+
--color-ui-system-purple: light-dark(rgb(176 47 194), rgb(234 141 255));
|
|
205
|
+
--color-ui-system-pink: light-dark(rgb(231 18 77), rgb(255 138 196));
|
|
206
|
+
--color-ui-system-brown: light-dark(rgb(149 109 81), rgb(219 166 121));
|
|
202
207
|
}
|
|
203
208
|
|
|
204
209
|
/*
|
|
205
|
-
*
|
|
210
|
+
* Glass materials for dim and bright content behind the glass
|
|
206
211
|
*
|
|
207
|
-
*
|
|
208
|
-
* -
|
|
209
|
-
* - fill: “Fill” layer: its three fills (bottom to top) with their blend
|
|
212
|
+
* - blur: backdrop-filter: blur(20px), opacity 0.67
|
|
213
|
+
* - fill: three fills (bottom to top) with their blend
|
|
210
214
|
* modes, at the layer's opacity, drawn without blending as a backdrop
|
|
211
215
|
* filter and a flat color. The fills are linear in each channel of the
|
|
212
216
|
* backdrop b: bright (color-dodge #333, #fff 50%, multiply #F7F7F7):
|
|
@@ -216,42 +220,39 @@
|
|
|
216
220
|
* blends an element only with what is on its compositing layer: the
|
|
217
221
|
* fills, above the blur's backdrop filter (a layer of its own), would
|
|
218
222
|
* blend with nothing (bright glass turns gray).
|
|
219
|
-
* - content/selection: vibrant tab content and selection (
|
|
220
|
-
* semantic equivalent); the selection (#121212 plus-lighter, #ededed
|
|
223
|
+
* - content/selection: vibrant tab content and selection; the selection (#121212 plus-lighter, #ededed
|
|
221
224
|
* plus-darker) is drawn as its unblended equivalent (white, black at
|
|
222
225
|
* 7%): WebKit blends an element composited on a layer of its own
|
|
223
226
|
* (e.g. while it moves) with that layer's transparent backdrop only,
|
|
224
227
|
* drawing the dim selection nearly black, as with menus (see below)
|
|
225
228
|
* - content-disabled, content-prominent(-disabled): labels of glass
|
|
226
|
-
* buttons (
|
|
227
|
-
*
|
|
228
|
-
*
|
|
229
|
-
*
|
|
230
|
-
* The “Glass Effect” layer (a Figma layer effect, not part of the CSS
|
|
231
|
-
* export) is emulated as in Framework7 components/app/app-vars.less
|
|
229
|
+
* buttons (text or symbol, default and prominent, enabled and
|
|
230
|
+
* disabled); the prominent disabled bright label is #262626 at layer
|
|
231
|
+
* opacity 0.5; the prominent dim label is white
|
|
232
|
+
* The glass effect (its rim and shading) is emulated as in Framework7 components/app/app-vars.less
|
|
232
233
|
* (--f7-glass-shadow, light for bright, dark for dim) and Konsta UI
|
|
233
234
|
* styles/glass.css (--shadow-ios-light-glass, --shadow-ios-dark-glass).
|
|
234
235
|
* - lens: pressed selection, Framework7 components/toolbar/toolbar-vars.less
|
|
235
236
|
* (--f7-tabbar-link-highlight-active-bg-color) and app-vars.less
|
|
236
237
|
* (--f7-glass-shadow-thumb), light for bright, dark for dim; see
|
|
237
|
-
* --glass-
|
|
238
|
+
* --glass-ui-lens-* below
|
|
238
239
|
* plus-darker is drawn as multiply, which darkens by a similar amount
|
|
239
240
|
* for these light colors: Chromium doesn't support it, and WebKit draws
|
|
240
241
|
* it black where the glass is composited separately (a layer of its
|
|
241
242
|
* own, e.g. while transitioning).
|
|
242
243
|
*/
|
|
243
|
-
--glass-
|
|
244
|
-
--glass-
|
|
245
|
-
--glass-
|
|
246
|
-
--glass-
|
|
247
|
-
--glass-
|
|
248
|
-
--glass-
|
|
249
|
-
--glass-
|
|
250
|
-
--glass-
|
|
251
|
-
--glass-
|
|
252
|
-
--glass-
|
|
253
|
-
--glass-
|
|
254
|
-
--glass-
|
|
244
|
+
--glass-ui-dim-blur: rgb(255 255 255 / 5%);
|
|
245
|
+
--glass-ui-dim-fill: rgb(255 255 255 / 4%);
|
|
246
|
+
--glass-ui-dim-fill-filter: brightness(0.606);
|
|
247
|
+
--glass-ui-dim-content: #bfbfbf;
|
|
248
|
+
--glass-ui-dim-content-blend: plus-lighter;
|
|
249
|
+
--glass-ui-dim-content-disabled: #262626;
|
|
250
|
+
--glass-ui-dim-content-prominent: #fff;
|
|
251
|
+
--glass-ui-dim-content-prominent-blend: plus-lighter;
|
|
252
|
+
--glass-ui-dim-content-prominent-disabled: #262626;
|
|
253
|
+
--glass-ui-dim-selection: rgb(255 255 255 / 7%);
|
|
254
|
+
--glass-ui-dim-lens: rgb(255 255 255 / 10%);
|
|
255
|
+
--glass-ui-dim-lens-shadow:
|
|
255
256
|
inset 3px 3px 0 -3.5px rgb(255 255 255),
|
|
256
257
|
inset -3px -3px 0 -3.5px rgb(255 255 255),
|
|
257
258
|
inset -0.5px -0.5px 0 rgb(255 255 255 / 50%),
|
|
@@ -259,30 +260,30 @@
|
|
|
259
260
|
inset -3px 3px 0 -3.5px rgb(255 255 255 / 25%),
|
|
260
261
|
inset 0 -5px 0 -3.5px rgb(255 255 255 / 25%),
|
|
261
262
|
inset 0 -5px 5px rgb(255 255 255 / 25%);
|
|
262
|
-
--glass-
|
|
263
|
+
--glass-ui-dim-shadow:
|
|
263
264
|
inset -2px -2px 0.5px -2.5px rgb(255 255 255 / 40%),
|
|
264
265
|
inset 3px 3px 0.5px -3.5px rgb(255 255 255 / 40%),
|
|
265
266
|
inset 2px 2px 0.5px -2px #262626, inset -2px -2px 0.5px -2px #262626,
|
|
266
267
|
inset 0 0 5px 1px #141414, inset 0 0 0 1px rgb(255 255 255 / 15%),
|
|
267
268
|
inset 0 0 10px 0 rgb(255 255 255 / 7.5%),
|
|
268
269
|
inset 0 0 24px 0 rgb(255 255 255 / 5%), 0 0 25px 0 rgb(0 0 0 / 15%);
|
|
269
|
-
--glass-
|
|
270
|
-
--glass-
|
|
271
|
-
--glass-
|
|
272
|
-
--glass-
|
|
273
|
-
--glass-
|
|
274
|
-
--glass-
|
|
275
|
-
--glass-
|
|
276
|
-
--glass-
|
|
277
|
-
--glass-
|
|
278
|
-
--glass-
|
|
279
|
-
--glass-
|
|
280
|
-
--glass-
|
|
270
|
+
--glass-ui-bright-blur: rgb(0 0 0 / 4%);
|
|
271
|
+
--glass-ui-bright-fill: rgb(247 247 247 / 50%);
|
|
272
|
+
--glass-ui-bright-fill-filter: brightness(1.25) brightness(0.969);
|
|
273
|
+
--glass-ui-bright-content: #404040;
|
|
274
|
+
--glass-ui-bright-content-blend: multiply;
|
|
275
|
+
--glass-ui-bright-content-disabled: #d9d9d9;
|
|
276
|
+
--glass-ui-bright-content-prominent: #fff;
|
|
277
|
+
--glass-ui-bright-content-prominent-blend: plus-lighter;
|
|
278
|
+
--glass-ui-bright-content-prominent-disabled: rgb(38 38 38 / 50%);
|
|
279
|
+
--glass-ui-bright-selection: rgb(0 0 0 / 7%);
|
|
280
|
+
--glass-ui-bright-lens: rgb(0 0 0 / 5%);
|
|
281
|
+
--glass-ui-bright-lens-shadow:
|
|
281
282
|
inset -3px -3px 0 -3.5px rgb(255 255 255),
|
|
282
283
|
inset 3px 3px 0 -3.5px rgb(255 255 255),
|
|
283
284
|
inset 0 0 0 0.5px rgb(255 255 255 / 50%), inset 3px 3px 10px -2px #eee,
|
|
284
285
|
inset -3px -3px 10px -2px #eee, inset 0 0 5px 1px #fff;
|
|
285
|
-
--glass-
|
|
286
|
+
--glass-ui-bright-shadow:
|
|
286
287
|
inset -1px -1px 0 -0.5px rgb(255 255 255),
|
|
287
288
|
inset 1px 1px 0 -0.5px rgb(255 255 255), inset 3px 3px 10px -3px #ddd,
|
|
288
289
|
inset -3px -3px 10px -3px #ddd, inset 0 0 5px 1px #fff,
|
|
@@ -292,77 +293,74 @@
|
|
|
292
293
|
/*
|
|
293
294
|
* Glass over a background of the app's (a picture, colors; not a plain
|
|
294
295
|
* page), bright or dim (user): bright's and dim's content, lenses and
|
|
295
|
-
* selections, but floating over it
|
|
296
|
-
* black): a translucent fill, a thin light rim (brighter at its top
|
|
296
|
+
* selections, but floating over it: a translucent fill, a thin light rim (brighter at its top
|
|
297
297
|
* start), and a soft shadow outside, without bright's white halo or
|
|
298
298
|
* dim's dark inner bands.
|
|
299
299
|
*/
|
|
300
|
-
--glass-
|
|
301
|
-
--glass-
|
|
302
|
-
--glass-
|
|
303
|
-
--glass-
|
|
304
|
-
--glass-
|
|
305
|
-
--glass-
|
|
300
|
+
--glass-ui-background-bright-blur: rgb(0 0 0 / 4%);
|
|
301
|
+
--glass-ui-background-bright-fill: rgb(255 255 255 / 30%);
|
|
302
|
+
--glass-ui-background-bright-fill-filter: brightness(1.1);
|
|
303
|
+
--glass-ui-background-bright-content: var(--glass-ui-bright-content);
|
|
304
|
+
--glass-ui-background-bright-content-blend: var(
|
|
305
|
+
--glass-ui-bright-content-blend
|
|
306
306
|
);
|
|
307
|
-
--glass-
|
|
308
|
-
--glass-
|
|
307
|
+
--glass-ui-background-bright-content-disabled: var(
|
|
308
|
+
--glass-ui-bright-content-disabled
|
|
309
309
|
);
|
|
310
|
-
--glass-
|
|
311
|
-
--glass-
|
|
310
|
+
--glass-ui-background-bright-content-prominent: var(
|
|
311
|
+
--glass-ui-bright-content-prominent
|
|
312
312
|
);
|
|
313
|
-
--glass-
|
|
314
|
-
--glass-
|
|
313
|
+
--glass-ui-background-bright-content-prominent-blend: var(
|
|
314
|
+
--glass-ui-bright-content-prominent-blend
|
|
315
315
|
);
|
|
316
|
-
--glass-
|
|
317
|
-
--glass-
|
|
316
|
+
--glass-ui-background-bright-content-prominent-disabled: var(
|
|
317
|
+
--glass-ui-bright-content-prominent-disabled
|
|
318
318
|
);
|
|
319
|
-
--glass-
|
|
320
|
-
--glass-
|
|
321
|
-
--glass-
|
|
322
|
-
--glass-
|
|
319
|
+
--glass-ui-background-bright-selection: var(--glass-ui-bright-selection);
|
|
320
|
+
--glass-ui-background-bright-lens: var(--glass-ui-bright-lens);
|
|
321
|
+
--glass-ui-background-bright-lens-shadow: var(
|
|
322
|
+
--glass-ui-bright-lens-shadow
|
|
323
323
|
);
|
|
324
|
-
--glass-
|
|
324
|
+
--glass-ui-background-bright-shadow:
|
|
325
325
|
inset 0 0 0 0.5px rgb(255 255 255 / 50%),
|
|
326
326
|
inset 1px 1px 0 -0.5px rgb(255 255 255 / 80%),
|
|
327
327
|
inset -1px -1px 0 -0.5px rgb(255 255 255 / 40%),
|
|
328
328
|
0 2px 12px rgb(0 0 0 / 12%);
|
|
329
|
-
--glass-
|
|
330
|
-
--glass-
|
|
331
|
-
--glass-
|
|
332
|
-
--glass-
|
|
333
|
-
--glass-
|
|
334
|
-
--glass-
|
|
329
|
+
--glass-ui-background-dim-blur: rgb(0 0 0 / 10%);
|
|
330
|
+
--glass-ui-background-dim-fill: rgb(0 0 0 / 20%);
|
|
331
|
+
--glass-ui-background-dim-fill-filter: brightness(0.8);
|
|
332
|
+
--glass-ui-background-dim-content: var(--glass-ui-dim-content);
|
|
333
|
+
--glass-ui-background-dim-content-blend: var(
|
|
334
|
+
--glass-ui-dim-content-blend
|
|
335
335
|
);
|
|
336
|
-
--glass-
|
|
337
|
-
--glass-
|
|
336
|
+
--glass-ui-background-dim-content-disabled: var(
|
|
337
|
+
--glass-ui-dim-content-disabled
|
|
338
338
|
);
|
|
339
|
-
--glass-
|
|
340
|
-
--glass-
|
|
339
|
+
--glass-ui-background-dim-content-prominent: var(
|
|
340
|
+
--glass-ui-dim-content-prominent
|
|
341
341
|
);
|
|
342
|
-
--glass-
|
|
343
|
-
--glass-
|
|
342
|
+
--glass-ui-background-dim-content-prominent-blend: var(
|
|
343
|
+
--glass-ui-dim-content-prominent-blend
|
|
344
344
|
);
|
|
345
|
-
--glass-
|
|
346
|
-
--glass-
|
|
345
|
+
--glass-ui-background-dim-content-prominent-disabled: var(
|
|
346
|
+
--glass-ui-dim-content-prominent-disabled
|
|
347
347
|
);
|
|
348
|
-
--glass-
|
|
349
|
-
--glass-
|
|
350
|
-
--glass-
|
|
351
|
-
--glass-
|
|
348
|
+
--glass-ui-background-dim-selection: var(--glass-ui-dim-selection);
|
|
349
|
+
--glass-ui-background-dim-lens: var(--glass-ui-dim-lens);
|
|
350
|
+
--glass-ui-background-dim-lens-shadow: var(--glass-ui-dim-lens-shadow);
|
|
351
|
+
--glass-ui-background-dim-shadow:
|
|
352
352
|
inset 0 0 0 0.5px rgb(255 255 255 / 25%),
|
|
353
353
|
inset 1px 1px 0 -0.5px rgb(255 255 255 / 50%),
|
|
354
354
|
inset -1px -1px 0 -0.5px rgb(255 255 255 / 20%),
|
|
355
355
|
0 2px 12px rgb(0 0 0 / 25%);
|
|
356
356
|
|
|
357
357
|
/*
|
|
358
|
-
*
|
|
359
|
-
*
|
|
360
|
-
* Source: Apple iOS 26 Figma (Menus: “Liquid Glass - Medium”, Mode=Light
|
|
361
|
-
* and Dark) for the content on it:
|
|
358
|
+
* The “Medium” glass material (menus, edit menus), by color scheme, for
|
|
359
|
+
* the content on it:
|
|
362
360
|
* - content, content-secondary (subtitles, shortcuts), content-disabled
|
|
363
361
|
* (also section titles), with their blend mode
|
|
364
362
|
* - separator (menus), divider (between edit menu actions)
|
|
365
|
-
* - selection: highlighted items, open submenu (
|
|
363
|
+
* - selection: highlighted items, open submenu (regular), quick actions,
|
|
366
364
|
* edit menu “more”: #ededed plus-darker, #121212 plus-lighter, drawn
|
|
367
365
|
* as their equivalent on white or black without blending (black,
|
|
368
366
|
* white at 7%): the popup's glass (a backdrop filter) isolates its
|
|
@@ -373,41 +371,40 @@
|
|
|
373
371
|
* The material itself is Framework7's popover glass (popover-ios.less
|
|
374
372
|
* .popover-inner, mixins.less .ios-glass()): a flat background
|
|
375
373
|
* (app-vars.less --f7-glass-bg-color) with backdrop blur and the glass
|
|
376
|
-
* shadow (bright in light, dim in dark mode, as above).
|
|
377
|
-
*
|
|
378
|
-
*
|
|
374
|
+
* shadow (bright in light, dim in dark mode, as above). Blended fills
|
|
375
|
+
* would need the backdrop, which popups (positioned by a transform,
|
|
376
|
+
* animated) isolate them from.
|
|
379
377
|
*/
|
|
380
|
-
--glass-
|
|
381
|
-
--glass-
|
|
382
|
-
--glass-
|
|
383
|
-
--glass-
|
|
384
|
-
--glass-
|
|
385
|
-
--glass-
|
|
386
|
-
--glass-
|
|
387
|
-
--glass-
|
|
388
|
-
--glass-
|
|
389
|
-
--glass-
|
|
390
|
-
--glass-
|
|
391
|
-
--glass-
|
|
392
|
-
--glass-
|
|
393
|
-
--glass-
|
|
394
|
-
--glass-
|
|
395
|
-
--glass-
|
|
378
|
+
--glass-ui-medium-light-background: rgb(255 255 255 / 75%);
|
|
379
|
+
--glass-ui-medium-light-content: #333;
|
|
380
|
+
--glass-ui-medium-light-content-blend: multiply;
|
|
381
|
+
--glass-ui-medium-light-content-secondary: #999;
|
|
382
|
+
--glass-ui-medium-light-content-disabled: #bfbfbf;
|
|
383
|
+
--glass-ui-medium-light-separator: #e6e6e6;
|
|
384
|
+
--glass-ui-medium-light-divider: #ccc;
|
|
385
|
+
--glass-ui-medium-light-selection: rgb(0 0 0 / 7%);
|
|
386
|
+
--glass-ui-medium-dark-background: rgb(50 50 50 / 50%);
|
|
387
|
+
--glass-ui-medium-dark-content: #fff;
|
|
388
|
+
--glass-ui-medium-dark-content-blend: plus-lighter;
|
|
389
|
+
--glass-ui-medium-dark-content-secondary: #999;
|
|
390
|
+
--glass-ui-medium-dark-content-disabled: #404040;
|
|
391
|
+
--glass-ui-medium-dark-separator: #1a1a1a;
|
|
392
|
+
--glass-ui-medium-dark-divider: #333;
|
|
393
|
+
--glass-ui-medium-dark-selection: rgb(255 255 255 / 7%);
|
|
396
394
|
|
|
397
395
|
/*
|
|
398
396
|
* Tinted glass (prominent glass buttons), the same in both contexts
|
|
399
397
|
*
|
|
400
|
-
*
|
|
401
|
-
* layer: the tint (#0091FF in both contexts, also where the system tint
|
|
398
|
+
* The tint (#0091FF in both contexts, also where the system tint
|
|
402
399
|
* is #0088FF), then its fills (bottom to top) with their blend modes, and
|
|
403
400
|
* its shadow. plus-darker is drawn as multiply, as above.
|
|
404
401
|
*/
|
|
405
|
-
--glass-
|
|
406
|
-
--glass-
|
|
407
|
-
--glass-
|
|
408
|
-
--glass-
|
|
409
|
-
--glass-
|
|
410
|
-
--glass-
|
|
402
|
+
--glass-ui-tint: rgb(0 145 255);
|
|
403
|
+
--glass-ui-tint-base: rgb(255 255 255 / 50%);
|
|
404
|
+
--glass-ui-tint-saturation: #fff;
|
|
405
|
+
--glass-ui-tint-overlay: #999;
|
|
406
|
+
--glass-ui-tint-blend: multiply;
|
|
407
|
+
--glass-ui-tint-shadow:
|
|
411
408
|
0 0 2px rgb(0 0 0 / 10%), 0 1px 8px rgb(0 0 0 / 12%);
|
|
412
409
|
|
|
413
410
|
/*
|
|
@@ -420,114 +417,116 @@
|
|
|
420
417
|
* content-scale: content on a lens (glass buttons) scales up less than
|
|
421
418
|
* the lens (seen on a device; the value is an estimate).
|
|
422
419
|
*/
|
|
423
|
-
--glass-
|
|
424
|
-
--glass-
|
|
425
|
-
--glass-
|
|
426
|
-
--glass-
|
|
420
|
+
--glass-ui-lens-scale: 1.4;
|
|
421
|
+
--glass-ui-lens-content-scale: 1.2;
|
|
422
|
+
--glass-ui-lens-duration: 300ms;
|
|
423
|
+
--glass-ui-lens-shadow: var(--glass-ui-bright-lens-shadow);
|
|
427
424
|
|
|
428
425
|
/*
|
|
429
|
-
* List separators, blended with the list's background (
|
|
430
|
-
*
|
|
431
|
-
*
|
|
432
|
-
* Source: Apple iOS 26 Figma (Lists and tables: “_Separator”, Mode=Light
|
|
433
|
-
* and Dark): #E6E6E6 plus-darker (as multiply), #1A1A1A plus-lighter,
|
|
426
|
+
* List separators, blended with the list's background (unlike the
|
|
427
|
+
* separator color, rgb(60 60 67 / 29%)): #E6E6E6 plus-darker (as multiply), #1A1A1A plus-lighter,
|
|
434
428
|
* drawn as their unblended equivalent (black at 10%: exact; white at
|
|
435
429
|
* 11%: exact on dark rows, #1C1C1E): WebKit blends rows on a layer of
|
|
436
430
|
* their own (e.g. while swiped) with nothing, as the glass above.
|
|
437
431
|
*/
|
|
438
|
-
--color-
|
|
432
|
+
--color-ui-list-separator: light-dark(
|
|
439
433
|
rgb(0 0 0 / 10%),
|
|
440
434
|
rgb(255 255 255 / 11%)
|
|
441
435
|
);
|
|
442
436
|
|
|
443
437
|
/*
|
|
444
|
-
* Section titles of plain lists, opaque
|
|
438
|
+
* Section titles of plain lists, opaque
|
|
445
439
|
*
|
|
446
440
|
* Source: Framework7 components/contacts-list/contacts-list-vars.less
|
|
447
441
|
* (--f7-contacts-list-title-bg-color)
|
|
448
442
|
*/
|
|
449
|
-
--color-
|
|
443
|
+
--color-ui-list-section-title-background: light-dark(#f7f7f7, #323234);
|
|
450
444
|
|
|
451
445
|
/*
|
|
452
|
-
* The shadow of a row being reordered, lifted
|
|
446
|
+
* The shadow of a row being reordered, lifted
|
|
453
447
|
*
|
|
454
448
|
* Source: Framework7 components/sortable/sortable-vars.less
|
|
455
449
|
* (--f7-sortable-sorting-item-box-shadow)
|
|
456
450
|
*/
|
|
457
|
-
--shadow-
|
|
451
|
+
--shadow-ui-list-reorder: 0 2px 8px rgb(0 0 0 / 60%);
|
|
458
452
|
}
|
|
459
453
|
|
|
460
|
-
|
|
454
|
+
/* A color scheme forced (see `useColorScheme`): on the root element, or
|
|
455
|
+
on any element, for what's within it. (Forced within one forced
|
|
456
|
+
otherwise, the dark one's rules win, not the nearer one's.) */
|
|
457
|
+
[data-color-scheme='light'] {
|
|
461
458
|
color-scheme: light;
|
|
459
|
+
|
|
460
|
+
--glass-ui-lens-shadow: var(--glass-ui-bright-lens-shadow);
|
|
462
461
|
}
|
|
463
462
|
|
|
464
|
-
|
|
463
|
+
[data-color-scheme='dark'] {
|
|
465
464
|
color-scheme: dark;
|
|
466
465
|
|
|
467
|
-
--glass-
|
|
466
|
+
--glass-ui-lens-shadow: var(--glass-ui-dim-lens-shadow);
|
|
468
467
|
}
|
|
469
468
|
|
|
470
469
|
@media (prefers-color-scheme: dark) {
|
|
471
470
|
:root:not([data-color-scheme='light']) {
|
|
472
|
-
--glass-
|
|
471
|
+
--glass-ui-lens-shadow: var(--glass-ui-dim-lens-shadow);
|
|
473
472
|
}
|
|
474
473
|
}
|
|
475
474
|
|
|
476
475
|
/* Accessibility: glass made opaque (see opaqueGlass). */
|
|
477
476
|
@media (prefers-reduced-transparency: reduce) {
|
|
478
477
|
:root {
|
|
479
|
-
--glass-
|
|
480
|
-
--glass-
|
|
481
|
-
--glass-
|
|
482
|
-
--glass-
|
|
483
|
-
--glass-
|
|
484
|
-
--glass-
|
|
485
|
-
--glass-
|
|
486
|
-
--glass-
|
|
487
|
-
--glass-
|
|
488
|
-
--glass-
|
|
489
|
-
--glass-
|
|
490
|
-
--glass-
|
|
491
|
-
--glass-
|
|
492
|
-
--glass-
|
|
478
|
+
--glass-ui-bright-blur: transparent;
|
|
479
|
+
--glass-ui-bright-fill: rgb(247 247 247);
|
|
480
|
+
--glass-ui-bright-fill-filter: none;
|
|
481
|
+
--glass-ui-dim-blur: transparent;
|
|
482
|
+
--glass-ui-dim-fill: rgb(28 28 30);
|
|
483
|
+
--glass-ui-dim-fill-filter: none;
|
|
484
|
+
--glass-ui-background-bright-blur: transparent;
|
|
485
|
+
--glass-ui-background-bright-fill: rgb(247 247 247);
|
|
486
|
+
--glass-ui-background-bright-fill-filter: none;
|
|
487
|
+
--glass-ui-background-dim-blur: transparent;
|
|
488
|
+
--glass-ui-background-dim-fill: rgb(28 28 30);
|
|
489
|
+
--glass-ui-background-dim-fill-filter: none;
|
|
490
|
+
--glass-ui-medium-light-background: rgb(246 246 246);
|
|
491
|
+
--glass-ui-medium-dark-background: rgb(30 30 30);
|
|
493
492
|
}
|
|
494
493
|
}
|
|
495
494
|
|
|
496
495
|
@media (prefers-contrast: more) {
|
|
497
496
|
:root {
|
|
498
|
-
--glass-
|
|
499
|
-
--glass-
|
|
500
|
-
--glass-
|
|
501
|
-
--glass-
|
|
502
|
-
--glass-
|
|
503
|
-
--glass-
|
|
504
|
-
--glass-
|
|
505
|
-
--glass-
|
|
506
|
-
--glass-
|
|
507
|
-
--glass-
|
|
508
|
-
--glass-
|
|
509
|
-
--glass-
|
|
510
|
-
--glass-
|
|
511
|
-
--glass-
|
|
497
|
+
--glass-ui-bright-blur: transparent;
|
|
498
|
+
--glass-ui-bright-fill: rgb(247 247 247);
|
|
499
|
+
--glass-ui-bright-fill-filter: none;
|
|
500
|
+
--glass-ui-dim-blur: transparent;
|
|
501
|
+
--glass-ui-dim-fill: rgb(28 28 30);
|
|
502
|
+
--glass-ui-dim-fill-filter: none;
|
|
503
|
+
--glass-ui-background-bright-blur: transparent;
|
|
504
|
+
--glass-ui-background-bright-fill: rgb(247 247 247);
|
|
505
|
+
--glass-ui-background-bright-fill-filter: none;
|
|
506
|
+
--glass-ui-background-dim-blur: transparent;
|
|
507
|
+
--glass-ui-background-dim-fill: rgb(28 28 30);
|
|
508
|
+
--glass-ui-background-dim-fill-filter: none;
|
|
509
|
+
--glass-ui-medium-light-background: rgb(246 246 246);
|
|
510
|
+
--glass-ui-medium-dark-background: rgb(30 30 30);
|
|
512
511
|
}
|
|
513
512
|
}
|
|
514
513
|
|
|
515
514
|
@media (forced-colors: active) {
|
|
516
515
|
:root {
|
|
517
|
-
--glass-
|
|
518
|
-
--glass-
|
|
519
|
-
--glass-
|
|
520
|
-
--glass-
|
|
521
|
-
--glass-
|
|
522
|
-
--glass-
|
|
523
|
-
--glass-
|
|
524
|
-
--glass-
|
|
525
|
-
--glass-
|
|
526
|
-
--glass-
|
|
527
|
-
--glass-
|
|
528
|
-
--glass-
|
|
529
|
-
--glass-
|
|
530
|
-
--glass-
|
|
516
|
+
--glass-ui-bright-blur: transparent;
|
|
517
|
+
--glass-ui-bright-fill: rgb(247 247 247);
|
|
518
|
+
--glass-ui-bright-fill-filter: none;
|
|
519
|
+
--glass-ui-dim-blur: transparent;
|
|
520
|
+
--glass-ui-dim-fill: rgb(28 28 30);
|
|
521
|
+
--glass-ui-dim-fill-filter: none;
|
|
522
|
+
--glass-ui-background-bright-blur: transparent;
|
|
523
|
+
--glass-ui-background-bright-fill: rgb(247 247 247);
|
|
524
|
+
--glass-ui-background-bright-fill-filter: none;
|
|
525
|
+
--glass-ui-background-dim-blur: transparent;
|
|
526
|
+
--glass-ui-background-dim-fill: rgb(28 28 30);
|
|
527
|
+
--glass-ui-background-dim-fill-filter: none;
|
|
528
|
+
--glass-ui-medium-light-background: rgb(246 246 246);
|
|
529
|
+
--glass-ui-medium-dark-background: rgb(30 30 30);
|
|
531
530
|
}
|
|
532
531
|
}
|
|
533
532
|
}
|
|
@@ -565,3 +564,20 @@
|
|
|
565
564
|
initial-value: 0;
|
|
566
565
|
syntax: '<number>';
|
|
567
566
|
}
|
|
567
|
+
|
|
568
|
+
/* A symbol's emphasis (see `Symbol`), set by its host: 0 its icon shown,
|
|
569
|
+
1 its emphasized one; a number, so a host can transition it. */
|
|
570
|
+
@property --uikit-symbol-emphasis {
|
|
571
|
+
inherits: true;
|
|
572
|
+
initial-value: 0;
|
|
573
|
+
syntax: '<number>';
|
|
574
|
+
}
|
|
575
|
+
|
|
576
|
+
/* Room made for an open overscroll area (see `Viewport.Overscroll`): a
|
|
577
|
+
length transitioning as such, the padding making it (and the area,
|
|
578
|
+
moving along) following every frame. */
|
|
579
|
+
@property --uikit-viewport-overscroll-room {
|
|
580
|
+
inherits: false;
|
|
581
|
+
initial-value: 0;
|
|
582
|
+
syntax: '<length>';
|
|
583
|
+
}
|