@plexui/styles 0.1.46 → 0.3.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/es/components/Accordion/Accordion.module.css +54 -1
- package/dist/es/components/Alert/Alert.module.css +75 -37
- package/dist/es/components/Button/Button.module.css +36 -28
- package/dist/es/components/ButtonGroup/ButtonGroup.module.css +15 -3
- package/dist/es/components/ColorPicker/ColorPicker.module.css +42 -70
- package/dist/es/components/ContextMenu/ContextMenu.module.css +1 -1
- package/dist/es/components/DatePicker/Calendar.module.css +17 -15
- package/dist/es/components/DateRangePicker/Calendar.module.css +17 -69
- package/dist/es/components/Dialog/Dialog.module.css +169 -70
- package/dist/es/components/EmptyMessage/EmptyMessage.module.css +12 -8
- package/dist/es/components/Field/Field.module.css +56 -22
- package/dist/es/components/FieldGroup/FieldGroup.module.css +5 -5
- package/dist/es/components/FileUpload/FileUpload.module.css +2 -2
- package/dist/es/components/Input/Input.module.css +100 -18
- package/dist/es/components/Menu/Menu.module.css +38 -42
- package/dist/es/components/Page/Page.module.css +38 -0
- package/dist/es/components/Popover/Popover.module.css +10 -11
- package/dist/es/components/ProgressSteps/ProgressSteps.module.css +17 -0
- package/dist/es/components/RadioGroup/RadioGroup.module.css +7 -3
- package/dist/es/components/Select/Select.module.css +304 -42
- package/dist/es/components/SelectControl/SelectControl.module.css +34 -10
- package/dist/es/components/Sidebar/Sidebar.module.css +6 -4
- package/dist/es/components/Slider/Slider.module.css +46 -2
- package/dist/es/components/Sortable/Sortable.module.css +3 -2
- package/dist/es/components/StatsCard/StatsCard.module.css +269 -0
- package/dist/es/components/Stepper/Stepper.module.css +7 -4
- package/dist/es/components/SwipeActions/SwipeActions.module.css +32 -17
- package/dist/es/components/Switch/Switch.module.css +6 -5
- package/dist/es/components/TabBar/TabBar.module.css +128 -12
- package/dist/es/components/Tabs/Tabs.module.css +240 -45
- package/dist/es/components/Toast/Toast.module.css +47 -24
- package/dist/es/components/Toolbar/Toolbar.module.css +120 -62
- package/dist/es/styles/geist-mono-fonts/LICENSE +93 -0
- package/dist/es/styles/geist-mono-fonts/geist-mono-cyrillic-ext-wght-italic.woff2 +0 -0
- package/dist/es/styles/geist-mono-fonts/geist-mono-cyrillic-ext-wght-normal.woff2 +0 -0
- package/dist/es/styles/geist-mono-fonts/geist-mono-cyrillic-wght-italic.woff2 +0 -0
- package/dist/es/styles/geist-mono-fonts/geist-mono-cyrillic-wght-normal.woff2 +0 -0
- package/dist/es/styles/geist-mono-fonts/geist-mono-latin-ext-wght-italic.woff2 +0 -0
- package/dist/es/styles/geist-mono-fonts/geist-mono-latin-ext-wght-normal.woff2 +0 -0
- package/dist/es/styles/geist-mono-fonts/geist-mono-latin-wght-italic.woff2 +0 -0
- package/dist/es/styles/geist-mono-fonts/geist-mono-latin-wght-normal.woff2 +0 -0
- package/dist/es/styles/geist-mono-fonts/geist-mono-symbols2-wght-italic.woff2 +0 -0
- package/dist/es/styles/geist-mono-fonts/geist-mono-symbols2-wght-normal.woff2 +0 -0
- package/dist/es/styles/geist-mono-fonts/geist-mono-vietnamese-wght-italic.woff2 +0 -0
- package/dist/es/styles/geist-mono-fonts/geist-mono-vietnamese-wght-normal.woff2 +0 -0
- package/dist/es/styles/geist-mono.css +124 -0
- package/dist/es/styles/index.css +3 -0
- package/dist/es/styles/inter-fonts/LICENSE +93 -0
- package/dist/es/styles/inter-fonts/inter-cyrillic-ext-opsz-italic.woff2 +0 -0
- package/dist/es/styles/inter-fonts/inter-cyrillic-ext-opsz-normal.woff2 +0 -0
- package/dist/es/styles/inter-fonts/inter-cyrillic-opsz-italic.woff2 +0 -0
- package/dist/es/styles/inter-fonts/inter-cyrillic-opsz-normal.woff2 +0 -0
- package/dist/es/styles/inter-fonts/inter-greek-ext-opsz-italic.woff2 +0 -0
- package/dist/es/styles/inter-fonts/inter-greek-ext-opsz-normal.woff2 +0 -0
- package/dist/es/styles/inter-fonts/inter-greek-opsz-italic.woff2 +0 -0
- package/dist/es/styles/inter-fonts/inter-greek-opsz-normal.woff2 +0 -0
- package/dist/es/styles/inter-fonts/inter-latin-ext-opsz-italic.woff2 +0 -0
- package/dist/es/styles/inter-fonts/inter-latin-ext-opsz-normal.woff2 +0 -0
- package/dist/es/styles/inter-fonts/inter-latin-opsz-italic.woff2 +0 -0
- package/dist/es/styles/inter-fonts/inter-latin-opsz-normal.woff2 +0 -0
- package/dist/es/styles/inter-fonts/inter-vietnamese-opsz-italic.woff2 +0 -0
- package/dist/es/styles/inter-fonts/inter-vietnamese-opsz-normal.woff2 +0 -0
- package/dist/es/styles/inter.css +142 -0
- package/dist/es/styles/mobile-materials.css +65 -24
- package/dist/es/styles/tailwind-utilities.css +8 -0
- package/dist/es/styles/touch.css +357 -169
- package/dist/es/styles/variables-components.css +255 -138
- package/dist/es/styles/variables-semantic.css +30 -5
- package/dist/es/styles/variables-tailwind-theme.css +2 -4
- package/dist/es/styles/variables-tokens-root.css +70 -4
- package/package.json +1 -1
- package/dist/es/components/StatCard/StatCard.module.css +0 -234
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
Copyright 2016 The Inter Project Authors (https://github.com/rsms/inter) Inter-Italic[opsz,wght].ttf: Copyright 2016 The Inter Project Authors (https://github.com/rsms/inter)
|
|
2
|
+
|
|
3
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
4
|
+
This license is copied below, and is also available with a FAQ at:
|
|
5
|
+
http://scripts.sil.org/OFL
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
-----------------------------------------------------------
|
|
9
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
10
|
+
-----------------------------------------------------------
|
|
11
|
+
|
|
12
|
+
PREAMBLE
|
|
13
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
14
|
+
development of collaborative font projects, to support the font creation
|
|
15
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
16
|
+
open framework in which fonts may be shared and improved in partnership
|
|
17
|
+
with others.
|
|
18
|
+
|
|
19
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
20
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
21
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
22
|
+
redistributed and/or sold with any software provided that any reserved
|
|
23
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
24
|
+
however, cannot be released under any other type of license. The
|
|
25
|
+
requirement for fonts to remain under this license does not apply
|
|
26
|
+
to any document created using the fonts or their derivatives.
|
|
27
|
+
|
|
28
|
+
DEFINITIONS
|
|
29
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
30
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
31
|
+
include source files, build scripts and documentation.
|
|
32
|
+
|
|
33
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
34
|
+
copyright statement(s).
|
|
35
|
+
|
|
36
|
+
"Original Version" refers to the collection of Font Software components as
|
|
37
|
+
distributed by the Copyright Holder(s).
|
|
38
|
+
|
|
39
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
40
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
41
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
42
|
+
new environment.
|
|
43
|
+
|
|
44
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
45
|
+
writer or other person who contributed to the Font Software.
|
|
46
|
+
|
|
47
|
+
PERMISSION & CONDITIONS
|
|
48
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
49
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
50
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
51
|
+
Software, subject to the following conditions:
|
|
52
|
+
|
|
53
|
+
1) Neither the Font Software nor any of its individual components,
|
|
54
|
+
in Original or Modified Versions, may be sold by itself.
|
|
55
|
+
|
|
56
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
57
|
+
redistributed and/or sold with any software, provided that each copy
|
|
58
|
+
contains the above copyright notice and this license. These can be
|
|
59
|
+
included either as stand-alone text files, human-readable headers or
|
|
60
|
+
in the appropriate machine-readable metadata fields within text or
|
|
61
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
62
|
+
|
|
63
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
64
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
65
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
66
|
+
presented to the users.
|
|
67
|
+
|
|
68
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
69
|
+
Software shall not be used to promote, endorse or advertise any
|
|
70
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
71
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
72
|
+
permission.
|
|
73
|
+
|
|
74
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
75
|
+
must be distributed entirely under this license, and must not be
|
|
76
|
+
distributed under any other license. The requirement for fonts to
|
|
77
|
+
remain under this license does not apply to any document created
|
|
78
|
+
using the Font Software.
|
|
79
|
+
|
|
80
|
+
TERMINATION
|
|
81
|
+
This license becomes null and void if any of the above conditions are
|
|
82
|
+
not met.
|
|
83
|
+
|
|
84
|
+
DISCLAIMER
|
|
85
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
86
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
87
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
88
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
89
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
90
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
91
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
92
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
93
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
/* Inter 4 (rsms/inter) by its variable files with the optical-size axis: text cut at 14px, display cut at 32px, any
|
|
2
|
+
weight 100–900. Fontsource @fontsource-variable/inter 5.3.0, SIL Open Font License 1.1 in inter-fonts/LICENSE.
|
|
3
|
+
Split by script, so a page downloads only the scripts it shows. The kit sets it as --font-sans
|
|
4
|
+
(variables-tokens-root.css). */
|
|
5
|
+
/* inter-cyrillic-ext-opsz-normal */
|
|
6
|
+
@font-face {
|
|
7
|
+
font-family: "Inter Variable";
|
|
8
|
+
font-style: normal;
|
|
9
|
+
font-display: swap;
|
|
10
|
+
font-weight: 100 900;
|
|
11
|
+
src: url("./inter-fonts/inter-cyrillic-ext-opsz-normal.woff2") format("woff2");
|
|
12
|
+
unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
/* inter-cyrillic-opsz-normal */
|
|
16
|
+
@font-face {
|
|
17
|
+
font-family: "Inter Variable";
|
|
18
|
+
font-style: normal;
|
|
19
|
+
font-display: swap;
|
|
20
|
+
font-weight: 100 900;
|
|
21
|
+
src: url("./inter-fonts/inter-cyrillic-opsz-normal.woff2") format("woff2");
|
|
22
|
+
unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
/* inter-greek-ext-opsz-normal */
|
|
26
|
+
@font-face {
|
|
27
|
+
font-family: "Inter Variable";
|
|
28
|
+
font-style: normal;
|
|
29
|
+
font-display: swap;
|
|
30
|
+
font-weight: 100 900;
|
|
31
|
+
src: url("./inter-fonts/inter-greek-ext-opsz-normal.woff2") format("woff2");
|
|
32
|
+
unicode-range: U+1F00-1FFF;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
/* inter-greek-opsz-normal */
|
|
36
|
+
@font-face {
|
|
37
|
+
font-family: "Inter Variable";
|
|
38
|
+
font-style: normal;
|
|
39
|
+
font-display: swap;
|
|
40
|
+
font-weight: 100 900;
|
|
41
|
+
src: url("./inter-fonts/inter-greek-opsz-normal.woff2") format("woff2");
|
|
42
|
+
unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/* inter-vietnamese-opsz-normal */
|
|
46
|
+
@font-face {
|
|
47
|
+
font-family: "Inter Variable";
|
|
48
|
+
font-style: normal;
|
|
49
|
+
font-display: swap;
|
|
50
|
+
font-weight: 100 900;
|
|
51
|
+
src: url("./inter-fonts/inter-vietnamese-opsz-normal.woff2") format("woff2");
|
|
52
|
+
unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
/* inter-latin-ext-opsz-normal */
|
|
56
|
+
@font-face {
|
|
57
|
+
font-family: "Inter Variable";
|
|
58
|
+
font-style: normal;
|
|
59
|
+
font-display: swap;
|
|
60
|
+
font-weight: 100 900;
|
|
61
|
+
src: url("./inter-fonts/inter-latin-ext-opsz-normal.woff2") format("woff2");
|
|
62
|
+
unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
/* inter-latin-opsz-normal */
|
|
66
|
+
@font-face {
|
|
67
|
+
font-family: "Inter Variable";
|
|
68
|
+
font-style: normal;
|
|
69
|
+
font-display: swap;
|
|
70
|
+
font-weight: 100 900;
|
|
71
|
+
src: url("./inter-fonts/inter-latin-opsz-normal.woff2") format("woff2");
|
|
72
|
+
unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
|
|
73
|
+
}
|
|
74
|
+
/* inter-cyrillic-ext-opsz-italic */
|
|
75
|
+
@font-face {
|
|
76
|
+
font-family: "Inter Variable";
|
|
77
|
+
font-style: italic;
|
|
78
|
+
font-display: swap;
|
|
79
|
+
font-weight: 100 900;
|
|
80
|
+
src: url("./inter-fonts/inter-cyrillic-ext-opsz-italic.woff2") format("woff2");
|
|
81
|
+
unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
/* inter-cyrillic-opsz-italic */
|
|
85
|
+
@font-face {
|
|
86
|
+
font-family: "Inter Variable";
|
|
87
|
+
font-style: italic;
|
|
88
|
+
font-display: swap;
|
|
89
|
+
font-weight: 100 900;
|
|
90
|
+
src: url("./inter-fonts/inter-cyrillic-opsz-italic.woff2") format("woff2");
|
|
91
|
+
unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
/* inter-greek-ext-opsz-italic */
|
|
95
|
+
@font-face {
|
|
96
|
+
font-family: "Inter Variable";
|
|
97
|
+
font-style: italic;
|
|
98
|
+
font-display: swap;
|
|
99
|
+
font-weight: 100 900;
|
|
100
|
+
src: url("./inter-fonts/inter-greek-ext-opsz-italic.woff2") format("woff2");
|
|
101
|
+
unicode-range: U+1F00-1FFF;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
/* inter-greek-opsz-italic */
|
|
105
|
+
@font-face {
|
|
106
|
+
font-family: "Inter Variable";
|
|
107
|
+
font-style: italic;
|
|
108
|
+
font-display: swap;
|
|
109
|
+
font-weight: 100 900;
|
|
110
|
+
src: url("./inter-fonts/inter-greek-opsz-italic.woff2") format("woff2");
|
|
111
|
+
unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
/* inter-vietnamese-opsz-italic */
|
|
115
|
+
@font-face {
|
|
116
|
+
font-family: "Inter Variable";
|
|
117
|
+
font-style: italic;
|
|
118
|
+
font-display: swap;
|
|
119
|
+
font-weight: 100 900;
|
|
120
|
+
src: url("./inter-fonts/inter-vietnamese-opsz-italic.woff2") format("woff2");
|
|
121
|
+
unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
/* inter-latin-ext-opsz-italic */
|
|
125
|
+
@font-face {
|
|
126
|
+
font-family: "Inter Variable";
|
|
127
|
+
font-style: italic;
|
|
128
|
+
font-display: swap;
|
|
129
|
+
font-weight: 100 900;
|
|
130
|
+
src: url("./inter-fonts/inter-latin-ext-opsz-italic.woff2") format("woff2");
|
|
131
|
+
unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
/* inter-latin-opsz-italic */
|
|
135
|
+
@font-face {
|
|
136
|
+
font-family: "Inter Variable";
|
|
137
|
+
font-style: italic;
|
|
138
|
+
font-display: swap;
|
|
139
|
+
font-weight: 100 900;
|
|
140
|
+
src: url("./inter-fonts/inter-latin-opsz-italic.woff2") format("woff2");
|
|
141
|
+
unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
|
|
142
|
+
}
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
/* Mobile glass shared by Back, Close, More and the phone toolbar: the Liquid Glass of the iOS 27 kit's bar
|
|
2
2
|
buttons (Toolbars 507:25993, Buttons - 44pt 5432:23133). A translucent fill that lifts a dark backdrop and
|
|
3
3
|
dims a white one a little, a hairline outline with darker sides that keeps the capsule visible on any
|
|
4
|
-
background, a faint shadow, a
|
|
5
|
-
|
|
4
|
+
background, a faint shadow, and a thin rim of light along the top and the bottom edges that fades out at the
|
|
5
|
+
sides. No gradient across it (owner 10.11, again: «раз и навсегда»): native glass is flat from top to bottom
|
|
6
|
+
(ref-app glass-bands, iOS 27.2, @3x: bar and content buttons on white, the grouped background, gray, black,
|
|
7
|
+
blue and orange; light f9 on white and f3f3f8 on f2f2f7 all the way down, dark 1f on black), so the old
|
|
8
|
+
sheen, black 3% at the top and white 45% at the bottom, is gone. The kit draws that rim on the top-left and
|
|
6
9
|
bottom-right corners; native glass lights the top and bottom alike and none of the sides (Photos Close,
|
|
7
10
|
IMG_5453; Calendar checkmark, IMG_5433; 08.11), and a rim on one diagonal made a round button read as an
|
|
8
11
|
oval. A deeper shadow comes once content is under the control. */
|
|
@@ -13,13 +16,18 @@
|
|
|
13
16
|
iOS 26 screens rather than the kit's flattened layers (about 10 on black): the glass lifts what is under it
|
|
14
17
|
by white at about 12.5%, 0 to 31/32 (Mail, iOS2 IMG_5530) and the 28/28/29 sheet to 57/57/59
|
|
15
18
|
(IMG_5523/5526), so it takes alpha-12. Hover and press add more of the same; no native reference. */
|
|
16
|
-
|
|
19
|
+
/* The rim (glass-bands, @3x): light, white along the top and the bottom, 2px of ff over an f9 fill; dark, 59 and
|
|
20
|
+
49 over a 1f fill, white at about 24%, then a fall of a few levels within 2pt that is not drawn. */
|
|
21
|
+
--mobile-glass-sheen: none;
|
|
17
22
|
/* The kit's edge in light: a 0.5px outline all round and the sides 0.5px darker, with a 2% shadow 8px
|
|
18
23
|
down. The kit burns the outline in (#e8e8e8 and #d0d0d0, linear burn), so it darkens whatever lies
|
|
19
24
|
under it by 23 and 47 levels: native glass on a page dimmed to 194 shows its edge at 170 to 177
|
|
20
25
|
(IMG_5533; plan 172). Black at 9% all round does the same on any background, where a fixed gray-100
|
|
21
26
|
vanished on a gray page and read lighter than a darker one; the sides lie over it, so 10% more
|
|
22
27
|
comes to 18% there. Dark glass has neither in native frames, only its rim. */
|
|
28
|
+
/* Measured again on iOS 27.2 (glass-bands, @3x): a bar button over white has its top and bottom at e7 and e3
|
|
29
|
+
(black 9 to 11%) and its sides at b6 between e7 and ea, a darker core of about 29%; content glass d0 (18%).
|
|
30
|
+
The bar's buttons take the bar's: the sides 20% over the 9% ring, 27% together. */
|
|
23
31
|
/* The kit's Glass Effect frosts at a radius of 6 (iOS 27 Buttons - 44pt, 5720:29596; refraction 0.7,
|
|
24
32
|
depth 30, light 0.25 are not drawn: CSS has no lens for a backdrop). Native glass frosts much harder:
|
|
25
33
|
black 17pt text under a bottom capsule comes to 228 to 237 on 245 to 250 (Mail IMG_5551, Phone
|
|
@@ -32,6 +40,10 @@
|
|
|
32
40
|
The knob grows by scale, so the lengths below are the kit's divided by it. The lens's refraction (0.8,
|
|
33
41
|
depth 7) has no CSS equivalent. */
|
|
34
42
|
--mobile-knob-lens-scale: calc(58 / 38) calc(38 / 24);
|
|
43
|
+
/* A switch's 37 x 24 knob (touch.css) held down: native iOS 27.2 draws the lens 59 x 39.5 at its outer
|
|
44
|
+
ring, on the knob's centre (a SwiftUI Toggle held in the simulator), the kit 58 x 38. The lens keeps the
|
|
45
|
+
kit's 58 x 38 over the narrower knob. */
|
|
46
|
+
--mobile-switch-knob-lens-scale: calc(58 / 37) calc(38 / 24);
|
|
35
47
|
--mobile-knob-lens-background: rgb(255 255 255 / 9%);
|
|
36
48
|
--mobile-knob-lens-shadow: 0 4.5px 8px rgb(0 0 0 / 12%), 0 0 0 0.33px rgb(0 0 0 / 20%), inset 0 0.5px 0 rgb(255 255 255 / 16%), inset 0 -0.5px 0 rgb(255 255 255 / 16%);
|
|
37
49
|
/* Dark menus and Select lists are glass, as native iOS 26 pop-up menus and popovers are: the glass
|
|
@@ -40,11 +52,18 @@
|
|
|
40
52
|
the menu (37 by 24pt, IMG_5524) spreads to 55 by 37pt at half its height and keeps a third of its
|
|
41
53
|
strength (IMG_5525), a blur of 18 (14 to 20 by the width, the height and the peak); text under it is
|
|
42
54
|
gone. A blur of 10 left the page's text at 1.5 to 3:1 against its background, readable (plan 176).
|
|
43
|
-
Light menus
|
|
55
|
+
Light menus are glass too in iOS 27.2 (ref-app menus, block 8, @3x): 254 over a white page, 249 to 252 over
|
|
56
|
+
the grouped 242, 227 to 236 over the 194 of a context menu's dimming; white at 65% comes to 255, 250 and 234,
|
|
57
|
+
as the glass Alert does. The page under them is blurred the same. */
|
|
44
58
|
--menu-mobile-backdrop-filter: blur(18px);
|
|
45
|
-
/* A popover
|
|
46
|
-
|
|
47
|
-
|
|
59
|
+
/* A popover is the glass of the menus in both themes, as iOS 27.2 draws one and an action sheet from its source
|
|
60
|
+
(ref-app popover, popover-row, popover-swiftui, actionsheet-source, block 14, @3x): in light 250 to 253 over
|
|
61
|
+
the grouped 242 and the white cells, as white at 65% comes to; in dark 54 over a cell of 28 and 35 over black,
|
|
62
|
+
as white at 12% comes to (iOS 26 drew the same dark glass, iOS2 IMG_5528). The pair is written out, not taken
|
|
63
|
+
from --menu-mobile-background: a var() declared here resolves here and would not follow a nested
|
|
64
|
+
[data-theme] root. The shadow and the edge are the menus' (--menu-shadow, touch.css, which the panel falls back
|
|
65
|
+
to in Popover.module.css; declared on the root, it keeps the root's theme as the menus' does): 20 levels
|
|
66
|
+
under the panel on a white cell, gone within 38pt. */
|
|
48
67
|
--popover-mobile-backdrop-filter: var(--menu-mobile-backdrop-filter);
|
|
49
68
|
/* An Alert is glass in both themes, as native iOS alerts are. Light: Files (iOS-menu, Screenshot 18.22.08,
|
|
50
69
|
08.11) shows 237 over a page dimmed to 204, as white at 65% does; kit iOS 27 (Alerts 65:57149) comes to
|
|
@@ -54,7 +73,10 @@
|
|
|
54
73
|
--dialog-alert-backdrop-filter: blur(10px);
|
|
55
74
|
--dialog-alert-shadow: var(--mobile-glass-shadow-raised);
|
|
56
75
|
/* Native frames take precedence over the kit (plan 162): the message is the secondary label under a primary
|
|
57
|
-
title, as Files shows it (125 on 237) and iOS 26 did (IMG_5532, 5533); kit iOS 27 draws it primary.
|
|
76
|
+
title, as Files shows it (125 on 237) and iOS 26 did (IMG_5532, 5533); kit iOS 27 draws it primary. In dark
|
|
77
|
+
iOS 27.2 sets it dimmer, 109 on the glass of 32, about 3.1:1; the secondary label keeps 143, about 5:1, over
|
|
78
|
+
the 4.5:1 that WCAG and Apple's guidelines ask of text this size. Light stays below it, about 3.5:1, as
|
|
79
|
+
native draws it (plan 162). */
|
|
58
80
|
--dialog-alert-message-color: var(--mobile-label-secondary, var(--color-text-secondary));
|
|
59
81
|
/* A soft action and a field share one fill: Files 203 on 237 in light, 15% of black; dark 73 on 46. */
|
|
60
82
|
}
|
|
@@ -63,11 +85,11 @@
|
|
|
63
85
|
--mobile-glass-background-hover: color-mix(in oklab, var(--gray-75) 65%, transparent);
|
|
64
86
|
--mobile-glass-background-active: color-mix(in oklab, var(--gray-75) 75%, transparent);
|
|
65
87
|
--mobile-glass-rim: rgb(255 255 255 / 100%);
|
|
66
|
-
--mobile-glass-outline: 1.25px 0 0 -0.75px rgb(0 0 0 /
|
|
88
|
+
--mobile-glass-outline: 1.25px 0 0 -0.75px rgb(0 0 0 / 20%), -1.25px 0 0 -0.75px rgb(0 0 0 / 20%), 0 0 0 0.5px rgb(0 0 0 / 9%);
|
|
67
89
|
--mobile-glass-shadow: 0 8px 15px rgb(0 0 0 / 2%), var(--mobile-glass-outline), inset 0 0.67px 0 var(--mobile-glass-rim), inset 0 -0.67px 0 var(--mobile-glass-rim);
|
|
68
90
|
--mobile-glass-shadow-raised: 0 8px 40px rgb(0 0 0 / 12%), var(--mobile-glass-outline), inset 0 0.67px 0 var(--mobile-glass-rim), inset 0 -0.67px 0 var(--mobile-glass-rim);
|
|
69
|
-
--mobile-
|
|
70
|
-
--
|
|
91
|
+
--menu-mobile-background: rgb(255 255 255 / 65%);
|
|
92
|
+
--popover-mobile-background: rgb(255 255 255 / 65%);
|
|
71
93
|
--dialog-alert-background: rgb(255 255 255 / 65%);
|
|
72
94
|
--dialog-alert-fill: var(--alpha-15)
|
|
73
95
|
}
|
|
@@ -75,12 +97,12 @@
|
|
|
75
97
|
--mobile-glass-background: var(--alpha-12);
|
|
76
98
|
--mobile-glass-background-hover: var(--alpha-16);
|
|
77
99
|
--mobile-glass-background-active: var(--alpha-20);
|
|
78
|
-
--mobile-glass-rim: rgb(255 255 255 /
|
|
100
|
+
--mobile-glass-rim: rgb(255 255 255 / 24%);
|
|
79
101
|
--mobile-glass-outline: 1.25px 0 0 -0.75px transparent, -1.25px 0 0 -0.75px transparent, 0 0 0 0.5px transparent;
|
|
80
102
|
--mobile-glass-shadow: 0 8px 15px transparent, var(--mobile-glass-outline), inset 0 0.67px 0 var(--mobile-glass-rim), inset 0 -0.67px 0 var(--mobile-glass-rim);
|
|
81
103
|
--mobile-glass-shadow-raised: 0 8px 40px rgb(0 0 0 / 8%), var(--mobile-glass-outline), inset 0 0.67px 0 var(--mobile-glass-rim), inset 0 -0.67px 0 var(--mobile-glass-rim);
|
|
82
|
-
--mobile-grabber-color: rgb(255 255 255 / 20%);
|
|
83
104
|
--menu-mobile-background: var(--alpha-12);
|
|
105
|
+
--popover-mobile-background: var(--alpha-12);
|
|
84
106
|
--dialog-alert-background: var(--alpha-12);
|
|
85
107
|
--dialog-alert-fill: var(--alpha-12)
|
|
86
108
|
}
|
|
@@ -91,13 +113,18 @@
|
|
|
91
113
|
iOS 26 screens rather than the kit's flattened layers (about 10 on black): the glass lifts what is under it
|
|
92
114
|
by white at about 12.5%, 0 to 31/32 (Mail, iOS2 IMG_5530) and the 28/28/29 sheet to 57/57/59
|
|
93
115
|
(IMG_5523/5526), so it takes alpha-12. Hover and press add more of the same; no native reference. */
|
|
94
|
-
|
|
116
|
+
/* The rim (glass-bands, @3x): light, white along the top and the bottom, 2px of ff over an f9 fill; dark, 59 and
|
|
117
|
+
49 over a 1f fill, white at about 24%, then a fall of a few levels within 2pt that is not drawn. */
|
|
118
|
+
--mobile-glass-sheen: none;
|
|
95
119
|
/* The kit's edge in light: a 0.5px outline all round and the sides 0.5px darker, with a 2% shadow 8px
|
|
96
120
|
down. The kit burns the outline in (#e8e8e8 and #d0d0d0, linear burn), so it darkens whatever lies
|
|
97
121
|
under it by 23 and 47 levels: native glass on a page dimmed to 194 shows its edge at 170 to 177
|
|
98
122
|
(IMG_5533; plan 172). Black at 9% all round does the same on any background, where a fixed gray-100
|
|
99
123
|
vanished on a gray page and read lighter than a darker one; the sides lie over it, so 10% more
|
|
100
124
|
comes to 18% there. Dark glass has neither in native frames, only its rim. */
|
|
125
|
+
/* Measured again on iOS 27.2 (glass-bands, @3x): a bar button over white has its top and bottom at e7 and e3
|
|
126
|
+
(black 9 to 11%) and its sides at b6 between e7 and ea, a darker core of about 29%; content glass d0 (18%).
|
|
127
|
+
The bar's buttons take the bar's: the sides 20% over the 9% ring, 27% together. */
|
|
101
128
|
/* The kit's Glass Effect frosts at a radius of 6 (iOS 27 Buttons - 44pt, 5720:29596; refraction 0.7,
|
|
102
129
|
depth 30, light 0.25 are not drawn: CSS has no lens for a backdrop). Native glass frosts much harder:
|
|
103
130
|
black 17pt text under a bottom capsule comes to 228 to 237 on 245 to 250 (Mail IMG_5551, Phone
|
|
@@ -110,6 +137,10 @@
|
|
|
110
137
|
The knob grows by scale, so the lengths below are the kit's divided by it. The lens's refraction (0.8,
|
|
111
138
|
depth 7) has no CSS equivalent. */
|
|
112
139
|
--mobile-knob-lens-scale: calc(58 / 38) calc(38 / 24);
|
|
140
|
+
/* A switch's 37 x 24 knob (touch.css) held down: native iOS 27.2 draws the lens 59 x 39.5 at its outer
|
|
141
|
+
ring, on the knob's centre (a SwiftUI Toggle held in the simulator), the kit 58 x 38. The lens keeps the
|
|
142
|
+
kit's 58 x 38 over the narrower knob. */
|
|
143
|
+
--mobile-switch-knob-lens-scale: calc(58 / 37) calc(38 / 24);
|
|
113
144
|
--mobile-knob-lens-background: rgb(255 255 255 / 9%);
|
|
114
145
|
--mobile-knob-lens-shadow: 0 4.5px 8px rgb(0 0 0 / 12%), 0 0 0 0.33px rgb(0 0 0 / 20%), inset 0 0.5px 0 rgb(255 255 255 / 16%), inset 0 -0.5px 0 rgb(255 255 255 / 16%);
|
|
115
146
|
/* Dark menus and Select lists are glass, as native iOS 26 pop-up menus and popovers are: the glass
|
|
@@ -118,11 +149,18 @@
|
|
|
118
149
|
the menu (37 by 24pt, IMG_5524) spreads to 55 by 37pt at half its height and keeps a third of its
|
|
119
150
|
strength (IMG_5525), a blur of 18 (14 to 20 by the width, the height and the peak); text under it is
|
|
120
151
|
gone. A blur of 10 left the page's text at 1.5 to 3:1 against its background, readable (plan 176).
|
|
121
|
-
Light menus
|
|
152
|
+
Light menus are glass too in iOS 27.2 (ref-app menus, block 8, @3x): 254 over a white page, 249 to 252 over
|
|
153
|
+
the grouped 242, 227 to 236 over the 194 of a context menu's dimming; white at 65% comes to 255, 250 and 234,
|
|
154
|
+
as the glass Alert does. The page under them is blurred the same. */
|
|
122
155
|
--menu-mobile-backdrop-filter: blur(18px);
|
|
123
|
-
/* A popover
|
|
124
|
-
|
|
125
|
-
|
|
156
|
+
/* A popover is the glass of the menus in both themes, as iOS 27.2 draws one and an action sheet from its source
|
|
157
|
+
(ref-app popover, popover-row, popover-swiftui, actionsheet-source, block 14, @3x): in light 250 to 253 over
|
|
158
|
+
the grouped 242 and the white cells, as white at 65% comes to; in dark 54 over a cell of 28 and 35 over black,
|
|
159
|
+
as white at 12% comes to (iOS 26 drew the same dark glass, iOS2 IMG_5528). The pair is written out, not taken
|
|
160
|
+
from --menu-mobile-background: a var() declared here resolves here and would not follow a nested
|
|
161
|
+
[data-theme] root. The shadow and the edge are the menus' (--menu-shadow, touch.css, which the panel falls back
|
|
162
|
+
to in Popover.module.css; declared on the root, it keeps the root's theme as the menus' does): 20 levels
|
|
163
|
+
under the panel on a white cell, gone within 38pt. */
|
|
126
164
|
--popover-mobile-backdrop-filter: var(--menu-mobile-backdrop-filter);
|
|
127
165
|
/* An Alert is glass in both themes, as native iOS alerts are. Light: Files (iOS-menu, Screenshot 18.22.08,
|
|
128
166
|
08.11) shows 237 over a page dimmed to 204, as white at 65% does; kit iOS 27 (Alerts 65:57149) comes to
|
|
@@ -132,7 +170,10 @@
|
|
|
132
170
|
--dialog-alert-backdrop-filter: blur(10px);
|
|
133
171
|
--dialog-alert-shadow: var(--mobile-glass-shadow-raised);
|
|
134
172
|
/* Native frames take precedence over the kit (plan 162): the message is the secondary label under a primary
|
|
135
|
-
title, as Files shows it (125 on 237) and iOS 26 did (IMG_5532, 5533); kit iOS 27 draws it primary.
|
|
173
|
+
title, as Files shows it (125 on 237) and iOS 26 did (IMG_5532, 5533); kit iOS 27 draws it primary. In dark
|
|
174
|
+
iOS 27.2 sets it dimmer, 109 on the glass of 32, about 3.1:1; the secondary label keeps 143, about 5:1, over
|
|
175
|
+
the 4.5:1 that WCAG and Apple's guidelines ask of text this size. Light stays below it, about 3.5:1, as
|
|
176
|
+
native draws it (plan 162). */
|
|
136
177
|
--dialog-alert-message-color: var(--mobile-label-secondary, var(--color-text-secondary));
|
|
137
178
|
/* A soft action and a field share one fill: Files 203 on 237 in light, 15% of black; dark 73 on 46. */
|
|
138
179
|
}
|
|
@@ -141,11 +182,11 @@
|
|
|
141
182
|
--mobile-glass-background-hover: color-mix(in oklab, var(--gray-75) 65%, transparent);
|
|
142
183
|
--mobile-glass-background-active: color-mix(in oklab, var(--gray-75) 75%, transparent);
|
|
143
184
|
--mobile-glass-rim: rgb(255 255 255 / 100%);
|
|
144
|
-
--mobile-glass-outline: 1.25px 0 0 -0.75px rgb(0 0 0 /
|
|
185
|
+
--mobile-glass-outline: 1.25px 0 0 -0.75px rgb(0 0 0 / 20%), -1.25px 0 0 -0.75px rgb(0 0 0 / 20%), 0 0 0 0.5px rgb(0 0 0 / 9%);
|
|
145
186
|
--mobile-glass-shadow: 0 8px 15px rgb(0 0 0 / 2%), var(--mobile-glass-outline), inset 0 0.67px 0 var(--mobile-glass-rim), inset 0 -0.67px 0 var(--mobile-glass-rim);
|
|
146
187
|
--mobile-glass-shadow-raised: 0 8px 40px rgb(0 0 0 / 12%), var(--mobile-glass-outline), inset 0 0.67px 0 var(--mobile-glass-rim), inset 0 -0.67px 0 var(--mobile-glass-rim);
|
|
147
|
-
--mobile-
|
|
148
|
-
--
|
|
188
|
+
--menu-mobile-background: rgb(255 255 255 / 65%);
|
|
189
|
+
--popover-mobile-background: rgb(255 255 255 / 65%);
|
|
149
190
|
--dialog-alert-background: rgb(255 255 255 / 65%);
|
|
150
191
|
--dialog-alert-fill: var(--alpha-15)
|
|
151
192
|
}
|
|
@@ -153,12 +194,12 @@
|
|
|
153
194
|
--mobile-glass-background: var(--alpha-12);
|
|
154
195
|
--mobile-glass-background-hover: var(--alpha-16);
|
|
155
196
|
--mobile-glass-background-active: var(--alpha-20);
|
|
156
|
-
--mobile-glass-rim: rgb(255 255 255 /
|
|
197
|
+
--mobile-glass-rim: rgb(255 255 255 / 24%);
|
|
157
198
|
--mobile-glass-outline: 1.25px 0 0 -0.75px transparent, -1.25px 0 0 -0.75px transparent, 0 0 0 0.5px transparent;
|
|
158
199
|
--mobile-glass-shadow: 0 8px 15px transparent, var(--mobile-glass-outline), inset 0 0.67px 0 var(--mobile-glass-rim), inset 0 -0.67px 0 var(--mobile-glass-rim);
|
|
159
200
|
--mobile-glass-shadow-raised: 0 8px 40px rgb(0 0 0 / 8%), var(--mobile-glass-outline), inset 0 0.67px 0 var(--mobile-glass-rim), inset 0 -0.67px 0 var(--mobile-glass-rim);
|
|
160
|
-
--mobile-grabber-color: rgb(255 255 255 / 20%);
|
|
161
201
|
--menu-mobile-background: var(--alpha-12);
|
|
202
|
+
--popover-mobile-background: var(--alpha-12);
|
|
162
203
|
--dialog-alert-background: var(--alpha-12);
|
|
163
204
|
--dialog-alert-fill: var(--alpha-12)
|
|
164
205
|
}
|
|
@@ -236,6 +236,14 @@
|
|
|
236
236
|
--ease-cubic-move: var(--cubic-move);
|
|
237
237
|
}
|
|
238
238
|
|
|
239
|
+
/* Insets, inline so a utility reads the token where it stands (a wide Page sets its own --page-gutter):
|
|
240
|
+
px-layout-margin is the edge of a screen or a sheet (16px, 20px on a phone from 414px), px-list-inset the
|
|
241
|
+
inside of a list row (16px, 20px on a phone). The spacing utilities take them: pl-, mx-, gap-, inset-. */
|
|
242
|
+
@theme inline {
|
|
243
|
+
--spacing-layout-margin: var(--page-gutter);
|
|
244
|
+
--spacing-list-inset: var(--list-row-inset);
|
|
245
|
+
}
|
|
246
|
+
|
|
239
247
|
/* =============================================
|
|
240
248
|
Heading utilities
|
|
241
249
|
============================================= */
|