myshell-react-lib 0.1.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.
Files changed (151) hide show
  1. package/README.md +268 -0
  2. package/dist/assets/audio-playing.json +3657 -0
  3. package/dist/index.cjs +9654 -0
  4. package/dist/index.cjs.map +1 -0
  5. package/dist/index.d.cts +1431 -0
  6. package/dist/index.d.ts +1431 -0
  7. package/dist/index.js +8788 -0
  8. package/dist/index.js.map +1 -0
  9. package/package.json +140 -0
  10. package/src/common/assets/audio-playing.json +3657 -0
  11. package/src/common/constants/constants.ts +24 -0
  12. package/src/common/constants/types/common.ts +10 -0
  13. package/src/common/hooks/useAudioPlayer.tsx +198 -0
  14. package/src/common/hooks/useDevice.ts +26 -0
  15. package/src/common/hooks/useNativeBridge.ts +42 -0
  16. package/src/common/hooks/useNotification.tsx +179 -0
  17. package/src/common/hooks/useWindowWidth.ts +19 -0
  18. package/src/common/utils/common-helper.ts +81 -0
  19. package/src/components/ItemDemo.tsx +15 -0
  20. package/src/components/accordion.tsx +126 -0
  21. package/src/components/alert-dialog.tsx +148 -0
  22. package/src/components/alert.tsx +65 -0
  23. package/src/components/aspect-ratio.tsx +7 -0
  24. package/src/components/audio-player.tsx +58 -0
  25. package/src/components/avatar.tsx +133 -0
  26. package/src/components/badge.tsx +65 -0
  27. package/src/components/button/button.styles.ts +258 -0
  28. package/src/components/button/button.tsx +215 -0
  29. package/src/components/button/icon-button.styles.ts +101 -0
  30. package/src/components/button/icon-button.tsx +100 -0
  31. package/src/components/button/index.tsx +3 -0
  32. package/src/components/button/link-button.tsx +184 -0
  33. package/src/components/cascader.tsx +175 -0
  34. package/src/components/checkbox.tsx +135 -0
  35. package/src/components/command.tsx +155 -0
  36. package/src/components/context-menu.tsx +198 -0
  37. package/src/components/count-down.tsx +83 -0
  38. package/src/components/custom-notification.tsx +95 -0
  39. package/src/components/dialog.tsx +158 -0
  40. package/src/components/drawer.tsx +116 -0
  41. package/src/components/dropdown-menu.tsx +196 -0
  42. package/src/components/energy-progress.tsx +55 -0
  43. package/src/components/form.tsx +201 -0
  44. package/src/components/group.tsx +9 -0
  45. package/src/components/guide.tsx +243 -0
  46. package/src/components/icon.tsx +89 -0
  47. package/src/components/icons/outline/DownIcon.tsx +18 -0
  48. package/src/components/icons/outline/FilterIcon.tsx +21 -0
  49. package/src/components/icons/outline/arrow-left.tsx +16 -0
  50. package/src/components/icons/outline/arrow-up-tray.tsx +16 -0
  51. package/src/components/icons/outline/check-circle.tsx +17 -0
  52. package/src/components/icons/outline/config.tsx +42 -0
  53. package/src/components/icons/outline/pencil-square.tsx +16 -0
  54. package/src/components/icons/outline/trash.tsx +17 -0
  55. package/src/components/icons/outline/window.tsx +16 -0
  56. package/src/components/icons/outline/x-circle.tsx +17 -0
  57. package/src/components/icons/outline/x-mark.tsx +16 -0
  58. package/src/components/icons/solid/audio-playing.tsx +31 -0
  59. package/src/components/icons/solid/caret-down.tsx +14 -0
  60. package/src/components/icons/solid/code.tsx +18 -0
  61. package/src/components/icons/solid/drag.tsx +14 -0
  62. package/src/components/icons/solid/phone.tsx +23 -0
  63. package/src/components/icons/solid/rectangle-group.tsx +14 -0
  64. package/src/components/image.tsx +151 -0
  65. package/src/components/input.tsx +118 -0
  66. package/src/components/label.tsx +26 -0
  67. package/src/components/link.tsx +123 -0
  68. package/src/components/marquee/index.css +15 -0
  69. package/src/components/marquee/marquee.tsx +220 -0
  70. package/src/components/masonry.tsx +138 -0
  71. package/src/components/menubar.tsx +234 -0
  72. package/src/components/mobile/m-tooltip.tsx +34 -0
  73. package/src/components/modal.tsx +561 -0
  74. package/src/components/navigation-bar.tsx +100 -0
  75. package/src/components/number-input.tsx +143 -0
  76. package/src/components/page-content.tsx +16 -0
  77. package/src/components/popover.tsx +191 -0
  78. package/src/components/progress.tsx +80 -0
  79. package/src/components/radio-group.tsx +44 -0
  80. package/src/components/scroll-area.tsx +49 -0
  81. package/src/components/search-bar.tsx +140 -0
  82. package/src/components/secondary-navigation-bar.tsx +307 -0
  83. package/src/components/select.tsx +273 -0
  84. package/src/components/separator.tsx +31 -0
  85. package/src/components/sheet.tsx +143 -0
  86. package/src/components/skeleton.tsx +20 -0
  87. package/src/components/slider.tsx +160 -0
  88. package/src/components/spinner.tsx +48 -0
  89. package/src/components/swiper/index.module.scss +88 -0
  90. package/src/components/swiper/index.tsx +319 -0
  91. package/src/components/switch.tsx +67 -0
  92. package/src/components/tabs.tsx +325 -0
  93. package/src/components/textarea.tsx +71 -0
  94. package/src/components/toast/toast.tsx +182 -0
  95. package/src/components/toast/toaster.tsx +160 -0
  96. package/src/components/toast/use-toast.tsx +248 -0
  97. package/src/components/toggle-group.tsx +64 -0
  98. package/src/components/toggle.tsx +46 -0
  99. package/src/components/tooltip.tsx +283 -0
  100. package/src/components/typography.tsx +437 -0
  101. package/src/index.ts +66 -0
  102. package/src/lib/utils.ts +62 -0
  103. package/src/stories/Accordion.stories.tsx +64 -0
  104. package/src/stories/AccordionItem.stories.tsx +48 -0
  105. package/src/stories/Avatar.stories.ts +58 -0
  106. package/src/stories/Badge.stories.tsx +40 -0
  107. package/src/stories/BannerSwiper.stories.tsx +102 -0
  108. package/src/stories/Button.stories.tsx +543 -0
  109. package/src/stories/Checkbox.stories.tsx +161 -0
  110. package/src/stories/Configure.mdx +341 -0
  111. package/src/stories/CssProperties.mdx +30 -0
  112. package/src/stories/Description.stories.ts +70 -0
  113. package/src/stories/Display.stories.ts +64 -0
  114. package/src/stories/FeaturedSwiper.stories.tsx +6978 -0
  115. package/src/stories/GridSwiper.stories.tsx +1407 -0
  116. package/src/stories/Guide.stories.tsx +247 -0
  117. package/src/stories/Heading.stories.ts +89 -0
  118. package/src/stories/Icon.stories.ts +77 -0
  119. package/src/stories/IconButton.stories.tsx +301 -0
  120. package/src/stories/IconTextButton.stories.ts +59 -0
  121. package/src/stories/Image.stories.ts +55 -0
  122. package/src/stories/Input.stories.tsx +203 -0
  123. package/src/stories/Modal.stories.tsx +144 -0
  124. package/src/stories/NavigationBar.stories.tsx +81 -0
  125. package/src/stories/Notification.stories.tsx +276 -0
  126. package/src/stories/Popover.stories.tsx +100 -0
  127. package/src/stories/SearchBar.stories.ts +43 -0
  128. package/src/stories/SecondaryNavigationBar.stories.tsx +199 -0
  129. package/src/stories/Select.stories.tsx +107 -0
  130. package/src/stories/Separator.stories.tsx +49 -0
  131. package/src/stories/Spinner.stories.tsx +48 -0
  132. package/src/stories/SubHeading.stories.ts +64 -0
  133. package/src/stories/Swich.stories.tsx +69 -0
  134. package/src/stories/Tabs.stories.tsx +90 -0
  135. package/src/stories/Text.stories.ts +78 -0
  136. package/src/stories/Textarea.stories.tsx +155 -0
  137. package/src/stories/Toast.stories.tsx +424 -0
  138. package/src/stories/Tooltip.stories.tsx +244 -0
  139. package/src/stories/ViewAutoSwiper.stories.tsx +1408 -0
  140. package/src/styles/components-dark.scss +212 -0
  141. package/src/styles/components-light.scss +210 -0
  142. package/src/styles/design-dark.scss +330 -0
  143. package/src/styles/design-light.scss +345 -0
  144. package/src/styles/design2-dark.scss +319 -0
  145. package/src/styles/design2-light.scss +364 -0
  146. package/src/styles/font.css +19 -0
  147. package/src/styles/global.scss +251 -0
  148. package/src/styles/md-viewer.scss +155 -0
  149. package/src/styles/new-tokens.scss +255 -0
  150. package/src/styles/tokens.scss +401 -0
  151. package/src/types/scss.d.ts +24 -0
