@moldable-ai/ui 0.2.29 → 0.2.32
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/catalog/component-catalog.d.ts +9 -2
- package/dist/catalog/component-catalog.d.ts.map +1 -1
- package/dist/catalog/component-catalog.js +11 -7
- package/dist/catalog/core-control-stories.d.ts.map +1 -1
- package/dist/catalog/core-control-stories.js +1 -1
- package/dist/catalog/core-foundation-stories.d.ts.map +1 -1
- package/dist/catalog/core-foundation-stories.js +5 -5
- package/dist/components/app-error-boundary.d.ts +1 -1
- package/dist/components/chat/chat-image-lightbox.d.ts +8 -0
- package/dist/components/chat/chat-image-lightbox.d.ts.map +1 -1
- package/dist/components/chat/chat-image-lightbox.js +24 -2
- package/dist/components/chat/chat-input.d.ts +3 -2
- package/dist/components/chat/chat-input.d.ts.map +1 -1
- package/dist/components/chat/chat-input.js +3 -3
- package/dist/components/chat/chat-message.d.ts.map +1 -1
- package/dist/components/chat/chat-message.js +3 -1
- package/dist/components/chat/chat-panel.d.ts +3 -1
- package/dist/components/chat/chat-panel.d.ts.map +1 -1
- package/dist/components/chat/chat-panel.js +53 -39
- package/dist/components/chat/conversation-history.d.ts +4 -2
- package/dist/components/chat/conversation-history.d.ts.map +1 -1
- package/dist/components/chat/conversation-history.js +20 -15
- package/dist/components/ui/alert.d.ts +1 -1
- package/dist/components/ui/app-frame.d.ts +20 -1
- package/dist/components/ui/app-frame.d.ts.map +1 -1
- package/dist/components/ui/app-frame.js +37 -7
- package/dist/components/ui/badge.d.ts +1 -1
- package/dist/components/ui/badge.js +1 -1
- package/dist/components/ui/button.d.ts +5 -3
- package/dist/components/ui/button.d.ts.map +1 -1
- package/dist/components/ui/button.js +39 -11
- package/dist/components/ui/card.d.ts +12 -2
- package/dist/components/ui/card.d.ts.map +1 -1
- package/dist/components/ui/card.js +3 -2
- package/dist/components/ui/checkbox.d.ts +4 -1
- package/dist/components/ui/checkbox.d.ts.map +1 -1
- package/dist/components/ui/checkbox.js +4 -4
- package/dist/components/ui/context-menu.d.ts.map +1 -1
- package/dist/components/ui/context-menu.js +7 -6
- package/dist/components/ui/date-field.d.ts +1 -1
- package/dist/components/ui/dropdown-menu.d.ts +1 -0
- package/dist/components/ui/dropdown-menu.d.ts.map +1 -1
- package/dist/components/ui/dropdown-menu.js +9 -8
- package/dist/components/ui/icon-button.d.ts +1 -1
- package/dist/components/ui/icon-button.d.ts.map +1 -1
- package/dist/components/ui/icon-button.js +1 -0
- package/dist/components/ui/input.d.ts +6 -2
- package/dist/components/ui/input.d.ts.map +1 -1
- package/dist/components/ui/input.js +2 -2
- package/dist/components/ui/material.d.ts +8 -3
- package/dist/components/ui/material.d.ts.map +1 -1
- package/dist/components/ui/material.js +2 -2
- package/dist/components/ui/menu-items.d.ts +2 -1
- package/dist/components/ui/menu-items.d.ts.map +1 -1
- package/dist/components/ui/menu-items.js +3 -2
- package/dist/components/ui/message-scroller-controller.d.ts +15 -17
- package/dist/components/ui/message-scroller-controller.d.ts.map +1 -1
- package/dist/components/ui/message-scroller-controller.js +106 -91
- package/dist/components/ui/message-scroller-primitive.d.ts +2 -0
- package/dist/components/ui/message-scroller-primitive.d.ts.map +1 -1
- package/dist/components/ui/message-scroller-primitive.js +2 -0
- package/dist/components/ui/message-scroller.d.ts.map +1 -1
- package/dist/components/ui/message-scroller.js +2 -2
- package/dist/components/ui/number-input.d.ts +1 -1
- package/dist/components/ui/popover.js +1 -1
- package/dist/components/ui/search-field.d.ts +4 -2
- package/dist/components/ui/search-field.d.ts.map +1 -1
- package/dist/components/ui/search-field.js +16 -6
- package/dist/components/ui/segmented-control.d.ts +3 -1
- package/dist/components/ui/segmented-control.d.ts.map +1 -1
- package/dist/components/ui/segmented-control.js +23 -17
- package/dist/components/ui/select.js +2 -2
- package/dist/components/ui/sidebar.d.ts +10 -4
- package/dist/components/ui/sidebar.d.ts.map +1 -1
- package/dist/components/ui/sidebar.js +74 -17
- package/dist/components/ui/status.d.ts +1 -1
- package/dist/components/ui/status.js +1 -1
- package/dist/components/ui/switch.d.ts +3 -1
- package/dist/components/ui/switch.d.ts.map +1 -1
- package/dist/components/ui/switch.js +3 -2
- package/dist/components/ui/toolbar-controls.d.ts +13 -3
- package/dist/components/ui/toolbar-controls.d.ts.map +1 -1
- package/dist/components/ui/toolbar-controls.js +35 -10
- package/dist/components/ui/toolbar.d.ts +5 -4
- package/dist/components/ui/toolbar.d.ts.map +1 -1
- package/dist/components/ui/toolbar.js +3 -3
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -1
- package/dist/lib/frame-lifecycle.d.ts +1 -0
- package/dist/lib/frame-lifecycle.d.ts.map +1 -1
- package/dist/lib/frame-lifecycle.js +7 -0
- package/dist/lib/theme.d.ts +39 -5
- package/dist/lib/theme.d.ts.map +1 -1
- package/dist/lib/theme.js +105 -17
- package/dist/tokens/contracts.d.ts +79 -0
- package/dist/tokens/contracts.d.ts.map +1 -0
- package/dist/tokens/contracts.js +57 -0
- package/dist/tokens/index.d.ts +2 -0
- package/dist/tokens/index.d.ts.map +1 -0
- package/dist/tokens/index.js +1 -0
- package/docs/README.md +2 -0
- package/docs/adaptive-materials.md +14 -9
- package/docs/design-tokens.md +10 -6
- package/docs/foundations.md +3 -3
- package/docs/macos-design-audit.md +144 -0
- package/docs/native-integration.md +4 -4
- package/docs/platform-architecture.md +189 -0
- package/docs/standalone-app-windows.md +37 -0
- package/docs/visual-regression.md +6 -8
- package/package.json +13 -1
- package/src/components/ui/accordion.md +46 -0
- package/src/components/ui/alert.md +12 -4
- package/src/components/ui/app-frame.md +8 -5
- package/src/components/ui/aspect-ratio.md +37 -0
- package/src/components/ui/avatar.md +48 -0
- package/src/components/ui/breadcrumb.md +52 -0
- package/src/components/ui/button-group.md +43 -0
- package/src/components/ui/button.md +21 -4
- package/src/components/ui/calendar.md +42 -0
- package/src/components/ui/card.md +43 -0
- package/src/components/ui/carousel.md +47 -0
- package/src/components/ui/chart.md +52 -0
- package/src/components/ui/checkbox.md +36 -0
- package/src/components/ui/collapsible.md +2 -3
- package/src/components/ui/color-well.md +14 -4
- package/src/components/ui/combobox.md +3 -3
- package/src/components/ui/confirm-dialog.md +5 -4
- package/src/components/ui/context-menu.md +3 -2
- package/src/components/ui/date-field.md +6 -1
- package/src/components/ui/date-picker.md +6 -3
- package/src/components/ui/dialog.md +14 -12
- package/src/components/ui/drawer.md +58 -0
- package/src/components/ui/dropdown-menu.md +16 -14
- package/src/components/ui/error-boundary-view.md +1 -1
- package/src/components/ui/field.md +2 -1
- package/src/components/ui/form.md +71 -0
- package/src/components/ui/grid.md +4 -3
- package/src/components/ui/icon-button.md +4 -1
- package/src/components/ui/input-group.md +49 -0
- package/src/components/ui/input-otp.md +56 -0
- package/src/components/ui/input.md +40 -0
- package/src/components/ui/inspector.md +47 -7
- package/src/components/ui/item.md +5 -3
- package/src/components/ui/kbd.md +30 -0
- package/src/components/ui/label.md +29 -0
- package/src/components/ui/list.md +2 -2
- package/src/components/ui/material.md +25 -12
- package/src/components/ui/menu-items.md +62 -0
- package/src/components/ui/menubar.md +58 -0
- package/src/components/ui/message-scroller-primitive.md +70 -0
- package/src/components/ui/message-scroller.md +89 -0
- package/src/components/ui/navigation-button-group.md +4 -3
- package/src/components/ui/navigation-menu.md +52 -0
- package/src/components/ui/number-input.md +8 -0
- package/src/components/ui/pagination.md +51 -0
- package/src/components/ui/panel.md +6 -0
- package/src/components/ui/popover.md +10 -7
- package/src/components/ui/progress.md +31 -0
- package/src/components/ui/radio-group.md +36 -0
- package/src/components/ui/resizable.md +2 -1
- package/src/components/ui/scroll-area.md +3 -1
- package/src/components/ui/search-field.md +6 -1
- package/src/components/ui/segmented-control.md +6 -1
- package/src/components/ui/separator.md +35 -0
- package/src/components/ui/sidebar.md +29 -6
- package/src/components/ui/skeleton.md +36 -0
- package/src/components/ui/slider.md +58 -0
- package/src/components/ui/spinner.md +41 -0
- package/src/components/ui/split-view.md +8 -4
- package/src/components/ui/switch.md +44 -0
- package/src/components/ui/table.md +7 -7
- package/src/components/ui/tabs.md +3 -1
- package/src/components/ui/textarea.md +41 -0
- package/src/components/ui/toggle-group.md +2 -2
- package/src/components/ui/toggle.md +9 -9
- package/src/components/ui/toolbar-controls.md +24 -12
- package/src/components/ui/toolbar.md +6 -6
- package/src/styles/index.css +298 -117
- package/src/tokens/contracts.ts +131 -0
- package/src/tokens/index.css +6 -0
- package/src/tokens/index.ts +23 -0
- package/src/tokens/macos-26/README.md +37 -0
- package/src/tokens/macos-26/aliases.css +53 -0
- package/src/tokens/macos-26/compatibility.css +7 -0
- package/src/tokens/macos-26/index.css +3 -0
- package/src/tokens/macos-26/source/provenance.generated.json +28 -0
- package/src/tokens/macos-26/source/sidebar.generated.css +29 -0
- package/src/tokens/macos-26/source.css +7 -0
- package/src/tokens/macos-26/web-adaptations.json +25 -0
- package/src/tokens/macos-26/web-adaptations.md +15 -0
- package/src/tokens/macos-27/accessibility.css +11 -0
- package/src/tokens/macos-27/aliases.css +304 -0
- package/src/tokens/macos-27/compatibility.css +212 -0
- package/src/tokens/macos-27/index.css +15 -0
- package/src/tokens/macos-27/recipes.css +23 -0
- package/src/tokens/macos-27/source/chrome.generated.css +338 -0
- package/src/tokens/macos-27/source/colors.generated.css +140 -0
- package/src/tokens/macos-27/source/context.generated.css +18 -0
- package/src/tokens/macos-27/source/controls.generated.css +764 -0
- package/src/tokens/macos-27/source/effects.generated.css +68 -0
- package/src/tokens/macos-27/source/kit.generated.css +50 -0
- package/src/tokens/macos-27/source/overlays-status.generated.css +931 -0
- package/src/tokens/macos-27/source/paint-styles.generated.css +81 -0
- package/src/tokens/macos-27/source/provenance.generated.json +62 -0
- package/src/tokens/macos-27/source/sizes.generated.css +385 -0
- package/src/tokens/macos-27/source/source.generated.json +554 -0
- package/src/tokens/macos-27/source/text-styles.generated.css +116 -0
- package/src/tokens/macos-27/source.css +17 -0
- package/src/tokens/macos-27/web-adaptations.css +98 -0
- package/src/tokens/macos-27/web-adaptations.json +163 -0
- package/src/tokens/macos-27/web-adaptations.md +117 -0
- package/src/tokens/moldable/brand.css +165 -0
- package/src/tokens/moldable/index.css +1 -0
- package/src/tokens/platform-contract.test.ts +294 -0
|
@@ -0,0 +1,764 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Generated control recipes from macOS 27.
|
|
3
|
+
* Source values only. No source artwork, symbols, vectors, or image assets.
|
|
4
|
+
*
|
|
5
|
+
* Appearance, window activation, material context, control size, and
|
|
6
|
+
* interaction state remain independent axes. Missing source values are not
|
|
7
|
+
* synthesized here.
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
/*
|
|
11
|
+
* The platform/version pair is the immutable pack boundary. Axis attributes
|
|
12
|
+
* may live on that boundary or on an inheriting control subtree.
|
|
13
|
+
*/
|
|
14
|
+
[data-ui-platform='macos'][data-ui-platform-version='27'],
|
|
15
|
+
[data-ui-platform='macos'][data-ui-platform-version='27'][data-window-active='true'],
|
|
16
|
+
[data-ui-platform='macos'][data-ui-platform-version='27']
|
|
17
|
+
[data-window-active='true'] {
|
|
18
|
+
--m27-source-control-window-active: 1;
|
|
19
|
+
|
|
20
|
+
/*
|
|
21
|
+
* Canonical button paint recipes. Geometry remains on the control-size
|
|
22
|
+
* axis below; these values are shared by all five sizes.
|
|
23
|
+
*/
|
|
24
|
+
--m27-source-button-bordered-fill-idle: var(
|
|
25
|
+
--m27-source-color-fill-secondary
|
|
26
|
+
);
|
|
27
|
+
--m27-source-button-bordered-fill-pressed: color-mix(
|
|
28
|
+
in srgb,
|
|
29
|
+
var(--m27-source-color-label-primary) 16%,
|
|
30
|
+
transparent
|
|
31
|
+
);
|
|
32
|
+
--m27-source-button-bordered-fill-disabled: var(
|
|
33
|
+
--m27-source-color-fill-quaternary
|
|
34
|
+
);
|
|
35
|
+
--m27-source-button-bordered-label-idle: var(
|
|
36
|
+
--m27-source-color-label-primary
|
|
37
|
+
);
|
|
38
|
+
--m27-source-button-bordered-label-disabled: var(
|
|
39
|
+
--m27-source-color-label-tertiary
|
|
40
|
+
);
|
|
41
|
+
|
|
42
|
+
--m27-source-button-tinted-fill-idle: color-mix(
|
|
43
|
+
in srgb,
|
|
44
|
+
var(--m27-source-color-accent-blue) 20%,
|
|
45
|
+
transparent
|
|
46
|
+
);
|
|
47
|
+
--m27-source-button-tinted-fill-pressed: color-mix(
|
|
48
|
+
in srgb,
|
|
49
|
+
var(--m27-source-color-accent-blue) 28%,
|
|
50
|
+
transparent
|
|
51
|
+
);
|
|
52
|
+
--m27-source-button-tinted-fill-disabled: color-mix(
|
|
53
|
+
in srgb,
|
|
54
|
+
var(--m27-source-color-accent-blue) 12%,
|
|
55
|
+
transparent
|
|
56
|
+
);
|
|
57
|
+
--m27-source-button-tinted-label: var(--m27-source-color-accent-blue);
|
|
58
|
+
--m27-source-button-tinted-label-disabled: color-mix(
|
|
59
|
+
in srgb,
|
|
60
|
+
var(--m27-source-color-accent-blue) 40%,
|
|
61
|
+
transparent
|
|
62
|
+
);
|
|
63
|
+
|
|
64
|
+
--m27-source-button-prominent-fill-idle: var(--m27-source-color-accent-blue);
|
|
65
|
+
--m27-source-button-prominent-fill-pressed: color-mix(
|
|
66
|
+
in srgb,
|
|
67
|
+
var(--m27-source-color-accent-blue) 90%,
|
|
68
|
+
black
|
|
69
|
+
);
|
|
70
|
+
--m27-source-button-prominent-fill-disabled: color-mix(
|
|
71
|
+
in srgb,
|
|
72
|
+
var(--m27-source-color-accent-blue) 40%,
|
|
73
|
+
transparent
|
|
74
|
+
);
|
|
75
|
+
--m27-source-button-prominent-label-idle: var(--m27-source-color-label-white);
|
|
76
|
+
--m27-source-button-prominent-label-disabled: color-mix(
|
|
77
|
+
in srgb,
|
|
78
|
+
var(--m27-source-color-label-white) 50%,
|
|
79
|
+
transparent
|
|
80
|
+
);
|
|
81
|
+
|
|
82
|
+
--m27-source-button-destructive-fill-idle: var(--m27-source-color-accent-red);
|
|
83
|
+
--m27-source-button-destructive-fill-pressed: color-mix(
|
|
84
|
+
in srgb,
|
|
85
|
+
var(--m27-source-color-accent-red) 90%,
|
|
86
|
+
black
|
|
87
|
+
);
|
|
88
|
+
--m27-source-button-destructive-fill-disabled: color-mix(
|
|
89
|
+
in srgb,
|
|
90
|
+
var(--m27-source-color-accent-red) 40%,
|
|
91
|
+
transparent
|
|
92
|
+
);
|
|
93
|
+
--m27-source-button-destructive-label-idle: var(
|
|
94
|
+
--m27-source-color-label-white
|
|
95
|
+
);
|
|
96
|
+
--m27-source-button-destructive-label-disabled: color-mix(
|
|
97
|
+
in srgb,
|
|
98
|
+
var(--m27-source-color-label-white) 50%,
|
|
99
|
+
transparent
|
|
100
|
+
);
|
|
101
|
+
|
|
102
|
+
--m27-source-button-destructive-tinted-fill-idle: color-mix(
|
|
103
|
+
in srgb,
|
|
104
|
+
var(--m27-source-color-accent-red) 20%,
|
|
105
|
+
transparent
|
|
106
|
+
);
|
|
107
|
+
--m27-source-button-destructive-tinted-fill-pressed: color-mix(
|
|
108
|
+
in srgb,
|
|
109
|
+
var(--m27-source-color-accent-red) 28%,
|
|
110
|
+
transparent
|
|
111
|
+
);
|
|
112
|
+
--m27-source-button-destructive-tinted-fill-disabled: color-mix(
|
|
113
|
+
in srgb,
|
|
114
|
+
var(--m27-source-color-accent-red) 10%,
|
|
115
|
+
transparent
|
|
116
|
+
);
|
|
117
|
+
--m27-source-button-destructive-tinted-label: var(
|
|
118
|
+
--m27-source-color-accent-red
|
|
119
|
+
);
|
|
120
|
+
--m27-source-button-destructive-tinted-label-disabled: color-mix(
|
|
121
|
+
in srgb,
|
|
122
|
+
var(--m27-source-color-accent-red) 40%,
|
|
123
|
+
transparent
|
|
124
|
+
);
|
|
125
|
+
|
|
126
|
+
--m27-source-button-borderless-label-idle: var(
|
|
127
|
+
--m27-source-color-accent-blue
|
|
128
|
+
);
|
|
129
|
+
--m27-source-button-borderless-label-pressed: color-mix(
|
|
130
|
+
in srgb,
|
|
131
|
+
var(--m27-source-color-accent-blue) 82%,
|
|
132
|
+
black
|
|
133
|
+
);
|
|
134
|
+
--m27-source-button-borderless-label-disabled: color-mix(
|
|
135
|
+
in srgb,
|
|
136
|
+
var(--m27-source-color-accent-blue) 50%,
|
|
137
|
+
transparent
|
|
138
|
+
);
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
[data-ui-platform='macos'][data-ui-platform-version='27'][data-window-active='false'],
|
|
142
|
+
[data-ui-platform='macos'][data-ui-platform-version='27']
|
|
143
|
+
[data-window-active='false'] {
|
|
144
|
+
--m27-source-control-window-active: 0;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
[data-ui-platform='macos'][data-ui-platform-version='27'],
|
|
148
|
+
[data-ui-platform='macos'][data-ui-platform-version='27'][data-material-context='content'],
|
|
149
|
+
[data-ui-platform='macos'][data-ui-platform-version='27']
|
|
150
|
+
[data-material-context='content'] {
|
|
151
|
+
--m27-source-control-material-context: content-area;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
[data-ui-platform='macos'][data-ui-platform-version='27'][data-material-context='over-glass'],
|
|
155
|
+
[data-ui-platform='macos'][data-ui-platform-version='27']
|
|
156
|
+
[data-material-context='over-glass'] {
|
|
157
|
+
--m27-source-control-material-context: over-glass;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
[data-ui-platform='macos'][data-ui-platform-version='27'],
|
|
161
|
+
[data-ui-platform='macos'][data-ui-platform-version='27'][data-control-state='idle'],
|
|
162
|
+
[data-ui-platform='macos'][data-ui-platform-version='27']
|
|
163
|
+
[data-control-state='idle'] {
|
|
164
|
+
--m27-source-control-state: idle;
|
|
165
|
+
--m27-source-control-label-neutral: var(--m27-source-color-label-primary);
|
|
166
|
+
--m27-source-image-well-opacity: 1;
|
|
167
|
+
--m27-source-switch-off-track-opacity: 0.1;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
[data-ui-platform='macos'][data-ui-platform-version='27'][data-control-state='pressed'],
|
|
171
|
+
[data-ui-platform='macos'][data-ui-platform-version='27']
|
|
172
|
+
[data-control-state='pressed'] {
|
|
173
|
+
--m27-source-control-state: pressed;
|
|
174
|
+
--m27-source-control-label-neutral: var(--m27-source-color-label-primary);
|
|
175
|
+
--m27-source-image-well-opacity: 1;
|
|
176
|
+
--m27-source-switch-off-track-opacity: 0.19;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
[data-ui-platform='macos'][data-ui-platform-version='27'][data-control-state='disabled'],
|
|
180
|
+
[data-ui-platform='macos'][data-ui-platform-version='27']
|
|
181
|
+
[data-control-state='disabled'] {
|
|
182
|
+
--m27-source-control-state: disabled;
|
|
183
|
+
--m27-source-control-label-neutral: var(--m27-source-color-label-tertiary);
|
|
184
|
+
--m27-source-image-well-opacity: 0.5;
|
|
185
|
+
--m27-source-switch-off-track-opacity: 0.06;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
/*
|
|
189
|
+
* Five-size control geometry.
|
|
190
|
+
* Medium is the source default.
|
|
191
|
+
*/
|
|
192
|
+
[data-ui-platform='macos'][data-ui-platform-version='27'],
|
|
193
|
+
[data-ui-platform='macos'][data-ui-platform-version='27'][data-control-size='medium'],
|
|
194
|
+
[data-ui-platform='macos'][data-ui-platform-version='27']
|
|
195
|
+
[data-control-size='medium'] {
|
|
196
|
+
--m27-source-control-font-size: 13px;
|
|
197
|
+
--m27-source-control-label-line-height: 16px;
|
|
198
|
+
|
|
199
|
+
--m27-source-button-height: var(--m27-source-size-control-height);
|
|
200
|
+
--m27-source-button-radius: var(--m27-source-size-button-radius);
|
|
201
|
+
--m27-source-button-padding-inline: var(
|
|
202
|
+
--m27-source-size-button-padding-inline
|
|
203
|
+
);
|
|
204
|
+
--m27-source-arrow-button-size: 24px;
|
|
205
|
+
--m27-source-arrow-button-font-size: 13px;
|
|
206
|
+
|
|
207
|
+
--m27-source-color-well-width: 48px;
|
|
208
|
+
--m27-source-color-well-height: 24px;
|
|
209
|
+
|
|
210
|
+
--m27-source-combo-button-inset: 2px;
|
|
211
|
+
--m27-source-combo-button-width: 24px;
|
|
212
|
+
--m27-source-combo-button-radius: 4.5px;
|
|
213
|
+
--m27-source-combo-field-padding-inline-start: 8px;
|
|
214
|
+
--m27-source-combo-field-padding-inline-end: 28px;
|
|
215
|
+
--m27-source-combo-chevron-font-size: 11px;
|
|
216
|
+
|
|
217
|
+
--m27-source-disclosure-size: 24px;
|
|
218
|
+
--m27-source-disclosure-radius: 6px;
|
|
219
|
+
--m27-source-disclosure-font-size: 13px;
|
|
220
|
+
--m27-source-disclosure-symbol-height: 25px;
|
|
221
|
+
|
|
222
|
+
--m27-source-field-height: var(--m27-source-size-control-height);
|
|
223
|
+
--m27-source-field-inset-inline-start: 8px;
|
|
224
|
+
--m27-source-field-inset-inline-end: 8px;
|
|
225
|
+
--m27-source-field-search-glyph-size: 13px;
|
|
226
|
+
--m27-source-field-search-glyph-leading: 15px;
|
|
227
|
+
--m27-source-field-cursor-height: 18px;
|
|
228
|
+
|
|
229
|
+
--m27-source-popup-height: var(--m27-source-size-control-height);
|
|
230
|
+
--m27-source-popup-inset-inline-start: 12px;
|
|
231
|
+
--m27-source-popup-chevron-font-size: 11px;
|
|
232
|
+
|
|
233
|
+
--m27-source-segmented-height: var(--m27-source-size-control-height);
|
|
234
|
+
--m27-source-segmented-radius: var(--m27-source-size-control-radius);
|
|
235
|
+
--m27-source-segmented-margin: 10px;
|
|
236
|
+
--m27-source-segmented-separator-height: 14px;
|
|
237
|
+
|
|
238
|
+
--m27-source-radio-size: 16px;
|
|
239
|
+
--m27-source-radio-dot-size: 4.8px;
|
|
240
|
+
--m27-source-radio-dash-width: 6.5px;
|
|
241
|
+
--m27-source-radio-dash-height: 2px;
|
|
242
|
+
--m27-source-radio-label-gap: 3px;
|
|
243
|
+
|
|
244
|
+
--m27-source-checkbox-size: 16px;
|
|
245
|
+
--m27-source-checkbox-radius: 5.5px;
|
|
246
|
+
--m27-source-checkbox-checkmark-width: 9.3100004196167px;
|
|
247
|
+
--m27-source-checkbox-checkmark-height: 8.930000305175781px;
|
|
248
|
+
|
|
249
|
+
--m27-source-slider-track-inset-block: 1px;
|
|
250
|
+
--m27-source-slider-track-inset-inline: 1px;
|
|
251
|
+
--m27-source-slider-tick-spacing: 2px;
|
|
252
|
+
--m27-source-slider-knob-width: 20px;
|
|
253
|
+
--m27-source-slider-knob-height: 16px;
|
|
254
|
+
--m27-source-slider-knob-pressed-width: 25px;
|
|
255
|
+
--m27-source-slider-knob-pressed-height: 20px;
|
|
256
|
+
--m27-source-slider-ticked-knob-width: 20px;
|
|
257
|
+
--m27-source-slider-ticked-knob-height: 16px;
|
|
258
|
+
--m27-source-slider-ticked-knob-pressed-width: 25px;
|
|
259
|
+
--m27-source-slider-ticked-knob-pressed-height: 20px;
|
|
260
|
+
--m27-source-dial-knob-height: 6px;
|
|
261
|
+
--m27-source-dial-knob-inset: 3px;
|
|
262
|
+
|
|
263
|
+
--m27-source-stepper-width: 20px;
|
|
264
|
+
--m27-source-stepper-radius: 6px;
|
|
265
|
+
--m27-source-stepper-font-size: 12px;
|
|
266
|
+
--m27-source-stepper-separator-width: 14px;
|
|
267
|
+
|
|
268
|
+
--m27-source-switch-track-width: var(--m27-source-size-toggle-track-width);
|
|
269
|
+
--m27-source-switch-track-height: var(--m27-source-size-control-height);
|
|
270
|
+
--m27-source-switch-knob-width: var(--m27-source-size-toggle-knob-width);
|
|
271
|
+
--m27-source-switch-knob-height: var(--m27-source-size-toggle-knob-height);
|
|
272
|
+
--m27-source-switch-knob-pressed-width: 50px;
|
|
273
|
+
--m27-source-switch-knob-pressed-height: 31px;
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
[data-ui-platform='macos'][data-ui-platform-version='27'][data-control-size='mini'],
|
|
277
|
+
[data-ui-platform='macos'][data-ui-platform-version='27']
|
|
278
|
+
[data-control-size='mini'] {
|
|
279
|
+
--m27-source-control-font-size: 10px;
|
|
280
|
+
|
|
281
|
+
--m27-source-button-height: var(--m27-source-size-control-height);
|
|
282
|
+
--m27-source-button-radius: var(--m27-source-size-button-radius);
|
|
283
|
+
--m27-source-button-padding-inline: var(
|
|
284
|
+
--m27-source-size-button-padding-inline
|
|
285
|
+
);
|
|
286
|
+
--m27-source-arrow-button-size: 16px;
|
|
287
|
+
--m27-source-arrow-button-font-size: 11px;
|
|
288
|
+
|
|
289
|
+
--m27-source-color-well-width: 32px;
|
|
290
|
+
--m27-source-color-well-height: 16px;
|
|
291
|
+
|
|
292
|
+
--m27-source-combo-button-inset: 2px;
|
|
293
|
+
--m27-source-combo-button-width: 16px;
|
|
294
|
+
--m27-source-combo-button-radius: 2.5px;
|
|
295
|
+
--m27-source-combo-field-padding-inline-start: 6px;
|
|
296
|
+
--m27-source-combo-field-padding-inline-end: 20px;
|
|
297
|
+
--m27-source-combo-chevron-font-size: 9px;
|
|
298
|
+
|
|
299
|
+
--m27-source-disclosure-size: 16px;
|
|
300
|
+
--m27-source-disclosure-radius: 4px;
|
|
301
|
+
--m27-source-disclosure-font-size: 10px;
|
|
302
|
+
--m27-source-disclosure-symbol-height: 16px;
|
|
303
|
+
|
|
304
|
+
--m27-source-field-height: var(--m27-source-size-control-height);
|
|
305
|
+
--m27-source-field-inset-inline-start: 6px;
|
|
306
|
+
--m27-source-field-inset-inline-end: 6px;
|
|
307
|
+
--m27-source-field-search-glyph-size: 11px;
|
|
308
|
+
--m27-source-field-search-glyph-leading: 13px;
|
|
309
|
+
--m27-source-field-cursor-height: 14px;
|
|
310
|
+
|
|
311
|
+
--m27-source-popup-height: var(--m27-source-size-control-height);
|
|
312
|
+
--m27-source-popup-inset-inline-start: 7px;
|
|
313
|
+
--m27-source-popup-chevron-font-size: 10px;
|
|
314
|
+
|
|
315
|
+
--m27-source-segmented-height: var(--m27-source-size-control-height);
|
|
316
|
+
--m27-source-segmented-radius: var(--m27-source-size-control-radius);
|
|
317
|
+
--m27-source-segmented-margin: 6px;
|
|
318
|
+
--m27-source-segmented-separator-height: 10px;
|
|
319
|
+
|
|
320
|
+
--m27-source-radio-size: 12px;
|
|
321
|
+
--m27-source-radio-dot-size: 4px;
|
|
322
|
+
--m27-source-radio-dash-width: 5.5px;
|
|
323
|
+
--m27-source-radio-dash-height: 1.7000000476837158px;
|
|
324
|
+
--m27-source-radio-label-gap: 3px;
|
|
325
|
+
|
|
326
|
+
--m27-source-checkbox-size: 12px;
|
|
327
|
+
--m27-source-checkbox-radius: 3.5px;
|
|
328
|
+
--m27-source-checkbox-checkmark-width: 7.78000020980835px;
|
|
329
|
+
--m27-source-checkbox-checkmark-height: 7.550000190734863px;
|
|
330
|
+
|
|
331
|
+
--m27-source-slider-track-inset-block: 1px;
|
|
332
|
+
--m27-source-slider-track-inset-inline: 1px;
|
|
333
|
+
--m27-source-slider-tick-spacing: 2px;
|
|
334
|
+
--m27-source-slider-knob-width: 16px;
|
|
335
|
+
--m27-source-slider-knob-height: 12px;
|
|
336
|
+
--m27-source-slider-knob-pressed-width: 20px;
|
|
337
|
+
--m27-source-slider-knob-pressed-height: 15px;
|
|
338
|
+
--m27-source-slider-ticked-knob-width: 8px;
|
|
339
|
+
--m27-source-slider-ticked-knob-height: 16px;
|
|
340
|
+
--m27-source-slider-ticked-knob-pressed-width: 10px;
|
|
341
|
+
--m27-source-slider-ticked-knob-pressed-height: 20px;
|
|
342
|
+
--m27-source-dial-knob-height: 4px;
|
|
343
|
+
--m27-source-dial-knob-inset: 2px;
|
|
344
|
+
|
|
345
|
+
--m27-source-stepper-width: 13px;
|
|
346
|
+
--m27-source-stepper-radius: 4px;
|
|
347
|
+
--m27-source-stepper-font-size: 8px;
|
|
348
|
+
--m27-source-stepper-separator-width: 9px;
|
|
349
|
+
|
|
350
|
+
--m27-source-switch-track-width: var(--m27-source-size-toggle-track-width);
|
|
351
|
+
--m27-source-switch-track-height: var(--m27-source-size-control-height);
|
|
352
|
+
--m27-source-switch-knob-width: var(--m27-source-size-toggle-knob-width);
|
|
353
|
+
--m27-source-switch-knob-height: var(--m27-source-size-toggle-knob-height);
|
|
354
|
+
--m27-source-switch-knob-pressed-width: 33px;
|
|
355
|
+
--m27-source-switch-knob-pressed-height: 20px;
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
[data-ui-platform='macos'][data-ui-platform-version='27'][data-control-size='small'],
|
|
359
|
+
[data-ui-platform='macos'][data-ui-platform-version='27']
|
|
360
|
+
[data-control-size='small'] {
|
|
361
|
+
--m27-source-control-font-size: 11px;
|
|
362
|
+
|
|
363
|
+
--m27-source-button-height: var(--m27-source-size-control-height);
|
|
364
|
+
--m27-source-button-radius: var(--m27-source-size-button-radius);
|
|
365
|
+
--m27-source-button-padding-inline: var(
|
|
366
|
+
--m27-source-size-button-padding-inline
|
|
367
|
+
);
|
|
368
|
+
--m27-source-arrow-button-size: 20px;
|
|
369
|
+
--m27-source-arrow-button-font-size: 13px;
|
|
370
|
+
|
|
371
|
+
--m27-source-color-well-width: 40px;
|
|
372
|
+
--m27-source-color-well-height: 20px;
|
|
373
|
+
|
|
374
|
+
--m27-source-combo-button-inset: 2px;
|
|
375
|
+
--m27-source-combo-button-width: 20px;
|
|
376
|
+
--m27-source-combo-button-radius: 3.5px;
|
|
377
|
+
--m27-source-combo-field-padding-inline-start: 6px;
|
|
378
|
+
--m27-source-combo-field-padding-inline-end: 24px;
|
|
379
|
+
--m27-source-combo-chevron-font-size: 10px;
|
|
380
|
+
|
|
381
|
+
--m27-source-disclosure-size: 20px;
|
|
382
|
+
--m27-source-disclosure-radius: 5px;
|
|
383
|
+
--m27-source-disclosure-font-size: 10px;
|
|
384
|
+
--m27-source-disclosure-symbol-height: 21px;
|
|
385
|
+
|
|
386
|
+
--m27-source-field-height: var(--m27-source-size-control-height);
|
|
387
|
+
--m27-source-field-inset-inline-start: 6px;
|
|
388
|
+
--m27-source-field-inset-inline-end: 6px;
|
|
389
|
+
--m27-source-field-search-glyph-size: 13px;
|
|
390
|
+
--m27-source-field-search-glyph-leading: 15px;
|
|
391
|
+
--m27-source-field-cursor-height: 16px;
|
|
392
|
+
|
|
393
|
+
--m27-source-popup-height: var(--m27-source-size-control-height);
|
|
394
|
+
--m27-source-popup-inset-inline-start: 10px;
|
|
395
|
+
--m27-source-popup-chevron-font-size: 11px;
|
|
396
|
+
|
|
397
|
+
--m27-source-segmented-height: var(--m27-source-size-control-height);
|
|
398
|
+
--m27-source-segmented-radius: var(--m27-source-size-control-radius);
|
|
399
|
+
--m27-source-segmented-margin: 8px;
|
|
400
|
+
--m27-source-segmented-separator-height: 12px;
|
|
401
|
+
|
|
402
|
+
--m27-source-radio-size: 14px;
|
|
403
|
+
--m27-source-radio-dot-size: 4.800000190734863px;
|
|
404
|
+
--m27-source-radio-dash-width: 6.5px;
|
|
405
|
+
--m27-source-radio-dash-height: 2px;
|
|
406
|
+
--m27-source-radio-label-gap: 3px;
|
|
407
|
+
|
|
408
|
+
--m27-source-checkbox-size: 14px;
|
|
409
|
+
--m27-source-checkbox-radius: 4.5px;
|
|
410
|
+
--m27-source-checkbox-checkmark-width: 9.3100004196167px;
|
|
411
|
+
--m27-source-checkbox-checkmark-height: 8.930000305175781px;
|
|
412
|
+
|
|
413
|
+
--m27-source-slider-track-inset-block: 1px;
|
|
414
|
+
--m27-source-slider-track-inset-inline: 1px;
|
|
415
|
+
--m27-source-slider-tick-spacing: 2px;
|
|
416
|
+
--m27-source-slider-knob-width: 18px;
|
|
417
|
+
--m27-source-slider-knob-height: 14px;
|
|
418
|
+
--m27-source-slider-knob-pressed-width: 23px;
|
|
419
|
+
--m27-source-slider-knob-pressed-height: 18px;
|
|
420
|
+
--m27-source-slider-ticked-knob-width: 10px;
|
|
421
|
+
--m27-source-slider-ticked-knob-height: 18px;
|
|
422
|
+
--m27-source-slider-ticked-knob-pressed-width: 13px;
|
|
423
|
+
--m27-source-slider-ticked-knob-pressed-height: 23px;
|
|
424
|
+
--m27-source-dial-knob-height: 5px;
|
|
425
|
+
--m27-source-dial-knob-inset: 2.5px;
|
|
426
|
+
|
|
427
|
+
--m27-source-stepper-width: 17px;
|
|
428
|
+
--m27-source-stepper-radius: 5px;
|
|
429
|
+
--m27-source-stepper-font-size: 9px;
|
|
430
|
+
--m27-source-stepper-separator-width: 11px;
|
|
431
|
+
|
|
432
|
+
--m27-source-switch-track-width: var(--m27-source-size-toggle-track-width);
|
|
433
|
+
--m27-source-switch-track-height: var(--m27-source-size-control-height);
|
|
434
|
+
--m27-source-switch-knob-width: var(--m27-source-size-toggle-knob-width);
|
|
435
|
+
--m27-source-switch-knob-height: var(--m27-source-size-toggle-knob-height);
|
|
436
|
+
--m27-source-switch-knob-pressed-width: 40px;
|
|
437
|
+
--m27-source-switch-knob-pressed-height: 26px;
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
[data-ui-platform='macos'][data-ui-platform-version='27'][data-control-size='large'],
|
|
441
|
+
[data-ui-platform='macos'][data-ui-platform-version='27']
|
|
442
|
+
[data-control-size='large'] {
|
|
443
|
+
--m27-source-control-font-size: 13px;
|
|
444
|
+
|
|
445
|
+
--m27-source-button-height: var(--m27-source-size-control-height);
|
|
446
|
+
--m27-source-button-radius: 1000px;
|
|
447
|
+
--m27-source-button-padding-inline: var(
|
|
448
|
+
--m27-source-size-button-padding-inline
|
|
449
|
+
);
|
|
450
|
+
--m27-source-arrow-button-size: 28px;
|
|
451
|
+
--m27-source-arrow-button-font-size: 13px;
|
|
452
|
+
|
|
453
|
+
--m27-source-color-well-width: 56px;
|
|
454
|
+
--m27-source-color-well-height: 28px;
|
|
455
|
+
|
|
456
|
+
--m27-source-combo-button-inset: 2px;
|
|
457
|
+
--m27-source-combo-button-width: 24px;
|
|
458
|
+
--m27-source-combo-button-radius: 5.5px;
|
|
459
|
+
--m27-source-combo-field-padding-inline-start: 8px;
|
|
460
|
+
--m27-source-combo-field-padding-inline-end: 28px;
|
|
461
|
+
--m27-source-combo-chevron-font-size: 12.5px;
|
|
462
|
+
|
|
463
|
+
--m27-source-disclosure-size: 28px;
|
|
464
|
+
--m27-source-disclosure-radius: 1000px;
|
|
465
|
+
--m27-source-disclosure-font-size: 13px;
|
|
466
|
+
--m27-source-disclosure-symbol-height: 29px;
|
|
467
|
+
|
|
468
|
+
--m27-source-field-height: var(--m27-source-size-control-height);
|
|
469
|
+
--m27-source-field-inset-inline-start: 8px;
|
|
470
|
+
--m27-source-field-inset-inline-end: 8px;
|
|
471
|
+
--m27-source-field-search-glyph-size: 13px;
|
|
472
|
+
--m27-source-field-search-glyph-leading: 15px;
|
|
473
|
+
--m27-source-field-cursor-height: 18px;
|
|
474
|
+
|
|
475
|
+
--m27-source-popup-height: var(--m27-source-size-control-height);
|
|
476
|
+
--m27-source-popup-inset-inline-start: 14px;
|
|
477
|
+
--m27-source-popup-chevron-font-size: 13px;
|
|
478
|
+
|
|
479
|
+
--m27-source-segmented-height: var(--m27-source-size-control-height);
|
|
480
|
+
--m27-source-segmented-radius: var(--m27-source-size-control-radius);
|
|
481
|
+
--m27-source-segmented-margin: 12px;
|
|
482
|
+
--m27-source-segmented-separator-height: 18px;
|
|
483
|
+
|
|
484
|
+
--m27-source-radio-size: 18px;
|
|
485
|
+
--m27-source-radio-dot-size: 5px;
|
|
486
|
+
--m27-source-radio-dash-width: 8px;
|
|
487
|
+
--m27-source-radio-dash-height: 2px;
|
|
488
|
+
--m27-source-radio-label-gap: 5px;
|
|
489
|
+
|
|
490
|
+
--m27-source-checkbox-size: 18px;
|
|
491
|
+
--m27-source-checkbox-radius: 6.5px;
|
|
492
|
+
--m27-source-checkbox-checkmark-width: 11.720000267028809px;
|
|
493
|
+
--m27-source-checkbox-checkmark-height: 11.300000190734863px;
|
|
494
|
+
|
|
495
|
+
--m27-source-slider-track-inset-block: 0px;
|
|
496
|
+
--m27-source-slider-track-inset-inline: 0px;
|
|
497
|
+
--m27-source-slider-tick-spacing: 3px;
|
|
498
|
+
--m27-source-slider-knob-width: 24px;
|
|
499
|
+
--m27-source-slider-knob-height: 20px;
|
|
500
|
+
--m27-source-slider-knob-pressed-width: 30px;
|
|
501
|
+
--m27-source-slider-knob-pressed-height: 25px;
|
|
502
|
+
--m27-source-slider-ticked-knob-width: 24px;
|
|
503
|
+
--m27-source-slider-ticked-knob-height: 20px;
|
|
504
|
+
--m27-source-slider-ticked-knob-pressed-width: 30px;
|
|
505
|
+
--m27-source-slider-ticked-knob-pressed-height: 25px;
|
|
506
|
+
--m27-source-dial-knob-height: 6px;
|
|
507
|
+
--m27-source-dial-knob-inset: 3px;
|
|
508
|
+
|
|
509
|
+
--m27-source-stepper-width: 23px;
|
|
510
|
+
--m27-source-stepper-radius: 7px;
|
|
511
|
+
--m27-source-stepper-font-size: 12px;
|
|
512
|
+
--m27-source-stepper-separator-width: 15px;
|
|
513
|
+
|
|
514
|
+
--m27-source-switch-track-width: var(--m27-source-size-toggle-track-width);
|
|
515
|
+
--m27-source-switch-track-height: var(--m27-source-size-control-height);
|
|
516
|
+
--m27-source-switch-knob-width: var(--m27-source-size-toggle-knob-width);
|
|
517
|
+
--m27-source-switch-knob-height: var(--m27-source-size-toggle-knob-height);
|
|
518
|
+
--m27-source-switch-knob-pressed-width: 59px;
|
|
519
|
+
--m27-source-switch-knob-pressed-height: 37px;
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
[data-ui-platform='macos'][data-ui-platform-version='27'][data-control-size='xl'],
|
|
523
|
+
[data-ui-platform='macos'][data-ui-platform-version='27']
|
|
524
|
+
[data-control-size='xl'] {
|
|
525
|
+
--m27-source-control-font-size: 13px;
|
|
526
|
+
|
|
527
|
+
--m27-source-button-height: var(--m27-source-size-control-height);
|
|
528
|
+
--m27-source-button-radius: 1000px;
|
|
529
|
+
--m27-source-button-padding-inline: var(
|
|
530
|
+
--m27-source-size-button-padding-inline
|
|
531
|
+
);
|
|
532
|
+
--m27-source-arrow-button-size: 36px;
|
|
533
|
+
--m27-source-arrow-button-font-size: 13px;
|
|
534
|
+
|
|
535
|
+
--m27-source-color-well-width: 72px;
|
|
536
|
+
--m27-source-color-well-height: 36px;
|
|
537
|
+
|
|
538
|
+
--m27-source-combo-button-inset: 3px;
|
|
539
|
+
--m27-source-combo-button-width: 30px;
|
|
540
|
+
--m27-source-combo-button-radius: 6.5px;
|
|
541
|
+
--m27-source-combo-field-padding-inline-start: 10px;
|
|
542
|
+
--m27-source-combo-field-padding-inline-end: 34px;
|
|
543
|
+
--m27-source-combo-chevron-font-size: 13px;
|
|
544
|
+
|
|
545
|
+
--m27-source-disclosure-size: 36px;
|
|
546
|
+
--m27-source-disclosure-radius: 1000px;
|
|
547
|
+
--m27-source-disclosure-font-size: 13px;
|
|
548
|
+
--m27-source-disclosure-symbol-height: 38px;
|
|
549
|
+
|
|
550
|
+
--m27-source-field-height: var(--m27-source-size-control-height);
|
|
551
|
+
--m27-source-field-inset-inline-start: 10px;
|
|
552
|
+
--m27-source-field-inset-inline-end: 10px;
|
|
553
|
+
--m27-source-field-search-glyph-size: 13px;
|
|
554
|
+
--m27-source-field-search-glyph-leading: 15px;
|
|
555
|
+
--m27-source-field-cursor-height: 18px;
|
|
556
|
+
|
|
557
|
+
--m27-source-popup-height: var(--m27-source-size-control-height);
|
|
558
|
+
--m27-source-popup-inset-inline-start: 18px;
|
|
559
|
+
--m27-source-popup-chevron-font-size: 13px;
|
|
560
|
+
|
|
561
|
+
--m27-source-segmented-height: var(--m27-source-size-control-height);
|
|
562
|
+
--m27-source-segmented-radius: var(--m27-source-size-control-radius);
|
|
563
|
+
--m27-source-segmented-margin: 14px;
|
|
564
|
+
--m27-source-segmented-separator-height: 20px;
|
|
565
|
+
|
|
566
|
+
--m27-source-radio-size: 18px;
|
|
567
|
+
--m27-source-radio-dot-size: 5px;
|
|
568
|
+
--m27-source-radio-dash-width: 8px;
|
|
569
|
+
--m27-source-radio-dash-height: 2px;
|
|
570
|
+
--m27-source-radio-label-gap: 7px;
|
|
571
|
+
|
|
572
|
+
--m27-source-checkbox-size: 18px;
|
|
573
|
+
--m27-source-checkbox-radius: 6.5px;
|
|
574
|
+
--m27-source-checkbox-checkmark-width: 11.720000267028809px;
|
|
575
|
+
--m27-source-checkbox-checkmark-height: 11.300000190734863px;
|
|
576
|
+
|
|
577
|
+
--m27-source-slider-track-inset-block: 0px;
|
|
578
|
+
--m27-source-slider-track-inset-inline: 0px;
|
|
579
|
+
--m27-source-slider-tick-spacing: 3px;
|
|
580
|
+
--m27-source-slider-knob-width: 24px;
|
|
581
|
+
--m27-source-slider-knob-height: 20px;
|
|
582
|
+
--m27-source-slider-knob-pressed-width: 30px;
|
|
583
|
+
--m27-source-slider-knob-pressed-height: 25px;
|
|
584
|
+
--m27-source-slider-ticked-knob-width: 24px;
|
|
585
|
+
--m27-source-slider-ticked-knob-height: 20px;
|
|
586
|
+
--m27-source-slider-ticked-knob-pressed-width: 30px;
|
|
587
|
+
--m27-source-slider-ticked-knob-pressed-height: 25px;
|
|
588
|
+
--m27-source-dial-knob-height: 7px;
|
|
589
|
+
--m27-source-dial-knob-inset: 3px;
|
|
590
|
+
|
|
591
|
+
--m27-source-stepper-width: 30px;
|
|
592
|
+
--m27-source-stepper-radius: 9px;
|
|
593
|
+
--m27-source-stepper-font-size: 12px;
|
|
594
|
+
--m27-source-stepper-separator-width: 20px;
|
|
595
|
+
|
|
596
|
+
--m27-source-switch-track-width: var(--m27-source-size-toggle-track-width);
|
|
597
|
+
--m27-source-switch-track-height: var(--m27-source-size-control-height);
|
|
598
|
+
--m27-source-switch-knob-width: var(--m27-source-size-toggle-knob-width);
|
|
599
|
+
--m27-source-switch-knob-height: var(--m27-source-size-toggle-knob-height);
|
|
600
|
+
--m27-source-switch-knob-pressed-width: 73px;
|
|
601
|
+
--m27-source-switch-knob-pressed-height: 46px;
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
/* Button family. */
|
|
605
|
+
[data-ui-platform='macos'][data-ui-platform-version='27'] {
|
|
606
|
+
--m27-source-button-reference-label-width: 35px;
|
|
607
|
+
--m27-source-button-reference-width: 67px;
|
|
608
|
+
--m27-source-button-stroke-width: 0.5px;
|
|
609
|
+
--m27-source-button-label-standard: var(--m27-source-color-label-primary);
|
|
610
|
+
--m27-source-button-label-disabled: var(--m27-source-color-label-tertiary);
|
|
611
|
+
--m27-source-button-label-tinted: var(--m27-source-color-accent-blue);
|
|
612
|
+
--m27-source-button-label-destructive: var(--m27-source-color-accent-red);
|
|
613
|
+
--m27-source-button-label-prominent: var(--m27-source-color-white);
|
|
614
|
+
--m27-source-button-label-borderless-disabled-opacity: 0.5;
|
|
615
|
+
--m27-source-button-label-tinted-disabled-opacity: 0.4;
|
|
616
|
+
--m27-source-button-label-destructive-disabled-opacity: 0.4;
|
|
617
|
+
--m27-source-button-label-prominent-disabled-opacity: 0.5;
|
|
618
|
+
--m27-source-toggle-button-label-selected-disabled-opacity: 0.3;
|
|
619
|
+
}
|
|
620
|
+
|
|
621
|
+
[data-ui-platform='macos'][data-ui-platform-version='27'][data-button-role='normal'][data-button-emphasis='standard'],
|
|
622
|
+
[data-ui-platform='macos'][data-ui-platform-version='27']
|
|
623
|
+
[data-button-role='normal'][data-button-emphasis='standard'] {
|
|
624
|
+
--m27-source-button-current-label: var(--m27-source-button-label-standard);
|
|
625
|
+
}
|
|
626
|
+
|
|
627
|
+
[data-ui-platform='macos'][data-ui-platform-version='27'][data-button-emphasis='tinted'],
|
|
628
|
+
[data-ui-platform='macos'][data-ui-platform-version='27'][data-button-selected='true'],
|
|
629
|
+
[data-ui-platform='macos'][data-ui-platform-version='27']
|
|
630
|
+
[data-button-emphasis='tinted'],
|
|
631
|
+
[data-ui-platform='macos'][data-ui-platform-version='27']
|
|
632
|
+
[data-button-selected='true'] {
|
|
633
|
+
--m27-source-button-current-label: var(--m27-source-button-label-tinted);
|
|
634
|
+
}
|
|
635
|
+
|
|
636
|
+
[data-ui-platform='macos'][data-ui-platform-version='27'][data-button-role='destructive'],
|
|
637
|
+
[data-ui-platform='macos'][data-ui-platform-version='27']
|
|
638
|
+
[data-button-role='destructive'] {
|
|
639
|
+
--m27-source-button-current-label: var(--m27-source-button-label-destructive);
|
|
640
|
+
}
|
|
641
|
+
|
|
642
|
+
[data-ui-platform='macos'][data-ui-platform-version='27'][data-button-emphasis='prominent'],
|
|
643
|
+
[data-ui-platform='macos'][data-ui-platform-version='27']
|
|
644
|
+
[data-button-emphasis='prominent'] {
|
|
645
|
+
--m27-source-button-current-label: var(--m27-source-button-label-prominent);
|
|
646
|
+
}
|
|
647
|
+
|
|
648
|
+
/* Color wells. */
|
|
649
|
+
[data-ui-platform='macos'][data-ui-platform-version='27'] {
|
|
650
|
+
--m27-source-color-wheel-button-size: 28px;
|
|
651
|
+
--m27-source-color-wheel-color-size: 18px;
|
|
652
|
+
--m27-source-color-wheel-radius: 100px;
|
|
653
|
+
--m27-source-color-well-medium-swatch-inset: 3px;
|
|
654
|
+
--m27-source-color-well-swatch-radius: 100px;
|
|
655
|
+
--m27-source-color-well-swatch-selected-opacity: 0.5;
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
/* Combo boxes. Reference width is illustrative; height and insets are fixed. */
|
|
659
|
+
[data-ui-platform='macos'][data-ui-platform-version='27'] {
|
|
660
|
+
--m27-source-combo-reference-width: 100px;
|
|
661
|
+
--m27-source-combo-stroke-width: 0.5px;
|
|
662
|
+
--m27-source-combo-label-font-weight: 500;
|
|
663
|
+
--m27-source-combo-chevron-font-weight: 700;
|
|
664
|
+
}
|
|
665
|
+
|
|
666
|
+
/* Disclosure controls. */
|
|
667
|
+
[data-ui-platform='macos'][data-ui-platform-version='27'] {
|
|
668
|
+
--m27-source-disclosure-stroke-width: 0.5px;
|
|
669
|
+
--m27-source-disclosure-symbol-font-weight: 700;
|
|
670
|
+
}
|
|
671
|
+
|
|
672
|
+
/* Form compositions. */
|
|
673
|
+
[data-ui-platform='macos'][data-ui-platform-version='27'] {
|
|
674
|
+
--m27-source-form-title-subtitle-gap: 2px;
|
|
675
|
+
--m27-source-form-symbol-label-gap: 6px;
|
|
676
|
+
--m27-source-form-control-content-gap: 8px;
|
|
677
|
+
--m27-source-form-radio-stack-gap: 6px;
|
|
678
|
+
}
|
|
679
|
+
|
|
680
|
+
/* Image wells. */
|
|
681
|
+
[data-ui-platform='macos'][data-ui-platform-version='27'] {
|
|
682
|
+
--m27-source-image-well-size: 30px;
|
|
683
|
+
--m27-source-image-well-image-size: 24px;
|
|
684
|
+
--m27-source-image-well-radius: 3px;
|
|
685
|
+
--m27-source-image-well-fill: var(--m27-source-color-fill-quinary);
|
|
686
|
+
--m27-source-image-well-outer-shadow: 0 0 0 0.5px rgb(0 0 0 / 5%);
|
|
687
|
+
--m27-source-image-well-inner-dark-shadow: inset 0 0 0 1.5px rgb(0 0 0 / 5%);
|
|
688
|
+
--m27-source-image-well-inner-highlight: inset 0 0 0 1px
|
|
689
|
+
rgb(255 255 255 / 100%);
|
|
690
|
+
}
|
|
691
|
+
|
|
692
|
+
/* Pop-up and pull-down buttons. */
|
|
693
|
+
[data-ui-platform='macos'][data-ui-platform-version='27'] {
|
|
694
|
+
--m27-source-popup-reference-width: 100px;
|
|
695
|
+
--m27-source-popup-icon-only-width: 24px;
|
|
696
|
+
--m27-source-popup-radius: 6px;
|
|
697
|
+
--m27-source-popup-item-gap: 8px;
|
|
698
|
+
--m27-source-popup-stroke-width: 0.5px;
|
|
699
|
+
--m27-source-popup-label-font-weight: 500;
|
|
700
|
+
--m27-source-popup-chevron-font-weight: 700;
|
|
701
|
+
}
|
|
702
|
+
|
|
703
|
+
/* Search and text fields. */
|
|
704
|
+
[data-ui-platform='macos'][data-ui-platform-version='27'] {
|
|
705
|
+
--m27-source-field-reference-width: 120px;
|
|
706
|
+
--m27-source-field-radius: 6px;
|
|
707
|
+
--m27-source-field-item-gap: 2px;
|
|
708
|
+
--m27-source-field-idle-stroke-width: 0.5px;
|
|
709
|
+
--m27-source-field-focus-stroke-width: 3px;
|
|
710
|
+
--m27-source-field-cursor-width: 2px;
|
|
711
|
+
--m27-source-field-cursor-radius: 100px;
|
|
712
|
+
--m27-source-field-cursor-color: var(--m27-source-color-accent-blue);
|
|
713
|
+
--m27-source-field-value-color: var(--m27-source-color-label-primary);
|
|
714
|
+
--m27-source-field-placeholder-color: var(--m27-source-color-label-secondary);
|
|
715
|
+
--m27-source-search-accessory-width: 16px;
|
|
716
|
+
--m27-source-search-accessory-height: 15px;
|
|
717
|
+
}
|
|
718
|
+
|
|
719
|
+
/* Segmented controls. */
|
|
720
|
+
[data-ui-platform='macos'][data-ui-platform-version='27'] {
|
|
721
|
+
--m27-source-segmented-reference-width: 267px;
|
|
722
|
+
--m27-source-segmented-fill: var(--m27-source-color-fill-quinary);
|
|
723
|
+
--m27-source-segmented-item-overlap: -1px;
|
|
724
|
+
--m27-source-segmented-minimum-segments: 3;
|
|
725
|
+
--m27-source-segmented-label: var(--m27-source-color-label-primary);
|
|
726
|
+
--m27-source-segmented-selected-label: var(--m27-source-color-white);
|
|
727
|
+
}
|
|
728
|
+
|
|
729
|
+
/* Sliders and dials. */
|
|
730
|
+
[data-ui-platform='macos'][data-ui-platform-version='27'] {
|
|
731
|
+
--m27-source-slider-reference-width: 100px;
|
|
732
|
+
--m27-source-slider-height: 24px;
|
|
733
|
+
--m27-source-slider-half-track-width: 50px;
|
|
734
|
+
--m27-source-slider-track-layout-height: 6px;
|
|
735
|
+
--m27-source-slider-knob-radius: 100px;
|
|
736
|
+
--m27-source-slider-knob-fill: var(--m27-source-color-white);
|
|
737
|
+
--m27-source-slider-knob-shadow: 0 0.5px 6px 0 rgb(0 0 0 / 12%);
|
|
738
|
+
--m27-source-dial-size: 24px;
|
|
739
|
+
--m27-source-dial-radius: 100px;
|
|
740
|
+
--m27-source-dial-stroke-width: 0.5px;
|
|
741
|
+
}
|
|
742
|
+
|
|
743
|
+
/* Steppers. */
|
|
744
|
+
[data-ui-platform='macos'][data-ui-platform-version='27'] {
|
|
745
|
+
--m27-source-stepper-height: 24px;
|
|
746
|
+
--m27-source-stepper-stroke-width: 0.5px;
|
|
747
|
+
--m27-source-stepper-inside-field-reference-width: 62px;
|
|
748
|
+
--m27-source-stepper-outside-field-reference-width: 66px;
|
|
749
|
+
--m27-source-stepper-outside-field-input-width: 42px;
|
|
750
|
+
--m27-source-stepper-outside-field-gap: 4px;
|
|
751
|
+
}
|
|
752
|
+
|
|
753
|
+
/* Toggle family. */
|
|
754
|
+
[data-ui-platform='macos'][data-ui-platform-version='27'] {
|
|
755
|
+
--m27-source-switch-radius: 1000px;
|
|
756
|
+
--m27-source-switch-track-on: var(--m27-source-color-accent-blue);
|
|
757
|
+
--m27-source-switch-track-off: var(--m27-source-color-label-primary);
|
|
758
|
+
--m27-source-switch-track-pressed-overlay: var(
|
|
759
|
+
--m27-source-color-fill-quaternary
|
|
760
|
+
);
|
|
761
|
+
--m27-source-radio-radius: 100px;
|
|
762
|
+
--m27-source-toggle-label: var(--m27-source-color-label-primary);
|
|
763
|
+
--m27-source-toggle-label-disabled: var(--m27-source-color-label-tertiary);
|
|
764
|
+
}
|