@rovula/ui 0.0.19 → 0.0.21
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 +3220 -1382
- package/dist/cjs/bundle.js +3 -3
- package/dist/cjs/bundle.js.map +1 -1
- package/dist/cjs/types/components/ActionButton/ActionButton.stories.d.ts +4 -4
- package/dist/cjs/types/components/ActionButton/ActionButton.styles copy.d.ts +6 -0
- package/dist/cjs/types/components/Button/Button.styles copy.d.ts +7 -0
- package/dist/cjs/types/components/Button/Button.styles.d.ts +1 -0
- package/dist/cjs/types/components/Button/Buttons.stories.d.ts +12 -4
- package/dist/cjs/types/components/Calendar/Calendar.d.ts +0 -1
- package/dist/cjs/types/components/Calendar/Calendar.stories.d.ts +7 -7
- package/dist/cjs/types/components/Checkbox/Checkbox.stories.d.ts +6 -6
- package/dist/cjs/types/components/DatePicker/DatePicker.d.ts +2 -0
- package/dist/cjs/types/components/DatePicker/DatePicker.stories.d.ts +2 -0
- package/dist/cjs/types/components/Dropdown/Dropdown.stories.d.ts +8 -6
- package/dist/cjs/types/components/Input/Input.stories.d.ts +12 -12
- package/dist/cjs/types/components/Label/Label.stories.d.ts +6 -6
- package/dist/cjs/types/components/Loading/Loading.d.ts +14 -0
- package/dist/cjs/types/components/Loading/Loading.stories.d.ts +35 -0
- package/dist/cjs/types/components/ProgressBar/ProgressBar.d.ts +13 -0
- package/dist/cjs/types/components/ProgressBar/ProgressBar.stories.d.ts +37 -0
- package/dist/cjs/types/components/RadioGroup/RadioGroup.stories.d.ts +5 -5
- package/dist/cjs/types/components/Search/Search.d.ts +22 -1
- package/dist/cjs/types/components/Search/Search.stories.d.ts +338 -7
- package/dist/cjs/types/components/Table/Table.stories.d.ts +4 -4
- package/dist/cjs/types/components/Text/Text.d.ts +1 -1
- package/dist/cjs/types/components/Text/Text.stories.d.ts +1 -1
- package/dist/cjs/types/components/TextInput/TextInput.d.ts +4 -0
- package/dist/cjs/types/components/TextInput/TextInput.stories.d.ts +11 -6
- package/dist/cjs/types/components/TextInput/TextInput.styles.d.ts +8 -0
- package/dist/cjs/types/index.d.ts +3 -0
- package/dist/cjs/types/stories/ColorGroupPreview.d.ts +1 -0
- package/dist/cjs/types/stories/ColorPreview.d.ts +5 -0
- package/dist/components/ActionButton/ActionButton.js +1 -1
- package/dist/components/ActionButton/ActionButton.stories.js +1 -1
- package/dist/components/ActionButton/ActionButton.styles copy.js +90 -0
- package/dist/components/ActionButton/ActionButton.styles.js +54 -15
- package/dist/components/AlertDialog/AlertDialog.js +2 -2
- package/dist/components/Avatar/Avatar.styles.js +1 -1
- package/dist/components/Button/Button.js +3 -2
- package/dist/components/Button/Button.styles copy.js +210 -0
- package/dist/components/Button/Button.styles.js +203 -43
- package/dist/components/Button/Buttons.stories.js +9 -1
- package/dist/components/Calendar/Calendar.js +39 -2
- package/dist/components/Checkbox/Checkbox.js +1 -1
- package/dist/components/Collapsible/Collapsible.styles.js +6 -3
- package/dist/components/DatePicker/DatePicker.js +13 -2
- package/dist/components/Dialog/Dialog.js +4 -4
- package/dist/components/Dropdown/Dropdown.js +9 -7
- package/dist/components/Dropdown/Dropdown.styles.js +1 -1
- package/dist/components/Input/Input.js +8 -1
- package/dist/components/Input/Input.stories.js +3 -2
- package/dist/components/Input/Input.styles.js +13 -5
- package/dist/components/Loading/Loading.js +23 -0
- package/dist/components/Loading/Loading.stories.js +37 -0
- package/dist/components/Popover/Popover.js +1 -1
- package/dist/components/ProgressBar/ProgressBar.js +22 -0
- package/dist/components/ProgressBar/ProgressBar.stories.js +52 -0
- package/dist/components/RadioGroup/RadioGroup.js +2 -2
- package/dist/components/Search/Search.js +6 -7
- package/dist/components/Search/Search.stories.js +8 -5
- package/dist/components/Text/Text.js +17 -2
- package/dist/components/Text/Text.stories.js +5 -1
- package/dist/components/TextInput/TextInput.js +14 -5
- package/dist/components/TextInput/TextInput.stories.js +3 -2
- package/dist/components/TextInput/TextInput.styles.js +120 -18
- package/dist/esm/bundle.css +3220 -1382
- package/dist/esm/bundle.js +3 -3
- package/dist/esm/bundle.js.map +1 -1
- package/dist/esm/types/components/ActionButton/ActionButton.stories.d.ts +4 -4
- package/dist/esm/types/components/ActionButton/ActionButton.styles copy.d.ts +6 -0
- package/dist/esm/types/components/Button/Button.styles copy.d.ts +7 -0
- package/dist/esm/types/components/Button/Button.styles.d.ts +1 -0
- package/dist/esm/types/components/Button/Buttons.stories.d.ts +12 -4
- package/dist/esm/types/components/Calendar/Calendar.d.ts +0 -1
- package/dist/esm/types/components/Calendar/Calendar.stories.d.ts +7 -7
- package/dist/esm/types/components/Checkbox/Checkbox.stories.d.ts +6 -6
- package/dist/esm/types/components/DatePicker/DatePicker.d.ts +2 -0
- package/dist/esm/types/components/DatePicker/DatePicker.stories.d.ts +2 -0
- package/dist/esm/types/components/Dropdown/Dropdown.stories.d.ts +8 -6
- package/dist/esm/types/components/Input/Input.stories.d.ts +12 -12
- package/dist/esm/types/components/Label/Label.stories.d.ts +6 -6
- package/dist/esm/types/components/Loading/Loading.d.ts +14 -0
- package/dist/esm/types/components/Loading/Loading.stories.d.ts +35 -0
- package/dist/esm/types/components/ProgressBar/ProgressBar.d.ts +13 -0
- package/dist/esm/types/components/ProgressBar/ProgressBar.stories.d.ts +37 -0
- package/dist/esm/types/components/RadioGroup/RadioGroup.stories.d.ts +5 -5
- package/dist/esm/types/components/Search/Search.d.ts +22 -1
- package/dist/esm/types/components/Search/Search.stories.d.ts +338 -7
- package/dist/esm/types/components/Table/Table.stories.d.ts +4 -4
- package/dist/esm/types/components/Text/Text.d.ts +1 -1
- package/dist/esm/types/components/Text/Text.stories.d.ts +1 -1
- package/dist/esm/types/components/TextInput/TextInput.d.ts +4 -0
- package/dist/esm/types/components/TextInput/TextInput.stories.d.ts +11 -6
- package/dist/esm/types/components/TextInput/TextInput.styles.d.ts +8 -0
- package/dist/esm/types/index.d.ts +3 -0
- package/dist/esm/types/stories/ColorGroupPreview.d.ts +1 -0
- package/dist/esm/types/stories/ColorPreview.d.ts +5 -0
- package/dist/index.d.ts +53 -2
- package/dist/index.js +3 -0
- package/dist/src/theme/global.css +5078 -918
- package/dist/stories/ColorGroupPreview.js +478 -0
- package/dist/stories/ColorPreview.js +8 -0
- package/dist/theme/global.css +7 -227
- package/dist/theme/main-preset.js +131 -67
- package/dist/theme/plugins/utilities/typography.js +12 -0
- package/dist/theme/presets/colors.js +101 -220
- package/dist/theme/theme.d.ts +69 -0
- package/dist/theme/themes/xspector/baseline.css +7 -0
- package/dist/theme/themes/xspector/color.css +67 -0
- package/dist/theme/themes/xspector/components/action-button.css +98 -0
- package/dist/theme/themes/xspector/components/loading.css +11 -0
- package/dist/theme/themes/xspector/palette.css +122 -0
- package/dist/theme/themes/xspector/state.css +89 -0
- package/dist/theme/themes/xspector/transparent.css +68 -0
- package/dist/theme/themes/xspector/typography.css +27 -0
- package/dist/theme/tokens/baseline.css +10 -0
- package/dist/theme/tokens/color.css +63 -0
- package/dist/theme/tokens/components/action-button.css +127 -0
- package/dist/theme/tokens/components/button.css +512 -0
- package/dist/theme/tokens/components/loading.css +11 -0
- package/dist/theme/tokens/components/navbar.css +8 -0
- package/dist/theme/tokens/components/progress-bar.css +8 -0
- package/dist/theme/tokens/palette.css +122 -0
- package/dist/theme/tokens/state.css +82 -0
- package/dist/theme/tokens/transparent.css +68 -0
- package/dist/theme/tokens/typography.css +178 -0
- package/dist/theme/tokens/variables.css +28 -0
- package/dist/theme/utils.js +98 -0
- package/package.json +1 -1
- package/src/_theme/global copy.css +761 -0
- package/src/_theme/global.css +39 -0
- package/src/_theme/main-preset.js +239 -0
- package/src/_theme/plugins/utilities/typography.js +81 -0
- package/src/_theme/presets/colors copy 2.js +319 -0
- package/src/_theme/presets/colors copy.js +229 -0
- package/src/_theme/presets/colors.js +94 -0
- package/src/_theme/theme.d.ts +69 -0
- package/src/_theme/variables/base/button.css +334 -0
- package/src/_theme/variables/base/components copy.css +19 -0
- package/src/_theme/variables/default/colors.css +292 -0
- package/src/_theme/variables/default/typography.css +178 -0
- package/src/_theme/variables/xspector/colors.css +468 -0
- package/src/_theme/variables/xspector/typography.css +178 -0
- package/src/components/ActionButton/ActionButton.stories.tsx +1 -1
- package/src/components/ActionButton/ActionButton.styles copy.ts +95 -0
- package/src/components/ActionButton/ActionButton.styles.ts +54 -19
- package/src/components/ActionButton/ActionButton.tsx +1 -1
- package/src/components/AlertDialog/AlertDialog.tsx +2 -2
- package/src/components/Avatar/Avatar.styles.ts +1 -1
- package/src/components/Button/Button.styles copy.ts +214 -0
- package/src/components/Button/Button.styles.ts +203 -47
- package/src/components/Button/Button.tsx +4 -0
- package/src/components/Button/Buttons.stories.tsx +9 -1
- package/src/components/Calendar/Calendar.tsx +49 -7
- package/src/components/Checkbox/Checkbox.tsx +1 -1
- package/src/components/Collapsible/Collapsible.styles.ts +6 -3
- package/src/components/DatePicker/DatePicker.tsx +8 -2
- package/src/components/Dialog/Dialog.tsx +5 -5
- package/src/components/Dropdown/Dropdown.styles.ts +1 -1
- package/src/components/Dropdown/Dropdown.tsx +14 -12
- package/src/components/Input/Input.stories.tsx +3 -2
- package/src/components/Input/Input.styles.tsx +13 -6
- package/src/components/Input/Input.tsx +8 -1
- package/src/components/Loading/Loading.stories.tsx +43 -0
- package/src/components/Loading/Loading.tsx +72 -0
- package/src/components/Popover/Popover.tsx +1 -1
- package/src/components/ProgressBar/ProgressBar.stories.tsx +78 -0
- package/src/components/ProgressBar/ProgressBar.tsx +62 -0
- package/src/components/RadioGroup/RadioGroup.tsx +2 -2
- package/src/components/Search/Search.stories.tsx +13 -13
- package/src/components/Search/Search.tsx +14 -19
- package/src/components/Text/Text.stories.tsx +6 -4
- package/src/components/Text/Text.tsx +27 -3
- package/src/components/TextInput/TextInput.stories.tsx +3 -2
- package/src/components/TextInput/TextInput.styles.ts +124 -19
- package/src/components/TextInput/TextInput.tsx +34 -4
- package/src/index.ts +3 -0
- package/src/stories/ColorGroupPreview.tsx +494 -0
- package/src/stories/ColorPreview.tsx +45 -0
- package/src/stories/Colors.mdx +14 -0
- package/src/stories/Typography.mdx +7 -151
- package/src/theme/global.css +7 -227
- package/src/theme/main-preset.js +131 -67
- package/src/theme/plugins/utilities/typography.js +12 -0
- package/src/theme/presets/colors.js +101 -220
- package/src/theme/theme.d.ts +69 -0
- package/src/theme/themes/xspector/baseline.css +7 -0
- package/src/theme/themes/xspector/color.css +67 -0
- package/src/theme/themes/xspector/components/action-button.css +98 -0
- package/src/theme/themes/xspector/components/loading.css +11 -0
- package/src/theme/themes/xspector/palette.css +122 -0
- package/src/theme/themes/xspector/state.css +89 -0
- package/src/theme/themes/xspector/transparent.css +68 -0
- package/src/theme/themes/xspector/typography.css +27 -0
- package/src/theme/tokens/baseline.css +10 -0
- package/src/theme/tokens/color.css +63 -0
- package/src/theme/tokens/components/action-button.css +127 -0
- package/src/theme/tokens/components/button.css +512 -0
- package/src/theme/tokens/components/loading.css +11 -0
- package/src/theme/tokens/components/navbar.css +8 -0
- package/src/theme/tokens/components/progress-bar.css +8 -0
- package/src/theme/tokens/palette.css +122 -0
- package/src/theme/tokens/state.css +82 -0
- package/src/theme/tokens/transparent.css +68 -0
- package/src/theme/tokens/typography.css +178 -0
- package/src/theme/tokens/variables.css +28 -0
- package/src/theme/utils.js +98 -0
|
@@ -1,160 +1,16 @@
|
|
|
1
|
-
import { Meta, Canvas } from
|
|
1
|
+
import { Meta, Story, Canvas } from '@storybook/blocks';
|
|
2
|
+
|
|
3
|
+
import * as ButtonStories from '../components/Text/Text.stories';
|
|
2
4
|
|
|
3
5
|
<Meta title="Guidelines/Typography" />
|
|
4
6
|
|
|
5
|
-
export const code = ['<button className="scroll rounded-lg border border-primary-500">', " button", "</button>"];
|
|
6
7
|
|
|
7
8
|
# Typography
|
|
8
9
|
|
|
9
|
-
|
|
10
|
+
## Text
|
|
10
11
|
|
|
11
|
-
<
|
|
12
|
+
<Canvas of={ButtonStories.Default} />
|
|
12
13
|
|
|
13
|
-
##
|
|
14
|
+
## Text colos
|
|
14
15
|
|
|
15
|
-
<Canvas
|
|
16
|
-
<div className="mx-auto max-w-3xl text-gray-100">
|
|
17
|
-
<div className="grid grid-cols-[auto_1fr] gap-x-8 gap-y-4">
|
|
18
|
-
<div className="flex items-center">
|
|
19
|
-
<div>
|
|
20
|
-
<div className="typography-subtitle-1">Class Name:</div>
|
|
21
|
-
<code className="whitespace-nowrap typography-code">typography-heading-1</code>
|
|
22
|
-
</div>
|
|
23
|
-
</div>
|
|
24
|
-
<div>
|
|
25
|
-
<h1 className="typography-heading-1">Heading 1</h1>
|
|
26
|
-
</div>
|
|
27
|
-
<div className="flex items-center">
|
|
28
|
-
<div>
|
|
29
|
-
<div className="typography-subtitle-1">Class Name:</div>
|
|
30
|
-
<code className="typography-code">typography-heading-2</code>
|
|
31
|
-
</div>
|
|
32
|
-
</div>
|
|
33
|
-
<div>
|
|
34
|
-
<h2 className="typography-heading-2">Heading 2</h2>
|
|
35
|
-
</div>
|
|
36
|
-
<div className="flex items-center">
|
|
37
|
-
<div>
|
|
38
|
-
<div className="typography-subtitle-1">Class Name:</div>
|
|
39
|
-
<code className="typography-code">typography-heading-3</code>
|
|
40
|
-
</div>
|
|
41
|
-
</div>
|
|
42
|
-
<div>
|
|
43
|
-
<h3 className="typography-heading-3">Heading 3</h3>
|
|
44
|
-
</div>
|
|
45
|
-
<div className="flex items-center">
|
|
46
|
-
<div>
|
|
47
|
-
<div className="typography-subtitle-1">Class Name:</div>
|
|
48
|
-
<code className="typography-code">typography-heading-4</code>
|
|
49
|
-
</div>
|
|
50
|
-
</div>
|
|
51
|
-
<div className="flex items-center">
|
|
52
|
-
<h4 className="typography-heading-4">Heading 4</h4>
|
|
53
|
-
</div>
|
|
54
|
-
<div className="flex items-center">
|
|
55
|
-
<div>
|
|
56
|
-
<div className="typography-subtitle-1">Class Name:</div>
|
|
57
|
-
<code className="typography-code">typography-heading-5</code>
|
|
58
|
-
</div>
|
|
59
|
-
</div>
|
|
60
|
-
<div className="flex items-center">
|
|
61
|
-
<h5 className="typography-heading-5">Heading 5</h5>
|
|
62
|
-
</div>
|
|
63
|
-
<div className="flex items-center">
|
|
64
|
-
<div>
|
|
65
|
-
<div className="typography-subtitle-1">Class Name:</div>
|
|
66
|
-
<code className="typography-code">typography-heading-6</code>
|
|
67
|
-
</div>
|
|
68
|
-
</div>
|
|
69
|
-
<div className="flex items-center">
|
|
70
|
-
<h6 className="typography-heading-6">Heading 6</h6>
|
|
71
|
-
</div>
|
|
72
|
-
<div className="flex items-center">
|
|
73
|
-
<div>
|
|
74
|
-
<div className="typography-subtitle-1">Class Name:</div>
|
|
75
|
-
<code className="whitespace-nowrap typography-code">typography-subtitle-1</code>
|
|
76
|
-
</div>
|
|
77
|
-
</div>
|
|
78
|
-
<div className="">
|
|
79
|
-
<p className="typography-subtitle-1">
|
|
80
|
-
Subtitle 1 - Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut
|
|
81
|
-
labore et dolore magna aliqua.
|
|
82
|
-
</p>
|
|
83
|
-
</div>
|
|
84
|
-
<div className="flex items-center">
|
|
85
|
-
<div>
|
|
86
|
-
<div className="typography-subtitle-1">Class Name:</div>
|
|
87
|
-
<code className="whitespace-nowrap typography-code">typography-subtitle-2</code>
|
|
88
|
-
</div>
|
|
89
|
-
</div>
|
|
90
|
-
<div className="flex items-center">
|
|
91
|
-
<p className="typography-subtitle-2">
|
|
92
|
-
Subtitle 2 - Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut
|
|
93
|
-
labore et dolore magna aliqua.
|
|
94
|
-
</p>
|
|
95
|
-
</div>
|
|
96
|
-
<div className="flex items-center">
|
|
97
|
-
<div>
|
|
98
|
-
<div className="typography-subtitle-1">Class Name:</div>
|
|
99
|
-
<code className="typography-code">typography-body-1</code>
|
|
100
|
-
</div>
|
|
101
|
-
</div>
|
|
102
|
-
<div>
|
|
103
|
-
<p className="typography-body-1">
|
|
104
|
-
Body 1 - Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore
|
|
105
|
-
et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex
|
|
106
|
-
ea commodo consequat.
|
|
107
|
-
</p>
|
|
108
|
-
</div>
|
|
109
|
-
<div className="flex items-center">
|
|
110
|
-
<div>
|
|
111
|
-
<div className="typography-subtitle-1">Class Name:</div>
|
|
112
|
-
<code className="typography-code">typography-body-2</code>
|
|
113
|
-
</div>
|
|
114
|
-
</div>
|
|
115
|
-
<div>
|
|
116
|
-
<p className="typography-body-2">
|
|
117
|
-
Body 2 - Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore
|
|
118
|
-
et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex
|
|
119
|
-
ea commodo consequat.
|
|
120
|
-
</p>
|
|
121
|
-
</div>
|
|
122
|
-
<div className="flex items-center">
|
|
123
|
-
<div>
|
|
124
|
-
<div className="typography-subtitle-1">Class Name:</div>
|
|
125
|
-
<code className="typography-code">typography-button</code>
|
|
126
|
-
</div>
|
|
127
|
-
</div>
|
|
128
|
-
<div className="flex items-center">
|
|
129
|
-
<span className="typography-button">BUTTON TEXT</span>
|
|
130
|
-
</div>
|
|
131
|
-
<div className="flex items-center">
|
|
132
|
-
<div>
|
|
133
|
-
<div className="typography-subtitle-1">Class Name:</div>
|
|
134
|
-
<code className="typography-code">typography-caption</code>
|
|
135
|
-
</div>
|
|
136
|
-
</div>
|
|
137
|
-
<div className="flex items-center">
|
|
138
|
-
<span className="typography-caption">caption text</span>
|
|
139
|
-
</div>
|
|
140
|
-
<div className="flex items-center">
|
|
141
|
-
<div>
|
|
142
|
-
<div className="typography-subtitle-1">Class Name:</div>
|
|
143
|
-
<code className="typography-code">typography-overline</code>
|
|
144
|
-
</div>
|
|
145
|
-
</div>
|
|
146
|
-
<div className="flex items-center">
|
|
147
|
-
<span className="my-auto typography-overline">OVERLINE TEXT</span>
|
|
148
|
-
</div>
|
|
149
|
-
<div className="flex items-center">
|
|
150
|
-
<div>
|
|
151
|
-
<div className="typography-subtitle-1">Class Name:</div>
|
|
152
|
-
<code className="typography-code">typography-code</code>
|
|
153
|
-
</div>
|
|
154
|
-
</div>
|
|
155
|
-
<div className="overflow-x-auto">
|
|
156
|
-
<pre className="py-2 typography-code">{code.join("\n")}</pre>
|
|
157
|
-
</div>
|
|
158
|
-
</div>
|
|
159
|
-
</div>
|
|
160
|
-
</Canvas>
|
|
16
|
+
<Canvas of={ButtonStories.Color} />
|
package/src/theme/global.css
CHANGED
|
@@ -1,237 +1,17 @@
|
|
|
1
|
+
|
|
2
|
+
@import "./tokens/baseline.css";
|
|
3
|
+
@import "./themes/xspector/baseline.css";
|
|
4
|
+
|
|
1
5
|
@tailwind base;
|
|
2
6
|
@tailwind components;
|
|
3
7
|
@tailwind utilities;
|
|
4
8
|
|
|
5
|
-
@layer base {
|
|
6
|
-
:root {
|
|
7
|
-
--white: 255 255 255; /* #ffffff */
|
|
8
|
-
--black: 28 28 28; /* #1c1c1c */
|
|
9
|
-
|
|
10
|
-
--theme-50: 232 242 255; /* #E8F2FF -> 232 242 255 */
|
|
11
|
-
--theme-100: 213 230 255; /* #D5E6FF -> 213 230 255 */
|
|
12
|
-
--theme-200: 179 207 255; /* #B3CFFF -> 179 207 255 */
|
|
13
|
-
--theme-300: 136 174 255; /* #85AEFF -> 136 174 255 */
|
|
14
|
-
--theme-400: 86 126 255; /* #567EFF -> 86 126 255 */
|
|
15
|
-
--theme-500: 47 78 255; /* #2F4EFF -> 47 78 255 */
|
|
16
|
-
--theme-600: 12 26 255; /* #0C1AFF -> 12 26 255 */
|
|
17
|
-
--theme-700: 0 12 255; /* #000CFF -> 0 12 255 */
|
|
18
|
-
--theme-800: 6 18 205; /* #0612CD -> 6 18 205 */
|
|
19
|
-
--theme-900: 16 29 159; /* #101D9F -> 16 29 159 */
|
|
20
|
-
--theme-default: var(--theme-100);
|
|
21
|
-
--theme-foreground: var(--white);
|
|
22
|
-
|
|
23
|
-
--primary-5: 242 242 246; /* #F2F2F6 */
|
|
24
|
-
--primary-10: 230 230 236; /* #E6E6EC */
|
|
25
|
-
--primary-20: 204 204 218; /* #CCCCDA */
|
|
26
|
-
--primary-30: 179 179 199; /* #B3B3C7 */
|
|
27
|
-
--primary-40: 153 153 180; /* #9999B4 */
|
|
28
|
-
--primary-50: 128 128 161; /* #8080A1 */
|
|
29
|
-
--primary-60: 103 103 143; /* #67678F */
|
|
30
|
-
--primary-70: 77 77 124; /* #4D4D7C */
|
|
31
|
-
--primary-80: 52 52 105; /* #343469 */
|
|
32
|
-
--primary-90: 26 26 87; /* #1A1A57 */
|
|
33
|
-
--primary-100: 1 1 68; /* #010144 */
|
|
34
|
-
--primary-110: 1 1 61; /* #01013D */
|
|
35
|
-
--primary-120: 1 1 54; /* #010136 */
|
|
36
|
-
--primary-130: 1 1 48; /* #010130 */
|
|
37
|
-
--primary-140: 1 1 41; /* #010129 */
|
|
38
|
-
--primary-150: 1 1 34; /* #010122 */
|
|
39
|
-
--primary-default: var(--primary-100);
|
|
40
|
-
--primary-foreground: var(--white);
|
|
41
|
-
|
|
42
|
-
--secondary-5: 254 254 255; /* #FEFEFF */
|
|
43
|
-
--secondary-10: 253 254 255; /* #FDFEFF */
|
|
44
|
-
--secondary-20: 251 252 255; /* #FBFCFF */
|
|
45
|
-
--secondary-30: 249 251 255; /* #F9FBFF */
|
|
46
|
-
--secondary-40: 247 249 255; /* #F7F9FF */
|
|
47
|
-
--secondary-50: 245 248 255; /* #F5F8FF */
|
|
48
|
-
--secondary-60: 242 247 255; /* #F2F7FF */
|
|
49
|
-
--secondary-70: 240 245 255; /* #F0F5FF */
|
|
50
|
-
--secondary-80: 238 244 255; /* #EEF4FF */
|
|
51
|
-
--secondary-90: 236 242 255; /* #ECF2FF */
|
|
52
|
-
--secondary-100: 234 241 255; /* #EAF1FF */
|
|
53
|
-
--secondary-110: 211 217 229; /* #D3D9E5 */
|
|
54
|
-
--secondary-120: 187 193 204; /* #BBC1CC */
|
|
55
|
-
--secondary-130: 164 169 178; /* #A4A9B2 */
|
|
56
|
-
--secondary-140: 140 145 153; /* #8C9199 */
|
|
57
|
-
--secondary-150: 117 121 128; /* #757980 */
|
|
58
|
-
--secondary-default: var(--secondary-100);
|
|
59
|
-
--secondary-foreground: 1 1 68;
|
|
60
|
-
|
|
61
|
-
--tertiary-5: 245 246 255; /* #F5F6FF */
|
|
62
|
-
--tertiary-10: 234 237 255; /* #EAEDFF */
|
|
63
|
-
--tertiary-20: 213 220 255; /* #D5DCFF */
|
|
64
|
-
--tertiary-30: 193 202 255; /* #C1CAFF */
|
|
65
|
-
--tertiary-40: 172 184 255; /* #ACB8FF */
|
|
66
|
-
--tertiary-50: 151 166 255; /* #97A6FF */
|
|
67
|
-
--tertiary-60: 132 149 255; /* #8295FF */
|
|
68
|
-
--tertiary-70: 109 131 255; /* #6D83FF */
|
|
69
|
-
--tertiary-80: 89 113 255; /* #5971FF */
|
|
70
|
-
--tertiary-90: 68 96 255; /* #4460FF */
|
|
71
|
-
--tertiary-100: 47 78 255; /* #2F4EFF */
|
|
72
|
-
--tertiary-110: 42 70 229; /* #2A46E5 */
|
|
73
|
-
--tertiary-120: 38 62 204; /* #263ECC */
|
|
74
|
-
--tertiary-130: 33 55 178; /* #2137B2 */
|
|
75
|
-
--tertiary-140: 28 47 153; /* #1C2F99 */
|
|
76
|
-
--tertiary-150: 24 39 128; /* #182780 */
|
|
77
|
-
--tertiary-default: var(--tertiary-100);
|
|
78
|
-
--tertiary-foreground: var(--white);
|
|
79
|
-
|
|
80
|
-
--grey-5: 250 250 250; /* #FAFAFA */
|
|
81
|
-
--grey-10: 245 245 245; /* #F5F5F5 */
|
|
82
|
-
--grey-20: 236 236 236; /* #ECECEC */
|
|
83
|
-
--grey-30: 226 226 226; /* #E2E2E2 */
|
|
84
|
-
--grey-40: 216 216 216; /* #D8D8D8 */
|
|
85
|
-
--grey-50: 207 207 207; /* #CFCFCF */
|
|
86
|
-
--grey-60: 197 197 197; /* #C5C5C5 */
|
|
87
|
-
--grey-70: 187 187 187; /* #BBBBBB */
|
|
88
|
-
--grey-80: 177 177 177; /* #B1B1B1 */
|
|
89
|
-
--grey-90: 168 168 168; /* #A8A8A8 */
|
|
90
|
-
--grey-100: 158 158 158; /* #9E9E9E */
|
|
91
|
-
--grey-110: 142 142 142; /* #8E8E8E */
|
|
92
|
-
--grey-120: 126 126 126; /* #7E7E7E */
|
|
93
|
-
--grey-130: 111 111 111; /* #6F6F6F */
|
|
94
|
-
--grey-140: 95 95 95; /* #5F5F5F */
|
|
95
|
-
--grey-150: 79 79 79; /* #4F4F4F */
|
|
96
|
-
--grey-default: var(--grey-100);
|
|
97
|
-
--grey-foreground: 1 1 68;
|
|
98
|
-
|
|
99
|
-
--grey2-100: 249 250 251; /* #F9FAFB */
|
|
100
|
-
--grey2-200: 244 246 248; /* #F4F6F8 */
|
|
101
|
-
--grey2-300: 223 227 232; /* #DFE3E8 */
|
|
102
|
-
--grey2-400: 196 205 213; /* #C4CDD5 */
|
|
103
|
-
--grey2-500: 145 158 171; /* #919EAB */
|
|
104
|
-
--grey2-600: 99 115 129; /* #637381 */
|
|
105
|
-
--grey2-700: 69 79 91; /* #454F5B */
|
|
106
|
-
--grey2-800: 33 43 54; /* #212B36 */
|
|
107
|
-
--grey2-900: 22 28 36; /* #161C24 */
|
|
108
|
-
--grey-default: var(--grey-100);
|
|
109
|
-
--grey-foreground: var(--white);
|
|
110
|
-
|
|
111
|
-
--info-lighter: 208 242 255;
|
|
112
|
-
--info-light: 116 202 255;
|
|
113
|
-
--info-100: 41 152 255; /* #2998FF */
|
|
114
|
-
--info-120: 33 122 204; /* #217ACC */
|
|
115
|
-
--info-dark: 12 83 183;
|
|
116
|
-
--info-darker: 4 41 122;
|
|
117
|
-
--info-default: var(--info-100);
|
|
118
|
-
--info-foreground: var(--white);
|
|
119
|
-
|
|
120
|
-
--success-lighter: 233 252 212;
|
|
121
|
-
--success-light: 170 242 127;
|
|
122
|
-
--success-100: 84 214 44; /* #54D62C */
|
|
123
|
-
--success-120: 67 171 35; /* #43AB23 */
|
|
124
|
-
--success-dark: 34 154 22;
|
|
125
|
-
--success-darker:8 102 13;
|
|
126
|
-
--success-default: var(--success-100);
|
|
127
|
-
--success-foreground: var(--white);
|
|
128
|
-
|
|
129
|
-
--warning-lighter: 255 247 205;
|
|
130
|
-
--warning-light:255 225 106;
|
|
131
|
-
--warning-100: 255 193 7; /* #FFC107 */
|
|
132
|
-
--warning-120: 204 154 6; /* #CC9A06 */
|
|
133
|
-
--warning-dark: 183 129 3;
|
|
134
|
-
--warning-darker: 122 79 1;
|
|
135
|
-
--warning-default: var(--warning-100);
|
|
136
|
-
--warning-foreground: var(--white);
|
|
137
|
-
|
|
138
|
-
--error-lighter: 255 231 217;
|
|
139
|
-
--error-light: 255 164 141;
|
|
140
|
-
--error-100: 255 77 53; /* #FF4D35 */
|
|
141
|
-
--error-120: 204 62 42; /* #CC3E2A */
|
|
142
|
-
--error-dark: 183 33 54;
|
|
143
|
-
--error-darker: 122 12 46;
|
|
144
|
-
--error-default: var(--error-100);
|
|
145
|
-
--error-foreground: var(--white);
|
|
146
|
-
|
|
147
|
-
--main-transparent-primary: 1 1 68;
|
|
148
|
-
--main-transparent-secondary: 234 241 255;
|
|
149
|
-
--main-transparent-tertiary: 47 78 255;
|
|
150
|
-
|
|
151
|
-
/* Button */
|
|
152
|
-
--btn-rounded-sm: 10px;
|
|
153
|
-
--btn-rounded-md: 12px;
|
|
154
|
-
--btn-rounded-lg: 16px;
|
|
155
|
-
|
|
156
|
-
/* Input */
|
|
157
|
-
--input-default-text-color: 164 169 178;
|
|
158
|
-
--input-default-stroke-color: 231 231 231;
|
|
159
|
-
|
|
160
|
-
--input-active-text-color: 29 30 39;
|
|
161
|
-
--input-active-stroke-color: 208 208 208;
|
|
162
|
-
|
|
163
|
-
--input-disabled-text-color: 196 199 205;
|
|
164
|
-
--input-disabled-stroke-color: 239 239 239;
|
|
165
|
-
--input-disabled-background-color: 247 247 247;
|
|
166
|
-
|
|
167
|
-
--input-label-background-color: 249 251 255;
|
|
168
|
-
|
|
169
|
-
/* Text */
|
|
170
|
-
--text-default-dark: 1 1 68;
|
|
171
|
-
--text-default-medium: 47 78 255;
|
|
172
|
-
--text-default-light: 213 230 255;
|
|
173
|
-
|
|
174
|
-
--text-grey-dark: 29 30 39;
|
|
175
|
-
--text-grey-medium: 117 121 128;
|
|
176
|
-
--text-grey-light: 164 169 178;
|
|
177
|
-
--text-white: 255 255 255;
|
|
178
|
-
|
|
179
|
-
/* Other */
|
|
180
|
-
--other-bg: var(--white);
|
|
181
|
-
--other-bg-2: var(--white);
|
|
182
|
-
|
|
183
|
-
/* Other/Popup */
|
|
184
|
-
--popup-background: 249 251 255;
|
|
185
|
-
/* Other/Popup Curtain */
|
|
186
|
-
--popup-overlay: 0 0 0;
|
|
187
|
-
--popup-overlay-alpha: 0.48;
|
|
188
|
-
--popup-rounded: 24px;
|
|
189
|
-
|
|
190
|
-
/* Navbar */
|
|
191
|
-
--navbar-height: 58px;
|
|
192
|
-
--navbar-bg-color: var(--primary-default);
|
|
193
|
-
--navbar-text-color: var(--primary-foreground);
|
|
194
|
-
--navbar-border-color: var(--primary-foreground);
|
|
195
|
-
--navbar-gap: 16px;
|
|
196
|
-
|
|
197
|
-
/* TODO for shadcn, wait for refactor */
|
|
198
|
-
/* --background: 0 0% 100%; */
|
|
199
|
-
--background: var(--brand-background);
|
|
200
|
-
--foreground: var(--text-white:);
|
|
201
|
-
|
|
202
|
-
--muted: 210 40% 96.1%;
|
|
203
|
-
--muted-foreground: 215.4 16.3% 46.9%;
|
|
204
|
-
|
|
205
|
-
--popover: 0 0% 100%;
|
|
206
|
-
--popover-foreground: 222.2 47.4% 11.2%;
|
|
207
|
-
|
|
208
|
-
--border: 214.3 31.8% 91.4%;
|
|
209
|
-
--input: 214.3 31.8% 91.4%;
|
|
210
|
-
|
|
211
|
-
--card: var(--white);
|
|
212
|
-
--card-foreground: var(--primary);
|
|
213
|
-
|
|
214
|
-
--primary: var(--primary-default);
|
|
215
|
-
|
|
216
|
-
--secondary: var(--secondary-default);
|
|
217
|
-
|
|
218
|
-
--accent: 210 40% 96.1%;
|
|
219
|
-
--accent-foreground: 222.2 47.4% 11.2%;
|
|
220
|
-
|
|
221
|
-
--destructive: 0 100% 50%;
|
|
222
|
-
--destructive-foreground: 210 40% 98%;
|
|
223
|
-
|
|
224
|
-
--ring: 215 20.2% 65.1%;
|
|
225
|
-
|
|
226
|
-
--radius: 0.5rem;
|
|
227
|
-
}
|
|
228
|
-
}
|
|
229
|
-
|
|
230
9
|
@layer base {
|
|
231
10
|
* {
|
|
232
|
-
@apply border-border;
|
|
11
|
+
/* @apply border-border; */
|
|
233
12
|
}
|
|
234
13
|
body {
|
|
235
|
-
@apply bg-background text-foreground;
|
|
14
|
+
/* @apply bg-background text-foreground; */
|
|
15
|
+
/* @apply bg-[var(--backgroud)] text-[var(--foreground)]; */
|
|
236
16
|
}
|
|
237
17
|
}
|