@dxos/ui-theme 0.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +8 -0
- package/README.md +25 -0
- package/package.json +80 -0
- package/src/Tokens.stories.tsx +88 -0
- package/src/config/index.ts +6 -0
- package/src/config/tailwind.ts +250 -0
- package/src/config/tokens/alias-colors.ts +39 -0
- package/src/config/tokens/index.ts +92 -0
- package/src/config/tokens/lengths.ts +97 -0
- package/src/config/tokens/physical-colors.ts +125 -0
- package/src/config/tokens/semantic-colors.ts +27 -0
- package/src/config/tokens/sememes-calls.ts +17 -0
- package/src/config/tokens/sememes-codemirror.ts +50 -0
- package/src/config/tokens/sememes-hue.ts +54 -0
- package/src/config/tokens/sememes-sheet.ts +62 -0
- package/src/config/tokens/sememes-system.ts +302 -0
- package/src/config/tokens/sizes.ts +7 -0
- package/src/config/tokens/types.ts +9 -0
- package/src/docs/theme.drawio.svg +635 -0
- package/src/index.ts +19 -0
- package/src/plugins/esbuild-plugin.ts +65 -0
- package/src/plugins/plugin.ts +130 -0
- package/src/plugins/resolveContent.ts +51 -0
- package/src/styles/components/README.md +6 -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 +48 -0
- package/src/styles/components/dialog.ts +36 -0
- package/src/styles/components/icon-button.ts +20 -0
- package/src/styles/components/icon.ts +19 -0
- package/src/styles/components/index.ts +27 -0
- package/src/styles/components/input.ts +177 -0
- package/src/styles/components/link.ts +26 -0
- package/src/styles/components/list.ts +46 -0
- package/src/styles/components/main.ts +36 -0
- package/src/styles/components/menu.ts +60 -0
- package/src/styles/components/message.ts +36 -0
- package/src/styles/components/popover.ts +40 -0
- package/src/styles/components/scroll-area.ts +43 -0
- package/src/styles/components/select.ts +60 -0
- package/src/styles/components/separator.ts +24 -0
- package/src/styles/components/status.ts +32 -0
- package/src/styles/components/tag.ts +23 -0
- package/src/styles/components/toast.ts +55 -0
- package/src/styles/components/toolbar.ts +29 -0
- package/src/styles/components/tooltip.ts +29 -0
- package/src/styles/components/treegrid.ts +37 -0
- package/src/styles/fragments/density.ts +17 -0
- package/src/styles/fragments/dimension.ts +8 -0
- package/src/styles/fragments/disabled.ts +6 -0
- package/src/styles/fragments/elevation.ts +29 -0
- package/src/styles/fragments/focus.ts +16 -0
- package/src/styles/fragments/group.ts +12 -0
- package/src/styles/fragments/hover.ts +25 -0
- package/src/styles/fragments/index.ts +20 -0
- package/src/styles/fragments/layout.ts +7 -0
- package/src/styles/fragments/motion.ts +6 -0
- package/src/styles/fragments/ornament.ts +10 -0
- package/src/styles/fragments/selected.ts +45 -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 +12 -0
- package/src/styles/fragments/valence.ts +46 -0
- package/src/styles/index.ts +7 -0
- package/src/styles/layers/README.md +15 -0
- package/src/styles/layers/anchored-overflow.css +9 -0
- package/src/styles/layers/animation.css +17 -0
- package/src/styles/layers/attention.css +8 -0
- package/src/styles/layers/base.css +25 -0
- package/src/styles/layers/button.css +76 -0
- package/src/styles/layers/can-scroll.css +26 -0
- package/src/styles/layers/checkbox.css +50 -0
- package/src/styles/layers/dialog.css +42 -0
- package/src/styles/layers/drag-preview.css +18 -0
- package/src/styles/layers/focus-ring.css +224 -0
- package/src/styles/layers/hues.css +110 -0
- package/src/styles/layers/index.css +26 -0
- package/src/styles/layers/main.css +160 -0
- package/src/styles/layers/native.css +20 -0
- package/src/styles/layers/positioning.css +23 -0
- package/src/styles/layers/size.css +397 -0
- package/src/styles/layers/surfaces.css +31 -0
- package/src/styles/layers/tag.css +132 -0
- package/src/styles/layers/tldraw.css +91 -0
- package/src/styles/layers/tokens.css +45 -0
- package/src/styles/layers/typography.css +157 -0
- package/src/styles/theme.ts +69 -0
- package/src/tailwind.ts +5 -0
- package/src/theme.css +9 -0
- package/src/types.ts +7 -0
- package/src/typings.d.ts +8 -0
- package/src/util/hash-styles.ts +168 -0
- package/src/util/index.ts +6 -0
- package/src/util/mx.ts +51 -0
- package/src/util/withLogical.ts +114 -0
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
/* Main component classes */
|
|
2
|
+
|
|
3
|
+
@layer utilities {
|
|
4
|
+
.dx-main-content-padding {
|
|
5
|
+
@apply pis-0 scroll-ps-0 pie-0 scroll-pe-0;
|
|
6
|
+
|
|
7
|
+
@media (min-width: theme('screens.lg')) {
|
|
8
|
+
&[data-sidebar-inline-start-state='collapsed'] {
|
|
9
|
+
@apply pis-[--l0-size] scroll-ps-[--l0-size];
|
|
10
|
+
}
|
|
11
|
+
&[data-sidebar-inline-start-state='expanded'] {
|
|
12
|
+
@apply pis-[--nav-sidebar-size] scroll-ps-[--nav-sidebar-size];
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
&[data-sidebar-inline-end-state='collapsed'] {
|
|
16
|
+
@apply pie-[--r0-size] scroll-pe-[--r0-size];
|
|
17
|
+
}
|
|
18
|
+
&[data-sidebar-inline-end-state='expanded'] {
|
|
19
|
+
@apply pie-[--complementary-sidebar-size] scroll-pe-[--complementary-sidebar-size];
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.dx-main-content-padding-transitions {
|
|
25
|
+
transition-property: padding-inline-start, padding-inline-end, scroll-padding-start, scroll-padding-end;
|
|
26
|
+
@apply duration-200 ease-in-out-symmetric;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.dx-main-intrinsic-size {
|
|
30
|
+
@apply is-[calc(100dvw)-2*var(--main-spacing)] transition-[inline-size] ease-in-out-symmetric duration-200;
|
|
31
|
+
|
|
32
|
+
@media (min-width: theme('screens.lg')) {
|
|
33
|
+
&[data-sidebar-inline-start-state='closed'][data-sidebar-inline-end-state='closed'] {
|
|
34
|
+
inline-size: calc(100dvw - 2 * var(--main-spacing));
|
|
35
|
+
}
|
|
36
|
+
&[data-sidebar-inline-start-state='collapsed'][data-sidebar-inline-end-state='closed'] {
|
|
37
|
+
inline-size: calc(100dvw - var(--l0-size) - 2 * var(--main-spacing));
|
|
38
|
+
}
|
|
39
|
+
&[data-sidebar-inline-start-state='expanded'][data-sidebar-inline-end-state='closed'] {
|
|
40
|
+
inline-size: calc(100dvw - var(--nav-sidebar-size) - 2 * var(--main-spacing));
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
&[data-sidebar-inline-start-state='closed'][data-sidebar-inline-end-state='collapsed'] {
|
|
44
|
+
inline-size: calc(100dvw - var(--r0-size) - 2 * var(--main-spacing));
|
|
45
|
+
}
|
|
46
|
+
&[data-sidebar-inline-start-state='collapsed'][data-sidebar-inline-end-state='collapsed'] {
|
|
47
|
+
inline-size: calc(100dvw - var(--l0-size) - var(--r0-size) - 2 * var(--main-spacing));
|
|
48
|
+
}
|
|
49
|
+
&[data-sidebar-inline-start-state='expanded'][data-sidebar-inline-end-state='collapsed'] {
|
|
50
|
+
inline-size: calc(100dvw - var(--nav-sidebar-size) - var(--r0-size) - 2 * var(--main-spacing));
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
&[data-sidebar-inline-start-state='closed'][data-sidebar-inline-end-state='expanded'] {
|
|
54
|
+
inline-size: calc(100dvw - var(--complementary-sidebar-size) - 2 * var(--main-spacing));
|
|
55
|
+
}
|
|
56
|
+
&[data-sidebar-inline-start-state='collapsed'][data-sidebar-inline-end-state='expanded'] {
|
|
57
|
+
inline-size: calc(100dvw - var(--l0-size) - var(--complementary-sidebar-size) - 2 * var(--main-spacing));
|
|
58
|
+
}
|
|
59
|
+
&[data-sidebar-inline-start-state='expanded'][data-sidebar-inline-end-state='expanded'] {
|
|
60
|
+
inline-size: calc(
|
|
61
|
+
100dvw - var(--nav-sidebar-size) - var(--complementary-sidebar-size) - 2 * var(--main-spacing)
|
|
62
|
+
);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.dx-main-bounce-layout {
|
|
68
|
+
@apply fixed inset-0 z-0 overflow-auto overscroll-auto;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
@layer dx-components {
|
|
73
|
+
.dx-main-sidebar {
|
|
74
|
+
@apply fixed overscroll-contain overflow-x-hidden overflow-y-auto;
|
|
75
|
+
@apply duration-200 ease-in-out-symmetric;
|
|
76
|
+
@apply border-landmarkLine border-subduedSeparator rounded-md;
|
|
77
|
+
@apply sidebar-surface backdrop-blur-md dark:backdrop-blur-lg;
|
|
78
|
+
|
|
79
|
+
transition-property: inset-inline-start, inset-inline-end, inline-size;
|
|
80
|
+
inset-block-start: max(0.5rem, env(safe-area-inset-top));
|
|
81
|
+
inset-block-end: max(0.5rem, env(safe-area-inset-bottom));
|
|
82
|
+
inline-size: calc(100dvw - 3rem);
|
|
83
|
+
z-index: 7;
|
|
84
|
+
|
|
85
|
+
@media (min-width: theme('screens.lg')) {
|
|
86
|
+
@apply block-start-0 block-end-0 rounded-none border-lb-0;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
&[data-resizing='false'] {
|
|
90
|
+
@apply duration-200;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
&[data-side='is'] {
|
|
94
|
+
@apply -inline-start-[100vw] border-ie-landmarkLine border-subduedSeparator;
|
|
95
|
+
z-index: 8;
|
|
96
|
+
|
|
97
|
+
&[data-state='expanded'] {
|
|
98
|
+
inset-inline-start: max(0.5rem, env(safe-area-inset-left));
|
|
99
|
+
@media (min-width: theme('screens.lg')) {
|
|
100
|
+
@apply inline-start-0;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
@media (min-width: theme('screens.sm')) {
|
|
105
|
+
@apply is-[--nav-sidebar-size];
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
@media (min-width: theme('screens.lg')) {
|
|
109
|
+
@apply border-is-0;
|
|
110
|
+
|
|
111
|
+
&[data-state='collapsed'] {
|
|
112
|
+
@apply is-[--l0-size] inline-start-0;
|
|
113
|
+
}
|
|
114
|
+
&[data-state='expanded'] {
|
|
115
|
+
@apply is-[--nav-sidebar-size];
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
&[data-side='ie'] {
|
|
121
|
+
@apply -inline-end-[100vw] border-is-landmarkLine border-separator;
|
|
122
|
+
|
|
123
|
+
&[data-state='expanded'] {
|
|
124
|
+
inset-inline-end: max(0.5rem, env(safe-area-inset-right));
|
|
125
|
+
@media (min-width: theme('screens.lg')) {
|
|
126
|
+
@apply inline-end-0;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
@media (min-width: theme('screens.sm')) {
|
|
131
|
+
@apply is-[--complementary-sidebar-size];
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
@media (min-width: theme('screens.lg')) {
|
|
135
|
+
@apply border-ie-0;
|
|
136
|
+
&[data-state='collapsed'] {
|
|
137
|
+
@apply is-[--r0-size] inline-end-0;
|
|
138
|
+
}
|
|
139
|
+
&[data-state='expanded'] {
|
|
140
|
+
@apply is-[--complementary-sidebar-size];
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.dx-main-overlay {
|
|
147
|
+
@apply fixed inset-0 bg-scrimSurface;
|
|
148
|
+
@apply transition-opacity duration-200 ease-in-out-symmetric;
|
|
149
|
+
@apply opacity-0 hidden;
|
|
150
|
+
z-index: 6;
|
|
151
|
+
|
|
152
|
+
&[data-state='open'] {
|
|
153
|
+
@apply opacity-100 block;
|
|
154
|
+
|
|
155
|
+
@media (min-width: theme('screens.lg')) {
|
|
156
|
+
@apply opacity-100 hidden;
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
@layer utilities {
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Native app drag regions.
|
|
5
|
+
* For Tauri apps, the data-tauri-drag-region attribute is applied
|
|
6
|
+
* automatically by plugin-native (Tauri doesn't support -webkit-app-region).
|
|
7
|
+
* The CSS properties below are for Electron/PWA compatibility.
|
|
8
|
+
*/
|
|
9
|
+
.app-drag {
|
|
10
|
+
-webkit-user-select: none;
|
|
11
|
+
-webkit-app-region: drag;
|
|
12
|
+
--app-region: drag;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.app-no-drag {
|
|
16
|
+
-webkit-app-region: no-drag;
|
|
17
|
+
--app-region: no-drag;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
@layer utilities {
|
|
2
|
+
.snap-inline {
|
|
3
|
+
scroll-snap-type: inline var(--tw-scroll-snap-strictness);
|
|
4
|
+
}
|
|
5
|
+
.snap-block {
|
|
6
|
+
scroll-snap-type: block var(--tw-scroll-snap-strictness);
|
|
7
|
+
}
|
|
8
|
+
.sticky-top-0 {
|
|
9
|
+
--sticky-top: 0;
|
|
10
|
+
}
|
|
11
|
+
.contain-layout {
|
|
12
|
+
contain: layout;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
@layer dx-components {
|
|
17
|
+
.sticky-top-from-topbar-bottom {
|
|
18
|
+
--sticky-top: var(--topbar-size);
|
|
19
|
+
}
|
|
20
|
+
.sticky-bottom-from-statusbar-bottom {
|
|
21
|
+
--sticky-bottom: var(--statusbar-size);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,397 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @layer dx-components
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
.container-max-width {
|
|
6
|
+
@apply is-full max-is-containerMaxWidth mli-auto;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.card-min-width {
|
|
10
|
+
@apply min-is-cardMinWidth;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.card-max-width {
|
|
14
|
+
@apply is-full max-is-cardMaxWidth;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.popover-max-width {
|
|
18
|
+
@apply is-max max-is-popoverMaxWidth;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.popover-card-width {
|
|
22
|
+
inline-size: min(var(--radix-popper-available-width), calc(var(--dx-popoverMaxWidth) - 2 * var(--dx-hairLine)));
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.popover-card-height {
|
|
26
|
+
block-size: min(var(--radix-popper-available-height), 100dvh);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.popover-square {
|
|
30
|
+
inline-size: min(min(var(--radix-popper-available-width), var(--dx-popoverMaxWidth)),
|
|
31
|
+
min(var(--radix-popper-available-height), 100dvh));
|
|
32
|
+
block-size: min(min(var(--radix-popper-available-width), var(--dx-popoverMaxWidth)),
|
|
33
|
+
min(var(--radix-popper-available-height), 100dvh));
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.popover-card-max-width {
|
|
37
|
+
max-inline-size: min(var(--radix-popper-available-width), var(--dx-popoverMaxWidth));
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.size-container {
|
|
41
|
+
container-type: size;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
@layer dx-components {
|
|
45
|
+
|
|
46
|
+
/* Block size */
|
|
47
|
+
[data-size='0'],
|
|
48
|
+
[data-block-size='0'] {
|
|
49
|
+
@apply bs-0;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
[data-size='px'],
|
|
53
|
+
[data-block-size='px'] {
|
|
54
|
+
@apply bs-px;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
[data-size='0.5'],
|
|
58
|
+
[data-block-size='0.5'] {
|
|
59
|
+
@apply bs-0.5;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
[data-size='1'],
|
|
63
|
+
[data-block-size='1'] {
|
|
64
|
+
@apply bs-1;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
[data-size='1.5'],
|
|
68
|
+
[data-block-size='1.5'] {
|
|
69
|
+
@apply bs-1.5;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
[data-size='2'],
|
|
73
|
+
[data-block-size='2'] {
|
|
74
|
+
@apply bs-2;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
[data-size='2.5'],
|
|
78
|
+
[data-block-size='2.5'] {
|
|
79
|
+
@apply bs-2.5;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
[data-size='3'],
|
|
83
|
+
[data-block-size='3'] {
|
|
84
|
+
@apply bs-3;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
[data-size='3.5'],
|
|
88
|
+
[data-block-size='3.5'] {
|
|
89
|
+
@apply bs-3.5;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
[data-size='4'],
|
|
93
|
+
[data-block-size='4'] {
|
|
94
|
+
@apply bs-4;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
[data-size='5'],
|
|
98
|
+
[data-block-size='5'] {
|
|
99
|
+
@apply bs-5;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
[data-size='6'],
|
|
103
|
+
[data-block-size='6'] {
|
|
104
|
+
@apply bs-6;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
[data-size='7'],
|
|
108
|
+
[data-block-size='7'] {
|
|
109
|
+
@apply bs-7;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
[data-size='8'],
|
|
113
|
+
[data-block-size='8'] {
|
|
114
|
+
@apply bs-8;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
[data-size='9'],
|
|
118
|
+
[data-block-size='9'] {
|
|
119
|
+
@apply bs-9;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
[data-size='10'],
|
|
123
|
+
[data-block-size='10'] {
|
|
124
|
+
@apply bs-10;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
[data-size='11'],
|
|
128
|
+
[data-block-size='11'] {
|
|
129
|
+
@apply bs-11;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
[data-size='12'],
|
|
133
|
+
[data-block-size='12'] {
|
|
134
|
+
@apply bs-12;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
[data-size='14'],
|
|
138
|
+
[data-block-size='14'] {
|
|
139
|
+
@apply bs-14;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
[data-size='16'],
|
|
143
|
+
[data-block-size='16'] {
|
|
144
|
+
@apply bs-16;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
[data-size='20'],
|
|
148
|
+
[data-block-size='20'] {
|
|
149
|
+
@apply bs-20;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
[data-size='24'],
|
|
153
|
+
[data-block-size='24'] {
|
|
154
|
+
@apply bs-24;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
[data-size='28'],
|
|
158
|
+
[data-block-size='28'] {
|
|
159
|
+
@apply bs-28;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
[data-size='32'],
|
|
163
|
+
[data-block-size='32'] {
|
|
164
|
+
@apply bs-32;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
[data-size='36'],
|
|
168
|
+
[data-block-size='36'] {
|
|
169
|
+
@apply bs-36;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
[data-size='40'],
|
|
173
|
+
[data-block-size='40'] {
|
|
174
|
+
@apply bs-40;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
[data-size='44'],
|
|
178
|
+
[data-block-size='44'] {
|
|
179
|
+
@apply bs-44;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
[data-size='48'],
|
|
183
|
+
[data-block-size='48'] {
|
|
184
|
+
@apply bs-48;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
[data-size='52'],
|
|
188
|
+
[data-block-size='52'] {
|
|
189
|
+
@apply bs-52;
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
[data-size='56'],
|
|
193
|
+
[data-block-size='56'] {
|
|
194
|
+
@apply bs-56;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
[data-size='60'],
|
|
198
|
+
[data-block-size='60'] {
|
|
199
|
+
@apply bs-60;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
[data-size='64'],
|
|
203
|
+
[data-block-size='64'] {
|
|
204
|
+
@apply bs-64;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
[data-size='72'],
|
|
208
|
+
[data-block-size='72'] {
|
|
209
|
+
@apply bs-72;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
[data-size='80'],
|
|
213
|
+
[data-block-size='80'] {
|
|
214
|
+
@apply bs-80;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
[data-size='96'],
|
|
218
|
+
[data-block-size='96'] {
|
|
219
|
+
@apply bs-96;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
/* Inline size */
|
|
223
|
+
[data-size='0'],
|
|
224
|
+
[data-inline-size='0'] {
|
|
225
|
+
@apply is-0;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
[data-size='px'],
|
|
229
|
+
[data-inline-size='px'] {
|
|
230
|
+
@apply is-px;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
[data-size='0.5'],
|
|
234
|
+
[data-inline-size='0.5'] {
|
|
235
|
+
@apply is-0.5;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
[data-size='1'],
|
|
239
|
+
[data-inline-size='1'] {
|
|
240
|
+
@apply is-1;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
[data-size='1.5'],
|
|
244
|
+
[data-inline-size='1.5'] {
|
|
245
|
+
@apply is-1.5;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
[data-size='2'],
|
|
249
|
+
[data-inline-size='2'] {
|
|
250
|
+
@apply is-2;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
[data-size='2.5'],
|
|
254
|
+
[data-inline-size='2.5'] {
|
|
255
|
+
@apply is-2.5;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
[data-size='3'],
|
|
259
|
+
[data-inline-size='3'] {
|
|
260
|
+
@apply is-3;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
[data-size='3.5'],
|
|
264
|
+
[data-inline-size='3.5'] {
|
|
265
|
+
@apply is-3.5;
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
[data-size='4'],
|
|
269
|
+
[data-inline-size='4'] {
|
|
270
|
+
@apply is-4;
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
[data-size='5'],
|
|
274
|
+
[data-inline-size='5'] {
|
|
275
|
+
@apply is-5;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
[data-size='6'],
|
|
279
|
+
[data-inline-size='6'] {
|
|
280
|
+
@apply is-6;
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
[data-size='7'],
|
|
284
|
+
[data-inline-size='7'] {
|
|
285
|
+
@apply is-7;
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
[data-size='8'],
|
|
289
|
+
[data-inline-size='8'] {
|
|
290
|
+
@apply is-8;
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
[data-size='9'],
|
|
294
|
+
[data-inline-size='9'] {
|
|
295
|
+
@apply is-9;
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
[data-size='10'],
|
|
299
|
+
[data-inline-size='10'] {
|
|
300
|
+
@apply is-10;
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
[data-size='11'],
|
|
304
|
+
[data-inline-size='11'] {
|
|
305
|
+
@apply is-11;
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
[data-size='12'],
|
|
309
|
+
[data-inline-size='12'] {
|
|
310
|
+
@apply is-12;
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
[data-size='14'],
|
|
314
|
+
[data-inline-size='14'] {
|
|
315
|
+
@apply is-14;
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
[data-size='16'],
|
|
319
|
+
[data-inline-size='16'] {
|
|
320
|
+
@apply is-16;
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
[data-size='20'],
|
|
324
|
+
[data-inline-size='20'] {
|
|
325
|
+
@apply is-20;
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
[data-size='24'],
|
|
329
|
+
[data-inline-size='24'] {
|
|
330
|
+
@apply is-24;
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
[data-size='28'],
|
|
334
|
+
[data-inline-size='28'] {
|
|
335
|
+
@apply is-28;
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
[data-size='32'],
|
|
339
|
+
[data-inline-size='32'] {
|
|
340
|
+
@apply is-32;
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
[data-size='36'],
|
|
344
|
+
[data-inline-size='36'] {
|
|
345
|
+
@apply is-36;
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
[data-size='40'],
|
|
349
|
+
[data-inline-size='40'] {
|
|
350
|
+
@apply is-40;
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
[data-size='44'],
|
|
354
|
+
[data-inline-size='44'] {
|
|
355
|
+
@apply is-44;
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
[data-size='48'],
|
|
359
|
+
[data-inline-size='48'] {
|
|
360
|
+
@apply is-48;
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
[data-size='52'],
|
|
364
|
+
[data-inline-size='52'] {
|
|
365
|
+
@apply is-52;
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
[data-size='56'],
|
|
369
|
+
[data-inline-size='56'] {
|
|
370
|
+
@apply is-56;
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
[data-size='60'],
|
|
374
|
+
[data-inline-size='60'] {
|
|
375
|
+
@apply is-60;
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
[data-size='64'],
|
|
379
|
+
[data-inline-size='64'] {
|
|
380
|
+
@apply is-64;
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
[data-size='72'],
|
|
384
|
+
[data-inline-size='72'] {
|
|
385
|
+
@apply is-72;
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
[data-size='80'],
|
|
389
|
+
[data-inline-size='80'] {
|
|
390
|
+
@apply is-80;
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
[data-size='96'],
|
|
394
|
+
[data-inline-size='96'] {
|
|
395
|
+
@apply is-96;
|
|
396
|
+
}
|
|
397
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
@layer utilities {
|
|
2
|
+
.base-surface {
|
|
3
|
+
background-color: var(--dx-baseSurface);
|
|
4
|
+
--surface-bg: var(--dx-baseSurface);
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.dark .base-surface {
|
|
8
|
+
background-color: var(--dx-baseSurface);
|
|
9
|
+
--surface-bg: var(--dx-baseSurface);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.sidebar-surface {
|
|
13
|
+
background-color: var(--dx-sidebarSurface);
|
|
14
|
+
--surface-bg: var(--dx-sidebarSurface);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.dark .sidebar-surface {
|
|
18
|
+
background-color: var(--dx-sidebarSurface);
|
|
19
|
+
--surface-bg: var(--dx-sidebarSurface);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.modal-surface {
|
|
23
|
+
background-color: var(--dx-modalSurface);
|
|
24
|
+
--surface-bg: var(--dx-modalSurface);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.dark .modal-surface {
|
|
28
|
+
background-color: var(--dx-modalSurface);
|
|
29
|
+
--surface-bg: var(--dx-modalSurface);
|
|
30
|
+
}
|
|
31
|
+
}
|