@@ -0,0 +1,19 @@
1
+ * {
2
+ /* @apply font-mona-sans; */
3
+ /* 指定字体的字重为 400, 这会同时作用于 Mona Sans 及可能的 fallback 字体 */
4
+ font-weight: 400;
5
+ }
6
+
7
+ /* h1,
8
+ h2,
9
+ h3,
10
+ h4,
11
+ h5,
12
+ h6 {
13
+ @apply font-ppt;
14
+ } */
15
+
16
+ .monaco-editor * {
17
+ @apply font-roboto-mono;
18
+ font-weight: 500;
19
+ }
@@ -0,0 +1,251 @@
1
+ @tailwind base;
2
+ @tailwind components;
3
+ @tailwind utilities;
4
+
5
+ @import './tokens.scss';
6
+ @import './design-light.scss';
7
+ @import './design-dark.scss';
8
+
9
+ @import './new-tokens.scss';
10
+ @import './design2-light.scss';
11
+ @import './design2-dark.scss';
12
+ @import './components-light.scss';
13
+ @import './components-dark.scss';
14
+
15
+ @layer components {
16
+ .button-hover-underline::after {
17
+ @apply absolute inset-x-0 bottom-0 border-b border-current pointer-events-none;
18
+ }
19
+ }
20
+ body {
21
+ overflow: hidden;
22
+ background-color: var(--surface-container-default, #f5f7fa);
23
+ color: var(--text);
24
+ font-family: system-ui, 'system-ui', 'Segoe UI', Helvetica, Arial, sans-serif !important;
25
+ }
26
+ .driver-popover * {
27
+ font-family: system-ui, 'system-ui', 'Segoe UI', Helvetica, Arial, sans-serif !important;
28
+ }
29
+ body.driver-active .driver-none {
30
+ pointer-events: none;
31
+ user-select: none;
32
+ overflow: hidden;
33
+ }
34
+
35
+ body.driver-active .driver-none * {
36
+ pointer-events: none;
37
+ user-select: none;
38
+ overflow: hidden;
39
+ }
40
+ @media (min-width: 768px) {
41
+ /* 在宽度大于 768px 且小于等于 1024px 的屏幕上应用以下样式 */
42
+ * {
43
+ // overflow-y: overlay;
44
+ &::-webkit-scrollbar {
45
+ width: 5px;
46
+ height: 5px;
47
+ }
48
+ &::-webkit-scrollbar-track {
49
+ background-color: transparent;
50
+ border-radius: 6px;
51
+ }
52
+ &::-webkit-scrollbar-thumb {
53
+ background-color: var(--border-hovered);
54
+ border-radius: 6px;
55
+ }
56
+ }
57
+ }
58
+
59
+ // .cropper-container {
60
+ // visibility: hidden !important;
61
+ // }
62
+ .bot-avatar-upload,
63
+ .user-avatar-upload {
64
+ .cropper-container {
65
+ visibility: hidden !important;
66
+ }
67
+ .cropper-hidden {
68
+ display: block !important;
69
+ }
70
+ }
71
+ .chakra-checkbox__control {
72
+ border-radius: 50%;
73
+ }
74
+ .square-checkbox .chakra-checkbox__control {
75
+ border-radius: 2px;
76
+ }
77
+
78
+ .chakra-checkbox__control[data-checked] {
79
+ background: #3e5cfa;
80
+ border-color: #3e5cfa;
81
+ }
82
+ .chakra-checkbox__control[data-focus-visible] {
83
+ box-shadow: none;
84
+ }
85
+
86
+ .chakra-table tr td {
87
+ height: 56px;
88
+ padding: 0 20px;
89
+ }
90
+
91
+ .chakra-table tr:nth-of-type(odd) td {
92
+ background-color: #fafbfb;
93
+ }
94
+ .py-safe {
95
+ background-color: #fafbfb;
96
+ padding-top: env(safe-area-inset-top);
97
+ padding-bottom: env(safe-area-inset-bottom);
98
+ }
99
+
100
+ .no-scrollbar::-webkit-scrollbar {
101
+ display: none;
102
+ }
103
+
104
+ /* Hide scrollbar for IE, Edge and Firefox */
105
+ .no-scrollbar {
106
+ -ms-overflow-style: none;
107
+ /* IE and Edge */
108
+ scrollbar-width: none;
109
+ /* Firefox */
110
+ }
111
+ .arrow {
112
+ --popper-arrow-default-shadow: 1px 1px 1px 0 var(--shadow-modal-bolder) !important;
113
+ }
114
+ .dark .arrow {
115
+ --popper-arrow-default-shadow: 1px 1px 1px 0 var(--border-opaque) !important;
116
+ }
117
+ .arrow-left {
118
+ --popper-arrow-default-shadow: -1px 1px 1px 0 var(--shadow-modal-bolder) !important;
119
+ }
120
+ .dark .arrow-left {
121
+ --popper-arrow-default-shadow: -1px 1px 1px 0 var(--border-opaque) !important;
122
+ }
123
+ li,
124
+ a,
125
+ button {
126
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
127
+ }
128
+ .tap-higtlight {
129
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
130
+ }
131
+
132
+ .chat-mask > div {
133
+ -webkit-mask-image: linear-gradient(to bottom, transparent 0, rgba(0, 0, 0, 1) 20px);
134
+ mask-image: linear-gradient(to bottom, transparent 0, rgba(0, 0, 0, 1) 20px);
135
+ }
136
+ .driver-popover {
137
+ background-color: var(--Colors-Utility-Lake-Blue-50) !important;
138
+ color: var(--Colors-Text-Static-White) !important;
139
+ }
140
+
141
+ .driver-popover .driver-popover-title {
142
+ font-size: 16px;
143
+ font-weight: 500;
144
+ color: var(--Colors-Beta-White-100);
145
+ }
146
+ .driver-popover .driver-popover-description {
147
+ font-size: 14px;
148
+ color: var(--Colors-Beta-White-80);
149
+ }
150
+ .driver-popover .driver-popover-progress-text {
151
+ font-size: 14px;
152
+ color: var(--Colors-Beta-White-60);
153
+ opacity: 0.6;
154
+ font-weight: 500;
155
+ }
156
+ .driver-popover-footer .driver-popover-navigation-btns {
157
+ flex-wrap: wrap;
158
+ gap: 6px;
159
+ }
160
+ .driver-popover-footer .driver-popover-skip-btn,
161
+ .driver-popover-footer .driver-popover-skip-btn:hover,
162
+ .driver-popover-footer .driver-popover-skip-btn:focus {
163
+ border: none;
164
+ background: transparent !important;
165
+ font-size: 14px;
166
+ color: var(--Colors-Beta-White-80);
167
+ opacity: 0.6;
168
+ font-weight: 500;
169
+ border-radius: 6px;
170
+ padding: 4px 12px;
171
+ text-shadow: none;
172
+ }
173
+ .driver-popover-footer .driver-popover-prev-btn,
174
+ .driver-popover-footer .driver-popover-prev-btn:hover,
175
+ .driver-popover-footer .driver-popover-prev-btn:focus,
176
+ .driver-popover-footer .driver-popover-next-btn,
177
+ .driver-popover-footer .driver-popover-next-btn:hover,
178
+ .driver-popover-footer .driver-popover-next-btn:focus {
179
+ background: var(--Colors-Foreground-Static-White) !important;
180
+ color: var(--Colors-Text-Static-Black) !important;
181
+ font-size: 14px;
182
+ padding: 4px 16px;
183
+ border-radius: 6px;
184
+ height: 28px;
185
+ text-shadow: none;
186
+ }
187
+
188
+ .driver-popover .driver-popover-arrow-side-left {
189
+ border-left-color: var(--Colors-Utility-Lake-Blue-50);
190
+ }
191
+
192
+ .driver-popover .driver-popover-arrow-side-right {
193
+ border-right-color: var(--Colors-Utility-Lake-Blue-50);
194
+ }
195
+
196
+ .driver-popover .driver-popover-arrow-side-top {
197
+ border-top-color: var(--Colors-Utility-Lake-Blue-50);
198
+ }
199
+
200
+ .driver-popover .driver-popover-arrow-side-bottom {
201
+ border-bottom-color: var(--Colors-Utility-Lake-Blue-50);
202
+ }
203
+ .workshop-topbar-guide .driver-popover-arrow-side-bottom.driver-popover-arrow-align-end {
204
+ left: 15px;
205
+ right: auto;
206
+ }
207
+ .explore-bot-item .chakra-popover__arrow-positioner {
208
+ display: none;
209
+ }
210
+ .chakra-switch__thumb {
211
+ background-color: var(--surface-container-default) !important;
212
+ }
213
+
214
+ .chakra-switch__track {
215
+ background-color: var(--border) !important;
216
+ }
217
+ .chakra-switch__track[data-checked] {
218
+ background-color: var(--surface-primary-default) !important;
219
+ }
220
+ input[type='number']::-webkit-inner-spin-button,
221
+ input[type='number']::-webkit-outer-spin-button {
222
+ -webkit-appearance: none;
223
+ margin: 0;
224
+ }
225
+ .md-viewer code {
226
+ background-color: white !important;
227
+ font-size: 14px !important;
228
+ color: var(--neutral-30);
229
+ }
230
+ .page-view .md-viewer pre {
231
+ padding: 12px;
232
+ background-color: #f6f8fa !important;
233
+ color: var(--text);
234
+ code {
235
+ background-color: #f6f8fa !important;
236
+ color: var(--text);
237
+ }
238
+ }
239
+ .sbdocs-wrapper {
240
+ overflow-y: auto;
241
+ height: 100vh;
242
+ }
243
+ .sbdocs-content {
244
+ max-width: 70vw !important;
245
+ }
246
+ .disable-touch-action img {
247
+ -webkit-touch-callout: none;
248
+ -webkit-user-select: none;
249
+ user-select: none;
250
+ // touch-action: none;
251
+ }
@@ -0,0 +1,155 @@
1
+ .md-viewer {
2
+ padding: 0;
3
+
4
+ h1,
5
+ h2,
6
+ h3,
7
+ h4,
8
+ h5,
9
+ h6 {
10
+ font-weight: bold;
11
+ }
12
+
13
+ ul,
14
+ ol {
15
+ margin-block-start: 1em;
16
+ margin-block-end: 1em;
17
+ margin-inline-start: 0;
18
+ padding-inline-start: 2em;
19
+ }
20
+
21
+ ul {
22
+ list-style-type: disc;
23
+ }
24
+
25
+ ol {
26
+ list-style-type: decimal;
27
+ }
28
+
29
+ a:-webkit-any-link {
30
+ color: -webkit-link;
31
+ cursor: pointer;
32
+ text-decoration: underline;
33
+ }
34
+
35
+ blockquote {
36
+ display: block;
37
+ margin-block-start: 8px;
38
+ margin-block-end: 8px;
39
+ font-style: normal;
40
+ border-inline-start-width: 2px;
41
+ padding-inline-start: 8px;
42
+ font-size: 14px;
43
+ line-height: 20px;
44
+ color: var(--text-Colors-Text-Subtle);
45
+
46
+ > p {
47
+ margin-top: 8px !important;
48
+ margin-bottom: 8px !important;
49
+ &::before {
50
+ content: '';
51
+ }
52
+
53
+ &::after {
54
+ content: '';
55
+ }
56
+ }
57
+ }
58
+
59
+ .marked-code-header {
60
+ display: flex;
61
+ justify-content: space-between;
62
+ padding: 6px 12px;
63
+ // border-radius: 12px 12px 0 0;
64
+ }
65
+
66
+ img {
67
+ /* 设置默认图片的样式 */
68
+ min-height: 30px;
69
+ margin-top: 12px;
70
+ margin-bottom: 12px;
71
+ border-radius: 12px;
72
+ cursor: pointer;
73
+ }
74
+
75
+ code {
76
+ border-radius: 0 0 4px 4px;
77
+ }
78
+
79
+ .marked-table-container {
80
+ width: 100%;
81
+ overflow-x: auto;
82
+ }
83
+
84
+ pre {
85
+ background-color: white !important;
86
+ }
87
+
88
+ .katex-display {
89
+ overflow-x: scroll;
90
+ overflow-y: hidden;
91
+ -ms-overflow-style: none;
92
+ /* IE and Edge */
93
+ scrollbar-width: none;
94
+ /* Firefox */
95
+ }
96
+
97
+ .mermaid {
98
+ p {
99
+ margin: 0 !important;
100
+ }
101
+ }
102
+
103
+ //// 临时设置为 500,因 400 的字体包中似乎不包含斜体字体
104
+ //em {
105
+ // font-weight: 500;
106
+ //}
107
+ // .katex-html {
108
+ // display: block;
109
+ // text-align: center;
110
+ // margin-top: 16px;
111
+ // }
112
+ }
113
+
114
+ .dark {
115
+ .md-viewer {
116
+ pre {
117
+ background-color: #282c34 !important;
118
+ }
119
+ }
120
+ }
121
+
122
+ .prose :where(blockquote):not(:where([class~='not-prose'], [class~='not-prose'] *)) {
123
+ font-weight: normal;
124
+ }
125
+
126
+ .prose :where(p):not(:where([class~='not-prose'], [class~='not-prose'] *)) {
127
+ margin-top: 0.5em !important;
128
+ margin-bottom: 0.5em !important;
129
+ }
130
+
131
+ .prose :where(.prose > :last-child):not(:where([class~='not-prose'], [class~='not-prose'] *)) {
132
+ margin-bottom: 0 !important;
133
+ }
134
+
135
+ .prose :where(.prose > :first-child):not(:where([class~='not-prose'], [class~='not-prose'] *)) {
136
+ margin-top: 0 !important;
137
+ }
138
+
139
+ .prose :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *))::before{
140
+ content: none;
141
+ }
142
+
143
+ .prose :where(code):not(:where([class~="not-prose"],[class~="not-prose"] *))::after{
144
+ content: none;
145
+ }
146
+
147
+ .prose :where(table):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
148
+ margin-top: 0.5em !important;
149
+ margin-bottom: 0.5em !important;
150
+ }
151
+
152
+ .prose :where(video):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
153
+ margin-top: 0.5em !important;
154
+ margin-bottom: 0.5em !important;
155
+ }
@@ -0,0 +1,255 @@
1
+ @layer base {
2
+ :root {
3
+ // Basic
4
+ --Basic-White: #ffffff;
5
+ --Basic-Black: #000000;
6
+ --Basic-None: #ffffff00;
7
+
8
+ // Pure_Mauve
9
+ --Pure-Mauve-0: #000000;
10
+ --Pure-Mauve-5: #100f22;
11
+ --Pure-Mauve-10: #1b192d;
12
+ --Pure-Mauve-20: #352b4a;
13
+ --Pure-Mauve-30: #53436f;
14
+ --Pure-Mauve-40: #655186;
15
+ --Pure-Mauve-50: #7860a1;
16
+ --Pure-Mauve-60: #826aaf;
17
+ --Pure-Mauve-70: #9d8dc5;
18
+ --Pure-Mauve-80: #b8aed7;
19
+ --Pure-Mauve-90: #cbc6e6;
20
+ --Pure-Mauve-95: #dad6f1;
21
+ --Pure-Mauve-98: #e8e6f7;
22
+ --Pure-Mauve-99: #f9f7fc;
23
+ --Pure-Mauve-100: #ffffff;
24
+
25
+ // Neutral
26
+ --Neutral-0: #000000;
27
+ --Neutral-5: #121110;
28
+ --Neutral-10: #242220;
29
+ --Neutral-20: #302e2b;
30
+ --Neutral-30: #47443f;
31
+ --Neutral-40: #5c5854;
32
+ --Neutral-50: #7a7671;
33
+ --Neutral-60: #948f8b;
34
+ --Neutral-70: #b2aeaa;
35
+ --Neutral-80: #c7c3bf;
36
+ --Neutral-90: #e3e0dc;
37
+ --Neutral-95: #ebe8e6;
38
+ --Neutral-98: #f5f4f2;
39
+ --Neutral-99: #fcfbfa;
40
+ --Neutral-100: #fffefd;
41
+
42
+ // Neutral Variant
43
+ --Neutral-Variant-0: #000000;
44
+ --Neutral-Variant-5: #111111;
45
+ --Neutral-Variant-10: #1c1c1c;
46
+ --Neutral-Variant-20: #313131;
47
+ --Neutral-Variant-30: #484848;
48
+ --Neutral-Variant-40: #606060;
49
+ --Neutral-Variant-50: #797979;
50
+ --Neutral-Variant-60: #939393;
51
+ --Neutral-Variant-70: #a8a8a8;
52
+ --Neutral-Variant-80: #bfbfbf;
53
+ --Neutral-Variant-90: #dedede;
54
+ --Neutral-Variant-95: #e6e6e6;
55
+ --Neutral-Variant-98: #f2f2f2;
56
+ --Neutral-Variant-99: #fafafa;
57
+ --Neutral-Variant-100: #ffffff;
58
+
59
+ // Terracotta
60
+ --Terracotta-0: #000000;
61
+ --Terracotta-5: #2b0100;
62
+ --Terracotta-10: #3f0300;
63
+ --Terracotta-20: #530904;
64
+ --Terracotta-30: #881f0f;
65
+ --Terracotta-40: #a93724;
66
+ --Terracotta-50: #ca4f3a;
67
+ --Terracotta-60: #ec6750;
68
+ --Terracotta-70: #ff8a75;
69
+ --Terracotta-80: #ffb4a6;
70
+ --Terracotta-90: #ffdad4;
71
+ --Terracotta-95: #ffede9;
72
+ --Terracotta-98: #fff8f6;
73
+ --Terracotta-99: #fffcfb;
74
+ --Terracotta-100: #ffffff;
75
+
76
+ // Ember
77
+ --Ember-0: #000000;
78
+ --Ember-5: #230900;
79
+ --Ember-10: #341100;
80
+ --Ember-20: #552000;
81
+ --Ember-30: #793100;
82
+ --Ember-40: #9f4200;
83
+ --Ember-50: #c55505;
84
+ --Ember-60: #e76d24;
85
+ --Ember-70: #ff8d4e;
86
+ --Ember-80: #ffb692;
87
+ --Ember-90: #ffdbcb;
88
+ --Ember-95: #ffede6;
89
+ --Ember-98: #fff4f0;
90
+ --Ember-99: #fffcfb;
91
+ --Ember-100: #ffffff;
92
+
93
+ // Khaki
94
+ --Khaki-0: #000000;
95
+ --Khaki-5: #171000;
96
+ --Khaki-10: #241a00;
97
+ --Khaki-20: #3d2e00;
98
+ --Khaki-30: #584400;
99
+ --Khaki-40: #755b00;
100
+ --Khaki-50: #917312;
101
+ --Khaki-60: #ad8d2d;
102
+ --Khaki-70: #caa745;
103
+ --Khaki-80: #e8cd84;
104
+ --Khaki-90: #fae3aa;
105
+ --Khaki-95: #fff2d9;
106
+ --Khaki-98: #fff8eb;
107
+ --Khaki-99: #fffefb;
108
+ --Khaki-100: #ffffff;
109
+
110
+ // Olive
111
+ --Olive-0: #000000;
112
+ --Olive-5: #0b1400;
113
+ --Olive-10: #131f00;
114
+ --Olive-20: #243600;
115
+ --Olive-30: #374e0b;
116
+ --Olive-40: #4e6622;
117
+ --Olive-50: #667f39;
118
+ --Olive-60: #7f9a50;
119
+ --Olive-70: #99b567;
120
+ --Olive-80: #b4d180;
121
+ --Olive-90: #d0ed99;
122
+ --Olive-95: #def2b8;
123
+ --Olive-98: #f1ffd2;
124
+ --Olive-99: #f9ffe6;
125
+ --Olive-100: #ffffff;
126
+
127
+ // Teal
128
+ --Teal-0: #000000;
129
+ --Teal-5: #00150f;
130
+ --Teal-10: #002018;
131
+ --Teal-20: #00382c;
132
+ --Teal-30: #005140;
133
+ --Teal-40: #006b56;
134
+ --Teal-50: #00876d;
135
+ --Teal-60: #30a286;
136
+ --Teal-70: #51bda0;
137
+ --Teal-80: #6fd9bb;
138
+ --Teal-90: #98f4d7;
139
+ --Teal-95: #b9ffe7;
140
+ --Teal-98: #e6fff4;
141
+ --Teal-99: #f3fff9;
142
+ --Teal-100: #ffffff;
143
+
144
+ // Cobalt
145
+ --Cobalt-0: #000000;
146
+ --Cobalt-5: #000449;
147
+ --Cobalt-10: #000767;
148
+ --Cobalt-20: #182282;
149
+ --Cobalt-30: #323c99;
150
+ --Cobalt-40: #323c99;
151
+ --Cobalt-50: #646ece;
152
+ --Cobalt-60: #7e88ea;
153
+ --Cobalt-70: #9ba4ff;
154
+ --Cobalt-80: #bdc2ff;
155
+ --Cobalt-90: #dfe0ff;
156
+ --Cobalt-95: #f1efff;
157
+ --Cobalt-98: #fbf8ff;
158
+ --Cobalt-99: #fffbff;
159
+ --Cobalt-100: #ffffff;
160
+
161
+ // Berry_Pink
162
+ --Berry-Pink-0: #000000;
163
+ --Berry-Pink-5: #2b0010;
164
+ --Berry-Pink-10: #3f001a;
165
+ --Berry-Pink-20: #610c2e;
166
+ --Berry-Pink-30: #7e2544;
167
+ --Berry-Pink-40: #9d3d5c;
168
+ --Berry-Pink-50: #bb5574;
169
+ --Berry-Pink-60: #db6e8e;
170
+ --Berry-Pink-70: #fa88a8;
171
+ --Berry-Pink-80: #ffb1c4;
172
+ --Berry-Pink-90: #ffd9e0;
173
+ --Berry-Pink-95: #ffecef;
174
+ --Berry-Pink-98: #fff8f8;
175
+ --Berry-Pink-99: #fffbff;
176
+ --Berry-Pink-100: #ffffff;
177
+
178
+ // Lake_Blue
179
+ --Lake-Blue-0: #000000;
180
+ --Lake-Blue-5: #001224;
181
+ --Lake-Blue-10: #001d35;
182
+ --Lake-Blue-20: #003256;
183
+ --Lake-Blue-30: #00497a;
184
+ --Lake-Blue-40: #266296;
185
+ --Lake-Blue-50: #447bb0;
186
+ --Lake-Blue-60: #5f95cc;
187
+ --Lake-Blue-70: #7aafe8;
188
+ --Lake-Blue-80: #9ccaff;
189
+ --Lake-Blue-90: #d0e4ff;
190
+ --Lake-Blue-95: #e9f1ff;
191
+ --Lake-Blue-98: #f8f9ff;
192
+ --Lake-Blue-99: #fdfcff;
193
+ --Lake-Blue-100: #ffffff;
194
+
195
+ // Plum_Purple
196
+ --Plum-Purple-0: #000000;
197
+ --Plum-Purple-5: #2b001c;
198
+ --Plum-Purple-10: #3f0029;
199
+ --Plum-Purple-20: #610c43;
200
+ --Plum-Purple-30: #7e255f;
201
+ --Plum-Purple-40: #9d3d7b;
202
+ --Plum-Purple-50: #bb5597;
203
+ --Plum-Purple-60: #db6eb5;
204
+ --Plum-Purple-70: #fa88d2;
205
+ --Plum-Purple-80: #ffb1e4;
206
+ --Plum-Purple-90: #ffd9f2;
207
+ --Plum-Purple-95: #ffecf8;
208
+ --Plum-Purple-98: #fff8fd;
209
+ --Plum-Purple-99: #fffbfe;
210
+ --Plum-Purple-100: #ffffff;
211
+
212
+ // Opacity
213
+ // On Surface
214
+ --Opacity-On-Surface-10: #dbd9d729;
215
+ --Opacity-On-Surface-20: #bdbcbb33;
216
+ --Opacity-On-Surface-30: #a8a7a533;
217
+ --Opacity-On-Surface-40: #94928f33;
218
+
219
+ // White
220
+ --Opacity-White-1: #ffffff03;
221
+ --Opacity-White-3: #ffffff08;
222
+ --Opacity-White-5: #ffffff0d;
223
+ --Opacity-White-8: #ffffff14;
224
+ --Opacity-White-12: #ffffff1f;
225
+ --Opacity-White-16: #ffffff29;
226
+ --Opacity-White-20: #ffffff33;
227
+ --Opacity-White-30: #ffffff4d;
228
+ --Opacity-White-40: #ffffff66;
229
+ --Opacity-White-50: #ffffff80;
230
+ --Opacity-White-60: #ffffff99;
231
+ --Opacity-White-70: #ffffffb2;
232
+ --Opacity-White-80: #ffffffcc;
233
+ --Opacity-White-90: #ffffffe5;
234
+ --Opacity-White-95: #fffffff2;
235
+ --Opacity-White-100: #ffffff;
236
+
237
+ // Black
238
+ --Opacity-Black-1: #00000003;
239
+ --Opacity-Black-3: #00000008;
240
+ --Opacity-Black-5: #0000000d;
241
+ --Opacity-Black-8: #00000014;
242
+ --Opacity-Black-12: #0000001f;
243
+ --Opacity-Black-16: #00000029;
244
+ --Opacity-Black-20: #00000033;
245
+ --Opacity-Black-30: #0000004d;
246
+ --Opacity-Black-40: #00000066;
247
+ --Opacity-Black-50: #00000080;
248
+ --Opacity-Black-60: #00000099;
249
+ --Opacity-Black-70: #000000b2;
250
+ --Opacity-Black-80: #000000cc;
251
+ --Opacity-Black-90: #000000e5;
252
+ --Opacity-Black-95: #000000f2;
253
+ --Opacity-Black-100: #000000;
254
+ }
255
+ }