@rovula/ui 0.1.5 → 0.1.6
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/cjs/bundle.css +43 -13
- package/dist/cjs/bundle.js +5 -5
- package/dist/cjs/bundle.js.map +1 -1
- package/dist/cjs/types/components/Text/Text.d.ts +25 -1
- package/dist/cjs/types/components/Text/Text.stories.d.ts +1 -1
- package/dist/cjs/types/utils/colors.d.ts +1 -1
- package/dist/components/Avatar/Avatar.styles.js +2 -2
- package/dist/components/Button/Buttons.stories.js +1 -1
- package/dist/components/Calendar/Calendar.js +1 -1
- package/dist/components/Dropdown/Dropdown.js +2 -2
- package/dist/components/DropdownMenu/DropdownMenu.js +4 -4
- package/dist/components/Footer/Footer.js +1 -1
- package/dist/components/Input/Input.styles.js +2 -2
- package/dist/components/InputFilter/InputFilter.js +2 -2
- package/dist/components/Label/Label.styles.js +4 -4
- package/dist/components/Menu/Menu.js +2 -2
- package/dist/components/Navbar/Navbar.js +1 -1
- package/dist/components/Tabs/Tabs.js +1 -1
- package/dist/components/Text/Text.js +11 -1
- package/dist/components/Text/Text.stories.js +6 -6
- package/dist/components/TextArea/TextArea.styles.js +6 -6
- package/dist/components/TextInput/TextInput.stories.js +1 -1
- package/dist/components/TextInput/TextInput.styles.js +18 -18
- package/dist/components/Toast/Toast.js +2 -2
- package/dist/esm/bundle.css +43 -13
- package/dist/esm/bundle.js +5 -5
- package/dist/esm/bundle.js.map +1 -1
- package/dist/esm/types/components/Text/Text.d.ts +25 -1
- package/dist/esm/types/components/Text/Text.stories.d.ts +1 -1
- package/dist/esm/types/utils/colors.d.ts +1 -1
- package/dist/index.d.ts +26 -2
- package/dist/src/theme/global.css +152 -101
- package/dist/utils/colors.js +1 -1
- package/package.json +1 -1
- package/src/components/Avatar/Avatar.styles.ts +2 -2
- package/src/components/Button/Buttons.stories.tsx +2 -2
- package/src/components/Calendar/Calendar.tsx +1 -1
- package/src/components/Dropdown/Dropdown.tsx +2 -2
- package/src/components/DropdownMenu/DropdownMenu.tsx +6 -6
- package/src/components/Footer/Footer.tsx +1 -1
- package/src/components/Input/Input.styles.tsx +2 -2
- package/src/components/InputFilter/InputFilter.tsx +2 -2
- package/src/components/Label/Label.styles.ts +4 -4
- package/src/components/Menu/Menu.tsx +2 -2
- package/src/components/Navbar/Navbar.tsx +1 -1
- package/src/components/Tabs/Tabs.tsx +1 -1
- package/src/components/Text/Text.stories.tsx +6 -6
- package/src/components/Text/Text.tsx +36 -1
- package/src/components/TextArea/TextArea.styles.ts +6 -6
- package/src/components/TextInput/TextInput.stories.tsx +3 -1
- package/src/components/TextInput/TextInput.styles.ts +18 -18
- package/src/components/Toast/Toast.tsx +2 -2
- package/src/theme/THEME_MAPPING.md +5 -5
- package/src/theme/global.css +1 -1
- package/src/theme/main-preset.js +49 -0
- package/src/theme/plugins/utilities/typography.js +40 -6
- package/src/theme/presets/colors.js +1 -1
- package/src/theme/themes/skyller/color.css +1 -1
- package/src/theme/themes/skyller/state.css +11 -11
- package/src/theme/themes/variable.css +78 -63
- package/src/theme/themes/xspector/color.css +1 -1
- package/src/theme/themes/xspector/state.css +11 -11
- package/src/theme/tokens/color.css +1 -1
- package/src/utils/colors.ts +1 -1
|
@@ -1,6 +1,30 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
export type TextProps = {
|
|
3
|
-
variant?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "
|
|
3
|
+
variant?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "subtitle1" | "subtitle2" | "subtitle3" | "subtitle4" | "subtitle5" | "subtitle6"
|
|
4
|
+
/**
|
|
5
|
+
* @deprecated Use subtitle1 instead.
|
|
6
|
+
*/
|
|
7
|
+
| "subtitile1"
|
|
8
|
+
/**
|
|
9
|
+
* @deprecated Use subtitle2 instead.
|
|
10
|
+
*/
|
|
11
|
+
| "subtitile2"
|
|
12
|
+
/**
|
|
13
|
+
* @deprecated Use subtitle3 instead.
|
|
14
|
+
*/
|
|
15
|
+
| "subtitile3"
|
|
16
|
+
/**
|
|
17
|
+
* @deprecated Use subtitle4 instead.
|
|
18
|
+
*/
|
|
19
|
+
| "subtitile4"
|
|
20
|
+
/**
|
|
21
|
+
* @deprecated Use subtitle5 instead.
|
|
22
|
+
*/
|
|
23
|
+
| "subtitile5"
|
|
24
|
+
/**
|
|
25
|
+
* @deprecated Use subtitle6 instead.
|
|
26
|
+
*/
|
|
27
|
+
| "subtitile6" | "body1" | "body2" | "body3" | "body4" | "small1" | "small2" | "small3" | "small4" | "small5" | "small6" | "small7" | "small8" | "small9" | "label1" | "label2" | "buttonL" | "buttonMS";
|
|
4
28
|
color?: "primary" | "secondary" | "success" | "tertiary" | "info" | "warning" | "error";
|
|
5
29
|
children?: React.ReactNode;
|
|
6
30
|
className?: string;
|
|
@@ -7,7 +7,7 @@ declare const meta: {
|
|
|
7
7
|
layout: string;
|
|
8
8
|
};
|
|
9
9
|
decorators: ((Story: import("@storybook/csf").PartialStoryFn<import("@storybook/react").ReactRenderer, {
|
|
10
|
-
variant?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "subtitile1" | "subtitile2" | "subtitile3" | "subtitile4" | "subtitile5" | "subtitile6" | "body1" | "body2" | "body3" | "body4" | "small1" | "small2" | "small3" | "small4" | "small5" | "small6" | "small7" | "small8" | "small9" | "label1" | "label2" | "buttonL" | "buttonMS" | undefined;
|
|
10
|
+
variant?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "subtitle1" | "subtitle2" | "subtitle3" | "subtitle4" | "subtitle5" | "subtitle6" | "subtitile1" | "subtitile2" | "subtitile3" | "subtitile4" | "subtitile5" | "subtitile6" | "body1" | "body2" | "body3" | "body4" | "small1" | "small2" | "small3" | "small4" | "small5" | "small6" | "small7" | "small8" | "small9" | "label1" | "label2" | "buttonL" | "buttonMS" | undefined;
|
|
11
11
|
color?: "primary" | "secondary" | "success" | "tertiary" | "info" | "warning" | "error" | undefined;
|
|
12
12
|
children?: React.ReactNode;
|
|
13
13
|
className?: string | undefined;
|
|
@@ -225,7 +225,7 @@ export declare const THEME_COLOR_KEYS: {
|
|
|
225
225
|
readonly "base-workspace-stroke": "--base-color-workspace-stroke";
|
|
226
226
|
readonly "base-guideline-stroke": "--base-color-guideline-stroke";
|
|
227
227
|
readonly "base-popup": "--base-color-popup";
|
|
228
|
-
readonly "base-popup-highlight": "--base-color-popup-
|
|
228
|
+
readonly "base-popup-highlight": "--base-color-popup-highlight";
|
|
229
229
|
readonly "base-popup-curtain": "--base-color-popup-curtain";
|
|
230
230
|
readonly "base-popup-foreground": "--base-color-popup-foreground";
|
|
231
231
|
readonly "common-white": "--common-white";
|
package/dist/index.d.ts
CHANGED
|
@@ -277,7 +277,31 @@ declare const TextArea: React__default.ForwardRefExoticComponent<{
|
|
|
277
277
|
} & Omit<React__default.TextareaHTMLAttributes<HTMLTextAreaElement>, "size"> & React__default.RefAttributes<HTMLTextAreaElement>>;
|
|
278
278
|
|
|
279
279
|
type TextProps = {
|
|
280
|
-
variant?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "
|
|
280
|
+
variant?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "subtitle1" | "subtitle2" | "subtitle3" | "subtitle4" | "subtitle5" | "subtitle6"
|
|
281
|
+
/**
|
|
282
|
+
* @deprecated Use subtitle1 instead.
|
|
283
|
+
*/
|
|
284
|
+
| "subtitile1"
|
|
285
|
+
/**
|
|
286
|
+
* @deprecated Use subtitle2 instead.
|
|
287
|
+
*/
|
|
288
|
+
| "subtitile2"
|
|
289
|
+
/**
|
|
290
|
+
* @deprecated Use subtitle3 instead.
|
|
291
|
+
*/
|
|
292
|
+
| "subtitile3"
|
|
293
|
+
/**
|
|
294
|
+
* @deprecated Use subtitle4 instead.
|
|
295
|
+
*/
|
|
296
|
+
| "subtitile4"
|
|
297
|
+
/**
|
|
298
|
+
* @deprecated Use subtitle5 instead.
|
|
299
|
+
*/
|
|
300
|
+
| "subtitile5"
|
|
301
|
+
/**
|
|
302
|
+
* @deprecated Use subtitle6 instead.
|
|
303
|
+
*/
|
|
304
|
+
| "subtitile6" | "body1" | "body2" | "body3" | "body4" | "small1" | "small2" | "small3" | "small4" | "small5" | "small6" | "small7" | "small8" | "small9" | "label1" | "label2" | "buttonL" | "buttonMS";
|
|
281
305
|
color?: "primary" | "secondary" | "success" | "tertiary" | "info" | "warning" | "error";
|
|
282
306
|
children?: React__default.ReactNode;
|
|
283
307
|
className?: string;
|
|
@@ -1313,7 +1337,7 @@ declare const THEME_COLOR_KEYS: {
|
|
|
1313
1337
|
readonly "base-workspace-stroke": "--base-color-workspace-stroke";
|
|
1314
1338
|
readonly "base-guideline-stroke": "--base-color-guideline-stroke";
|
|
1315
1339
|
readonly "base-popup": "--base-color-popup";
|
|
1316
|
-
readonly "base-popup-highlight": "--base-color-popup-
|
|
1340
|
+
readonly "base-popup-highlight": "--base-color-popup-highlight";
|
|
1317
1341
|
readonly "base-popup-curtain": "--base-color-popup-curtain";
|
|
1318
1342
|
readonly "base-popup-foreground": "--base-color-popup-foreground";
|
|
1319
1343
|
readonly "common-white": "--common-white";
|
|
@@ -232,7 +232,7 @@
|
|
|
232
232
|
--base-color-workspace-stroke: #e2e2e2;
|
|
233
233
|
--base-color-guideline-stroke: #c5c5c5;
|
|
234
234
|
--base-color-popup: #ffffff;
|
|
235
|
-
--base-color-popup-
|
|
235
|
+
--base-color-popup-highlight: #343638;
|
|
236
236
|
--base-color-popup-curtain: rgba(0 0 0 / 0.6);
|
|
237
237
|
--common-white: #ffffff;
|
|
238
238
|
--common-black: #000000;
|
|
@@ -1136,36 +1136,36 @@
|
|
|
1136
1136
|
--brand-columbia-blue-xspector: #adcad6;
|
|
1137
1137
|
--brand-columbia-blue-report-xspector-light-mode: #adcad6;
|
|
1138
1138
|
--brand-columbia-blue-skyller: #0891b2;
|
|
1139
|
-
--brand-
|
|
1140
|
-
--brand-
|
|
1141
|
-
--brand-
|
|
1139
|
+
--brand-background-xspector: #1e3249;
|
|
1140
|
+
--brand-background-report-xspector-light-mode: #1e3249;
|
|
1141
|
+
--brand-background-skyller: #60a5fa;
|
|
1142
1142
|
--brand-lemon-glacier-xspector: #f5ff00;
|
|
1143
1143
|
--brand-lemon-glacier-report-xspector-light-mode: #f5ff00;
|
|
1144
1144
|
--brand-lemon-glacier-skyller: #fde68a;
|
|
1145
1145
|
--text-black-xspector: #000000;
|
|
1146
1146
|
--text-black-report-xspector-light-mode: #000000;
|
|
1147
1147
|
--text-black-skyller: #000000;
|
|
1148
|
-
--text-
|
|
1149
|
-
--text-
|
|
1150
|
-
--text-
|
|
1151
|
-
--text-medium-xspector: #637381;
|
|
1152
|
-
--text-medium-report-xspector-light-mode: #4b5b6d;
|
|
1153
|
-
--text-medium-skyller: #737373;
|
|
1154
|
-
--text-
|
|
1155
|
-
--text-
|
|
1156
|
-
--text-
|
|
1157
|
-
--text-
|
|
1158
|
-
--text-
|
|
1159
|
-
--text-
|
|
1160
|
-
--text-
|
|
1161
|
-
--text-
|
|
1162
|
-
--text-
|
|
1163
|
-
--text-
|
|
1164
|
-
--text-
|
|
1165
|
-
--text-
|
|
1166
|
-
--text-
|
|
1167
|
-
--text-
|
|
1168
|
-
--text-
|
|
1148
|
+
--text-contrast-low-xspector: #212b36;
|
|
1149
|
+
--text-contrast-low-report-xspector-light-mode: #18283a;
|
|
1150
|
+
--text-contrast-low-skyller: #a3a3a3;
|
|
1151
|
+
--text-contrast-medium-xspector: #637381;
|
|
1152
|
+
--text-contrast-medium-report-xspector-light-mode: #4b5b6d;
|
|
1153
|
+
--text-contrast-medium-skyller: #737373;
|
|
1154
|
+
--text-contrast-high-xspector: #919eab;
|
|
1155
|
+
--text-contrast-high-report-xspector-light-mode: #8e98a4;
|
|
1156
|
+
--text-contrast-high-skyller: #171717;
|
|
1157
|
+
--text-g-contrast-low-xspector: #7e7e7e;
|
|
1158
|
+
--text-g-contrast-low-report-xspector-light-mode: #4f4f4f;
|
|
1159
|
+
--text-g-contrast-low-skyller: #a3a3a3;
|
|
1160
|
+
--text-g-contrast-medium-xspector: #aaaaaa;
|
|
1161
|
+
--text-g-contrast-medium-report-xspector-light-mode: #7e7e7e;
|
|
1162
|
+
--text-g-contrast-medium-skyller: #737373;
|
|
1163
|
+
--text-g-contrast-high-xspector: #dfe3e8;
|
|
1164
|
+
--text-g-contrast-high-report-xspector-light-mode: #9e9e9e;
|
|
1165
|
+
--text-g-contrast-high-skyller: #171717;
|
|
1166
|
+
--text-contrast-max-xspector: #ffffff;
|
|
1167
|
+
--text-contrast-max-report-xspector-light-mode: #4f4f4f;
|
|
1168
|
+
--text-contrast-max-skyller: #171717;
|
|
1169
1169
|
--state-primary-default-xspector: #b1a400;
|
|
1170
1170
|
--state-primary-default-report-xspector-light-mode: #1e3249;
|
|
1171
1171
|
--state-primary-default-skyller: #2563eb;
|
|
@@ -1226,36 +1226,36 @@
|
|
|
1226
1226
|
--state-secondary-text-pressed-xspector: #c5c5c5;
|
|
1227
1227
|
--state-secondary-text-pressed-report-xspector-light-mode: #6f6700;
|
|
1228
1228
|
--state-secondary-text-pressed-skyller: #1e40af;
|
|
1229
|
-
--state-
|
|
1230
|
-
--state-
|
|
1231
|
-
--state-
|
|
1232
|
-
--state-
|
|
1233
|
-
--state-
|
|
1234
|
-
--state-
|
|
1235
|
-
--state-
|
|
1236
|
-
--state-
|
|
1237
|
-
--state-
|
|
1238
|
-
--state-
|
|
1239
|
-
--state-
|
|
1240
|
-
--state-
|
|
1241
|
-
--state-
|
|
1242
|
-
--state-
|
|
1243
|
-
--state-
|
|
1244
|
-
--state-
|
|
1245
|
-
--state-
|
|
1246
|
-
--state-
|
|
1247
|
-
--state-
|
|
1248
|
-
--state-
|
|
1249
|
-
--state-
|
|
1250
|
-
--state-
|
|
1251
|
-
--state-
|
|
1252
|
-
--state-
|
|
1253
|
-
--state-
|
|
1254
|
-
--state-
|
|
1255
|
-
--state-
|
|
1256
|
-
--state-
|
|
1257
|
-
--state-
|
|
1258
|
-
--state-
|
|
1229
|
+
--state-tertiary-default-xspector: #8aa2ab;
|
|
1230
|
+
--state-tertiary-default-report-xspector-light-mode: #4f4f4f;
|
|
1231
|
+
--state-tertiary-default-skyller: #0891b2;
|
|
1232
|
+
--state-tertiary-hover-xspector: #adcad6;
|
|
1233
|
+
--state-tertiary-hover-report-xspector-light-mode: #6f6f6f;
|
|
1234
|
+
--state-tertiary-hover-skyller: #52b2c9;
|
|
1235
|
+
--state-tertiary-stroke-xspector: rgba(138 162 171 / 0.48);
|
|
1236
|
+
--state-tertiary-stroke-report-xspector-light-mode: rgba(79 79 79 / 0.48);
|
|
1237
|
+
--state-tertiary-stroke-skyller: rgba(8 145 178 / 0.48);
|
|
1238
|
+
--state-tertiary-hover-bg-xspector: rgba(173 202 214 / 0.08);
|
|
1239
|
+
--state-tertiary-hover-bg-report-xspector-light-mode: rgba(158 158 158 / 0.08);
|
|
1240
|
+
--state-tertiary-hover-bg-skyller: rgba(82 178 201 / 0.08);
|
|
1241
|
+
--state-tertiary-pressed-xspector: #57656b;
|
|
1242
|
+
--state-tertiary-pressed-report-xspector-light-mode: #b1b1b1;
|
|
1243
|
+
--state-tertiary-pressed-skyller: #06667d;
|
|
1244
|
+
--state-tertiary-active-xspector: #adcad6;
|
|
1245
|
+
--state-tertiary-active-report-xspector-light-mode: #6f6f6f;
|
|
1246
|
+
--state-tertiary-active-skyller: #044959;
|
|
1247
|
+
--state-tertiary-text-solid-xspector: #212b36;
|
|
1248
|
+
--state-tertiary-text-solid-report-xspector-light-mode: #ffffff;
|
|
1249
|
+
--state-tertiary-text-solid-skyller: #ffffff;
|
|
1250
|
+
--state-tertiary-text-outline-xspector: #8aa2ab;
|
|
1251
|
+
--state-tertiary-text-outline-report-xspector-light-mode: #4f4f4f;
|
|
1252
|
+
--state-tertiary-text-outline-skyller: #0891b2;
|
|
1253
|
+
--state-tertiary-text-hover-xspector: #adcad6;
|
|
1254
|
+
--state-tertiary-text-hover-report-xspector-light-mode: #6f6f6f;
|
|
1255
|
+
--state-tertiary-text-hover-skyller: #52b2c9;
|
|
1256
|
+
--state-tertiary-text-pressed-xspector: #57656b;
|
|
1257
|
+
--state-tertiary-text-pressed-report-xspector-light-mode: #b1b1b1;
|
|
1258
|
+
--state-tertiary-text-pressed-skyller: #06667d;
|
|
1259
1259
|
--state-info-default-xspector: #1b7df5;
|
|
1260
1260
|
--state-info-default-report-xspector-light-mode: #1b7df5;
|
|
1261
1261
|
--state-info-default-skyller: #2563eb;
|
|
@@ -1940,16 +1940,16 @@
|
|
|
1940
1940
|
--base-modal-modal-xspector: #2d2e30;
|
|
1941
1941
|
--base-modal-modal-report-xspector-light-mode: #ffffff;
|
|
1942
1942
|
--base-modal-modal-skyller: #ffffff;
|
|
1943
|
-
--base-modal-modal-
|
|
1944
|
-
--base-modal-modal-
|
|
1945
|
-
--base-modal-modal-
|
|
1943
|
+
--base-modal-modal-highlight-xspector: #343638;
|
|
1944
|
+
--base-modal-modal-highlight-report-xspector-light-mode: #f5f5f5;
|
|
1945
|
+
--base-modal-modal-highlight-skyller: #f5f5f5;
|
|
1946
1946
|
--base-modal-modal-curtain-xspector: rgba(11 10 10 / 0.64);
|
|
1947
1947
|
--base-modal-modal-curtain-report-xspector-light-mode: rgba(0 0 0 / 0.64);
|
|
1948
1948
|
--base-modal-modal-curtain-skyller: rgba(0 0 0 / 0.64);
|
|
1949
|
-
--base-bg-bg1-xspector: #
|
|
1949
|
+
--base-bg-bg1-xspector: #030c15;
|
|
1950
1950
|
--base-bg-bg1-report-xspector-light-mode: #ffffff;
|
|
1951
|
-
--base-bg-bg1-skyller: #
|
|
1952
|
-
--base-bg-bg2-xspector: #
|
|
1951
|
+
--base-bg-bg1-skyller: #2563eb;
|
|
1952
|
+
--base-bg-bg2-xspector: #051627;
|
|
1953
1953
|
--base-bg-bg2-report-xspector-light-mode: #f5f5f5;
|
|
1954
1954
|
--base-bg-bg2-skyller: #fafafa;
|
|
1955
1955
|
--base-bg-bg3-xspector: #000000;
|
|
@@ -2138,9 +2138,24 @@
|
|
|
2138
2138
|
--others-35-xspector: #56d364;
|
|
2139
2139
|
--others-35-report-xspector-light-mode: #56d364;
|
|
2140
2140
|
--others-35-skyller: #56d364;
|
|
2141
|
-
--
|
|
2142
|
-
--
|
|
2143
|
-
--
|
|
2141
|
+
--page-bg-main-bg-xspector: #091d33;
|
|
2142
|
+
--page-bg-main-bg-report-xspector-light-mode: #ffffff;
|
|
2143
|
+
--page-bg-main-bg-skyller: #ffffff;
|
|
2144
|
+
--page-bg-circle-top-g-in-xspector: #003d6c;
|
|
2145
|
+
--page-bg-circle-top-g-in-report-xspector-light-mode: #adcad6;
|
|
2146
|
+
--page-bg-circle-top-g-in-skyller: #cfe4fd;
|
|
2147
|
+
--page-bg-circle-top-g-out-xspector: rgba(9 29 51 / 0);
|
|
2148
|
+
--page-bg-circle-top-g-out-report-xspector-light-mode: rgba(255 255 255 / 0);
|
|
2149
|
+
--page-bg-circle-top-g-out-skyller: rgba(255 255 255 / 0);
|
|
2150
|
+
--page-bg-circle-bottom-g-in-xspector: #003d6c;
|
|
2151
|
+
--page-bg-circle-bottom-g-in-report-xspector-light-mode: #adcad6;
|
|
2152
|
+
--page-bg-circle-bottom-g-in-skyller: #bed0f9;
|
|
2153
|
+
--page-bg-circle-bottom-g-out-xspector: rgba(9 29 51 / 0);
|
|
2154
|
+
--page-bg-circle-bottom-g-out-report-xspector-light-mode: rgba(255 255 255 / 0);
|
|
2155
|
+
--page-bg-circle-bottom-g-out-skyller: rgba(255 255 255 / 0);
|
|
2156
|
+
--text-white-xspector: #ffffff;
|
|
2157
|
+
--text-white-report-xspector-light-mode: #ffffff;
|
|
2158
|
+
--text-white-skyller: #ffffff;
|
|
2144
2159
|
/* BUTTON RADIUS */
|
|
2145
2160
|
--button-l-round: 8px;
|
|
2146
2161
|
--button-l-rem-round: 0.5rem;
|
|
@@ -2334,17 +2349,17 @@
|
|
|
2334
2349
|
--state-color-secondary-text-outline: var(--state-secondary-text-outline-xspector);
|
|
2335
2350
|
--state-color-secondary-text-hover: var(--state-secondary-text-hover-xspector);
|
|
2336
2351
|
--state-color-secondary-text-pressed: var(--state-secondary-text-pressed-xspector);
|
|
2337
|
-
/* Tertiary
|
|
2338
|
-
--state-color-tertiary-default: var(--state-
|
|
2339
|
-
--state-color-tertiary-hover: var(--state-
|
|
2340
|
-
--state-color-tertiary-stroke: var(--state-
|
|
2341
|
-
--state-color-tertiary-hover-bg: var(--state-
|
|
2342
|
-
--state-color-tertiary-pressed: var(--state-
|
|
2343
|
-
--state-color-tertiary-active: var(--state-
|
|
2344
|
-
--state-color-tertiary-text-solid: var(--state-
|
|
2345
|
-
--state-color-tertiary-text-outline: var(--state-
|
|
2346
|
-
--state-color-tertiary-text-hover: var(--state-
|
|
2347
|
-
--state-color-tertiary-text-pressed: var(--state-
|
|
2352
|
+
/* Tertiary */
|
|
2353
|
+
--state-color-tertiary-default: var(--state-tertiary-default-xspector);
|
|
2354
|
+
--state-color-tertiary-hover: var(--state-tertiary-hover-xspector);
|
|
2355
|
+
--state-color-tertiary-stroke: var(--state-tertiary-stroke-xspector);
|
|
2356
|
+
--state-color-tertiary-hover-bg: var(--state-tertiary-hover-bg-xspector);
|
|
2357
|
+
--state-color-tertiary-pressed: var(--state-tertiary-pressed-xspector);
|
|
2358
|
+
--state-color-tertiary-active: var(--state-tertiary-active-xspector);
|
|
2359
|
+
--state-color-tertiary-text-solid: var(--state-tertiary-text-solid-xspector);
|
|
2360
|
+
--state-color-tertiary-text-outline: var(--state-tertiary-text-outline-xspector);
|
|
2361
|
+
--state-color-tertiary-text-hover: var(--state-tertiary-text-hover-xspector);
|
|
2362
|
+
--state-color-tertiary-text-pressed: var(--state-tertiary-text-pressed-xspector);
|
|
2348
2363
|
/* Info */
|
|
2349
2364
|
--state-color-info-default: var(--state-info-default-xspector);
|
|
2350
2365
|
--state-color-info-hover: var(--state-info-hover-xspector);
|
|
@@ -2433,7 +2448,7 @@
|
|
|
2433
2448
|
--base-color-workspace-stroke: var(--base-bg-stroke1-xspector);
|
|
2434
2449
|
--base-color-guideline-stroke: var(--base-bg-stroke2-xspector);
|
|
2435
2450
|
--base-color-popup: var(--base-modal-modal-xspector);
|
|
2436
|
-
--base-color-popup-
|
|
2451
|
+
--base-color-popup-highlight: var(--base-modal-modal-highlight-xspector);
|
|
2437
2452
|
--base-color-popup-curtain: var(--base-modal-modal-curtain-xspector);
|
|
2438
2453
|
--common-white: var(--common-white-xspector);
|
|
2439
2454
|
--common-black: var(--common-black-xspector);
|
|
@@ -2833,17 +2848,17 @@
|
|
|
2833
2848
|
--state-color-secondary-text-outline: var(--state-secondary-text-outline-skyller);
|
|
2834
2849
|
--state-color-secondary-text-hover: var(--state-secondary-text-hover-skyller);
|
|
2835
2850
|
--state-color-secondary-text-pressed: var(--state-secondary-text-pressed-skyller);
|
|
2836
|
-
/* Tertiary
|
|
2837
|
-
--state-color-tertiary-default: var(--state-
|
|
2838
|
-
--state-color-tertiary-hover: var(--state-
|
|
2839
|
-
--state-color-tertiary-stroke: var(--state-
|
|
2840
|
-
--state-color-tertiary-hover-bg: var(--state-
|
|
2841
|
-
--state-color-tertiary-pressed: var(--state-
|
|
2842
|
-
--state-color-tertiary-active: var(--state-
|
|
2843
|
-
--state-color-tertiary-text-solid: var(--state-
|
|
2844
|
-
--state-color-tertiary-text-outline: var(--state-
|
|
2845
|
-
--state-color-tertiary-text-hover: var(--state-
|
|
2846
|
-
--state-color-tertiary-text-pressed: var(--state-
|
|
2851
|
+
/* Tertiary */
|
|
2852
|
+
--state-color-tertiary-default: var(--state-tertiary-default-skyller);
|
|
2853
|
+
--state-color-tertiary-hover: var(--state-tertiary-hover-skyller);
|
|
2854
|
+
--state-color-tertiary-stroke: var(--state-tertiary-stroke-skyller);
|
|
2855
|
+
--state-color-tertiary-hover-bg: var(--state-tertiary-hover-bg-skyller);
|
|
2856
|
+
--state-color-tertiary-pressed: var(--state-tertiary-pressed-skyller);
|
|
2857
|
+
--state-color-tertiary-active: var(--state-tertiary-active-skyller);
|
|
2858
|
+
--state-color-tertiary-text-solid: var(--state-tertiary-text-solid-skyller);
|
|
2859
|
+
--state-color-tertiary-text-outline: var(--state-tertiary-text-outline-skyller);
|
|
2860
|
+
--state-color-tertiary-text-hover: var(--state-tertiary-text-hover-skyller);
|
|
2861
|
+
--state-color-tertiary-text-pressed: var(--state-tertiary-text-pressed-skyller);
|
|
2847
2862
|
/* Info */
|
|
2848
2863
|
--state-color-info-default: var(--state-info-default-skyller);
|
|
2849
2864
|
--state-color-info-hover: var(--state-info-hover-skyller);
|
|
@@ -2932,7 +2947,7 @@
|
|
|
2932
2947
|
--base-color-workspace-stroke: var(--base-bg-stroke1-skyller);
|
|
2933
2948
|
--base-color-guideline-stroke: var(--base-bg-stroke2-skyller);
|
|
2934
2949
|
--base-color-popup: var(--base-modal-modal-skyller);
|
|
2935
|
-
--base-color-popup-
|
|
2950
|
+
--base-color-popup-highlight: var(--base-modal-modal-highlight-skyller);
|
|
2936
2951
|
--base-color-popup-curtain: var(--base-modal-modal-curtain-skyller);
|
|
2937
2952
|
--common-white: var(--common-white-skyller);
|
|
2938
2953
|
--common-black: var(--common-black-skyller);
|
|
@@ -3688,7 +3703,7 @@ video {
|
|
|
3688
3703
|
|
|
3689
3704
|
body {
|
|
3690
3705
|
/* @apply bg-background text-foreground; */
|
|
3691
|
-
/* @apply bg-[var(--
|
|
3706
|
+
/* @apply bg-[var(--background)] text-[var(--foreground)]; */
|
|
3692
3707
|
}
|
|
3693
3708
|
|
|
3694
3709
|
/* hide input number arrow */
|
|
@@ -5340,7 +5355,7 @@ input[type=number] {
|
|
|
5340
5355
|
|
|
5341
5356
|
.bg-base-popup-highlight {
|
|
5342
5357
|
--tw-bg-opacity: 1;
|
|
5343
|
-
background-color: color-mix(in srgb, var(--base-color-popup-
|
|
5358
|
+
background-color: color-mix(in srgb, var(--base-color-popup-highlight) calc(100% * var(--tw-bg-opacity, 1)), transparent);
|
|
5344
5359
|
}
|
|
5345
5360
|
|
|
5346
5361
|
.bg-base-stroke {
|
|
@@ -7412,37 +7427,37 @@ input[type=number] {
|
|
|
7412
7427
|
font-weight: var(--small9-weight, 400);
|
|
7413
7428
|
}
|
|
7414
7429
|
|
|
7415
|
-
.text-
|
|
7430
|
+
.text-subtitle1 {
|
|
7416
7431
|
font-size: var(--subtitle1-size, 16px);
|
|
7417
7432
|
line-height: var(--subtitle1-line-height, 24px);
|
|
7418
7433
|
font-weight: var(--subtitle1-weight, 400);
|
|
7419
7434
|
}
|
|
7420
7435
|
|
|
7421
|
-
.text-
|
|
7436
|
+
.text-subtitle2 {
|
|
7422
7437
|
font-size: var(--subtitle2-size, 16px);
|
|
7423
7438
|
line-height: var(--subtitle2-line-height, 24px);
|
|
7424
7439
|
font-weight: var(--subtitle2-weight, 500);
|
|
7425
7440
|
}
|
|
7426
7441
|
|
|
7427
|
-
.text-
|
|
7442
|
+
.text-subtitle3 {
|
|
7428
7443
|
font-size: var(--subtitle3-size, 16px);
|
|
7429
7444
|
line-height: var(--subtitle3-line-height, 24px);
|
|
7430
7445
|
font-weight: var(--subtitle3-weight, 600);
|
|
7431
7446
|
}
|
|
7432
7447
|
|
|
7433
|
-
.text-
|
|
7448
|
+
.text-subtitle4 {
|
|
7434
7449
|
font-size: var(--subtitle4-size, 14px);
|
|
7435
7450
|
line-height: var(--subtitle4-line-height, 22px);
|
|
7436
7451
|
font-weight: var(--subtitle4-weight, 400);
|
|
7437
7452
|
}
|
|
7438
7453
|
|
|
7439
|
-
.text-
|
|
7454
|
+
.text-subtitle5 {
|
|
7440
7455
|
font-size: var(--subtitle5-size, 14px);
|
|
7441
7456
|
line-height: var(--subtitle5-line-height, 22px);
|
|
7442
7457
|
font-weight: var(--subtitle5-weight, 500);
|
|
7443
7458
|
}
|
|
7444
7459
|
|
|
7445
|
-
.text-
|
|
7460
|
+
.text-subtitle6 {
|
|
7446
7461
|
font-size: var(--subtitle6-size, 14px);
|
|
7447
7462
|
line-height: var(--subtitle6-line-height, 22px);
|
|
7448
7463
|
font-weight: var(--subtitle6-weight, 600);
|
|
@@ -8134,6 +8149,42 @@ input[type=number] {
|
|
|
8134
8149
|
font-weight: var(--h6-weight, 700);
|
|
8135
8150
|
}
|
|
8136
8151
|
|
|
8152
|
+
.typography-subtitle1 {
|
|
8153
|
+
font-size: var(--subtitle1-size, 16px);
|
|
8154
|
+
line-height: var(--subtitle1-line-height, 24px);
|
|
8155
|
+
font-weight: var(--subtitle1-weight, 400);
|
|
8156
|
+
}
|
|
8157
|
+
|
|
8158
|
+
.typography-subtitle2 {
|
|
8159
|
+
font-size: var(--subtitle2-size, 16px);
|
|
8160
|
+
line-height: var(--subtitle2-line-height, 24px);
|
|
8161
|
+
font-weight: var(--subtitle2-weight, 500);
|
|
8162
|
+
}
|
|
8163
|
+
|
|
8164
|
+
.typography-subtitle3 {
|
|
8165
|
+
font-size: var(--subtitle3-size, 16px);
|
|
8166
|
+
line-height: var(--subtitle3-line-height, 24px);
|
|
8167
|
+
font-weight: var(--subtitle3-weight, 600);
|
|
8168
|
+
}
|
|
8169
|
+
|
|
8170
|
+
.typography-subtitle4 {
|
|
8171
|
+
font-size: var(--subtitle4-size, 14px);
|
|
8172
|
+
line-height: var(--subtitle4-line-height, 22px);
|
|
8173
|
+
font-weight: var(--subtitle4-weight, 400);
|
|
8174
|
+
}
|
|
8175
|
+
|
|
8176
|
+
.typography-subtitle5 {
|
|
8177
|
+
font-size: var(--subtitle5-size, 14px);
|
|
8178
|
+
line-height: var(--subtitle5-line-height, 22px);
|
|
8179
|
+
font-weight: var(--subtitle5-weight, 500);
|
|
8180
|
+
}
|
|
8181
|
+
|
|
8182
|
+
.typography-subtitle6 {
|
|
8183
|
+
font-size: var(--subtitle6-size, 14px);
|
|
8184
|
+
line-height: var(--subtitle6-line-height, 22px);
|
|
8185
|
+
font-weight: var(--subtitle6-weight, 600);
|
|
8186
|
+
}
|
|
8187
|
+
|
|
8137
8188
|
.typography-subtitile1 {
|
|
8138
8189
|
font-size: var(--subtitle1-size, 16px);
|
|
8139
8190
|
line-height: var(--subtitle1-line-height, 24px);
|
|
@@ -10153,25 +10204,25 @@ input[type=number] {
|
|
|
10153
10204
|
background-color: transparent;
|
|
10154
10205
|
}
|
|
10155
10206
|
|
|
10156
|
-
.peer:-moz-placeholder-shown ~ .peer-placeholder-shown\:typography-
|
|
10207
|
+
.peer:-moz-placeholder-shown ~ .peer-placeholder-shown\:typography-subtitle1 {
|
|
10157
10208
|
font-size: var(--subtitle1-size, 16px);
|
|
10158
10209
|
line-height: var(--subtitle1-line-height, 24px);
|
|
10159
10210
|
font-weight: var(--subtitle1-weight, 400);
|
|
10160
10211
|
}
|
|
10161
10212
|
|
|
10162
|
-
.peer:placeholder-shown ~ .peer-placeholder-shown\:typography-
|
|
10213
|
+
.peer:placeholder-shown ~ .peer-placeholder-shown\:typography-subtitle1 {
|
|
10163
10214
|
font-size: var(--subtitle1-size, 16px);
|
|
10164
10215
|
line-height: var(--subtitle1-line-height, 24px);
|
|
10165
10216
|
font-weight: var(--subtitle1-weight, 400);
|
|
10166
10217
|
}
|
|
10167
10218
|
|
|
10168
|
-
.peer:-moz-placeholder-shown ~ .peer-placeholder-shown\:typography-
|
|
10219
|
+
.peer:-moz-placeholder-shown ~ .peer-placeholder-shown\:typography-subtitle4 {
|
|
10169
10220
|
font-size: var(--subtitle4-size, 14px);
|
|
10170
10221
|
line-height: var(--subtitle4-line-height, 22px);
|
|
10171
10222
|
font-weight: var(--subtitle4-weight, 400);
|
|
10172
10223
|
}
|
|
10173
10224
|
|
|
10174
|
-
.peer:placeholder-shown ~ .peer-placeholder-shown\:typography-
|
|
10225
|
+
.peer:placeholder-shown ~ .peer-placeholder-shown\:typography-subtitle4 {
|
|
10175
10226
|
font-size: var(--subtitle4-size, 14px);
|
|
10176
10227
|
line-height: var(--subtitle4-line-height, 22px);
|
|
10177
10228
|
font-weight: var(--subtitle4-weight, 400);
|
|
@@ -10859,7 +10910,7 @@ input[type=number] {
|
|
|
10859
10910
|
transition-property: none;
|
|
10860
10911
|
}
|
|
10861
10912
|
|
|
10862
|
-
.data-\[state\=\'checked\'\]\:typography-
|
|
10913
|
+
.data-\[state\=\'checked\'\]\:typography-subtitle5[data-state='checked'] {
|
|
10863
10914
|
font-size: var(--subtitle5-size, 14px);
|
|
10864
10915
|
line-height: var(--subtitle5-line-height, 22px);
|
|
10865
10916
|
font-weight: var(--subtitle5-weight, 500);
|
package/dist/utils/colors.js
CHANGED
|
@@ -243,7 +243,7 @@ export const THEME_COLOR_KEYS = {
|
|
|
243
243
|
"base-workspace-stroke": "--base-color-workspace-stroke",
|
|
244
244
|
"base-guideline-stroke": "--base-color-guideline-stroke",
|
|
245
245
|
"base-popup": "--base-color-popup",
|
|
246
|
-
"base-popup-highlight": "--base-color-popup-
|
|
246
|
+
"base-popup-highlight": "--base-color-popup-highlight",
|
|
247
247
|
"base-popup-curtain": "--base-color-popup-curtain",
|
|
248
248
|
"base-popup-foreground": "--base-color-popup-foreground",
|
|
249
249
|
/* ----- Common ----- */
|
package/package.json
CHANGED
|
@@ -2,12 +2,12 @@ import { cva } from "class-variance-authority";
|
|
|
2
2
|
|
|
3
3
|
export const avatarVariants = cva(
|
|
4
4
|
[
|
|
5
|
-
"flex items-center justify-center bg-grey2-700 text-foreground typography-
|
|
5
|
+
"flex items-center justify-center bg-grey2-700 text-foreground typography-subtitle2 truncate",
|
|
6
6
|
],
|
|
7
7
|
{
|
|
8
8
|
variants: {
|
|
9
9
|
size: {
|
|
10
|
-
xxs: "w-[24px] h-[24px] typography-
|
|
10
|
+
xxs: "w-[24px] h-[24px] typography-subtitle3",
|
|
11
11
|
xs: "w-[32px] h-[32px]",
|
|
12
12
|
sm: "w-[40px] h-[40px]",
|
|
13
13
|
md: "w-[48px] h-[48px]",
|
|
@@ -173,13 +173,13 @@ export const ShapePreview = {
|
|
|
173
173
|
render: (args) => (
|
|
174
174
|
<div className="flex flex-col gap-3">
|
|
175
175
|
<div className="flex items-center gap-2">
|
|
176
|
-
<span className="w-20 typography-
|
|
176
|
+
<span className="w-20 typography-subtitle4">Round</span>
|
|
177
177
|
<Button {...args} shape="round" size="lg" title="Large" />
|
|
178
178
|
<Button {...args} shape="round" size="md" title="Medium" />
|
|
179
179
|
<Button {...args} shape="round" size="sm" title="Small" />
|
|
180
180
|
</div>
|
|
181
181
|
<div className="flex items-center gap-2">
|
|
182
|
-
<span className="w-20 typography-
|
|
182
|
+
<span className="w-20 typography-subtitle4">Capsule</span>
|
|
183
183
|
<Button {...args} shape="capsule" size="lg" title="Large" />
|
|
184
184
|
<Button {...args} shape="capsule" size="md" title="Medium" />
|
|
185
185
|
<Button {...args} shape="capsule" size="sm" title="Small" />
|
|
@@ -28,7 +28,7 @@ function Calendar({
|
|
|
28
28
|
classNames={{
|
|
29
29
|
...defaultClassNames,
|
|
30
30
|
day_button: cn(defaultClassNames.day_button, "size-9"),
|
|
31
|
-
day: "typography-
|
|
31
|
+
day: "typography-subtitle1 ",
|
|
32
32
|
today:
|
|
33
33
|
"text-bold text-surface-foreground [&_button]:rounded-full [&_button]:!border-primary [&_button]:!border [&_button]:!border-solid",
|
|
34
34
|
selected: "bg-primary !text-primary-foreground rounded-full ",
|
|
@@ -228,12 +228,12 @@ const Dropdown = forwardRef<HTMLInputElement, DropdownProps>(
|
|
|
228
228
|
label: option.label,
|
|
229
229
|
handleOnClick: () => handleOptionClick(option),
|
|
230
230
|
className: cn(
|
|
231
|
-
"relative flex gap-3 cursor-pointer select-none box-border items-center py-4 pl-9 pr-4 typography-
|
|
231
|
+
"relative flex gap-3 cursor-pointer select-none box-border items-center py-4 pl-9 pr-4 typography-subtitle4 outline-none transition-colors",
|
|
232
232
|
"bg-[var(--dropdown-menu-default-bg)] text-[var(--dropdown-menu-default-text)]",
|
|
233
233
|
"active:opacity-75",
|
|
234
234
|
"hover:bg-[var(--dropdown-menu-hover-bg)] hover:text-[var(--dropdown-menu-hover-text)]",
|
|
235
235
|
{
|
|
236
|
-
"bg-[var(--dropdown-menu-selected-bg)] text-[var(--dropdown-menu-selected-text)] typography-
|
|
236
|
+
"bg-[var(--dropdown-menu-selected-bg)] text-[var(--dropdown-menu-selected-text)] typography-subtitle5":
|
|
237
237
|
selectedOption?.value === option.value,
|
|
238
238
|
},
|
|
239
239
|
optionItemClassName
|
|
@@ -28,7 +28,7 @@ const DropdownMenuSubTrigger = React.forwardRef<
|
|
|
28
28
|
ref={ref}
|
|
29
29
|
className={cn(
|
|
30
30
|
// "flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-primary data-[state=open]:bg-primary",
|
|
31
|
-
"relative flex gap-3 cursor-pointer select-none box-border items-center py-4 pl-9 pr-4 typography-
|
|
31
|
+
"relative flex gap-3 cursor-pointer select-none box-border items-center py-4 pl-9 pr-4 typography-subtitle4 outline-none transition-colors data-[disabled]:pointer-events-none",
|
|
32
32
|
"bg-[var(--dropdown-menu-default-bg)] text-[var(--dropdown-menu-default-text)]",
|
|
33
33
|
"active:opacity-75",
|
|
34
34
|
"focus:!bg-[var(--dropdown-menu-hover-bg)] focus:!text-[var(--dropdown-menu-hover-text)]",
|
|
@@ -96,7 +96,7 @@ const DropdownMenuItem = React.forwardRef<
|
|
|
96
96
|
<DropdownMenuPrimitive.Item
|
|
97
97
|
ref={ref}
|
|
98
98
|
className={cn(
|
|
99
|
-
"relative flex gap-3 cursor-pointer select-none box-border items-center py-4 pl-9 pr-xxl typography-
|
|
99
|
+
"relative flex gap-3 cursor-pointer select-none box-border items-center py-4 pl-9 pr-xxl typography-subtitle4 outline-none transition-colors data-[disabled]:pointer-events-none",
|
|
100
100
|
"bg-[var(--dropdown-menu-default-bg)] text-[var(--dropdown-menu-default-text)]",
|
|
101
101
|
"active:opacity-75",
|
|
102
102
|
"focus:!bg-[var(--dropdown-menu-hover-bg)] focus:!text-[var(--dropdown-menu-hover-text)]",
|
|
@@ -116,11 +116,11 @@ const DropdownMenuCheckboxItem = React.forwardRef<
|
|
|
116
116
|
<DropdownMenuPrimitive.CheckboxItem
|
|
117
117
|
ref={ref}
|
|
118
118
|
className={cn(
|
|
119
|
-
"relative flex gap-3 cursor-pointer select-none box-border items-center py-4 pl-9 pr-xxl typography-
|
|
119
|
+
"relative flex gap-3 cursor-pointer select-none box-border items-center py-4 pl-9 pr-xxl typography-subtitle4 outline-none transition-colors data-[disabled]:pointer-events-none",
|
|
120
120
|
"bg-[var(--dropdown-menu-default-bg)] text-[var(--dropdown-menu-default-text)]",
|
|
121
121
|
"active:opacity-75",
|
|
122
122
|
"focus:!bg-[var(--dropdown-menu-hover-bg)] focus:!text-[var(--dropdown-menu-hover-text)]",
|
|
123
|
-
"data-[state='checked']:bg-[var(--dropdown-menu-selected-bg)] data-[state='checked']:text-[var(--dropdown-menu-selected-text)] data-[state='checked']:typography-
|
|
123
|
+
"data-[state='checked']:bg-[var(--dropdown-menu-selected-bg)] data-[state='checked']:text-[var(--dropdown-menu-selected-text)] data-[state='checked']:typography-subtitle5",
|
|
124
124
|
"data-[disabled]:!bg-[var(--dropdown-menu-disabled-bg)] data-[disabled]:!text-[var(--dropdown-menu-disabled-text)]",
|
|
125
125
|
className
|
|
126
126
|
)}
|
|
@@ -145,11 +145,11 @@ const DropdownMenuRadioItem = React.forwardRef<
|
|
|
145
145
|
<DropdownMenuPrimitive.RadioItem
|
|
146
146
|
ref={ref}
|
|
147
147
|
className={cn(
|
|
148
|
-
"relative flex gap-3 cursor-pointer select-none box-border items-center py-4 pl-9 pr-xxl typography-
|
|
148
|
+
"relative flex gap-3 cursor-pointer select-none box-border items-center py-4 pl-9 pr-xxl typography-subtitle4 outline-none transition-colors data-[disabled]:pointer-events-none",
|
|
149
149
|
"bg-[var(--dropdown-menu-default-bg)] text-[var(--dropdown-menu-default-text)]",
|
|
150
150
|
"active:opacity-75",
|
|
151
151
|
"focus:!bg-[var(--dropdown-menu-hover-bg)] focus:!text-[var(--dropdown-menu-hover-text)]",
|
|
152
|
-
"data-[state='checked']:bg-[var(--dropdown-menu-selected-bg)] data-[state='checked']:text-[var(--dropdown-menu-selected-text)] data-[state='checked']:typography-
|
|
152
|
+
"data-[state='checked']:bg-[var(--dropdown-menu-selected-bg)] data-[state='checked']:text-[var(--dropdown-menu-selected-text)] data-[state='checked']:typography-subtitle5",
|
|
153
153
|
"data-[disabled]:!bg-[var(--dropdown-menu-disabled-bg)] data-[disabled]:!text-[var(--dropdown-menu-disabled-text)]",
|
|
154
154
|
className
|
|
155
155
|
)}
|
|
@@ -46,7 +46,7 @@ const Footer: FC<FooterProps> = ({
|
|
|
46
46
|
return (
|
|
47
47
|
<footer
|
|
48
48
|
className={cn(
|
|
49
|
-
"relative w-full px-4 py-6 box-border overflow-hidden typography-
|
|
49
|
+
"relative w-full px-4 py-6 box-border overflow-hidden typography-subtitle2 border-solid border-t-2 text-[var(--footer-text-color)] border-t-[var(--footer-border-color)]",
|
|
50
50
|
isSimple ? "h-[var(--footer-height-simple)]" : "h-[var(--footer-height)]",
|
|
51
51
|
{ position },
|
|
52
52
|
className
|