@ohos-ports/dxos-react-ui-theme 0.6.7-beta.1
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/LICENSE +8 -0
- package/README.md +25 -0
- package/README.yml +1 -0
- package/dist/lib/browser/index.mjs +2300 -0
- package/dist/lib/browser/index.mjs.map +7 -0
- package/dist/lib/browser/meta.json +1 -0
- package/dist/plugin/node/chunk-G3RQ5GOB.cjs +712 -0
- package/dist/plugin/node/chunk-G3RQ5GOB.cjs.map +7 -0
- package/dist/plugin/node/esbuild-plugin.cjs +89 -0
- package/dist/plugin/node/esbuild-plugin.cjs.map +7 -0
- package/dist/plugin/node/meta.json +1 -0
- package/dist/plugin/node/plugin.cjs +77 -0
- package/dist/plugin/node/plugin.cjs.map +7 -0
- package/dist/plugin/node/theme.css +418 -0
- package/dist/plugin/node/theme.css.map +7 -0
- package/dist/types/src/config/colors.d.ts +109 -0
- package/dist/types/src/config/colors.d.ts.map +1 -0
- package/dist/types/src/config/index.d.ts +3 -0
- package/dist/types/src/config/index.d.ts.map +1 -0
- package/dist/types/src/config/resolveContent.d.ts +2 -0
- package/dist/types/src/config/resolveContent.d.ts.map +1 -0
- package/dist/types/src/config/tailwind.d.ts +9 -0
- package/dist/types/src/config/tailwind.d.ts.map +1 -0
- package/dist/types/src/esbuild-plugin.d.ts +9 -0
- package/dist/types/src/esbuild-plugin.d.ts.map +1 -0
- package/dist/types/src/index.d.ts +4 -0
- package/dist/types/src/index.d.ts.map +1 -0
- package/dist/types/src/plugin.d.ts +13 -0
- package/dist/types/src/plugin.d.ts.map +1 -0
- package/dist/types/src/styles/components/anchored-overflow.d.ts +6 -0
- package/dist/types/src/styles/components/anchored-overflow.d.ts.map +1 -0
- package/dist/types/src/styles/components/avatar.d.ts +21 -0
- package/dist/types/src/styles/components/avatar.d.ts.map +1 -0
- package/dist/types/src/styles/components/breadcrumb.d.ts +9 -0
- package/dist/types/src/styles/components/breadcrumb.d.ts.map +1 -0
- package/dist/types/src/styles/components/button.d.ts +19 -0
- package/dist/types/src/styles/components/button.d.ts.map +1 -0
- package/dist/types/src/styles/components/dialog.d.ts +12 -0
- package/dist/types/src/styles/components/dialog.d.ts.map +1 -0
- package/dist/types/src/styles/components/index.d.ts +22 -0
- package/dist/types/src/styles/components/index.d.ts.map +1 -0
- package/dist/types/src/styles/components/input.d.ts +103 -0
- package/dist/types/src/styles/components/input.d.ts.map +1 -0
- package/dist/types/src/styles/components/link.d.ts +7 -0
- package/dist/types/src/styles/components/link.d.ts.map +1 -0
- package/dist/types/src/styles/components/list.d.ts +14 -0
- package/dist/types/src/styles/components/list.d.ts.map +1 -0
- package/dist/types/src/styles/components/main.d.ts +25 -0
- package/dist/types/src/styles/components/main.d.ts.map +1 -0
- package/dist/types/src/styles/components/menu.d.ts +12 -0
- package/dist/types/src/styles/components/menu.d.ts.map +1 -0
- package/dist/types/src/styles/components/message.d.ts +10 -0
- package/dist/types/src/styles/components/message.d.ts.map +1 -0
- package/dist/types/src/styles/components/popover.d.ts +10 -0
- package/dist/types/src/styles/components/popover.d.ts.map +1 -0
- package/dist/types/src/styles/components/scroll-area.d.ts +9 -0
- package/dist/types/src/styles/components/scroll-area.d.ts.map +1 -0
- package/dist/types/src/styles/components/select.d.ts +13 -0
- package/dist/types/src/styles/components/select.d.ts.map +1 -0
- package/dist/types/src/styles/components/separator.d.ts +7 -0
- package/dist/types/src/styles/components/separator.d.ts.map +1 -0
- package/dist/types/src/styles/components/status.d.ts +8 -0
- package/dist/types/src/styles/components/status.d.ts.map +1 -0
- package/dist/types/src/styles/components/tag.d.ts +7 -0
- package/dist/types/src/styles/components/tag.d.ts.map +1 -0
- package/dist/types/src/styles/components/toast.d.ts +12 -0
- package/dist/types/src/styles/components/toast.d.ts.map +1 -0
- package/dist/types/src/styles/components/toolbar.d.ts +5 -0
- package/dist/types/src/styles/components/toolbar.d.ts.map +1 -0
- package/dist/types/src/styles/components/tooltip.d.ts +6 -0
- package/dist/types/src/styles/components/tooltip.d.ts.map +1 -0
- package/dist/types/src/styles/components/treegrid.d.ts +10 -0
- package/dist/types/src/styles/components/treegrid.d.ts.map +1 -0
- package/dist/types/src/styles/fragments/arrow.d.ts +6 -0
- package/dist/types/src/styles/fragments/arrow.d.ts.map +1 -0
- package/dist/types/src/styles/fragments/density.d.ts +13 -0
- package/dist/types/src/styles/fragments/density.d.ts.map +1 -0
- package/dist/types/src/styles/fragments/dimensions.d.ts +2 -0
- package/dist/types/src/styles/fragments/dimensions.d.ts.map +1 -0
- package/dist/types/src/styles/fragments/disabled.d.ts +3 -0
- package/dist/types/src/styles/fragments/disabled.d.ts.map +1 -0
- package/dist/types/src/styles/fragments/elevation.d.ts +11 -0
- package/dist/types/src/styles/fragments/elevation.d.ts.map +1 -0
- package/dist/types/src/styles/fragments/focus.d.ts +6 -0
- package/dist/types/src/styles/fragments/focus.d.ts.map +1 -0
- package/dist/types/src/styles/fragments/group.d.ts +5 -0
- package/dist/types/src/styles/fragments/group.d.ts.map +1 -0
- package/dist/types/src/styles/fragments/hover.d.ts +14 -0
- package/dist/types/src/styles/fragments/hover.d.ts.map +1 -0
- package/dist/types/src/styles/fragments/hue.d.ts +16 -0
- package/dist/types/src/styles/fragments/hue.d.ts.map +1 -0
- package/dist/types/src/styles/fragments/index.d.ts +19 -0
- package/dist/types/src/styles/fragments/index.d.ts.map +1 -0
- package/dist/types/src/styles/fragments/layout.d.ts +3 -0
- package/dist/types/src/styles/fragments/layout.d.ts.map +1 -0
- package/dist/types/src/styles/fragments/motion.d.ts +3 -0
- package/dist/types/src/styles/fragments/motion.d.ts.map +1 -0
- package/dist/types/src/styles/fragments/ornament.d.ts +4 -0
- package/dist/types/src/styles/fragments/ornament.d.ts.map +1 -0
- package/dist/types/src/styles/fragments/selected.d.ts +12 -0
- package/dist/types/src/styles/fragments/selected.d.ts.map +1 -0
- package/dist/types/src/styles/fragments/shimmer.d.ts +3 -0
- package/dist/types/src/styles/fragments/shimmer.d.ts.map +1 -0
- package/dist/types/src/styles/fragments/size.d.ts +9 -0
- package/dist/types/src/styles/fragments/size.d.ts.map +1 -0
- package/dist/types/src/styles/fragments/surface.d.ts +9 -0
- package/dist/types/src/styles/fragments/surface.d.ts.map +1 -0
- package/dist/types/src/styles/fragments/text.d.ts +6 -0
- package/dist/types/src/styles/fragments/text.d.ts.map +1 -0
- package/dist/types/src/styles/fragments/valence.d.ts +13 -0
- package/dist/types/src/styles/fragments/valence.d.ts.map +1 -0
- package/dist/types/src/styles/index.d.ts +4 -0
- package/dist/types/src/styles/index.d.ts.map +1 -0
- package/dist/types/src/styles/theme.d.ts +5 -0
- package/dist/types/src/styles/theme.d.ts.map +1 -0
- package/dist/types/src/tailwind.d.ts +1 -0
- package/dist/types/src/tailwind.d.ts.map +1 -0
- package/dist/types/src/util/index.d.ts +2 -0
- package/dist/types/src/util/index.d.ts.map +1 -0
- package/dist/types/src/util/mx.d.ts +2 -0
- package/dist/types/src/util/mx.d.ts.map +1 -0
- package/dist/types/src/util/semanticColors.d.ts +10 -0
- package/dist/types/src/util/semanticColors.d.ts.map +1 -0
- package/dist/types/src/util/withLogical.d.ts +158 -0
- package/dist/types/src/util/withLogical.d.ts.map +1 -0
- package/package.json +45 -0
- package/plugin.d.ts +7 -0
- package/plugin.js +10 -0
- package/src/config/colors.ts +293 -0
- package/src/config/index.ts +6 -0
- package/src/config/resolveContent.ts +50 -0
- package/src/config/tailwind.ts +200 -0
- package/src/esbuild-plugin.ts +60 -0
- package/src/index.ts +7 -0
- package/src/plugin.ts +63 -0
- package/src/styles/components/anchored-overflow.ts +20 -0
- package/src/styles/components/avatar.ts +96 -0
- package/src/styles/components/breadcrumb.ts +29 -0
- package/src/styles/components/button.ts +47 -0
- package/src/styles/components/dialog.ts +46 -0
- package/src/styles/components/index.ts +25 -0
- package/src/styles/components/input.ts +172 -0
- package/src/styles/components/link.ts +27 -0
- package/src/styles/components/list.ts +46 -0
- package/src/styles/components/main.ts +81 -0
- package/src/styles/components/menu.ts +52 -0
- package/src/styles/components/message.ts +27 -0
- package/src/styles/components/popover.ts +32 -0
- package/src/styles/components/scroll-area.ts +42 -0
- package/src/styles/components/select.ts +55 -0
- package/src/styles/components/separator.ts +19 -0
- package/src/styles/components/status.ts +27 -0
- package/src/styles/components/tag.ts +49 -0
- package/src/styles/components/toast.ts +53 -0
- package/src/styles/components/toolbar.ts +17 -0
- package/src/styles/components/tooltip.ts +27 -0
- package/src/styles/components/treegrid.ts +37 -0
- package/src/styles/fragments/arrow.ts +10 -0
- package/src/styles/fragments/density.ts +17 -0
- package/src/styles/fragments/dimensions.ts +5 -0
- package/src/styles/fragments/disabled.ts +6 -0
- package/src/styles/fragments/elevation.ts +14 -0
- package/src/styles/fragments/focus.ts +18 -0
- package/src/styles/fragments/group.ts +12 -0
- package/src/styles/fragments/hover.ts +22 -0
- package/src/styles/fragments/hue.ts +151 -0
- package/src/styles/fragments/index.ts +22 -0
- package/src/styles/fragments/layout.ts +7 -0
- package/src/styles/fragments/motion.ts +8 -0
- package/src/styles/fragments/ornament.ts +7 -0
- package/src/styles/fragments/selected.ts +39 -0
- package/src/styles/fragments/shimmer.ts +9 -0
- package/src/styles/fragments/size.ts +117 -0
- package/src/styles/fragments/surface.ts +29 -0
- package/src/styles/fragments/text.ts +11 -0
- package/src/styles/fragments/valence.ts +50 -0
- package/src/styles/index.ts +7 -0
- package/src/styles/layers/anchored-overflow.css +9 -0
- package/src/styles/layers/attention.css +50 -0
- package/src/styles/layers/button.css +73 -0
- package/src/styles/layers/can-scroll.css +26 -0
- package/src/styles/layers/checkbox.css +25 -0
- package/src/styles/layers/focus-ring.css +26 -0
- package/src/styles/layers/index.css +10 -0
- package/src/styles/layers/positioning.css +20 -0
- package/src/styles/layers/surfaces.css +39 -0
- package/src/styles/layers/tldraw.css +87 -0
- package/src/styles/layers/typography.css +152 -0
- package/src/styles/theme.ts +69 -0
- package/src/tailwind.ts +5 -0
- package/src/theme.css +52 -0
- package/src/typings.d.ts +7 -0
- package/src/util/index.ts +5 -0
- package/src/util/mx.ts +40 -0
- package/src/util/semanticColors.ts +57 -0
- package/src/util/withLogical.ts +110 -0
|
@@ -0,0 +1,418 @@
|
|
|
1
|
+
@import "tailwindcss/base";
|
|
2
|
+
@import "tailwindcss/utilities";
|
|
3
|
+
@import "tailwindcss/components";
|
|
4
|
+
@import "@fontsource-variable/jetbrains-mono/wght-italic.css";
|
|
5
|
+
@import "@fontsource-variable/jetbrains-mono/wght.css";
|
|
6
|
+
@import "@fontsource-variable/inter/slnt.css";
|
|
7
|
+
|
|
8
|
+
/* packages/ui/react-ui-theme/src/styles/layers/anchored-overflow.css */
|
|
9
|
+
@layer components {
|
|
10
|
+
.overflow-anchored * {
|
|
11
|
+
overflow-anchor: none;
|
|
12
|
+
}
|
|
13
|
+
.overflow-anchor {
|
|
14
|
+
overflow-anchor: auto;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
/* packages/ui/react-ui-theme/src/styles/layers/attention.css */
|
|
19
|
+
@layer utilities {
|
|
20
|
+
.attention-surface {
|
|
21
|
+
background-color: white;
|
|
22
|
+
--surface-bg: white;
|
|
23
|
+
}
|
|
24
|
+
.dark .attention-surface {
|
|
25
|
+
background-color: theme(colors.neutral.900);
|
|
26
|
+
--surface-bg: theme(colors.neutral.900);
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
@layer components {
|
|
30
|
+
.attention {
|
|
31
|
+
--surface-bg: transparent;
|
|
32
|
+
--surface-separator: transparent;
|
|
33
|
+
}
|
|
34
|
+
.attention-within:focus-within {
|
|
35
|
+
--surface-bg: white;
|
|
36
|
+
--surface-separator: theme(colors.neutral.75);
|
|
37
|
+
}
|
|
38
|
+
.dark .attention-within:focus-within {
|
|
39
|
+
--surface-bg: theme(colors.neutral.900);
|
|
40
|
+
--surface-separator: theme(colors.neutral.750);
|
|
41
|
+
}
|
|
42
|
+
.group\/attention:not(:focus-within) .attention-current[aria-current] {
|
|
43
|
+
--surface-bg: white;
|
|
44
|
+
--surface-separator: theme(colors.neutral.75);
|
|
45
|
+
}
|
|
46
|
+
.dark .group\/attention:not(:focus-within) .attention-current[aria-current] {
|
|
47
|
+
--surface-bg: theme(colors.neutral.900);
|
|
48
|
+
--surface-separator: theme(colors.neutral.750);
|
|
49
|
+
}
|
|
50
|
+
.attention-static,
|
|
51
|
+
.attention-within.attention-static {
|
|
52
|
+
--surface-bg: white;
|
|
53
|
+
--surface-separator: theme(colors.neutral.75);
|
|
54
|
+
}
|
|
55
|
+
.dark .attention-static,
|
|
56
|
+
.dark .attention-within.attention-static {
|
|
57
|
+
--surface-bg: theme(colors.neutral.900);
|
|
58
|
+
--surface-separator: theme(colors.neutral.750);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
/* packages/ui/react-ui-theme/src/styles/layers/button.css */
|
|
63
|
+
@layer base {
|
|
64
|
+
.ch-button {
|
|
65
|
+
@apply font-medium text-sm shrink-0 inline-flex select-none items-center justify-center overflow-hidden transition-colors duration-100 ease-linear surface-input min-bs-[2.5rem] pli-4;
|
|
66
|
+
&[aria-pressed=true],
|
|
67
|
+
&[aria-checked=true] {
|
|
68
|
+
@apply fg-accent surface-attention;
|
|
69
|
+
}
|
|
70
|
+
&[disabled]:not([disabled=false]) {
|
|
71
|
+
@apply opacity-40 cursor-not-allowed shadow-none;
|
|
72
|
+
}
|
|
73
|
+
&[data-variant=ghost] {
|
|
74
|
+
@apply bg-transparent;
|
|
75
|
+
&:hover {
|
|
76
|
+
@apply surface-hover text-inherit;
|
|
77
|
+
}
|
|
78
|
+
&[data-state=open] {
|
|
79
|
+
@apply surface-input;
|
|
80
|
+
}
|
|
81
|
+
&[aria-pressed=true],
|
|
82
|
+
&[aria-checked=true] {
|
|
83
|
+
@apply surface-base fg-accent;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
&[data-variant=outline] {
|
|
87
|
+
@apply border separator-base bg-transparent;
|
|
88
|
+
&:hover {
|
|
89
|
+
@apply surface-hover;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
&:not([disabled]),
|
|
93
|
+
&[disabled=false] {
|
|
94
|
+
&:hover {
|
|
95
|
+
@apply surface-hover;
|
|
96
|
+
}
|
|
97
|
+
&[data-variant=primary] {
|
|
98
|
+
@apply fg-inverse surface-accent;
|
|
99
|
+
&:hover,
|
|
100
|
+
&[aria-pressed=true],
|
|
101
|
+
&[aria-checked=true] &[data-state=open] {
|
|
102
|
+
@apply surface-accentHover;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
&[data-variant=destructive] {
|
|
106
|
+
@apply fg-inverse bg-error-550;
|
|
107
|
+
&:hover,
|
|
108
|
+
&[aria-pressed=true],
|
|
109
|
+
&[aria-checked=true] &[data-state=open] {
|
|
110
|
+
@apply bg-error-500;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
.ch-button:not([data-props~=grouped]) {
|
|
116
|
+
@apply rounded-sm;
|
|
117
|
+
}
|
|
118
|
+
.ch-button:not([data-props~=wrap]) {
|
|
119
|
+
@apply truncate;
|
|
120
|
+
}
|
|
121
|
+
@media (pointer: fine) {
|
|
122
|
+
.ch-button[data-density=fine] {
|
|
123
|
+
@apply min-bs-[2rem] pli-2.5;
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
/* packages/ui/react-ui-theme/src/styles/layers/can-scroll.css */
|
|
129
|
+
@layer components {
|
|
130
|
+
:root {
|
|
131
|
+
--can-scroll-inline: initial;
|
|
132
|
+
}
|
|
133
|
+
@keyframes detect-scroll-inline {
|
|
134
|
+
from, to {
|
|
135
|
+
--can-scroll-inline: ;
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
.justify-center-if-no-scroll {
|
|
139
|
+
justify-content: start;
|
|
140
|
+
}
|
|
141
|
+
@supports (animation-timeline: scroll(inline self)) {
|
|
142
|
+
.justify-center-if-no-scroll {
|
|
143
|
+
animation: detect-scroll-inline linear;
|
|
144
|
+
animation-timeline: scroll(inline self);
|
|
145
|
+
--justify-if-no-scroll: center;
|
|
146
|
+
--justify-if-can-scroll: var(--can-scroll-inline) start;
|
|
147
|
+
justify-content: var(--justify-if-can-scroll, var(--justify-if-no-scroll));
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
/* packages/ui/react-ui-theme/src/styles/layers/checkbox.css */
|
|
153
|
+
@layer base {
|
|
154
|
+
.ch-checkbox {
|
|
155
|
+
@apply is-4 bs-4 border-0 shadow-inner transition-colors surface-unAccent s-accent-unAccent fg-inverse shrink-0 inline-grid place-items-center rounded-sm;
|
|
156
|
+
&[aria-checked=true],
|
|
157
|
+
&[aria-checked=mixed],
|
|
158
|
+
&:checked {
|
|
159
|
+
@apply surface-accent s-accent-accent;
|
|
160
|
+
}
|
|
161
|
+
&:not([disabled]),
|
|
162
|
+
&[disabled=false] {
|
|
163
|
+
&:hover {
|
|
164
|
+
@apply surface-unAccentHover s-accent-unAccentHover;
|
|
165
|
+
&[aria-checked=true],
|
|
166
|
+
&[aria-checked=mixed],
|
|
167
|
+
&:checked {
|
|
168
|
+
@apply surface-accentHover s-accent-accentHover;
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
/* packages/ui/react-ui-theme/src/styles/layers/focus-ring.css */
|
|
176
|
+
@layer base {
|
|
177
|
+
.ch-focus-ring {
|
|
178
|
+
&:not([disabled]),
|
|
179
|
+
&[disabled=false] {
|
|
180
|
+
&:focus {
|
|
181
|
+
@apply outline-none;
|
|
182
|
+
}
|
|
183
|
+
&:focus-visible {
|
|
184
|
+
@apply z-[1] ring-2 ring-offset-0 ring-primary-350 ring-offset-white;
|
|
185
|
+
.dark & {
|
|
186
|
+
@apply ring-primary-450 ring-offset-black;
|
|
187
|
+
}
|
|
188
|
+
&:hover {
|
|
189
|
+
@apply outline-none;
|
|
190
|
+
.dark & {
|
|
191
|
+
@apply outline-none;
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
/* packages/ui/react-ui-theme/src/styles/layers/positioning.css */
|
|
200
|
+
@layer utilities {
|
|
201
|
+
.snap-inline {
|
|
202
|
+
scroll-snap-type: inline var(--tw-scroll-snap-strictness);
|
|
203
|
+
}
|
|
204
|
+
.snap-block {
|
|
205
|
+
scroll-snap-type: block var(--tw-scroll-snap-strictness);
|
|
206
|
+
}
|
|
207
|
+
.sticky-top-0 {
|
|
208
|
+
--sticky-top: 0;
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
@layer components {
|
|
212
|
+
.sticky-top-from-topbar-bottom {
|
|
213
|
+
--sticky-top: var(--topbar-size);
|
|
214
|
+
}
|
|
215
|
+
.sticky-bottom-from-statusbar-bottom {
|
|
216
|
+
--sticky-bottom: var(--statusbar-size);
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
/* packages/ui/react-ui-theme/src/styles/layers/surfaces.css */
|
|
221
|
+
@layer utilities {
|
|
222
|
+
.base-surface {
|
|
223
|
+
background-color: theme(colors.neutral.25);
|
|
224
|
+
--surface-bg: theme(colors.neutral.25);
|
|
225
|
+
--input-bg: theme(colors.neutral.50);
|
|
226
|
+
--input-bg-hover: theme(colors.neutral.75);
|
|
227
|
+
}
|
|
228
|
+
.dark .base-surface {
|
|
229
|
+
background-color: theme(colors.neutral.850);
|
|
230
|
+
--surface-bg: theme(colors.neutral.850);
|
|
231
|
+
--input-bg: theme(colors.neutral.825);
|
|
232
|
+
--input-bg-hover: theme(colors.neutral.800);
|
|
233
|
+
}
|
|
234
|
+
.fixed-surface {
|
|
235
|
+
background-color: theme(colors.neutral.25 / 90%);
|
|
236
|
+
--surface-bg: theme(colors.neutral.25);
|
|
237
|
+
--input-bg: theme(colors.neutral.50);
|
|
238
|
+
--input-bg-hover: theme(colors.neutral.75);
|
|
239
|
+
}
|
|
240
|
+
.dark .fixed-surface {
|
|
241
|
+
background-color: theme(colors.neutral.850 / 90%);
|
|
242
|
+
--surface-bg: theme(colors.neutral.850);
|
|
243
|
+
--input-bg: theme(colors.neutral.825);
|
|
244
|
+
--input-bg-hover: theme(colors.neutral.800);
|
|
245
|
+
}
|
|
246
|
+
.modal-surface {
|
|
247
|
+
background-color: #ffffff;
|
|
248
|
+
--surface-bg: white;
|
|
249
|
+
}
|
|
250
|
+
.dark .modal-surface {
|
|
251
|
+
background-color: theme(colors.neutral.750);
|
|
252
|
+
--surface-bg: theme(colors.neutral.750);
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
/* packages/ui/react-ui-theme/src/styles/layers/tldraw.css */
|
|
257
|
+
.tl-container.tl-theme__light {
|
|
258
|
+
--color-accent: var(--color-accent);
|
|
259
|
+
--color-background: var(--surface-bg);
|
|
260
|
+
--color-panel-contrast: theme(colors.neutral.25);
|
|
261
|
+
--color-panel-overlay: rgba(255, 255, 255, 0.82);
|
|
262
|
+
}
|
|
263
|
+
.tl-container.tl-theme__dark {
|
|
264
|
+
--color-accent: var(--color-accent);
|
|
265
|
+
--color-background: var(--surface-bg);
|
|
266
|
+
--color-divider: theme(colors.neutral.750);
|
|
267
|
+
--color-panel: theme(colors.neutral.900);
|
|
268
|
+
--color-panel-contrast: theme(colors.neutral.750);
|
|
269
|
+
--color-panel-overlay: rgba(54, 61, 68, 0.82);
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
/* packages/ui/react-ui-theme/src/styles/layers/typography.css */
|
|
273
|
+
@layer utilities {
|
|
274
|
+
.not-italic {
|
|
275
|
+
font-variation-settings: "wght" 400, "slnt" 0;
|
|
276
|
+
}
|
|
277
|
+
.font-thin,
|
|
278
|
+
.not-italic.font-thin,
|
|
279
|
+
.not-italic .font-thin,
|
|
280
|
+
.font-thin .not-italic {
|
|
281
|
+
font-variation-settings: "wght" 100, "slnt" 0;
|
|
282
|
+
}
|
|
283
|
+
.font-extralight,
|
|
284
|
+
.not-italic.font-extralight,
|
|
285
|
+
.not-italic .font-extralight,
|
|
286
|
+
.font-extralight .not-italic {
|
|
287
|
+
font-variation-settings: "wght" 200, "slnt" 0;
|
|
288
|
+
}
|
|
289
|
+
.font-light,
|
|
290
|
+
.not-italic.font-light,
|
|
291
|
+
.not-italic .font-light,
|
|
292
|
+
.font-light .not-italic {
|
|
293
|
+
font-variation-settings: "wght" 300, "slnt" 0;
|
|
294
|
+
}
|
|
295
|
+
.font-normal,
|
|
296
|
+
.not-italic.font-normal,
|
|
297
|
+
.not-italic .font-normal,
|
|
298
|
+
.font-normal .not-italic {
|
|
299
|
+
font-variation-settings: "wght" 400, "slnt" 0;
|
|
300
|
+
}
|
|
301
|
+
.font-medium,
|
|
302
|
+
.not-italic.font-medium,
|
|
303
|
+
.not-italic .font-medium,
|
|
304
|
+
.font-medium .not-italic {
|
|
305
|
+
font-variation-settings: "wght" 500, "slnt" 0;
|
|
306
|
+
}
|
|
307
|
+
.font-semibold,
|
|
308
|
+
.not-italic.font-semibold,
|
|
309
|
+
.not-italic .font-semibold,
|
|
310
|
+
.font-semibold .not-italic {
|
|
311
|
+
font-variation-settings: "wght" 600, "slnt" 0;
|
|
312
|
+
}
|
|
313
|
+
.font-bold,
|
|
314
|
+
.not-italic.font-bold,
|
|
315
|
+
.not-italic .font-bold,
|
|
316
|
+
.font-bold .not-italic {
|
|
317
|
+
font-variation-settings: "wght" 700, "slnt" 0;
|
|
318
|
+
}
|
|
319
|
+
.font-extrabold,
|
|
320
|
+
.not-italic.font-extrabold,
|
|
321
|
+
.not-italic .font-extrabold,
|
|
322
|
+
.font-extrabold .not-italic {
|
|
323
|
+
font-variation-settings: "wght" 800, "slnt" 0;
|
|
324
|
+
}
|
|
325
|
+
.font-black,
|
|
326
|
+
.not-italic.font-black,
|
|
327
|
+
.not-italic .font-black,
|
|
328
|
+
.font-black .not-italic {
|
|
329
|
+
font-variation-settings: "wght" 900, "slnt" 0;
|
|
330
|
+
}
|
|
331
|
+
.italic {
|
|
332
|
+
font-variation-settings: "wght" 400, "slnt" -10;
|
|
333
|
+
}
|
|
334
|
+
.italic.font-thin,
|
|
335
|
+
.italic .font-thin,
|
|
336
|
+
.font-thin .italic {
|
|
337
|
+
font-variation-settings: "wght" 100, "slnt" -10;
|
|
338
|
+
}
|
|
339
|
+
.italic.font-extralight,
|
|
340
|
+
.italic .font-extralight,
|
|
341
|
+
.font-extralight .italic {
|
|
342
|
+
font-variation-settings: "wght" 200, "slnt" -10;
|
|
343
|
+
}
|
|
344
|
+
.italic.font-light,
|
|
345
|
+
.italic .font-light,
|
|
346
|
+
.font-light .italic {
|
|
347
|
+
font-variation-settings: "wght" 300, "slnt" -10;
|
|
348
|
+
}
|
|
349
|
+
.italic.font-normal,
|
|
350
|
+
.italic .font-normal,
|
|
351
|
+
.font-normal .italic {
|
|
352
|
+
font-variation-settings: "wght" 400, "slnt" -10;
|
|
353
|
+
}
|
|
354
|
+
.italic.font-medium,
|
|
355
|
+
.italic .font-medium,
|
|
356
|
+
.font-medium .italic {
|
|
357
|
+
font-variation-settings: "wght" 500, "slnt" -10;
|
|
358
|
+
}
|
|
359
|
+
.italic.font-semibold,
|
|
360
|
+
.italic .font-semibold,
|
|
361
|
+
.font-semibold .italic {
|
|
362
|
+
font-variation-settings: "wght" 600, "slnt" -10;
|
|
363
|
+
}
|
|
364
|
+
.italic.font-bold,
|
|
365
|
+
.italic .font-bold,
|
|
366
|
+
.font-bold .italic {
|
|
367
|
+
font-variation-settings: "wght" 700, "slnt" -10;
|
|
368
|
+
}
|
|
369
|
+
.italic.font-extrabold,
|
|
370
|
+
.italic .font-extrabold,
|
|
371
|
+
.font-extrabold .italic {
|
|
372
|
+
font-variation-settings: "wght" 800, "slnt" -10;
|
|
373
|
+
}
|
|
374
|
+
.italic.font-black,
|
|
375
|
+
.italic .font-black,
|
|
376
|
+
.font-black .italic {
|
|
377
|
+
font-variation-settings: "wght" 900, "slnt" -10;
|
|
378
|
+
}
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
/* packages/ui/react-ui-theme/src/styles/layers/index.css */
|
|
382
|
+
|
|
383
|
+
/* packages/ui/react-ui-theme/src/theme.css */
|
|
384
|
+
:root {
|
|
385
|
+
font-synthesis: none;
|
|
386
|
+
font-variation-settings: "wght" 400, "slnt" 0;
|
|
387
|
+
scroll-padding-block-start: theme(spacing.14);
|
|
388
|
+
scroll-padding-block-end: theme(spacing.2);
|
|
389
|
+
--surface-bg: theme(colors.neutral.25);
|
|
390
|
+
--input-bg: theme(colors.neutral.50);
|
|
391
|
+
--input-bg-hover: theme(colors.neutral.75);
|
|
392
|
+
--surface-text: black;
|
|
393
|
+
--description-text: theme(colors.neutral.300);
|
|
394
|
+
--topbar-size: theme(spacing.12);
|
|
395
|
+
--statusbar-size: theme(spacing.6);
|
|
396
|
+
--sticky-top: 0;
|
|
397
|
+
--rail-size: 48px;
|
|
398
|
+
--rail-action: 40px;
|
|
399
|
+
}
|
|
400
|
+
@media (pointer: coarse) {
|
|
401
|
+
:root {
|
|
402
|
+
--statusbar-size: theme(spacing.8);
|
|
403
|
+
}
|
|
404
|
+
}
|
|
405
|
+
.dark {
|
|
406
|
+
--surface-bg: theme(colors.neutral.850);
|
|
407
|
+
--surface-text: white;
|
|
408
|
+
--input-bg: theme(colors.neutral.825);
|
|
409
|
+
--input-bg-hover: theme(colors.neutral.800);
|
|
410
|
+
--description-text: theme(colors.neutral.500);
|
|
411
|
+
color: var(--surface-text);
|
|
412
|
+
}
|
|
413
|
+
html {
|
|
414
|
+
background-color: var(--surface-bg);
|
|
415
|
+
color: var(--surface-text);
|
|
416
|
+
@apply font-body;
|
|
417
|
+
}
|
|
418
|
+
/*# sourceMappingURL=theme.css.map */
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../../src/styles/layers/anchored-overflow.css", "../../../src/styles/layers/attention.css", "../../../src/styles/layers/button.css", "../../../src/styles/layers/can-scroll.css", "../../../src/styles/layers/checkbox.css", "../../../src/styles/layers/focus-ring.css", "../../../src/styles/layers/positioning.css", "../../../src/styles/layers/surfaces.css", "../../../src/styles/layers/tldraw.css", "../../../src/styles/layers/typography.css", "../../../src/theme.css"],
|
|
4
|
+
"sourcesContent": ["@layer components {\n .overflow-anchored * {\n overflow-anchor: none;\n }\n\n .overflow-anchor {\n overflow-anchor: auto;\n }\n}\n", "@layer utilities {\n .attention-surface {\n background-color: white;\n --surface-bg: white;\n }\n\n .dark .attention-surface {\n background-color: theme(colors.neutral.900);\n --surface-bg: theme(colors.neutral.900);\n }\n}\n\n@layer components {\n .attention {\n --surface-bg: transparent;\n --surface-separator: transparent;\n }\n\n .attention-within:focus-within {\n --surface-bg: white;\n --surface-separator: theme(colors.neutral.75);\n }\n\n .dark .attention-within:focus-within {\n --surface-bg: theme(colors.neutral.900);\n --surface-separator: theme(colors.neutral.750);\n }\n\n .group\\/attention:not(:focus-within) .attention-current[aria-current] {\n --surface-bg: white;\n --surface-separator: theme(colors.neutral.75);\n }\n\n .dark .group\\/attention:not(:focus-within) .attention-current[aria-current] {\n --surface-bg: theme(colors.neutral.900);\n --surface-separator: theme(colors.neutral.750);\n }\n\n .attention-static,\n .attention-within.attention-static {\n --surface-bg: white;\n --surface-separator: theme(colors.neutral.75);\n }\n\n .dark .attention-static,\n .dark .attention-within.attention-static {\n --surface-bg: theme(colors.neutral.900);\n --surface-separator: theme(colors.neutral.750);\n }\n}\n", "/* TODO(thure): Focus is handled by .ch-focus-ring, but should ideally be applied as part of this component.*/\n/* TODO(thure): This should be on the `components` layer, but utility classes like `pli-0` weren\u2019t getting precedence like they should. */\n@layer base {\n /* Base styles */\n .ch-button {\n @apply font-medium text-sm shrink-0 inline-flex select-none items-center justify-center overflow-hidden transition-colors duration-100 ease-linear surface-input min-bs-[2.5rem] pli-4;\n &[aria-pressed='true'],\n &[aria-checked='true'] {\n @apply fg-accent surface-attention;\n }\n /* Disabled styles */\n &[disabled]:not([disabled='false']) {\n @apply opacity-40 cursor-not-allowed shadow-none;\n }\n /* Variants consistent between enabled & disabled */\n &[data-variant='ghost'] {\n @apply bg-transparent;\n &:hover {\n @apply surface-hover text-inherit;\n }\n &[data-state='open'] {\n @apply surface-input;\n }\n &[aria-pressed='true'],\n &[aria-checked='true'] {\n @apply surface-base fg-accent;\n }\n }\n &[data-variant='outline'] {\n @apply border separator-base bg-transparent;\n &:hover {\n @apply surface-hover;\n }\n }\n /* Enabled styles */\n &:not([disabled]),\n &[disabled='false'] {\n /* Hover */\n &:hover {\n @apply surface-hover;\n }\n /* Variants */\n &[data-variant='primary'] {\n @apply fg-inverse surface-accent;\n &:hover,\n &[aria-pressed='true'],\n &[aria-checked='true'] &[data-state='open'] {\n @apply surface-accentHover;\n }\n }\n &[data-variant='destructive'] {\n @apply fg-inverse bg-error-550;\n &:hover,\n &[aria-pressed='true'],\n &[aria-checked='true'] &[data-state='open'] {\n @apply bg-error-500;\n }\n }\n }\n }\n /* Props */\n .ch-button:not([data-props~='grouped']) {\n @apply rounded-sm;\n }\n .ch-button:not([data-props~='wrap']) {\n @apply truncate;\n }\n @media (pointer: fine) {\n .ch-button[data-density='fine'] {\n @apply min-bs-[2rem] pli-2.5;\n }\n }\n}\n", "@layer components {\n :root {\n --can-scroll-inline: initial;\n }\n\n @keyframes detect-scroll-inline {\n from,\n to {\n --can-scroll-inline: ;\n }\n }\n\n .justify-center-if-no-scroll {\n justify-content: start;\n }\n\n @supports (animation-timeline: scroll(inline self)) {\n .justify-center-if-no-scroll {\n animation: detect-scroll-inline linear;\n animation-timeline: scroll(inline self);\n --justify-if-no-scroll: center;\n --justify-if-can-scroll: var(--can-scroll-inline) start;\n justify-content: var(--justify-if-can-scroll, var(--justify-if-no-scroll));\n }\n }\n}\n", "/* TODO(thure): Focus is handled by .ch-focus-ring, but should ideally be applied as part of this component.*/\n/* TODO(thure): This should be on the `components` layer, but utility classes like `pli-0` weren\u2019t getting precedence like they should. */\n@layer base {\n .ch-checkbox {\n @apply is-4 bs-4 border-0 shadow-inner transition-colors surface-unAccent s-accent-unAccent fg-inverse shrink-0 inline-grid place-items-center rounded-sm;\n /* Not-unchecked styles */\n &[aria-checked='true'],\n &[aria-checked='mixed'],\n &:checked {\n @apply surface-accent s-accent-accent;\n }\n /* Enabled styles */\n &:not([disabled]),\n &[disabled='false'] {\n &:hover {\n @apply surface-unAccentHover s-accent-unAccentHover;\n &[aria-checked='true'],\n &[aria-checked='mixed'],\n &:checked {\n @apply surface-accentHover s-accent-accentHover;\n }\n }\n }\n }\n}\n", "@layer base {\n .ch-focus-ring {\n &:not([disabled]),\n &[disabled='false'] {\n &:focus {\n @apply outline-none;\n }\n\n &:focus-visible {\n @apply z-[1] ring-2 ring-offset-0 ring-primary-350 ring-offset-white;\n\n .dark & {\n @apply ring-primary-450 ring-offset-black;\n }\n\n &:hover {\n @apply outline-none;\n\n .dark & {\n @apply outline-none;\n }\n }\n }\n }\n }\n}\n", "@layer utilities {\n .snap-inline {\n scroll-snap-type: inline var(--tw-scroll-snap-strictness);\n }\n .snap-block {\n scroll-snap-type: block var(--tw-scroll-snap-strictness);\n }\n .sticky-top-0 {\n --sticky-top: 0;\n }\n}\n\n@layer components {\n .sticky-top-from-topbar-bottom {\n --sticky-top: var(--topbar-size);\n }\n .sticky-bottom-from-statusbar-bottom {\n --sticky-bottom: var(--statusbar-size);\n }\n}\n", "@layer utilities {\n .base-surface {\n background-color: theme(colors.neutral.25);\n --surface-bg: theme(colors.neutral.25);\n --input-bg: theme(colors.neutral.50);\n --input-bg-hover: theme(colors.neutral.75);\n }\n\n .dark .base-surface {\n background-color: theme(colors.neutral.850);\n --surface-bg: theme(colors.neutral.850);\n --input-bg: theme(colors.neutral.825);\n --input-bg-hover: theme(colors.neutral.800);\n }\n\n .fixed-surface {\n background-color: theme(colors.neutral.25 / 90%);\n --surface-bg: theme(colors.neutral.25);\n --input-bg: theme(colors.neutral.50);\n --input-bg-hover: theme(colors.neutral.75);\n }\n\n .dark .fixed-surface {\n background-color: theme(colors.neutral.850 / 90%);\n --surface-bg: theme(colors.neutral.850);\n --input-bg: theme(colors.neutral.825);\n --input-bg-hover: theme(colors.neutral.800);\n }\n\n .modal-surface {\n background-color: #ffffff;\n --surface-bg: white;\n }\n\n .dark .modal-surface {\n background-color: theme(colors.neutral.750);\n --surface-bg: theme(colors.neutral.750);\n }\n}\n", ".tl-container.tl-theme__light {\n /* Converted */\n /* General */\n --color-accent: var(--color-accent);\n --color-background: var(--surface-bg); /* Main background. */\n\n /* Panels *\n --color-panel: theme(colors.neutral.50);\n --color-divider: theme(colors.neutral.75); /* Separator light. */\n --color-panel-contrast: theme(colors.neutral.25);\n --color-panel-overlay: rgba(255, 255, 255, 0.82);\n\n /* Unmodified.\n --color-brush-fill: rgba(144, 144, 144, 0.102);\n --color-brush-stroke: rgba(144, 144, 144, 0.251);\n --color-grid: rgba(144, 144, 144, 0.902);\n --color-low: rgb(237, 240, 242);\n --color-culled: rgb(235, 238, 240);\n --color-muted-0: rgba(0, 0, 0, 0.02);\n --color-muted-1: rgba(0, 0, 0, 0.1);\n --color-muted-2: rgba(0, 0, 0, 0.035);\n --color-hint: rgba(0, 0, 0, 0.055);\n --color-overlay: rgba(0, 0, 0, 0.2);\n --color-focus: #004094;\n --color-selected: #2f80ed;\n --color-selected-contrast: #ffffff;\n --color-selection-fill: #1e90ff06;\n --color-selection-stroke: #2f80ed;\n --color-text-0: #1d1d1d;\n --color-text-1: #2d2d2d;\n --color-text-2: #5f6369;\n --color-text-3: #b6b7ba;\n --color-primary: #2f80ed;\n --color-warn: #d10b0b;\n --color-text: #000000;\n --color-laser: #ff0000;\n --shadow-1: 0px 1px 2px rgba(0, 0, 0, 0.22), 0px 1px 3px rgba(0, 0, 0, 0.09);\n --shadow-2: 0px 0px 2px rgba(0, 0, 0, 0.12), 0px 2px 3px rgba(0, 0, 0, 0.24), 0px 2px 6px rgba(0, 0, 0, 0.1),\n inset 0px 0px 0px 1px var(--color-panel-contrast);\n --shadow-3: 0px 1px 2px rgba(0, 0, 0, 0.25), 0px 2px 6px rgba(0, 0, 0, 0.14),\n inset 0px 0px 0px 1px var(--color-panel-contrast);\n --shadow-4: 0px 0px 3px rgba(0, 0, 0, 0.16), 0px 5px 4px rgba(0, 0, 0, 0.16), 0px 2px 16px rgba(0, 0, 0, 0.06),\n inset 0px 0px 0px 1px var(--color-panel-contrast);\n*/\n}\n\n.tl-container.tl-theme__dark {\n /* Converted */\n /* General */\n --color-accent: var(--color-accent);\n --color-background: var(--surface-bg);\n\n /* Panels */\n --color-divider: theme(colors.neutral.750); /* Separator dark. */\n --color-panel: theme(colors.neutral.900);\n --color-panel-contrast: theme(colors.neutral.750);\n --color-panel-overlay: rgba(54, 61, 68, 0.82);\n\n /* Unmodified.\n --color-brush-fill: rgba(180, 180, 180, 0.05);\n --color-brush-stroke: rgba(180, 180, 180, 0.25);\n --color-grid: #909090e6;\n --color-low: #2c3136;\n --color-culled: rgb(47, 52, 57);\n --color-muted-0: rgba(255, 255, 255, 0.02);\n --color-muted-1: rgba(255, 255, 255, 0.1);\n --color-muted-2: rgba(255, 255, 255, 0.05);\n --color-hint: rgba(255, 255, 255, 0.1);\n --color-overlay: rgba(0, 0, 0, 0.35);\n --color-focus: #a5c3f3;\n --color-selected: #4285f4;\n --color-selected-contrast: #ffffff;\n --color-selection-fill: rgba(38, 150, 255, 0.05);\n --color-selection-stroke: #2f80ed;\n --color-text-0: #f0eded;\n --color-text-1: #d9d9d9;\n --color-text-2: #8e9094;\n --color-text-3: #515a62;\n --color-primary: #2f80ed;\n --color-warn: #d10b0b;\n --color-text: #f8f9fa;\n --color-laser: #ff0000;\n --shadow-1: 0px 1px 2px #00000029, 0px 1px 3px #00000038, inset 0px 0px 0px 1px var(--color-panel-contrast);\n --shadow-2: 0px 1px 3px #00000077, 0px 2px 6px #00000055, inset 0px 0px 0px 1px var(--color-panel-contrast);\n --shadow-3: 0px 1px 3px #00000077, 0px 2px 12px rgba(0, 0, 0, 0.22), inset 0px 0px 0px 1px var(--color-panel-contrast);\n */\n}\n", "@import '@fontsource-variable/jetbrains-mono/wght-italic.css';\n@import '@fontsource-variable/jetbrains-mono/wght.css';\n@import '@fontsource-variable/inter/slnt.css';\n\n@layer utilities {\n /* Font weights & `italic` handling */\n .not-italic {\n font-variation-settings:\n 'wght' 400,\n 'slnt' 0;\n }\n .font-thin,\n .not-italic.font-thin,\n .not-italic .font-thin,\n .font-thin .not-italic {\n font-variation-settings:\n 'wght' 100,\n 'slnt' 0;\n }\n .font-extralight,\n .not-italic.font-extralight,\n .not-italic .font-extralight,\n .font-extralight .not-italic {\n font-variation-settings:\n 'wght' 200,\n 'slnt' 0;\n }\n .font-light,\n .not-italic.font-light,\n .not-italic .font-light,\n .font-light .not-italic {\n font-variation-settings:\n 'wght' 300,\n 'slnt' 0;\n }\n .font-normal,\n .not-italic.font-normal,\n .not-italic .font-normal,\n .font-normal .not-italic {\n font-variation-settings:\n 'wght' 400,\n 'slnt' 0;\n }\n .font-medium,\n .not-italic.font-medium,\n .not-italic .font-medium,\n .font-medium .not-italic {\n font-variation-settings:\n 'wght' 500,\n 'slnt' 0;\n }\n .font-semibold,\n .not-italic.font-semibold,\n .not-italic .font-semibold,\n .font-semibold .not-italic {\n font-variation-settings:\n 'wght' 600,\n 'slnt' 0;\n }\n .font-bold,\n .not-italic.font-bold,\n .not-italic .font-bold,\n .font-bold .not-italic {\n font-variation-settings:\n 'wght' 700,\n 'slnt' 0;\n }\n .font-extrabold,\n .not-italic.font-extrabold,\n .not-italic .font-extrabold,\n .font-extrabold .not-italic {\n font-variation-settings:\n 'wght' 800,\n 'slnt' 0;\n }\n .font-black,\n .not-italic.font-black,\n .not-italic .font-black,\n .font-black .not-italic {\n font-variation-settings:\n 'wght' 900,\n 'slnt' 0;\n }\n .italic {\n font-variation-settings:\n 'wght' 400,\n 'slnt' -10;\n }\n .italic.font-thin,\n .italic .font-thin,\n .font-thin .italic {\n font-variation-settings:\n 'wght' 100,\n 'slnt' -10;\n }\n .italic.font-extralight,\n .italic .font-extralight,\n .font-extralight .italic {\n font-variation-settings:\n 'wght' 200,\n 'slnt' -10;\n }\n .italic.font-light,\n .italic .font-light,\n .font-light .italic {\n font-variation-settings:\n 'wght' 300,\n 'slnt' -10;\n }\n .italic.font-normal,\n .italic .font-normal,\n .font-normal .italic {\n font-variation-settings:\n 'wght' 400,\n 'slnt' -10;\n }\n .italic.font-medium,\n .italic .font-medium,\n .font-medium .italic {\n font-variation-settings:\n 'wght' 500,\n 'slnt' -10;\n }\n .italic.font-semibold,\n .italic .font-semibold,\n .font-semibold .italic {\n font-variation-settings:\n 'wght' 600,\n 'slnt' -10;\n }\n .italic.font-bold,\n .italic .font-bold,\n .font-bold .italic {\n font-variation-settings:\n 'wght' 700,\n 'slnt' -10;\n }\n .italic.font-extrabold,\n .italic .font-extrabold,\n .font-extrabold .italic {\n font-variation-settings:\n 'wght' 800,\n 'slnt' -10;\n }\n .italic.font-black,\n .italic .font-black,\n .font-black .italic {\n font-variation-settings:\n 'wght' 900,\n 'slnt' -10;\n }\n}\n", "/**\n * Variable fonts:\n * https://fontsource.org/?category=sans-serif&variable=true\n */\n\n@import 'tailwindcss/base';\n@import 'tailwindcss/utilities';\n@import 'tailwindcss/components';\n\n@import './styles/layers/index.css';\n\n/* Base variables */\n\n:root {\n font-synthesis: none;\n font-variation-settings:\n 'wght' 400,\n 'slnt' 0;\n scroll-padding-block-start: theme(spacing.14);\n scroll-padding-block-end: theme(spacing.2);\n --surface-bg: theme(colors.neutral.25);\n --input-bg: theme(colors.neutral.50);\n --input-bg-hover: theme(colors.neutral.75);\n --surface-text: black;\n --description-text: theme(colors.neutral.300);\n --topbar-size: theme(spacing.12);\n --statusbar-size: theme(spacing.6);\n --sticky-top: 0;\n --rail-size: 48px;\n --rail-action: 40px;\n}\n\n@media (pointer: coarse) {\n :root {\n --statusbar-size: theme(spacing.8);\n }\n}\n\n.dark {\n --surface-bg: theme(colors.neutral.850);\n --surface-text: white;\n --input-bg: theme(colors.neutral.825);\n --input-bg-hover: theme(colors.neutral.800);\n --description-text: theme(colors.neutral.500);\n color: var(--surface-text);\n}\n\nhtml {\n background-color: var(--surface-bg);\n color: var(--surface-text);\n @apply font-body;\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;AAAA;AACE,GAAC,kBAAkB;AACjB,qBAAiB;AACnB;AAEA,GAAC;AACC,qBAAiB;AACnB;AACF;;;ACRA;AACE,GAAC;AACC,sBAAkB;AAClB,kBAAc;AAChB;AAEA,GAAC,KAAK,CALL;AAMC,sBAAkB,MAAM,MAAM,CAAC,OAAO;AACtC,kBAAc,MAAM,MAAM,CAAC,OAAO;AACpC;AACF;AAEA;AACE,GAAC;AACC,kBAAc;AACd,yBAAqB;AACvB;AAEA,GAAC,gBAAgB;AACf,kBAAc;AACd,yBAAqB,MAAM,MAAM,CAAC,OAAO;AAC3C;AAEA,GAjBC,KAiBK,CALL,gBAKsB;AACrB,kBAAc,MAAM,MAAM,CAAC,OAAO;AAClC,yBAAqB,MAAM,MAAM,CAAC,OAAO;AAC3C;AAEA,GAAC,gBAAgB,KAAK,eAAe,CAAC,iBAAiB,CAAC;AACtD,kBAAc;AACd,yBAAqB,MAAM,MAAM,CAAC,OAAO;AAC3C;AAEA,GA3BC,KA2BK,CALL,gBAKsB,KAAK,eAAe,CALL,iBAKuB,CAAC;AAC5D,kBAAc,MAAM,MAAM,CAAC,OAAO;AAClC,yBAAqB,MAAM,MAAM,CAAC,OAAO;AAC3C;AAEA,GAAC;AAAA,EACD,CArBC,gBAqBgB,CADhB;AAEC,kBAAc;AACd,yBAAqB,MAAM,MAAM,CAAC,OAAO;AAC3C;AAEA,GAtCC,KAsCK,CANL;AAAA,EAOD,CAvCC,KAuCK,CA3BL,gBA2BsB,CAPtB;AAQC,kBAAc,MAAM,MAAM,CAAC,OAAO;AAClC,yB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,6BACE,OAAO,GAAG,EACV,OAAO;AACX;AACF;;;;;AC1IA;AACE,kBAAgB;AAChB,2BACE,OAAO,GAAG,EACV,OAAO;AACT,8BAA4B,MAAM,OAAO;AACzC,4BAA0B,MAAM,OAAO;AACvC,gBAAc,MAAM,MAAM,CAAC,OAAO;AAClC,cAAY,MAAM,MAAM,CAAC,OAAO;AAChC,oBAAkB,MAAM,MAAM,CAAC,OAAO;AACtC,kBAAgB;AAChB,sBAAoB,MAAM,MAAM,CAAC,OAAO;AACxC,iBAAe,MAAM,OAAO;AAC5B,oBAAkB,MAAM,OAAO;AAC/B,gBAAc;AACd,eAAa;AACb,iBAAe;AACjB;AAEA,OAAO,CAAC,OAAO,EAAE;AACf;AACE,sBAAkB,MAAM,OAAO;AACjC;AACF;AAEA,CAAC;AACC,gBAAc,MAAM,MAAM,CAAC,OAAO;AAClC,kBAAgB;AAChB,cAAY,MAAM,MAAM,CAAC,OAAO;AAChC,oBAAkB,MAAM,MAAM,CAAC,OAAO;AACtC,sBAAoB,MAAM,MAAM,CAAC,OAAO;AACxC,SAAO,IAAI;AACb;AAEA;AACE,oBAAkB,IAAI;AACtB,SAAO,IAAI;AACX,SAAO;AACT;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
export type PaletteConfig = {
|
|
2
|
+
keyColor: string;
|
|
3
|
+
darkCp: number;
|
|
4
|
+
lightCp: number;
|
|
5
|
+
hueTorsion: number;
|
|
6
|
+
};
|
|
7
|
+
export type HuePalette = 'red' | 'orange' | 'amber' | 'yellow' | 'lime' | 'green' | 'emerald' | 'teal' | 'cyan' | 'sky' | 'blue' | 'indigo' | 'violet' | 'purple' | 'fuchsia' | 'pink' | 'rose';
|
|
8
|
+
export type ConfigPalette = HuePalette | 'primary' | 'neutral';
|
|
9
|
+
export declare const paletteConfigs: Record<ConfigPalette, PaletteConfig>;
|
|
10
|
+
export declare const physicalColors: Record<string, Record<string, string>>;
|
|
11
|
+
export declare const semanticColors: {
|
|
12
|
+
scrim: {
|
|
13
|
+
light: string;
|
|
14
|
+
dark: string;
|
|
15
|
+
};
|
|
16
|
+
attention: {
|
|
17
|
+
light: string;
|
|
18
|
+
dark: string;
|
|
19
|
+
};
|
|
20
|
+
deck: {
|
|
21
|
+
light: string;
|
|
22
|
+
dark: string;
|
|
23
|
+
};
|
|
24
|
+
base: {
|
|
25
|
+
light: string;
|
|
26
|
+
dark: string;
|
|
27
|
+
fg: {
|
|
28
|
+
light: string;
|
|
29
|
+
dark: string;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
fgHover: {
|
|
33
|
+
light: string;
|
|
34
|
+
dark: string;
|
|
35
|
+
};
|
|
36
|
+
description: {
|
|
37
|
+
light: string;
|
|
38
|
+
dark: string;
|
|
39
|
+
};
|
|
40
|
+
subdued: {
|
|
41
|
+
light: string;
|
|
42
|
+
dark: string;
|
|
43
|
+
};
|
|
44
|
+
error: {
|
|
45
|
+
light: string;
|
|
46
|
+
dark: string;
|
|
47
|
+
};
|
|
48
|
+
baseGlass: {
|
|
49
|
+
light: string;
|
|
50
|
+
dark: string;
|
|
51
|
+
};
|
|
52
|
+
input: {
|
|
53
|
+
light: string;
|
|
54
|
+
dark: string;
|
|
55
|
+
};
|
|
56
|
+
modal: {
|
|
57
|
+
light: string;
|
|
58
|
+
dark: string;
|
|
59
|
+
};
|
|
60
|
+
modalSelected: {
|
|
61
|
+
light: string;
|
|
62
|
+
dark: string;
|
|
63
|
+
};
|
|
64
|
+
hover: {
|
|
65
|
+
light: string;
|
|
66
|
+
dark: string;
|
|
67
|
+
};
|
|
68
|
+
accent: {
|
|
69
|
+
light: string;
|
|
70
|
+
dark: string;
|
|
71
|
+
fg: {
|
|
72
|
+
light: string;
|
|
73
|
+
dark: string;
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
accentHover: {
|
|
77
|
+
light: string;
|
|
78
|
+
dark: string;
|
|
79
|
+
};
|
|
80
|
+
accentFocusIndicator: {
|
|
81
|
+
light: string;
|
|
82
|
+
dark: string;
|
|
83
|
+
};
|
|
84
|
+
unAccent: {
|
|
85
|
+
light: string;
|
|
86
|
+
dark: string;
|
|
87
|
+
};
|
|
88
|
+
unAccentHover: {
|
|
89
|
+
light: string;
|
|
90
|
+
dark: string;
|
|
91
|
+
};
|
|
92
|
+
separator: {
|
|
93
|
+
light: string;
|
|
94
|
+
dark: string;
|
|
95
|
+
};
|
|
96
|
+
inverse: {
|
|
97
|
+
light: string;
|
|
98
|
+
dark: string;
|
|
99
|
+
};
|
|
100
|
+
transparent: {
|
|
101
|
+
light: string;
|
|
102
|
+
dark: string;
|
|
103
|
+
};
|
|
104
|
+
unavailable: {
|
|
105
|
+
light: string;
|
|
106
|
+
dark: string;
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
//# sourceMappingURL=colors.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"colors.d.ts","sourceRoot":"","sources":["../../../../src/config/colors.ts"],"names":[],"mappings":"AAWA,MAAM,MAAM,aAAa,GAAG;IAC1B,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAaF,MAAM,MAAM,UAAU,GAClB,KAAK,GACL,QAAQ,GACR,OAAO,GACP,QAAQ,GACR,MAAM,GACN,OAAO,GACP,SAAS,GACT,MAAM,GACN,MAAM,GACN,KAAK,GACL,MAAM,GACN,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,SAAS,GACT,MAAM,GACN,MAAM,CAAC;AAEX,MAAM,MAAM,aAAa,GAAG,UAAU,GAAG,SAAS,GAAG,SAAS,CAAC;AAE/D,eAAO,MAAM,cAAc,EAAE,MAAM,CAAC,aAAa,EAAE,aAAa,CAmH/D,CAAC;AAEF,eAAO,MAAM,cAAc,wCAgC1B,CAAC;AAEF,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2F1B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/config/index.ts"],"names":[],"mappings":"AAIA,cAAc,UAAU,CAAC;AACzB,cAAc,YAAY,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resolveContent.d.ts","sourceRoot":"","sources":["../../../../src/config/resolveContent.ts"],"names":[],"mappings":"AAgCA,eAAO,MAAM,iBAAiB,YAAmB,MAAM,EAAE,OAAO,MAAM,KAAG,QAAQ,MAAM,EAAE,CAiBxF,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { type Config, type ThemeConfig } from 'tailwindcss/types/config';
|
|
2
|
+
export type TailwindConfig = Config;
|
|
3
|
+
export type TailwindThemeConfig = ThemeConfig;
|
|
4
|
+
export declare const tailwindConfig: ({ env, content, extensions, }: {
|
|
5
|
+
env?: string;
|
|
6
|
+
content?: string[];
|
|
7
|
+
extensions?: Partial<TailwindThemeConfig>[];
|
|
8
|
+
}) => TailwindConfig;
|
|
9
|
+
//# sourceMappingURL=tailwind.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tailwind.d.ts","sourceRoot":"","sources":["../../../../src/config/tailwind.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,KAAK,MAAM,EAAE,KAAK,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAOzE,MAAM,MAAM,cAAc,GAAG,MAAM,CAAC;AACpC,MAAM,MAAM,mBAAmB,GAAG,WAAW,CAAC;AAE9C,eAAO,MAAM,cAAc,kCAIxB;IACD,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,UAAU,CAAC,EAAE,QAAQ,mBAAmB,CAAC,EAAE,CAAC;CAC7C,KAAG,cA4KF,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { Plugin } from 'esbuild';
|
|
2
|
+
import type { ThemeConfig } from 'tailwindcss/types/config';
|
|
3
|
+
export declare const ThemePlugins: (options: {
|
|
4
|
+
content: string[];
|
|
5
|
+
root?: string;
|
|
6
|
+
outdir: string;
|
|
7
|
+
extensions?: Partial<ThemeConfig>[];
|
|
8
|
+
}) => Promise<Plugin[]>;
|
|
9
|
+
//# sourceMappingURL=esbuild-plugin.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"esbuild-plugin.d.ts","sourceRoot":"","sources":["../../../src/esbuild-plugin.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AAKtC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAK5D,eAAO,MAAM,YAAY,YAAmB;IAC1C,OAAO,EAAE,MAAM,EAAE,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE,QAAQ,WAAW,CAAC,EAAE,CAAC;CACrC,KAAG,QAAQ,MAAM,EAAE,CAuCnB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AAIA,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { ThemeConfig } from 'tailwindcss/types/config';
|
|
2
|
+
import { type Plugin } from 'vite';
|
|
3
|
+
export interface VitePluginTailwindOptions {
|
|
4
|
+
jit?: boolean;
|
|
5
|
+
cssPath?: string;
|
|
6
|
+
virtualFileId?: string;
|
|
7
|
+
content?: string[];
|
|
8
|
+
root?: string;
|
|
9
|
+
}
|
|
10
|
+
export declare const ThemePlugin: (options: Pick<VitePluginTailwindOptions, 'content' | 'root'> & {
|
|
11
|
+
extensions?: Partial<ThemeConfig>[];
|
|
12
|
+
}) => Plugin<any>;
|
|
13
|
+
//# sourceMappingURL=plugin.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plugin.d.ts","sourceRoot":"","sources":["../../../src/plugin.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAC5D,OAAO,EAAE,KAAK,MAAM,EAAE,MAAM,MAAM,CAAC;AAKnC,MAAM,WAAW,yBAAyB;IACxC,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAID,eAAO,MAAM,WAAW,YACb,KAAK,yBAAyB,EAAE,SAAS,GAAG,MAAM,CAAC,GAAG;IAAE,UAAU,CAAC,EAAE,QAAQ,WAAW,CAAC,EAAE,CAAA;CAAE,gBAqCvG,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { type ComponentFunction, type Theme } from '@dxos/react-ui-types';
|
|
2
|
+
export type AnchoredOverflowStyleProps = {};
|
|
3
|
+
export declare const anchoredOverflowRoot: ComponentFunction<AnchoredOverflowStyleProps>;
|
|
4
|
+
export declare const anchoredOverflowAnchor: ComponentFunction<AnchoredOverflowStyleProps>;
|
|
5
|
+
export declare const anchoredOverflowTheme: Theme<AnchoredOverflowStyleProps>;
|
|
6
|
+
//# sourceMappingURL=anchored-overflow.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"anchored-overflow.d.ts","sourceRoot":"","sources":["../../../../../src/styles/components/anchored-overflow.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,iBAAiB,EAAE,KAAK,KAAK,EAAE,MAAM,sBAAsB,CAAC;AAI1E,MAAM,MAAM,0BAA0B,GAAG,EAAE,CAAC;AAE5C,eAAO,MAAM,oBAAoB,EAAE,iBAAiB,CAAC,0BAA0B,CAChC,CAAC;AAEhD,eAAO,MAAM,sBAAsB,EAAE,iBAAiB,CAAC,0BAA0B,CACtC,CAAC;AAE5C,eAAO,MAAM,qBAAqB,EAAE,KAAK,CAAC,0BAA0B,CAGnE,CAAC"}
|