@mrpelz/uikit-ish 7.9.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/action-sheet/main.d.ts +1 -2
- package/dist/components/action-sheet/main.d.ts.map +1 -1
- package/dist/components/action-sheet/main.js +12 -12
- package/dist/components/action-sheet/main.js.map +1 -1
- package/dist/components/action-sheet/props.d.ts +2 -2
- package/dist/components/action-sheet/props.d.ts.map +1 -1
- package/dist/components/action-sheet/style.css +10 -1
- package/dist/components/activity-view/main.d.ts +1 -1
- package/dist/components/activity-view/main.d.ts.map +1 -1
- package/dist/components/activity-view/main.js +9 -11
- package/dist/components/activity-view/main.js.map +1 -1
- package/dist/components/activity-view/style.css +21 -21
- package/dist/components/alert/main.d.ts +2 -3
- package/dist/components/alert/main.d.ts.map +1 -1
- package/dist/components/alert/main.js +12 -15
- package/dist/components/alert/main.js.map +1 -1
- package/dist/components/alert/props.d.ts +3 -3
- package/dist/components/alert/style.css +23 -23
- package/dist/components/avatar/main.d.ts.map +1 -1
- package/dist/components/avatar/main.js +7 -8
- package/dist/components/avatar/main.js.map +1 -1
- package/dist/components/avatar/style.css +1 -1
- package/dist/components/badge/main.d.ts +1 -1
- package/dist/components/badge/main.js +4 -4
- package/dist/components/badge/main.js.map +1 -1
- package/dist/components/badge/style.css +7 -2
- package/dist/components/button/main.d.ts.map +1 -1
- package/dist/components/button/main.js +9 -9
- 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 +27 -29
- 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 +3 -3
- 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 +265 -90
- package/dist/components/color-picker/main.js.map +1 -1
- package/dist/components/color-picker/props.d.ts +45 -10
- package/dist/components/color-picker/props.d.ts.map +1 -1
- package/dist/components/color-picker/style.css +124 -38
- package/dist/components/contextual-menu/main.d.ts.map +1 -1
- package/dist/components/contextual-menu/main.js +189 -236
- package/dist/components/contextual-menu/main.js.map +1 -1
- package/dist/components/contextual-menu/props.d.ts +10 -33
- package/dist/components/contextual-menu/props.d.ts.map +1 -1
- package/dist/components/contextual-menu/style.css +60 -34
- package/dist/components/date-picker/main.d.ts.map +1 -1
- package/dist/components/date-picker/main.js +100 -66
- package/dist/components/date-picker/main.js.map +1 -1
- package/dist/components/date-picker/props.d.ts +10 -10
- package/dist/components/date-picker/props.d.ts.map +1 -1
- package/dist/components/date-picker/style.css +51 -47
- package/dist/components/drawer/main.d.ts.map +1 -1
- package/dist/components/drawer/main.js +52 -7
- package/dist/components/drawer/main.js.map +1 -1
- package/dist/components/drawer/style.css +1 -1
- package/dist/components/edit-menu/main.d.ts.map +1 -1
- package/dist/components/edit-menu/main.js +31 -22
- package/dist/components/edit-menu/main.js.map +1 -1
- package/dist/components/edit-menu/props.d.ts +4 -4
- package/dist/components/edit-menu/props.d.ts.map +1 -1
- package/dist/components/edit-menu/style.css +10 -1
- package/dist/components/form/main.js +3 -3
- package/dist/components/form/main.js.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 +157 -157
- package/dist/components/header/main.d.ts.map +1 -1
- package/dist/components/header/main.js +27 -26
- package/dist/components/header/main.js.map +1 -1
- package/dist/components/header/style.css +13 -52
- package/dist/components/index.d.ts +5 -5
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +2 -2
- package/dist/components/index.js.map +1 -1
- package/dist/components/layout/main.js +5 -5
- package/dist/components/layout/main.js.map +1 -1
- package/dist/components/layout/style.css +2 -2
- package/dist/components/list/main.d.ts +11 -3
- package/dist/components/list/main.d.ts.map +1 -1
- package/dist/components/list/main.js +296 -300
- package/dist/components/list/main.js.map +1 -1
- package/dist/components/list/props.d.ts +49 -16
- 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 +206 -158
- package/dist/components/menu/main.d.ts +77 -30
- package/dist/components/menu/main.d.ts.map +1 -1
- package/dist/components/menu/main.js +364 -89
- package/dist/components/menu/main.js.map +1 -1
- package/dist/components/menu/props.d.ts +3 -4
- package/dist/components/menu/props.d.ts.map +1 -1
- package/dist/components/menu/style.css +25 -11
- package/dist/components/navigation/main.d.ts +5 -2
- package/dist/components/navigation/main.d.ts.map +1 -1
- package/dist/components/navigation/main.js +287 -57
- package/dist/components/navigation/main.js.map +1 -1
- package/dist/components/navigation/props.d.ts +37 -4
- package/dist/components/navigation/props.d.ts.map +1 -1
- package/dist/components/navigation/style.css +32 -2
- package/dist/components/page/main.d.ts.map +1 -1
- package/dist/components/page/main.js +12 -7
- package/dist/components/page/main.js.map +1 -1
- package/dist/components/page/props.d.ts +1 -1
- package/dist/components/page/style.css +3 -6
- package/dist/components/page-control/main.d.ts +1 -1
- package/dist/components/page-control/main.js +9 -9
- package/dist/components/page-control/main.js.map +1 -1
- package/dist/components/page-control/style.css +2 -2
- package/dist/components/popover/main.d.ts.map +1 -1
- package/dist/components/popover/main.js +17 -14
- package/dist/components/popover/main.js.map +1 -1
- package/dist/components/popover/props.d.ts +2 -2
- package/dist/components/popover/style.css +10 -1
- package/dist/components/progress/main.d.ts +1 -2
- package/dist/components/progress/main.d.ts.map +1 -1
- package/dist/components/progress/main.js +45 -19
- package/dist/components/progress/main.js.map +1 -1
- package/dist/components/progress/props.d.ts +22 -8
- package/dist/components/progress/props.d.ts.map +1 -1
- package/dist/components/progress/style.css +15 -15
- package/dist/components/roll/main.js +10 -10
- package/dist/components/roll/main.js.map +1 -1
- package/dist/components/roll/props.d.ts +1 -1
- package/dist/components/roll/style.css +11 -11
- package/dist/components/segmented/main.d.ts.map +1 -1
- package/dist/components/segmented/main.js +44 -27
- package/dist/components/segmented/main.js.map +1 -1
- package/dist/components/segmented/style.css +14 -9
- package/dist/components/sheet/main.d.ts +1 -1
- package/dist/components/sheet/main.d.ts.map +1 -1
- package/dist/components/sheet/main.js +22 -18
- package/dist/components/sheet/main.js.map +1 -1
- package/dist/components/sheet/props.d.ts +1 -1
- package/dist/components/sheet/style.css +22 -16
- 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 +8 -8
- package/dist/components/slider/main.d.ts.map +1 -1
- package/dist/components/slider/main.js +19 -19
- 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 +25 -25
- package/dist/components/stepper/main.d.ts.map +1 -1
- package/dist/components/stepper/main.js +13 -15
- package/dist/components/stepper/main.js.map +1 -1
- package/dist/components/stepper/style.css +8 -8
- package/dist/components/switch/main.d.ts.map +1 -1
- package/dist/components/switch/main.js +25 -18
- package/dist/components/switch/main.js.map +1 -1
- package/dist/components/switch/props.d.ts +5 -3
- package/dist/components/switch/props.d.ts.map +1 -1
- package/dist/components/switch/style.css +13 -17
- package/dist/components/symbol/main.d.ts +1 -1
- package/dist/components/symbol/main.d.ts.map +1 -1
- package/dist/components/symbol/main.js +6 -5
- package/dist/components/symbol/main.js.map +1 -1
- package/dist/components/symbol/props.d.ts +3 -3
- package/dist/components/symbol/style.css +1 -1
- 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 +78 -59
- package/dist/components/tab-bar/main.js.map +1 -1
- package/dist/components/tab-bar/props.d.ts +3 -3
- package/dist/components/tab-bar/style.css +92 -56
- 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 +26 -28
- package/dist/components/text-field/main.js.map +1 -1
- package/dist/components/text-field/props.d.ts +16 -1
- package/dist/components/text-field/props.d.ts.map +1 -1
- package/dist/components/text-field/style.css +105 -31
- package/dist/components/toolbar/main.d.ts.map +1 -1
- package/dist/components/toolbar/main.js +18 -20
- 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 +13 -13
- package/dist/components/tooltip/main.js +4 -4
- package/dist/components/tooltip/main.js.map +1 -1
- package/dist/components/tooltip/style.css +5 -5
- 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 +10 -12
- package/dist/components/typography/main.js.map +1 -1
- package/dist/components/typography/props.d.ts +9 -9
- package/dist/components/typography/props.d.ts.map +1 -1
- package/dist/components/typography/style.css +503 -503
- package/dist/components/utils/main.d.ts +47 -6
- package/dist/components/utils/main.d.ts.map +1 -1
- package/dist/components/utils/main.js +155 -5
- package/dist/components/utils/main.js.map +1 -1
- package/dist/components/utils/props.d.ts +24 -3
- package/dist/components/utils/props.d.ts.map +1 -1
- package/dist/components/utils/style.css +4 -4
- 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 +19 -3
- package/dist/components/viewport/input.d.ts.map +1 -1
- package/dist/components/viewport/input.js +197 -12
- package/dist/components/viewport/input.js.map +1 -1
- package/dist/components/viewport/main.d.ts +9 -4
- package/dist/components/viewport/main.d.ts.map +1 -1
- package/dist/components/viewport/main.js +326 -89
- package/dist/components/viewport/main.js.map +1 -1
- package/dist/components/viewport/padding.d.ts +31 -3
- package/dist/components/viewport/padding.d.ts.map +1 -1
- package/dist/components/viewport/padding.js +111 -16
- package/dist/components/viewport/padding.js.map +1 -1
- package/dist/components/viewport/props.d.ts +69 -8
- package/dist/components/viewport/props.d.ts.map +1 -1
- package/dist/components/viewport/style.css +211 -6
- package/dist/styles.css +285 -302
- package/package.json +3 -4
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,7 +7,7 @@
|
|
|
7
7
|
color-scheme: light dark;
|
|
8
8
|
|
|
9
9
|
/*
|
|
10
|
-
* The safe area insets (
|
|
10
|
+
* The safe area insets (a camera cutout, the home indicator,
|
|
11
11
|
* the rounded corners): the device's, or an app's (e.g. a frame
|
|
12
12
|
* emulating a device). A component keeping a side clear sets it to 0px
|
|
13
13
|
* for its content (e.g. Viewport's layers, Page, Sheet).
|
|
@@ -18,206 +18,199 @@
|
|
|
18
18
|
--uikit-safe-area-inset-left: env(safe-area-inset-left, 0px);
|
|
19
19
|
|
|
20
20
|
/*
|
|
21
|
-
* Grayscale antialiasing
|
|
22
|
-
* Figma renders text the same way)
|
|
21
|
+
* Grayscale antialiasing (Framework7 components/app/app.less)
|
|
23
22
|
*/
|
|
24
23
|
-webkit-font-smoothing: antialiased;
|
|
25
24
|
|
|
26
25
|
/*
|
|
27
|
-
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
* 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
|
|
32
29
|
*/
|
|
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-
|
|
77
|
-
--font-
|
|
78
|
-
--font-
|
|
79
|
-
--font-
|
|
80
|
-
--font-
|
|
81
|
-
--font-
|
|
82
|
-
--font-
|
|
83
|
-
--font-
|
|
84
|
-
--font-
|
|
85
|
-
--font-
|
|
86
|
-
--font-
|
|
87
|
-
--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;
|
|
88
85
|
|
|
89
86
|
/*
|
|
90
|
-
* App tint
|
|
87
|
+
* App tint, systemBlue unless overridden
|
|
91
88
|
*
|
|
92
89
|
* tint/shade: HSL lightness +/- 8% (Konsta UI color-utils/ios-colors.js)
|
|
93
90
|
*/
|
|
94
|
-
--color-
|
|
95
|
-
--color-
|
|
96
|
-
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)
|
|
97
94
|
);
|
|
98
|
-
--color-
|
|
99
|
-
from var(--color-
|
|
95
|
+
--color-ui-primary-shade: hsl(
|
|
96
|
+
from var(--color-ui-primary) h s calc(l - 8)
|
|
100
97
|
);
|
|
101
98
|
|
|
102
99
|
/*
|
|
103
|
-
*
|
|
100
|
+
* Semantic colors
|
|
104
101
|
*
|
|
105
|
-
* - system grays and system colors
|
|
106
|
-
*
|
|
107
|
-
*
|
|
108
|
-
* published in the HIG); label and tertiary-system-fill match the
|
|
109
|
-
* iOS 26 Figma, system-fill (light) is the Figma value (switch and
|
|
110
|
-
* 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
|
|
111
105
|
*/
|
|
112
|
-
--color-
|
|
113
|
-
--color-
|
|
106
|
+
--color-ui-label: light-dark(rgb(0 0 0), rgb(255 255 255));
|
|
107
|
+
--color-ui-secondary-label: light-dark(
|
|
114
108
|
rgb(60 60 67 / 60%),
|
|
115
109
|
rgb(235 235 245 / 60%)
|
|
116
110
|
);
|
|
117
|
-
--color-
|
|
111
|
+
--color-ui-tertiary-label: light-dark(
|
|
118
112
|
rgb(60 60 67 / 30%),
|
|
119
113
|
rgb(235 235 245 / 30%)
|
|
120
114
|
);
|
|
121
|
-
--color-
|
|
115
|
+
--color-ui-quaternary-label: light-dark(
|
|
122
116
|
rgb(60 60 67 / 18%),
|
|
123
117
|
rgb(235 235 245 / 16%)
|
|
124
118
|
);
|
|
125
|
-
--color-
|
|
119
|
+
--color-ui-placeholder-text: light-dark(
|
|
126
120
|
rgb(60 60 67 / 30%),
|
|
127
121
|
rgb(235 235 245 / 30%)
|
|
128
122
|
);
|
|
129
|
-
--color-
|
|
130
|
-
--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));
|
|
131
125
|
|
|
132
|
-
/*
|
|
133
|
-
--color-
|
|
126
|
+
/* A segmented control's selected segment. */
|
|
127
|
+
--color-ui-segmented-selection: light-dark(
|
|
134
128
|
rgb(255 255 255),
|
|
135
129
|
rgb(108 108 113)
|
|
136
130
|
);
|
|
137
|
-
--color-
|
|
138
|
-
--color-
|
|
131
|
+
--color-ui-link: light-dark(rgb(0 122 255), rgb(9 132 255));
|
|
132
|
+
--color-ui-system-fill: light-dark(
|
|
139
133
|
rgb(120 120 120 / 20%),
|
|
140
134
|
rgb(120 120 128 / 36%)
|
|
141
135
|
);
|
|
142
|
-
--color-
|
|
136
|
+
--color-ui-secondary-system-fill: light-dark(
|
|
143
137
|
rgb(120 120 128 / 16%),
|
|
144
138
|
rgb(120 120 128 / 32%)
|
|
145
139
|
);
|
|
146
|
-
--color-
|
|
140
|
+
--color-ui-tertiary-system-fill: light-dark(
|
|
147
141
|
rgb(118 118 128 / 12%),
|
|
148
142
|
rgb(118 118 128 / 24%)
|
|
149
143
|
);
|
|
150
|
-
--color-
|
|
144
|
+
--color-ui-quaternary-system-fill: light-dark(
|
|
151
145
|
rgb(116 116 128 / 8%),
|
|
152
146
|
rgb(118 118 128 / 18%)
|
|
153
147
|
);
|
|
154
|
-
--color-
|
|
155
|
-
--color-
|
|
148
|
+
--color-ui-system-background: light-dark(rgb(255 255 255), rgb(0 0 0));
|
|
149
|
+
--color-ui-secondary-system-background: light-dark(
|
|
156
150
|
rgb(242 242 247),
|
|
157
151
|
rgb(28 28 30)
|
|
158
152
|
);
|
|
159
|
-
--color-
|
|
153
|
+
--color-ui-tertiary-system-background: light-dark(
|
|
160
154
|
rgb(255 255 255),
|
|
161
155
|
rgb(44 44 46)
|
|
162
156
|
);
|
|
163
|
-
--color-
|
|
157
|
+
--color-ui-system-grouped-background: light-dark(
|
|
164
158
|
rgb(242 242 247),
|
|
165
159
|
rgb(0 0 0)
|
|
166
160
|
);
|
|
167
|
-
--color-
|
|
161
|
+
--color-ui-secondary-system-grouped-background: light-dark(
|
|
168
162
|
rgb(255 255 255),
|
|
169
163
|
rgb(28 28 30)
|
|
170
164
|
);
|
|
171
|
-
--color-
|
|
165
|
+
--color-ui-tertiary-system-grouped-background: light-dark(
|
|
172
166
|
rgb(242 242 247),
|
|
173
167
|
rgb(44 44 46)
|
|
174
168
|
);
|
|
175
|
-
--color-
|
|
176
|
-
--color-
|
|
177
|
-
--color-
|
|
178
|
-
--color-
|
|
179
|
-
--color-
|
|
180
|
-
--color-
|
|
181
|
-
--color-
|
|
182
|
-
--color-
|
|
183
|
-
--color-
|
|
184
|
-
--color-
|
|
185
|
-
--color-
|
|
186
|
-
--color-
|
|
187
|
-
--color-
|
|
188
|
-
--color-
|
|
189
|
-
--color-
|
|
190
|
-
--color-
|
|
191
|
-
--color-
|
|
192
|
-
--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));
|
|
193
187
|
|
|
194
188
|
@media (prefers-contrast: more) {
|
|
195
|
-
--color-
|
|
196
|
-
--color-
|
|
197
|
-
--color-
|
|
198
|
-
--color-
|
|
199
|
-
--color-
|
|
200
|
-
--color-
|
|
201
|
-
--color-
|
|
202
|
-
--color-
|
|
203
|
-
--color-
|
|
204
|
-
--color-
|
|
205
|
-
--color-
|
|
206
|
-
--color-
|
|
207
|
-
--color-
|
|
208
|
-
--color-
|
|
209
|
-
--color-
|
|
210
|
-
--color-
|
|
211
|
-
--color-
|
|
212
|
-
--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));
|
|
213
207
|
}
|
|
214
208
|
|
|
215
209
|
/*
|
|
216
|
-
*
|
|
210
|
+
* Glass materials for dim and bright content behind the glass
|
|
217
211
|
*
|
|
218
|
-
*
|
|
219
|
-
* -
|
|
220
|
-
* - 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
|
|
221
214
|
* modes, at the layer's opacity, drawn without blending as a backdrop
|
|
222
215
|
* filter and a flat color. The fills are linear in each channel of the
|
|
223
216
|
* backdrop b: bright (color-dodge #333, #fff 50%, multiply #F7F7F7):
|
|
@@ -227,42 +220,39 @@
|
|
|
227
220
|
* blends an element only with what is on its compositing layer: the
|
|
228
221
|
* fills, above the blur's backdrop filter (a layer of its own), would
|
|
229
222
|
* blend with nothing (bright glass turns gray).
|
|
230
|
-
* - content/selection: vibrant tab content and selection (
|
|
231
|
-
* semantic equivalent); the selection (#121212 plus-lighter, #ededed
|
|
223
|
+
* - content/selection: vibrant tab content and selection; the selection (#121212 plus-lighter, #ededed
|
|
232
224
|
* plus-darker) is drawn as its unblended equivalent (white, black at
|
|
233
225
|
* 7%): WebKit blends an element composited on a layer of its own
|
|
234
226
|
* (e.g. while it moves) with that layer's transparent backdrop only,
|
|
235
227
|
* drawing the dim selection nearly black, as with menus (see below)
|
|
236
228
|
* - content-disabled, content-prominent(-disabled): labels of glass
|
|
237
|
-
* buttons (
|
|
238
|
-
*
|
|
239
|
-
*
|
|
240
|
-
*
|
|
241
|
-
* The “Glass Effect” layer (a Figma layer effect, not part of the CSS
|
|
242
|
-
* 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
|
|
243
233
|
* (--f7-glass-shadow, light for bright, dark for dim) and Konsta UI
|
|
244
234
|
* styles/glass.css (--shadow-ios-light-glass, --shadow-ios-dark-glass).
|
|
245
235
|
* - lens: pressed selection, Framework7 components/toolbar/toolbar-vars.less
|
|
246
236
|
* (--f7-tabbar-link-highlight-active-bg-color) and app-vars.less
|
|
247
237
|
* (--f7-glass-shadow-thumb), light for bright, dark for dim; see
|
|
248
|
-
* --glass-
|
|
238
|
+
* --glass-ui-lens-* below
|
|
249
239
|
* plus-darker is drawn as multiply, which darkens by a similar amount
|
|
250
240
|
* for these light colors: Chromium doesn't support it, and WebKit draws
|
|
251
241
|
* it black where the glass is composited separately (a layer of its
|
|
252
242
|
* own, e.g. while transitioning).
|
|
253
243
|
*/
|
|
254
|
-
--glass-
|
|
255
|
-
--glass-
|
|
256
|
-
--glass-
|
|
257
|
-
--glass-
|
|
258
|
-
--glass-
|
|
259
|
-
--glass-
|
|
260
|
-
--glass-
|
|
261
|
-
--glass-
|
|
262
|
-
--glass-
|
|
263
|
-
--glass-
|
|
264
|
-
--glass-
|
|
265
|
-
--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:
|
|
266
256
|
inset 3px 3px 0 -3.5px rgb(255 255 255),
|
|
267
257
|
inset -3px -3px 0 -3.5px rgb(255 255 255),
|
|
268
258
|
inset -0.5px -0.5px 0 rgb(255 255 255 / 50%),
|
|
@@ -270,30 +260,30 @@
|
|
|
270
260
|
inset -3px 3px 0 -3.5px rgb(255 255 255 / 25%),
|
|
271
261
|
inset 0 -5px 0 -3.5px rgb(255 255 255 / 25%),
|
|
272
262
|
inset 0 -5px 5px rgb(255 255 255 / 25%);
|
|
273
|
-
--glass-
|
|
263
|
+
--glass-ui-dim-shadow:
|
|
274
264
|
inset -2px -2px 0.5px -2.5px rgb(255 255 255 / 40%),
|
|
275
265
|
inset 3px 3px 0.5px -3.5px rgb(255 255 255 / 40%),
|
|
276
266
|
inset 2px 2px 0.5px -2px #262626, inset -2px -2px 0.5px -2px #262626,
|
|
277
267
|
inset 0 0 5px 1px #141414, inset 0 0 0 1px rgb(255 255 255 / 15%),
|
|
278
268
|
inset 0 0 10px 0 rgb(255 255 255 / 7.5%),
|
|
279
269
|
inset 0 0 24px 0 rgb(255 255 255 / 5%), 0 0 25px 0 rgb(0 0 0 / 15%);
|
|
280
|
-
--glass-
|
|
281
|
-
--glass-
|
|
282
|
-
--glass-
|
|
283
|
-
--glass-
|
|
284
|
-
--glass-
|
|
285
|
-
--glass-
|
|
286
|
-
--glass-
|
|
287
|
-
--glass-
|
|
288
|
-
--glass-
|
|
289
|
-
--glass-
|
|
290
|
-
--glass-
|
|
291
|
-
--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:
|
|
292
282
|
inset -3px -3px 0 -3.5px rgb(255 255 255),
|
|
293
283
|
inset 3px 3px 0 -3.5px rgb(255 255 255),
|
|
294
284
|
inset 0 0 0 0.5px rgb(255 255 255 / 50%), inset 3px 3px 10px -2px #eee,
|
|
295
285
|
inset -3px -3px 10px -2px #eee, inset 0 0 5px 1px #fff;
|
|
296
|
-
--glass-
|
|
286
|
+
--glass-ui-bright-shadow:
|
|
297
287
|
inset -1px -1px 0 -0.5px rgb(255 255 255),
|
|
298
288
|
inset 1px 1px 0 -0.5px rgb(255 255 255), inset 3px 3px 10px -3px #ddd,
|
|
299
289
|
inset -3px -3px 10px -3px #ddd, inset 0 0 5px 1px #fff,
|
|
@@ -303,77 +293,74 @@
|
|
|
303
293
|
/*
|
|
304
294
|
* Glass over a background of the app's (a picture, colors; not a plain
|
|
305
295
|
* page), bright or dim (user): bright's and dim's content, lenses and
|
|
306
|
-
* selections, but floating over it
|
|
307
|
-
* 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
|
|
308
297
|
* start), and a soft shadow outside, without bright's white halo or
|
|
309
298
|
* dim's dark inner bands.
|
|
310
299
|
*/
|
|
311
|
-
--glass-
|
|
312
|
-
--glass-
|
|
313
|
-
--glass-
|
|
314
|
-
--glass-
|
|
315
|
-
--glass-
|
|
316
|
-
--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
|
|
317
306
|
);
|
|
318
|
-
--glass-
|
|
319
|
-
--glass-
|
|
307
|
+
--glass-ui-background-bright-content-disabled: var(
|
|
308
|
+
--glass-ui-bright-content-disabled
|
|
320
309
|
);
|
|
321
|
-
--glass-
|
|
322
|
-
--glass-
|
|
310
|
+
--glass-ui-background-bright-content-prominent: var(
|
|
311
|
+
--glass-ui-bright-content-prominent
|
|
323
312
|
);
|
|
324
|
-
--glass-
|
|
325
|
-
--glass-
|
|
313
|
+
--glass-ui-background-bright-content-prominent-blend: var(
|
|
314
|
+
--glass-ui-bright-content-prominent-blend
|
|
326
315
|
);
|
|
327
|
-
--glass-
|
|
328
|
-
--glass-
|
|
316
|
+
--glass-ui-background-bright-content-prominent-disabled: var(
|
|
317
|
+
--glass-ui-bright-content-prominent-disabled
|
|
329
318
|
);
|
|
330
|
-
--glass-
|
|
331
|
-
--glass-
|
|
332
|
-
--glass-
|
|
333
|
-
--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
|
|
334
323
|
);
|
|
335
|
-
--glass-
|
|
324
|
+
--glass-ui-background-bright-shadow:
|
|
336
325
|
inset 0 0 0 0.5px rgb(255 255 255 / 50%),
|
|
337
326
|
inset 1px 1px 0 -0.5px rgb(255 255 255 / 80%),
|
|
338
327
|
inset -1px -1px 0 -0.5px rgb(255 255 255 / 40%),
|
|
339
328
|
0 2px 12px rgb(0 0 0 / 12%);
|
|
340
|
-
--glass-
|
|
341
|
-
--glass-
|
|
342
|
-
--glass-
|
|
343
|
-
--glass-
|
|
344
|
-
--glass-
|
|
345
|
-
--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
|
|
346
335
|
);
|
|
347
|
-
--glass-
|
|
348
|
-
--glass-
|
|
336
|
+
--glass-ui-background-dim-content-disabled: var(
|
|
337
|
+
--glass-ui-dim-content-disabled
|
|
349
338
|
);
|
|
350
|
-
--glass-
|
|
351
|
-
--glass-
|
|
339
|
+
--glass-ui-background-dim-content-prominent: var(
|
|
340
|
+
--glass-ui-dim-content-prominent
|
|
352
341
|
);
|
|
353
|
-
--glass-
|
|
354
|
-
--glass-
|
|
342
|
+
--glass-ui-background-dim-content-prominent-blend: var(
|
|
343
|
+
--glass-ui-dim-content-prominent-blend
|
|
355
344
|
);
|
|
356
|
-
--glass-
|
|
357
|
-
--glass-
|
|
345
|
+
--glass-ui-background-dim-content-prominent-disabled: var(
|
|
346
|
+
--glass-ui-dim-content-prominent-disabled
|
|
358
347
|
);
|
|
359
|
-
--glass-
|
|
360
|
-
--glass-
|
|
361
|
-
--glass-
|
|
362
|
-
--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:
|
|
363
352
|
inset 0 0 0 0.5px rgb(255 255 255 / 25%),
|
|
364
353
|
inset 1px 1px 0 -0.5px rgb(255 255 255 / 50%),
|
|
365
354
|
inset -1px -1px 0 -0.5px rgb(255 255 255 / 20%),
|
|
366
355
|
0 2px 12px rgb(0 0 0 / 25%);
|
|
367
356
|
|
|
368
357
|
/*
|
|
369
|
-
*
|
|
370
|
-
*
|
|
371
|
-
* Source: Apple iOS 26 Figma (Menus: “Liquid Glass - Medium”, Mode=Light
|
|
372
|
-
* and Dark) for the content on it:
|
|
358
|
+
* The “Medium” glass material (menus, edit menus), by color scheme, for
|
|
359
|
+
* the content on it:
|
|
373
360
|
* - content, content-secondary (subtitles, shortcuts), content-disabled
|
|
374
361
|
* (also section titles), with their blend mode
|
|
375
362
|
* - separator (menus), divider (between edit menu actions)
|
|
376
|
-
* - selection: highlighted items, open submenu (
|
|
363
|
+
* - selection: highlighted items, open submenu (regular), quick actions,
|
|
377
364
|
* edit menu “more”: #ededed plus-darker, #121212 plus-lighter, drawn
|
|
378
365
|
* as their equivalent on white or black without blending (black,
|
|
379
366
|
* white at 7%): the popup's glass (a backdrop filter) isolates its
|
|
@@ -384,41 +371,40 @@
|
|
|
384
371
|
* The material itself is Framework7's popover glass (popover-ios.less
|
|
385
372
|
* .popover-inner, mixins.less .ios-glass()): a flat background
|
|
386
373
|
* (app-vars.less --f7-glass-bg-color) with backdrop blur and the glass
|
|
387
|
-
* shadow (bright in light, dim in dark mode, as above).
|
|
388
|
-
*
|
|
389
|
-
*
|
|
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.
|
|
390
377
|
*/
|
|
391
|
-
--glass-
|
|
392
|
-
--glass-
|
|
393
|
-
--glass-
|
|
394
|
-
--glass-
|
|
395
|
-
--glass-
|
|
396
|
-
--glass-
|
|
397
|
-
--glass-
|
|
398
|
-
--glass-
|
|
399
|
-
--glass-
|
|
400
|
-
--glass-
|
|
401
|
-
--glass-
|
|
402
|
-
--glass-
|
|
403
|
-
--glass-
|
|
404
|
-
--glass-
|
|
405
|
-
--glass-
|
|
406
|
-
--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%);
|
|
407
394
|
|
|
408
395
|
/*
|
|
409
396
|
* Tinted glass (prominent glass buttons), the same in both contexts
|
|
410
397
|
*
|
|
411
|
-
*
|
|
412
|
-
* layer: the tint (#0091FF in both contexts, also where the system tint
|
|
398
|
+
* The tint (#0091FF in both contexts, also where the system tint
|
|
413
399
|
* is #0088FF), then its fills (bottom to top) with their blend modes, and
|
|
414
400
|
* its shadow. plus-darker is drawn as multiply, as above.
|
|
415
401
|
*/
|
|
416
|
-
--glass-
|
|
417
|
-
--glass-
|
|
418
|
-
--glass-
|
|
419
|
-
--glass-
|
|
420
|
-
--glass-
|
|
421
|
-
--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:
|
|
422
408
|
0 0 2px rgb(0 0 0 / 10%), 0 1px 8px rgb(0 0 0 / 12%);
|
|
423
409
|
|
|
424
410
|
/*
|
|
@@ -431,41 +417,38 @@
|
|
|
431
417
|
* content-scale: content on a lens (glass buttons) scales up less than
|
|
432
418
|
* the lens (seen on a device; the value is an estimate).
|
|
433
419
|
*/
|
|
434
|
-
--glass-
|
|
435
|
-
--glass-
|
|
436
|
-
--glass-
|
|
437
|
-
--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);
|
|
438
424
|
|
|
439
425
|
/*
|
|
440
|
-
* List separators, blended with the list's background (
|
|
441
|
-
*
|
|
442
|
-
*
|
|
443
|
-
* Source: Apple iOS 26 Figma (Lists and tables: “_Separator”, Mode=Light
|
|
444
|
-
* 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,
|
|
445
428
|
* drawn as their unblended equivalent (black at 10%: exact; white at
|
|
446
429
|
* 11%: exact on dark rows, #1C1C1E): WebKit blends rows on a layer of
|
|
447
430
|
* their own (e.g. while swiped) with nothing, as the glass above.
|
|
448
431
|
*/
|
|
449
|
-
--color-
|
|
432
|
+
--color-ui-list-separator: light-dark(
|
|
450
433
|
rgb(0 0 0 / 10%),
|
|
451
434
|
rgb(255 255 255 / 11%)
|
|
452
435
|
);
|
|
453
436
|
|
|
454
437
|
/*
|
|
455
|
-
* Section titles of plain lists, opaque
|
|
438
|
+
* Section titles of plain lists, opaque
|
|
456
439
|
*
|
|
457
440
|
* Source: Framework7 components/contacts-list/contacts-list-vars.less
|
|
458
441
|
* (--f7-contacts-list-title-bg-color)
|
|
459
442
|
*/
|
|
460
|
-
--color-
|
|
443
|
+
--color-ui-list-section-title-background: light-dark(#f7f7f7, #323234);
|
|
461
444
|
|
|
462
445
|
/*
|
|
463
|
-
* The shadow of a row being reordered, lifted
|
|
446
|
+
* The shadow of a row being reordered, lifted
|
|
464
447
|
*
|
|
465
448
|
* Source: Framework7 components/sortable/sortable-vars.less
|
|
466
449
|
* (--f7-sortable-sorting-item-box-shadow)
|
|
467
450
|
*/
|
|
468
|
-
--shadow-
|
|
451
|
+
--shadow-ui-list-reorder: 0 2px 8px rgb(0 0 0 / 60%);
|
|
469
452
|
}
|
|
470
453
|
|
|
471
454
|
/* A color scheme forced (see `useColorScheme`): on the root element, or
|
|
@@ -474,76 +457,76 @@
|
|
|
474
457
|
[data-color-scheme='light'] {
|
|
475
458
|
color-scheme: light;
|
|
476
459
|
|
|
477
|
-
--glass-
|
|
460
|
+
--glass-ui-lens-shadow: var(--glass-ui-bright-lens-shadow);
|
|
478
461
|
}
|
|
479
462
|
|
|
480
463
|
[data-color-scheme='dark'] {
|
|
481
464
|
color-scheme: dark;
|
|
482
465
|
|
|
483
|
-
--glass-
|
|
466
|
+
--glass-ui-lens-shadow: var(--glass-ui-dim-lens-shadow);
|
|
484
467
|
}
|
|
485
468
|
|
|
486
469
|
@media (prefers-color-scheme: dark) {
|
|
487
470
|
:root:not([data-color-scheme='light']) {
|
|
488
|
-
--glass-
|
|
471
|
+
--glass-ui-lens-shadow: var(--glass-ui-dim-lens-shadow);
|
|
489
472
|
}
|
|
490
473
|
}
|
|
491
474
|
|
|
492
475
|
/* Accessibility: glass made opaque (see opaqueGlass). */
|
|
493
476
|
@media (prefers-reduced-transparency: reduce) {
|
|
494
477
|
:root {
|
|
495
|
-
--glass-
|
|
496
|
-
--glass-
|
|
497
|
-
--glass-
|
|
498
|
-
--glass-
|
|
499
|
-
--glass-
|
|
500
|
-
--glass-
|
|
501
|
-
--glass-
|
|
502
|
-
--glass-
|
|
503
|
-
--glass-
|
|
504
|
-
--glass-
|
|
505
|
-
--glass-
|
|
506
|
-
--glass-
|
|
507
|
-
--glass-
|
|
508
|
-
--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);
|
|
509
492
|
}
|
|
510
493
|
}
|
|
511
494
|
|
|
512
495
|
@media (prefers-contrast: more) {
|
|
513
496
|
:root {
|
|
514
|
-
--glass-
|
|
515
|
-
--glass-
|
|
516
|
-
--glass-
|
|
517
|
-
--glass-
|
|
518
|
-
--glass-
|
|
519
|
-
--glass-
|
|
520
|
-
--glass-
|
|
521
|
-
--glass-
|
|
522
|
-
--glass-
|
|
523
|
-
--glass-
|
|
524
|
-
--glass-
|
|
525
|
-
--glass-
|
|
526
|
-
--glass-
|
|
527
|
-
--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);
|
|
528
511
|
}
|
|
529
512
|
}
|
|
530
513
|
|
|
531
514
|
@media (forced-colors: active) {
|
|
532
515
|
:root {
|
|
533
|
-
--glass-
|
|
534
|
-
--glass-
|
|
535
|
-
--glass-
|
|
536
|
-
--glass-
|
|
537
|
-
--glass-
|
|
538
|
-
--glass-
|
|
539
|
-
--glass-
|
|
540
|
-
--glass-
|
|
541
|
-
--glass-
|
|
542
|
-
--glass-
|
|
543
|
-
--glass-
|
|
544
|
-
--glass-
|
|
545
|
-
--glass-
|
|
546
|
-
--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);
|
|
547
530
|
}
|
|
548
531
|
}
|
|
549
532
|
}
|