@sakura-ui/sakura-ui 0.2.0 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +77 -6
- package/package.json +28 -21
- package/packages/core/package.json +30 -17
- package/packages/core/src/components/Button.tsx +33 -32
- package/packages/core/src/components/Card.tsx +37 -20
- package/packages/core/src/components/Code.tsx +6 -4
- package/packages/core/src/components/Faq.tsx +13 -7
- package/packages/core/src/components/Heading.tsx +42 -32
- package/packages/core/src/components/Icon.tsx +43 -13
- package/packages/core/src/components/IconButton.tsx +54 -43
- package/packages/core/src/components/LangSelector.tsx +135 -0
- package/packages/core/src/components/Link.tsx +37 -66
- package/packages/core/src/components/LinkCard.tsx +126 -0
- package/packages/core/src/components/List.tsx +14 -12
- package/packages/core/src/components/MenuButton.tsx +112 -0
- package/packages/core/src/components/NavigationItem.tsx +41 -0
- package/packages/core/src/components/NotificationBanner.tsx +20 -0
- package/packages/core/src/components/OverflowContainer.tsx +24 -0
- package/packages/core/src/components/PopoverMenu.tsx +82 -0
- package/packages/core/src/components/Pre.tsx +6 -4
- package/packages/core/src/components/Table.tsx +31 -25
- package/packages/core/src/components/buttonStyle.ts +43 -32
- package/packages/core/src/components/index.ts +13 -25
- package/packages/core/src/icons/Close.tsx +21 -0
- package/packages/core/src/icons/CloseMobile.tsx +43 -0
- package/packages/core/src/icons/KeyboardArrowDown.tsx +24 -0
- package/packages/core/src/icons/Language.tsx +25 -0
- package/packages/core/src/icons/LanguageMobile.tsx +40 -0
- package/packages/core/src/icons/Menu.tsx +24 -0
- package/packages/core/src/icons/MenuMobile.tsx +40 -0
- package/packages/core/src/icons/index.ts +8 -0
- package/packages/core/src/icons/props.ts +5 -0
- package/packages/core/src/index.ts +10 -28
- package/packages/core/src/type.d.ts +1 -0
- package/packages/core/tests/Button.test.tsx +20 -10
- package/packages/core/tests/Card.test.tsx +16 -11
- package/packages/core/tests/IconButton.test.tsx +57 -0
- package/packages/core/tests/Link.test.tsx +60 -0
- package/packages/core/tests/vitest.setup.ts +1 -0
- package/packages/core/tsconfig.node.json +3 -2
- package/packages/core/vite.config.ts +2 -1
- package/packages/forms/.turbo/turbo-build.log +12 -0
- package/packages/forms/dist/index.cjs.js +183 -131
- package/packages/forms/dist/index.es.js +750 -1062
- package/packages/forms/dist/types/components/Checkbox.d.ts +9 -4
- package/packages/forms/dist/types/components/Checkbox.d.ts.map +1 -1
- package/packages/forms/dist/types/components/FieldsetControl.d.ts +14 -9
- package/packages/forms/dist/types/components/FieldsetControl.d.ts.map +1 -1
- package/packages/forms/dist/types/components/FileInput.d.ts +10 -3
- package/packages/forms/dist/types/components/FileInput.d.ts.map +1 -1
- package/packages/forms/dist/types/components/Input.d.ts +9 -4
- package/packages/forms/dist/types/components/Input.d.ts.map +1 -1
- package/packages/forms/dist/types/components/LabelControl.d.ts +13 -8
- package/packages/forms/dist/types/components/LabelControl.d.ts.map +1 -1
- package/packages/forms/dist/types/components/Radio.d.ts +9 -4
- package/packages/forms/dist/types/components/Radio.d.ts.map +1 -1
- package/packages/forms/dist/types/components/Select.d.ts +9 -4
- package/packages/forms/dist/types/components/Select.d.ts.map +1 -1
- package/packages/forms/dist/types/components/Textarea.d.ts +8 -3
- package/packages/forms/dist/types/components/Textarea.d.ts.map +1 -1
- package/packages/forms/dist/types/components/controlled/CheckboxGroup.d.ts +16 -11
- package/packages/forms/dist/types/components/controlled/CheckboxGroup.d.ts.map +1 -1
- package/packages/forms/dist/types/components/controlled/RadioGroup.d.ts +17 -12
- package/packages/forms/dist/types/components/controlled/RadioGroup.d.ts.map +1 -1
- package/packages/forms/dist/types/components/index.d.ts +8 -8
- package/packages/forms/dist/types/components/index.d.ts.map +1 -1
- package/packages/forms/dist/types/components/inputStyle.d.ts +1 -1
- package/packages/forms/dist/types/components/inputStyle.d.ts.map +1 -1
- package/packages/forms/dist/types/index.d.ts +0 -1
- package/packages/forms/dist/types/index.d.ts.map +1 -1
- package/packages/forms/node_modules/.bin/autoprefixer +44 -6
- package/packages/forms/package.json +21 -16
- package/packages/forms/src/components/Checkbox.tsx +76 -80
- package/packages/forms/src/components/FieldsetControl.tsx +21 -28
- package/packages/forms/src/components/FileInput.tsx +92 -63
- package/packages/forms/src/components/Input.tsx +29 -31
- package/packages/forms/src/components/LabelControl.tsx +19 -25
- package/packages/forms/src/components/Radio.tsx +68 -69
- package/packages/forms/src/components/Select.tsx +65 -65
- package/packages/forms/src/components/Textarea.tsx +49 -54
- package/packages/forms/src/components/controlled/CheckboxGroup.tsx +15 -17
- package/packages/forms/src/components/controlled/RadioGroup.tsx +16 -18
- package/packages/forms/src/components/index.ts +8 -8
- package/packages/forms/src/components/inputStyle.ts +7 -8
- package/packages/forms/src/index.ts +0 -11
- package/packages/forms/tests/Checkbox.test.tsx +44 -0
- package/packages/forms/tests/FieldsetControl.test.tsx +68 -11
- package/packages/forms/tests/FileInput.test.tsx +25 -0
- package/packages/forms/tests/Input.test.tsx +12 -83
- package/packages/forms/tests/LabelControl.test.tsx +88 -20
- package/packages/forms/tests/Radio.test.tsx +23 -78
- package/packages/forms/tests/Select.test.tsx +30 -0
- package/packages/forms/tests/Textarea.test.tsx +25 -0
- package/packages/forms/tests/vitest.setup.ts +1 -0
- package/packages/forms/tsconfig.node.json +3 -2
- package/packages/forms/vite.config.ts +2 -1
- package/packages/helper/.turbo/turbo-build.log +12 -0
- package/packages/helper/dist/index.cjs.js +76 -0
- package/packages/helper/dist/index.es.js +119 -0
- package/packages/helper/dist/types/calc.d.ts +2 -0
- package/packages/helper/dist/types/calc.d.ts.map +1 -0
- package/packages/{forms/dist/types/utils/class.d.ts → helper/dist/types/cx.d.ts} +1 -1
- package/packages/helper/dist/types/cx.d.ts.map +1 -0
- package/packages/helper/dist/types/index.d.ts +6 -0
- package/packages/helper/dist/types/index.d.ts.map +1 -0
- package/packages/helper/dist/types/querySelector.d.ts +2 -0
- package/packages/helper/dist/types/querySelector.d.ts.map +1 -0
- package/packages/helper/dist/types/styles.d.ts +22 -0
- package/packages/helper/dist/types/styles.d.ts.map +1 -0
- package/packages/helper/dist/types/treefy.d.ts +8 -0
- package/packages/helper/dist/types/treefy.d.ts.map +1 -0
- package/packages/helper/node_modules/.bin/vitest +55 -0
- package/packages/helper/package.json +50 -0
- package/packages/helper/src/calc.ts +1 -0
- package/packages/helper/src/cx.ts +2 -0
- package/packages/helper/src/index.ts +5 -0
- package/packages/helper/src/querySelector.ts +20 -0
- package/packages/helper/src/styles.ts +114 -0
- package/packages/helper/src/treefy.ts +24 -0
- package/packages/helper/tests/calc.test.ts +22 -0
- package/packages/helper/tests/cx.test.ts +30 -0
- package/packages/helper/tests/querySelector.test.ts +24 -0
- package/packages/helper/tests/treefy.test.ts +111 -0
- package/packages/helper/tests/vitest.setup.ts +2 -0
- package/packages/helper/tsconfig.json +13 -0
- package/packages/helper/tsconfig.node.json +6 -0
- package/packages/helper/vite.config.ts +26 -0
- package/packages/markdown/.turbo/turbo-build.log +12 -0
- package/packages/markdown/README.md +129 -0
- package/packages/markdown/dist/index.cjs.js +149 -0
- package/packages/markdown/dist/index.es.js +16960 -0
- package/packages/markdown/dist/types/components/Markdown.d.ts +15 -0
- package/packages/markdown/dist/types/components/Markdown.d.ts.map +1 -0
- package/packages/markdown/dist/types/components/index.d.ts +2 -0
- package/packages/markdown/dist/types/components/index.d.ts.map +1 -0
- package/packages/markdown/dist/types/index.d.ts +2 -0
- package/packages/markdown/dist/types/index.d.ts.map +1 -0
- package/packages/markdown/dist/types/plugins/attr.d.ts +3 -0
- package/packages/markdown/dist/types/plugins/attr.d.ts.map +1 -0
- package/packages/markdown/dist/types/plugins/card.d.ts +3 -0
- package/packages/markdown/dist/types/plugins/card.d.ts.map +1 -0
- package/packages/markdown/dist/types/plugins/cell.d.ts +3 -0
- package/packages/markdown/dist/types/plugins/cell.d.ts.map +1 -0
- package/packages/markdown/dist/types/plugins/faq.d.ts +3 -0
- package/packages/markdown/dist/types/plugins/faq.d.ts.map +1 -0
- package/packages/markdown/dist/types/plugins/grid.d.ts +3 -0
- package/packages/markdown/dist/types/plugins/grid.d.ts.map +1 -0
- package/packages/markdown/dist/types/plugins/headings.d.ts +11 -0
- package/packages/markdown/dist/types/plugins/headings.d.ts.map +1 -0
- package/packages/markdown/dist/types/plugins/helper.d.ts +9 -0
- package/packages/markdown/dist/types/plugins/helper.d.ts.map +1 -0
- package/packages/markdown/dist/types/plugins/index.d.ts +9 -0
- package/packages/markdown/dist/types/plugins/index.d.ts.map +1 -0
- package/packages/markdown/dist/types/plugins/linkButton.d.ts +3 -0
- package/packages/markdown/dist/types/plugins/linkButton.d.ts.map +1 -0
- package/packages/markdown/dist/types/plugins/youtube.d.ts +3 -0
- package/packages/markdown/dist/types/plugins/youtube.d.ts.map +1 -0
- package/packages/markdown/node_modules/.bin/autoprefixer +55 -0
- package/packages/markdown/package.json +84 -0
- package/packages/markdown/src/components/Markdown.tsx +365 -0
- package/packages/markdown/src/components/index.ts +1 -0
- package/packages/markdown/src/global.d.ts +9 -0
- package/packages/markdown/src/index.ts +1 -0
- package/packages/markdown/src/plugins/attr.ts +19 -0
- package/packages/markdown/src/plugins/card.ts +57 -0
- package/packages/markdown/src/plugins/cell.ts +47 -0
- package/packages/markdown/src/plugins/faq.ts +40 -0
- package/packages/markdown/src/plugins/grid.ts +54 -0
- package/packages/markdown/src/plugins/headings.ts +38 -0
- package/packages/markdown/src/plugins/helper.ts +27 -0
- package/packages/markdown/src/plugins/index.ts +8 -0
- package/packages/markdown/src/plugins/linkButton.ts +26 -0
- package/packages/markdown/src/plugins/youtube.ts +49 -0
- package/packages/markdown/tsconfig.json +13 -0
- package/packages/markdown/tsconfig.node.json +7 -0
- package/packages/markdown/vite.config.ts +30 -0
- package/packages/tailwind-theme-plugin/#package.json# +51 -0
- package/packages/tailwind-theme-plugin/.turbo/turbo-build.log +12 -0
- package/packages/tailwind-theme-plugin/dist/index.cjs.js +1 -1
- package/packages/tailwind-theme-plugin/dist/index.es.js +4970 -6093
- package/packages/tailwind-theme-plugin/dist/types/index.d.ts +1 -4
- package/packages/tailwind-theme-plugin/dist/types/index.d.ts.map +1 -1
- package/packages/tailwind-theme-plugin/node_modules/.bin/autoprefixer +44 -6
- package/packages/tailwind-theme-plugin/package.json +11 -9
- package/packages/tailwind-theme-plugin/src/index.ts +241 -349
- package/packages/tailwind-theme-plugin/vite.config.ts +2 -0
- package/packages/core/src/libs/cx.ts +0 -2
- package/packages/core/src/libs/forward-ref.ts +0 -44
- package/packages/core/src/types/component.ts +0 -83
- package/packages/forms/dist/types/utils/class.d.ts.map +0 -1
- package/packages/forms/node_modules/.bin/acorn +0 -17
- package/packages/forms/node_modules/.bin/browserslist +0 -17
- package/packages/forms/node_modules/.bin/eslint +0 -17
- package/packages/forms/node_modules/.bin/tailwind +0 -17
- package/packages/forms/node_modules/.bin/tailwindcss +0 -17
- package/packages/forms/node_modules/.bin/ts-node +0 -17
- package/packages/forms/node_modules/.bin/ts-node-cwd +0 -17
- package/packages/forms/node_modules/.bin/ts-node-esm +0 -17
- package/packages/forms/node_modules/.bin/ts-node-script +0 -17
- package/packages/forms/node_modules/.bin/ts-node-transpile-only +0 -17
- package/packages/forms/node_modules/.bin/ts-script +0 -17
- package/packages/forms/node_modules/.bin/vitest +0 -17
- package/packages/forms/src/utils/class.ts +0 -2
- package/packages/tailwind-theme-plugin/node_modules/.bin/browserslist +0 -17
- package/packages/tailwind-theme-plugin/node_modules/.bin/tailwind +0 -17
- package/packages/tailwind-theme-plugin/node_modules/.bin/tailwindcss +0 -17
- package/packages/tailwind-theme-plugin/node_modules/.bin/ts-node +0 -17
- package/packages/tailwind-theme-plugin/node_modules/.bin/ts-node-cwd +0 -17
- package/packages/tailwind-theme-plugin/node_modules/.bin/ts-node-esm +0 -17
- package/packages/tailwind-theme-plugin/node_modules/.bin/ts-node-script +0 -17
- package/packages/tailwind-theme-plugin/node_modules/.bin/ts-node-transpile-only +0 -17
- package/packages/tailwind-theme-plugin/node_modules/.bin/ts-script +0 -17
|
@@ -1,39 +1,8 @@
|
|
|
1
1
|
import plugin from 'tailwindcss/plugin'
|
|
2
2
|
import tokens from '@digital-go-jp/design-tokens'
|
|
3
3
|
|
|
4
|
-
const booleans = [
|
|
5
|
-
'atomic',
|
|
6
|
-
'busy',
|
|
7
|
-
'checked',
|
|
8
|
-
'current',
|
|
9
|
-
'disabled',
|
|
10
|
-
'expanded',
|
|
11
|
-
'grabbed',
|
|
12
|
-
'haspopup',
|
|
13
|
-
'hidden',
|
|
14
|
-
'invalid',
|
|
15
|
-
'live',
|
|
16
|
-
'modal',
|
|
17
|
-
'multiline',
|
|
18
|
-
'multiselectable',
|
|
19
|
-
'pressed',
|
|
20
|
-
'readonly',
|
|
21
|
-
'required',
|
|
22
|
-
'selected'
|
|
23
|
-
]
|
|
24
|
-
|
|
25
|
-
const enumerables = {
|
|
26
|
-
autocomplete: ['both', 'inline', 'list', 'none'],
|
|
27
|
-
current: ['date', 'location', 'page', 'step', 'time'],
|
|
28
|
-
dropeffect: ['copy', 'execute', 'link', 'move', 'none', 'popup'],
|
|
29
|
-
haspopup: ['dialog', 'grid', 'listbox', 'menu', 'tree'],
|
|
30
|
-
orientation: ['horizontal', 'undefined', 'vertial'],
|
|
31
|
-
relevant: ['additions', 'all', 'removals', 'text'],
|
|
32
|
-
sort: ['ascending', 'descending', 'none', 'other']
|
|
33
|
-
}
|
|
34
|
-
|
|
35
4
|
const sakuraPlugin = plugin(
|
|
36
|
-
({ addBase
|
|
5
|
+
({ addBase }) => {
|
|
37
6
|
addBase({
|
|
38
7
|
'@font-face': {
|
|
39
8
|
fontFamily: 'Material Symbols Outlined',
|
|
@@ -41,449 +10,362 @@ const sakuraPlugin = plugin(
|
|
|
41
10
|
fontStyle: 'normal'
|
|
42
11
|
}
|
|
43
12
|
})
|
|
44
|
-
const addAriaVariant = (name: string, value: string) => {
|
|
45
|
-
addVariant(name, `[${name}="${value}"]&`)
|
|
46
|
-
addVariant(`peer-${name}`, `:merge(.peer)[${name}="${value}"] ~ &`)
|
|
47
|
-
addVariant(`group-${name}`, `:merge(.group)[${name}="${value}"] &`)
|
|
48
|
-
}
|
|
49
|
-
const addAriaEnumVariant = (name: string, value: string) => {
|
|
50
|
-
addVariant(`${name}-${value}`, `[${name}="${value}"]&`)
|
|
51
|
-
addVariant(
|
|
52
|
-
`peer-${name}-${value}`,
|
|
53
|
-
`:merge(.peer)[${name}="${value}"] ~ &`
|
|
54
|
-
)
|
|
55
|
-
addVariant(
|
|
56
|
-
`group-${name}-${value}`,
|
|
57
|
-
`:merge(.group)[${name}="${value}"] &`
|
|
58
|
-
)
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
for (const attribute of booleans) {
|
|
62
|
-
addAriaVariant(`aria-${attribute}`, 'true')
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
for (const [attribute, values] of Object.entries(enumerables)) {
|
|
66
|
-
for (const value of values) {
|
|
67
|
-
addAriaEnumVariant(`aria-${attribute}`, value)
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
13
|
},
|
|
71
14
|
{
|
|
72
15
|
theme: {
|
|
73
16
|
extend: {
|
|
74
17
|
fontSize: {
|
|
75
18
|
'h-xl': [
|
|
76
|
-
tokens.FontSize[45]
|
|
19
|
+
tokens.FontSize[45].$value,
|
|
77
20
|
{
|
|
78
|
-
fontWeight: tokens.FontWeight[700]
|
|
79
|
-
lineHeight: tokens.LineHeight[
|
|
21
|
+
fontWeight: tokens.FontWeight[700].$value,
|
|
22
|
+
lineHeight: tokens.LineHeight[140].$value,
|
|
80
23
|
letterSpacing: '0.02em'
|
|
81
24
|
}
|
|
82
25
|
],
|
|
83
26
|
// h1
|
|
84
27
|
'h-lg': [
|
|
85
|
-
tokens.FontSize[36]
|
|
28
|
+
tokens.FontSize[36].$value,
|
|
86
29
|
{
|
|
87
|
-
fontWeight: tokens.FontWeight[700]
|
|
88
|
-
lineHeight: tokens.LineHeight[
|
|
30
|
+
fontWeight: tokens.FontWeight[700].$value,
|
|
31
|
+
lineHeight: tokens.LineHeight[140].$value,
|
|
89
32
|
letterSpacing: '0.02em'
|
|
90
33
|
}
|
|
91
34
|
],
|
|
92
35
|
// h1 Mobile
|
|
93
36
|
'h-lg-m': [
|
|
94
|
-
tokens.FontSize[32]
|
|
37
|
+
tokens.FontSize[32].$value,
|
|
95
38
|
{
|
|
96
|
-
fontWeight: tokens.FontWeight[700]
|
|
97
|
-
lineHeight: tokens.LineHeight[
|
|
39
|
+
fontWeight: tokens.FontWeight[700].$value,
|
|
40
|
+
lineHeight: tokens.LineHeight[150].$value,
|
|
98
41
|
letterSpacing: '0.02em'
|
|
99
42
|
}
|
|
100
43
|
],
|
|
101
44
|
// h2
|
|
102
45
|
'h-med': [
|
|
103
|
-
tokens.FontSize[32]
|
|
46
|
+
tokens.FontSize[32].$value,
|
|
104
47
|
{
|
|
105
|
-
fontWeight: tokens.FontWeight[700]
|
|
106
|
-
lineHeight: tokens.LineHeight[
|
|
48
|
+
fontWeight: tokens.FontWeight[700].$value,
|
|
49
|
+
lineHeight: tokens.LineHeight[150].$value,
|
|
107
50
|
letterSpacing: '0.02em'
|
|
108
51
|
}
|
|
109
52
|
],
|
|
110
53
|
// h2 Mobile
|
|
111
54
|
'h-med-m': [
|
|
112
|
-
tokens.FontSize[28]
|
|
55
|
+
tokens.FontSize[28].$value,
|
|
113
56
|
{
|
|
114
|
-
fontWeight: tokens.FontWeight[700]
|
|
115
|
-
lineHeight: tokens.LineHeight[
|
|
57
|
+
fontWeight: tokens.FontWeight[700].$value,
|
|
58
|
+
lineHeight: tokens.LineHeight[150].$value,
|
|
116
59
|
letterSpacing: '0.02em'
|
|
117
60
|
}
|
|
118
61
|
],
|
|
119
62
|
// h3
|
|
120
63
|
'h-sm': [
|
|
121
|
-
tokens.FontSize[28]
|
|
64
|
+
tokens.FontSize[28].$value,
|
|
122
65
|
{
|
|
123
|
-
fontWeight: tokens.FontWeight[700]
|
|
124
|
-
lineHeight: tokens.LineHeight[
|
|
66
|
+
fontWeight: tokens.FontWeight[700].$value,
|
|
67
|
+
lineHeight: tokens.LineHeight[150].$value,
|
|
125
68
|
letterSpacing: '0.02em'
|
|
126
69
|
}
|
|
127
70
|
],
|
|
128
71
|
// h3 Mobile
|
|
129
72
|
'h-sm-m': [
|
|
130
|
-
tokens.FontSize[24]
|
|
73
|
+
tokens.FontSize[24].$value,
|
|
131
74
|
{
|
|
132
|
-
fontWeight: tokens.FontWeight[700]
|
|
133
|
-
lineHeight: tokens.LineHeight[
|
|
75
|
+
fontWeight: tokens.FontWeight[700].$value,
|
|
76
|
+
lineHeight: tokens.LineHeight[150].$value,
|
|
134
77
|
letterSpacing: '0.02em'
|
|
135
78
|
}
|
|
136
79
|
],
|
|
137
80
|
// h4
|
|
138
81
|
'h-xs': [
|
|
139
|
-
tokens.FontSize[24]
|
|
82
|
+
tokens.FontSize[24].$value,
|
|
140
83
|
{
|
|
141
|
-
fontWeight: tokens.FontWeight[700]
|
|
142
|
-
lineHeight: tokens.LineHeight[
|
|
84
|
+
fontWeight: tokens.FontWeight[700].$value,
|
|
85
|
+
lineHeight: tokens.LineHeight[150].$value,
|
|
143
86
|
letterSpacing: '0.02em'
|
|
144
87
|
}
|
|
145
88
|
],
|
|
146
89
|
// h4 Mobile
|
|
147
90
|
'h-xs-m': [
|
|
148
|
-
tokens.FontSize[22]
|
|
91
|
+
tokens.FontSize[22].$value,
|
|
149
92
|
{
|
|
150
|
-
fontWeight: tokens.FontWeight[700]
|
|
151
|
-
lineHeight: tokens.LineHeight[
|
|
93
|
+
fontWeight: tokens.FontWeight[700].$value,
|
|
94
|
+
lineHeight: tokens.LineHeight[150].$value,
|
|
152
95
|
letterSpacing: '0.02em'
|
|
153
96
|
}
|
|
154
97
|
],
|
|
155
98
|
// h5 h6
|
|
156
99
|
'h-xxs': [
|
|
157
|
-
tokens.FontSize[20]
|
|
100
|
+
tokens.FontSize[20].$value,
|
|
158
101
|
{
|
|
159
|
-
fontWeight: tokens.FontWeight[700]
|
|
160
|
-
lineHeight: tokens.LineHeight[
|
|
102
|
+
fontWeight: tokens.FontWeight[700].$value,
|
|
103
|
+
lineHeight: tokens.LineHeight[150].$value,
|
|
161
104
|
letterSpacing: '0.02em'
|
|
162
105
|
}
|
|
163
106
|
],
|
|
164
107
|
// h5 h6 Mobile
|
|
165
108
|
'h-xxs-m': [
|
|
166
|
-
tokens.FontSize[18]
|
|
109
|
+
tokens.FontSize[18].$value,
|
|
167
110
|
{
|
|
168
|
-
fontWeight: tokens.FontWeight[700]
|
|
169
|
-
lineHeight: tokens.LineHeight[
|
|
111
|
+
fontWeight: tokens.FontWeight[700].$value,
|
|
112
|
+
lineHeight: tokens.LineHeight[160].$value,
|
|
170
113
|
letterSpacing: '0.02em'
|
|
171
114
|
}
|
|
172
115
|
],
|
|
173
116
|
base: [
|
|
174
|
-
tokens.FontSize[16]
|
|
117
|
+
tokens.FontSize[16].$value,
|
|
175
118
|
{
|
|
176
|
-
fontWeight: tokens.FontWeight[400]
|
|
177
|
-
lineHeight: tokens.LineHeight[
|
|
119
|
+
fontWeight: tokens.FontWeight[400].$value,
|
|
120
|
+
lineHeight: tokens.LineHeight[170].$value,
|
|
178
121
|
letterSpacing: '0.02em'
|
|
179
122
|
}
|
|
180
123
|
],
|
|
181
124
|
'base-sm': [
|
|
182
|
-
tokens.FontSize[14]
|
|
125
|
+
tokens.FontSize[14].$value,
|
|
183
126
|
{
|
|
184
|
-
fontWeight: tokens.FontWeight[400]
|
|
185
|
-
lineHeight: tokens.LineHeight[
|
|
127
|
+
fontWeight: tokens.FontWeight[400].$value,
|
|
128
|
+
lineHeight: tokens.LineHeight[130].$value
|
|
186
129
|
}
|
|
187
130
|
],
|
|
188
131
|
button: [
|
|
189
|
-
tokens.FontSize[16]
|
|
132
|
+
tokens.FontSize[16].$value,
|
|
190
133
|
{
|
|
191
|
-
fontWeight: tokens.FontWeight[700]
|
|
192
|
-
lineHeight: tokens.LineHeight[
|
|
134
|
+
fontWeight: tokens.FontWeight[700].$value,
|
|
135
|
+
lineHeight: tokens.LineHeight[100].$value,
|
|
193
136
|
letterSpacing: '0.02em'
|
|
194
137
|
}
|
|
195
138
|
],
|
|
196
139
|
'button-sm': [
|
|
197
|
-
tokens.FontSize[14]
|
|
140
|
+
tokens.FontSize[14].$value,
|
|
198
141
|
{
|
|
199
|
-
fontWeight: tokens.FontWeight[700]
|
|
200
|
-
lineHeight: tokens.LineHeight[
|
|
142
|
+
fontWeight: tokens.FontWeight[700].$value,
|
|
143
|
+
lineHeight: tokens.LineHeight[100].$value,
|
|
201
144
|
letterSpacing: '0.02em'
|
|
202
145
|
}
|
|
203
146
|
],
|
|
204
147
|
'label-b': [
|
|
205
|
-
tokens.FontSize[16]
|
|
148
|
+
tokens.FontSize[16].$value,
|
|
206
149
|
{
|
|
207
|
-
fontWeight: tokens.FontWeight[700]
|
|
208
|
-
lineHeight: tokens.LineHeight[
|
|
150
|
+
fontWeight: tokens.FontWeight[700].$value,
|
|
151
|
+
lineHeight: tokens.LineHeight[120].$value
|
|
209
152
|
}
|
|
210
153
|
],
|
|
211
154
|
label: [
|
|
212
|
-
tokens.FontSize[16]
|
|
155
|
+
tokens.FontSize[16].$value,
|
|
213
156
|
{
|
|
214
|
-
fontWeight: tokens.FontWeight[400]
|
|
215
|
-
lineHeight: tokens.LineHeight[
|
|
157
|
+
fontWeight: tokens.FontWeight[400].$value,
|
|
158
|
+
lineHeight: tokens.LineHeight[120].$value
|
|
216
159
|
}
|
|
217
160
|
],
|
|
218
161
|
code: [
|
|
219
|
-
tokens.FontSize[16]
|
|
162
|
+
tokens.FontSize[16].$value,
|
|
220
163
|
{
|
|
221
|
-
fontWeight: tokens.FontWeight[400]
|
|
222
|
-
lineHeight: tokens.LineHeight[
|
|
164
|
+
fontWeight: tokens.FontWeight[400].$value,
|
|
165
|
+
lineHeight: tokens.LineHeight[150].$value
|
|
223
166
|
}
|
|
224
167
|
]
|
|
225
168
|
},
|
|
226
169
|
colors: {
|
|
227
|
-
white: tokens.Color.Neutral.White
|
|
228
|
-
black: tokens.Color.Neutral.Black
|
|
229
|
-
sea: {
|
|
230
|
-
50: tokens.Color.Primitive.Sea[50].value,
|
|
231
|
-
100: tokens.Color.Primitive.Sea[100].value,
|
|
232
|
-
200: tokens.Color.Primitive.Sea[200].value,
|
|
233
|
-
300: tokens.Color.Primitive.Sea[300].value,
|
|
234
|
-
400: tokens.Color.Primitive.Sea[400].value,
|
|
235
|
-
500: tokens.Color.Primitive.Sea[500].value,
|
|
236
|
-
600: tokens.Color.Primitive.Sea[600].value,
|
|
237
|
-
700: tokens.Color.Primitive.Sea[700].value,
|
|
238
|
-
800: tokens.Color.Primitive.Sea[800].value,
|
|
239
|
-
900: tokens.Color.Primitive.Sea[900].value,
|
|
240
|
-
1000: tokens.Color.Primitive.Sea[1000].value,
|
|
241
|
-
1100: tokens.Color.Primitive.Sea[1100].value,
|
|
242
|
-
1200: tokens.Color.Primitive.Sea[1200].value
|
|
243
|
-
},
|
|
244
|
-
sumi: {
|
|
245
|
-
50: tokens.Color.Primitive.Sumi[50].value,
|
|
246
|
-
100: tokens.Color.Primitive.Sumi[100].value,
|
|
247
|
-
200: tokens.Color.Primitive.Sumi[200].value,
|
|
248
|
-
300: tokens.Color.Primitive.Sumi[300].value,
|
|
249
|
-
400: tokens.Color.Primitive.Sumi[400].value,
|
|
250
|
-
500: tokens.Color.Primitive.Sumi[500].value,
|
|
251
|
-
600: tokens.Color.Primitive.Sumi[600].value,
|
|
252
|
-
700: tokens.Color.Primitive.Sumi[700].value,
|
|
253
|
-
800: tokens.Color.Primitive.Sumi[800].value,
|
|
254
|
-
900: tokens.Color.Primitive.Sumi[900].value,
|
|
255
|
-
1000: tokens.Color.Primitive.Sumi[1000].value,
|
|
256
|
-
1100: tokens.Color.Primitive.Sumi[1100].value,
|
|
257
|
-
1200: tokens.Color.Primitive.Sumi[1200].value
|
|
258
|
-
},
|
|
259
|
-
forest: {
|
|
260
|
-
50: tokens.Color.Primitive.Forest[50].value,
|
|
261
|
-
100: tokens.Color.Primitive.Forest[100].value,
|
|
262
|
-
200: tokens.Color.Primitive.Forest[200].value,
|
|
263
|
-
300: tokens.Color.Primitive.Forest[300].value,
|
|
264
|
-
400: tokens.Color.Primitive.Forest[400].value,
|
|
265
|
-
500: tokens.Color.Primitive.Forest[500].value,
|
|
266
|
-
600: tokens.Color.Primitive.Forest[600].value,
|
|
267
|
-
700: tokens.Color.Primitive.Forest[700].value,
|
|
268
|
-
800: tokens.Color.Primitive.Forest[800].value,
|
|
269
|
-
900: tokens.Color.Primitive.Forest[900].value,
|
|
270
|
-
1000: tokens.Color.Primitive.Forest[1000].value,
|
|
271
|
-
1100: tokens.Color.Primitive.Forest[1100].value,
|
|
272
|
-
1200: tokens.Color.Primitive.Forest[1200].value
|
|
273
|
-
},
|
|
274
|
-
wood: {
|
|
275
|
-
50: tokens.Color.Primitive.Wood[50].value,
|
|
276
|
-
100: tokens.Color.Primitive.Wood[100].value,
|
|
277
|
-
200: tokens.Color.Primitive.Wood[200].value,
|
|
278
|
-
300: tokens.Color.Primitive.Wood[300].value,
|
|
279
|
-
400: tokens.Color.Primitive.Wood[400].value,
|
|
280
|
-
500: tokens.Color.Primitive.Wood[500].value,
|
|
281
|
-
600: tokens.Color.Primitive.Wood[600].value,
|
|
282
|
-
700: tokens.Color.Primitive.Wood[700].value,
|
|
283
|
-
800: tokens.Color.Primitive.Wood[800].value,
|
|
284
|
-
900: tokens.Color.Primitive.Wood[900].value,
|
|
285
|
-
1000: tokens.Color.Primitive.Wood[1000].value,
|
|
286
|
-
1100: tokens.Color.Primitive.Wood[1100].value,
|
|
287
|
-
1200: tokens.Color.Primitive.Wood[1200].value
|
|
288
|
-
},
|
|
289
|
-
sun: {
|
|
290
|
-
50: tokens.Color.Primitive.Sun[50].value,
|
|
291
|
-
100: tokens.Color.Primitive.Sun[100].value,
|
|
292
|
-
200: tokens.Color.Primitive.Sun[200].value,
|
|
293
|
-
300: tokens.Color.Primitive.Sun[300].value,
|
|
294
|
-
400: tokens.Color.Primitive.Sun[400].value,
|
|
295
|
-
500: tokens.Color.Primitive.Sun[500].value,
|
|
296
|
-
600: tokens.Color.Primitive.Sun[600].value,
|
|
297
|
-
700: tokens.Color.Primitive.Sun[700].value,
|
|
298
|
-
800: tokens.Color.Primitive.Sun[800].value,
|
|
299
|
-
900: tokens.Color.Primitive.Sun[900].value,
|
|
300
|
-
1000: tokens.Color.Primitive.Sun[1000].value,
|
|
301
|
-
1100: tokens.Color.Primitive.Sun[1100].value,
|
|
302
|
-
1200: tokens.Color.Primitive.Sun[1200].value
|
|
303
|
-
},
|
|
170
|
+
white: tokens.Color.Neutral.White.$value,
|
|
171
|
+
black: tokens.Color.Neutral.Black.$value,
|
|
304
172
|
blue: {
|
|
305
|
-
50: tokens.Color.Primitive.Blue[50]
|
|
306
|
-
100: tokens.Color.Primitive.Blue[100]
|
|
307
|
-
200: tokens.Color.Primitive.Blue[200]
|
|
308
|
-
300: tokens.Color.Primitive.Blue[300]
|
|
309
|
-
400: tokens.Color.Primitive.Blue[400]
|
|
310
|
-
500: tokens.Color.Primitive.Blue[500]
|
|
311
|
-
600: tokens.Color.Primitive.Blue[600]
|
|
312
|
-
700: tokens.Color.Primitive.Blue[700]
|
|
313
|
-
800: tokens.Color.Primitive.Blue[800]
|
|
314
|
-
900: tokens.Color.Primitive.Blue[900]
|
|
315
|
-
1000: tokens.Color.Primitive.Blue[1000]
|
|
316
|
-
1100: tokens.Color.Primitive.Blue[1100]
|
|
317
|
-
1200: tokens.Color.Primitive.Blue[1200]
|
|
173
|
+
50: tokens.Color.Primitive.Blue[50].$value,
|
|
174
|
+
100: tokens.Color.Primitive.Blue[100].$value,
|
|
175
|
+
200: tokens.Color.Primitive.Blue[200].$value,
|
|
176
|
+
300: tokens.Color.Primitive.Blue[300].$value,
|
|
177
|
+
400: tokens.Color.Primitive.Blue[400].$value,
|
|
178
|
+
500: tokens.Color.Primitive.Blue[500].$value,
|
|
179
|
+
600: tokens.Color.Primitive.Blue[600].$value,
|
|
180
|
+
700: tokens.Color.Primitive.Blue[700].$value,
|
|
181
|
+
800: tokens.Color.Primitive.Blue[800].$value,
|
|
182
|
+
900: tokens.Color.Primitive.Blue[900].$value,
|
|
183
|
+
1000: tokens.Color.Primitive.Blue[1000].$value,
|
|
184
|
+
1100: tokens.Color.Primitive.Blue[1100].$value,
|
|
185
|
+
1200: tokens.Color.Primitive.Blue[1200].$value
|
|
318
186
|
},
|
|
319
187
|
'light-blue': {
|
|
320
|
-
50: tokens.Color.Primitive.LightBlue[50]
|
|
321
|
-
100: tokens.Color.Primitive.LightBlue[100]
|
|
322
|
-
200: tokens.Color.Primitive.LightBlue[200]
|
|
323
|
-
300: tokens.Color.Primitive.LightBlue[300]
|
|
324
|
-
400: tokens.Color.Primitive.LightBlue[400]
|
|
325
|
-
500: tokens.Color.Primitive.LightBlue[500]
|
|
326
|
-
600: tokens.Color.Primitive.LightBlue[600]
|
|
327
|
-
700: tokens.Color.Primitive.LightBlue[700]
|
|
328
|
-
800: tokens.Color.Primitive.LightBlue[800]
|
|
329
|
-
900: tokens.Color.Primitive.LightBlue[900]
|
|
330
|
-
1000: tokens.Color.Primitive.LightBlue[1000]
|
|
331
|
-
1100: tokens.Color.Primitive.LightBlue[1100]
|
|
332
|
-
1200: tokens.Color.Primitive.LightBlue[1200]
|
|
188
|
+
50: tokens.Color.Primitive.LightBlue[50].$value,
|
|
189
|
+
100: tokens.Color.Primitive.LightBlue[100].$value,
|
|
190
|
+
200: tokens.Color.Primitive.LightBlue[200].$value,
|
|
191
|
+
300: tokens.Color.Primitive.LightBlue[300].$value,
|
|
192
|
+
400: tokens.Color.Primitive.LightBlue[400].$value,
|
|
193
|
+
500: tokens.Color.Primitive.LightBlue[500].$value,
|
|
194
|
+
600: tokens.Color.Primitive.LightBlue[600].$value,
|
|
195
|
+
700: tokens.Color.Primitive.LightBlue[700].$value,
|
|
196
|
+
800: tokens.Color.Primitive.LightBlue[800].$value,
|
|
197
|
+
900: tokens.Color.Primitive.LightBlue[900].$value,
|
|
198
|
+
1000: tokens.Color.Primitive.LightBlue[1000].$value,
|
|
199
|
+
1100: tokens.Color.Primitive.LightBlue[1100].$value,
|
|
200
|
+
1200: tokens.Color.Primitive.LightBlue[1200].$value
|
|
333
201
|
},
|
|
334
202
|
cyan: {
|
|
335
|
-
50: tokens.Color.Primitive.Cyan[50]
|
|
336
|
-
100: tokens.Color.Primitive.Cyan[100]
|
|
337
|
-
200: tokens.Color.Primitive.Cyan[200]
|
|
338
|
-
300: tokens.Color.Primitive.Cyan[300]
|
|
339
|
-
400: tokens.Color.Primitive.Cyan[400]
|
|
340
|
-
500: tokens.Color.Primitive.Cyan[500]
|
|
341
|
-
600: tokens.Color.Primitive.Cyan[600]
|
|
342
|
-
700: tokens.Color.Primitive.Cyan[700]
|
|
343
|
-
800: tokens.Color.Primitive.Cyan[800]
|
|
344
|
-
900: tokens.Color.Primitive.Cyan[900]
|
|
345
|
-
1000: tokens.Color.Primitive.Cyan[1000]
|
|
346
|
-
1100: tokens.Color.Primitive.Cyan[1100]
|
|
347
|
-
1200: tokens.Color.Primitive.Cyan[1200]
|
|
203
|
+
50: tokens.Color.Primitive.Cyan[50].$value,
|
|
204
|
+
100: tokens.Color.Primitive.Cyan[100].$value,
|
|
205
|
+
200: tokens.Color.Primitive.Cyan[200].$value,
|
|
206
|
+
300: tokens.Color.Primitive.Cyan[300].$value,
|
|
207
|
+
400: tokens.Color.Primitive.Cyan[400].$value,
|
|
208
|
+
500: tokens.Color.Primitive.Cyan[500].$value,
|
|
209
|
+
600: tokens.Color.Primitive.Cyan[600].$value,
|
|
210
|
+
700: tokens.Color.Primitive.Cyan[700].$value,
|
|
211
|
+
800: tokens.Color.Primitive.Cyan[800].$value,
|
|
212
|
+
900: tokens.Color.Primitive.Cyan[900].$value,
|
|
213
|
+
1000: tokens.Color.Primitive.Cyan[1000].$value,
|
|
214
|
+
1100: tokens.Color.Primitive.Cyan[1100].$value,
|
|
215
|
+
1200: tokens.Color.Primitive.Cyan[1200].$value
|
|
348
216
|
},
|
|
349
217
|
green: {
|
|
350
|
-
50: tokens.Color.Primitive.Green[50]
|
|
351
|
-
100: tokens.Color.Primitive.Green[100]
|
|
352
|
-
200: tokens.Color.Primitive.Green[200]
|
|
353
|
-
300: tokens.Color.Primitive.Green[300]
|
|
354
|
-
400: tokens.Color.Primitive.Green[400]
|
|
355
|
-
500: tokens.Color.Primitive.Green[500]
|
|
356
|
-
600: tokens.Color.Primitive.Green[600]
|
|
357
|
-
700: tokens.Color.Primitive.Green[700]
|
|
358
|
-
800: tokens.Color.Primitive.Green[800]
|
|
359
|
-
900: tokens.Color.Primitive.Green[900]
|
|
360
|
-
1000: tokens.Color.Primitive.Green[1000]
|
|
361
|
-
1100: tokens.Color.Primitive.Green[1100]
|
|
362
|
-
1200: tokens.Color.Primitive.Green[1200]
|
|
218
|
+
50: tokens.Color.Primitive.Green[50].$value,
|
|
219
|
+
100: tokens.Color.Primitive.Green[100].$value,
|
|
220
|
+
200: tokens.Color.Primitive.Green[200].$value,
|
|
221
|
+
300: tokens.Color.Primitive.Green[300].$value,
|
|
222
|
+
400: tokens.Color.Primitive.Green[400].$value,
|
|
223
|
+
500: tokens.Color.Primitive.Green[500].$value,
|
|
224
|
+
600: tokens.Color.Primitive.Green[600].$value,
|
|
225
|
+
700: tokens.Color.Primitive.Green[700].$value,
|
|
226
|
+
800: tokens.Color.Primitive.Green[800].$value,
|
|
227
|
+
900: tokens.Color.Primitive.Green[900].$value,
|
|
228
|
+
1000: tokens.Color.Primitive.Green[1000].$value,
|
|
229
|
+
1100: tokens.Color.Primitive.Green[1100].$value,
|
|
230
|
+
1200: tokens.Color.Primitive.Green[1200].$value
|
|
363
231
|
},
|
|
364
232
|
lime: {
|
|
365
|
-
50: tokens.Color.Primitive.Lime[50]
|
|
366
|
-
100: tokens.Color.Primitive.Lime[100]
|
|
367
|
-
200: tokens.Color.Primitive.Lime[200]
|
|
368
|
-
300: tokens.Color.Primitive.Lime[300]
|
|
369
|
-
400: tokens.Color.Primitive.Lime[400]
|
|
370
|
-
500: tokens.Color.Primitive.Lime[500]
|
|
371
|
-
600: tokens.Color.Primitive.Lime[600]
|
|
372
|
-
700: tokens.Color.Primitive.Lime[700]
|
|
373
|
-
800: tokens.Color.Primitive.Lime[800]
|
|
374
|
-
900: tokens.Color.Primitive.Lime[900]
|
|
375
|
-
1000: tokens.Color.Primitive.Lime[1000]
|
|
376
|
-
1100: tokens.Color.Primitive.Lime[1100]
|
|
377
|
-
1200: tokens.Color.Primitive.Lime[1200]
|
|
233
|
+
50: tokens.Color.Primitive.Lime[50].$value,
|
|
234
|
+
100: tokens.Color.Primitive.Lime[100].$value,
|
|
235
|
+
200: tokens.Color.Primitive.Lime[200].$value,
|
|
236
|
+
300: tokens.Color.Primitive.Lime[300].$value,
|
|
237
|
+
400: tokens.Color.Primitive.Lime[400].$value,
|
|
238
|
+
500: tokens.Color.Primitive.Lime[500].$value,
|
|
239
|
+
600: tokens.Color.Primitive.Lime[600].$value,
|
|
240
|
+
700: tokens.Color.Primitive.Lime[700].$value,
|
|
241
|
+
800: tokens.Color.Primitive.Lime[800].$value,
|
|
242
|
+
900: tokens.Color.Primitive.Lime[900].$value,
|
|
243
|
+
1000: tokens.Color.Primitive.Lime[1000].$value,
|
|
244
|
+
1100: tokens.Color.Primitive.Lime[1100].$value,
|
|
245
|
+
1200: tokens.Color.Primitive.Lime[1200].$value
|
|
378
246
|
},
|
|
379
247
|
yellow: {
|
|
380
|
-
50: tokens.Color.Primitive.Yellow[50]
|
|
381
|
-
100: tokens.Color.Primitive.Yellow[100]
|
|
382
|
-
200: tokens.Color.Primitive.Yellow[200]
|
|
383
|
-
300: tokens.Color.Primitive.Yellow[300]
|
|
384
|
-
400: tokens.Color.Primitive.Yellow[400]
|
|
385
|
-
500: tokens.Color.Primitive.Yellow[500]
|
|
386
|
-
600: tokens.Color.Primitive.Yellow[600]
|
|
387
|
-
700: tokens.Color.Primitive.Yellow[700]
|
|
388
|
-
800: tokens.Color.Primitive.Yellow[800]
|
|
389
|
-
900: tokens.Color.Primitive.Yellow[900]
|
|
390
|
-
1000: tokens.Color.Primitive.Yellow[1000]
|
|
391
|
-
1100: tokens.Color.Primitive.Yellow[1100]
|
|
392
|
-
1200: tokens.Color.Primitive.Yellow[1200]
|
|
248
|
+
50: tokens.Color.Primitive.Yellow[50].$value,
|
|
249
|
+
100: tokens.Color.Primitive.Yellow[100].$value,
|
|
250
|
+
200: tokens.Color.Primitive.Yellow[200].$value,
|
|
251
|
+
300: tokens.Color.Primitive.Yellow[300].$value,
|
|
252
|
+
400: tokens.Color.Primitive.Yellow[400].$value,
|
|
253
|
+
500: tokens.Color.Primitive.Yellow[500].$value,
|
|
254
|
+
600: tokens.Color.Primitive.Yellow[600].$value,
|
|
255
|
+
700: tokens.Color.Primitive.Yellow[700].$value,
|
|
256
|
+
800: tokens.Color.Primitive.Yellow[800].$value,
|
|
257
|
+
900: tokens.Color.Primitive.Yellow[900].$value,
|
|
258
|
+
1000: tokens.Color.Primitive.Yellow[1000].$value,
|
|
259
|
+
1100: tokens.Color.Primitive.Yellow[1100].$value,
|
|
260
|
+
1200: tokens.Color.Primitive.Yellow[1200].$value
|
|
393
261
|
},
|
|
394
262
|
orange: {
|
|
395
|
-
50: tokens.Color.Primitive.Orange[50]
|
|
396
|
-
100: tokens.Color.Primitive.Orange[100]
|
|
397
|
-
200: tokens.Color.Primitive.Orange[200]
|
|
398
|
-
300: tokens.Color.Primitive.Orange[300]
|
|
399
|
-
400: tokens.Color.Primitive.Orange[400]
|
|
400
|
-
500: tokens.Color.Primitive.Orange[500]
|
|
401
|
-
600: tokens.Color.Primitive.Orange[600]
|
|
402
|
-
700: tokens.Color.Primitive.Orange[700]
|
|
403
|
-
800: tokens.Color.Primitive.Orange[800]
|
|
404
|
-
900: tokens.Color.Primitive.Orange[900]
|
|
405
|
-
1000: tokens.Color.Primitive.Orange[1000]
|
|
406
|
-
1100: tokens.Color.Primitive.Orange[1100]
|
|
407
|
-
1200: tokens.Color.Primitive.Orange[1200]
|
|
263
|
+
50: tokens.Color.Primitive.Orange[50].$value,
|
|
264
|
+
100: tokens.Color.Primitive.Orange[100].$value,
|
|
265
|
+
200: tokens.Color.Primitive.Orange[200].$value,
|
|
266
|
+
300: tokens.Color.Primitive.Orange[300].$value,
|
|
267
|
+
400: tokens.Color.Primitive.Orange[400].$value,
|
|
268
|
+
500: tokens.Color.Primitive.Orange[500].$value,
|
|
269
|
+
600: tokens.Color.Primitive.Orange[600].$value,
|
|
270
|
+
700: tokens.Color.Primitive.Orange[700].$value,
|
|
271
|
+
800: tokens.Color.Primitive.Orange[800].$value,
|
|
272
|
+
900: tokens.Color.Primitive.Orange[900].$value,
|
|
273
|
+
1000: tokens.Color.Primitive.Orange[1000].$value,
|
|
274
|
+
1100: tokens.Color.Primitive.Orange[1100].$value,
|
|
275
|
+
1200: tokens.Color.Primitive.Orange[1200].$value
|
|
408
276
|
},
|
|
409
277
|
red: {
|
|
410
|
-
50: tokens.Color.Primitive.Red[50]
|
|
411
|
-
100: tokens.Color.Primitive.Red[100]
|
|
412
|
-
200: tokens.Color.Primitive.Red[200]
|
|
413
|
-
300: tokens.Color.Primitive.Red[300]
|
|
414
|
-
400: tokens.Color.Primitive.Red[400]
|
|
415
|
-
500: tokens.Color.Primitive.Red[500]
|
|
416
|
-
600: tokens.Color.Primitive.Red[600]
|
|
417
|
-
700: tokens.Color.Primitive.Red[700]
|
|
418
|
-
800: tokens.Color.Primitive.Red[800]
|
|
419
|
-
900: tokens.Color.Primitive.Red[900]
|
|
420
|
-
1000: tokens.Color.Primitive.Red[1000]
|
|
421
|
-
1100: tokens.Color.Primitive.Red[1100]
|
|
422
|
-
1200: tokens.Color.Primitive.Red[1200]
|
|
278
|
+
50: tokens.Color.Primitive.Red[50].$value,
|
|
279
|
+
100: tokens.Color.Primitive.Red[100].$value,
|
|
280
|
+
200: tokens.Color.Primitive.Red[200].$value,
|
|
281
|
+
300: tokens.Color.Primitive.Red[300].$value,
|
|
282
|
+
400: tokens.Color.Primitive.Red[400].$value,
|
|
283
|
+
500: tokens.Color.Primitive.Red[500].$value,
|
|
284
|
+
600: tokens.Color.Primitive.Red[600].$value,
|
|
285
|
+
700: tokens.Color.Primitive.Red[700].$value,
|
|
286
|
+
800: tokens.Color.Primitive.Red[800].$value,
|
|
287
|
+
900: tokens.Color.Primitive.Red[900].$value,
|
|
288
|
+
1000: tokens.Color.Primitive.Red[1000].$value,
|
|
289
|
+
1100: tokens.Color.Primitive.Red[1100].$value,
|
|
290
|
+
1200: tokens.Color.Primitive.Red[1200].$value
|
|
423
291
|
},
|
|
424
292
|
magenta: {
|
|
425
|
-
50: tokens.Color.Primitive.Magenta[50]
|
|
426
|
-
100: tokens.Color.Primitive.Magenta[100]
|
|
427
|
-
200: tokens.Color.Primitive.Magenta[200]
|
|
428
|
-
300: tokens.Color.Primitive.Magenta[300]
|
|
429
|
-
400: tokens.Color.Primitive.Magenta[400]
|
|
430
|
-
500: tokens.Color.Primitive.Magenta[500]
|
|
431
|
-
600: tokens.Color.Primitive.Magenta[600]
|
|
432
|
-
700: tokens.Color.Primitive.Magenta[700]
|
|
433
|
-
800: tokens.Color.Primitive.Magenta[800]
|
|
434
|
-
900: tokens.Color.Primitive.Magenta[900]
|
|
435
|
-
1000: tokens.Color.Primitive.Magenta[1000]
|
|
436
|
-
1100: tokens.Color.Primitive.Magenta[1100]
|
|
437
|
-
1200: tokens.Color.Primitive.Magenta[1200]
|
|
293
|
+
50: tokens.Color.Primitive.Magenta[50].$value,
|
|
294
|
+
100: tokens.Color.Primitive.Magenta[100].$value,
|
|
295
|
+
200: tokens.Color.Primitive.Magenta[200].$value,
|
|
296
|
+
300: tokens.Color.Primitive.Magenta[300].$value,
|
|
297
|
+
400: tokens.Color.Primitive.Magenta[400].$value,
|
|
298
|
+
500: tokens.Color.Primitive.Magenta[500].$value,
|
|
299
|
+
600: tokens.Color.Primitive.Magenta[600].$value,
|
|
300
|
+
700: tokens.Color.Primitive.Magenta[700].$value,
|
|
301
|
+
800: tokens.Color.Primitive.Magenta[800].$value,
|
|
302
|
+
900: tokens.Color.Primitive.Magenta[900].$value,
|
|
303
|
+
1000: tokens.Color.Primitive.Magenta[1000].$value,
|
|
304
|
+
1100: tokens.Color.Primitive.Magenta[1100].$value,
|
|
305
|
+
1200: tokens.Color.Primitive.Magenta[1200].$value
|
|
438
306
|
},
|
|
439
307
|
purple: {
|
|
440
|
-
50: tokens.Color.Primitive.Purple[50]
|
|
441
|
-
100: tokens.Color.Primitive.Purple[100]
|
|
442
|
-
200: tokens.Color.Primitive.Purple[200]
|
|
443
|
-
300: tokens.Color.Primitive.Purple[300]
|
|
444
|
-
400: tokens.Color.Primitive.Purple[400]
|
|
445
|
-
500: tokens.Color.Primitive.Purple[500]
|
|
446
|
-
600: tokens.Color.Primitive.Purple[600]
|
|
447
|
-
700: tokens.Color.Primitive.Purple[700]
|
|
448
|
-
800: tokens.Color.Primitive.Purple[800]
|
|
449
|
-
900: tokens.Color.Primitive.Purple[900]
|
|
450
|
-
1000: tokens.Color.Primitive.Purple[1000]
|
|
451
|
-
1100: tokens.Color.Primitive.Purple[1100]
|
|
452
|
-
1200: tokens.Color.Primitive.Purple[1200]
|
|
308
|
+
50: tokens.Color.Primitive.Purple[50].$value,
|
|
309
|
+
100: tokens.Color.Primitive.Purple[100].$value,
|
|
310
|
+
200: tokens.Color.Primitive.Purple[200].$value,
|
|
311
|
+
300: tokens.Color.Primitive.Purple[300].$value,
|
|
312
|
+
400: tokens.Color.Primitive.Purple[400].$value,
|
|
313
|
+
500: tokens.Color.Primitive.Purple[500].$value,
|
|
314
|
+
600: tokens.Color.Primitive.Purple[600].$value,
|
|
315
|
+
700: tokens.Color.Primitive.Purple[700].$value,
|
|
316
|
+
800: tokens.Color.Primitive.Purple[800].$value,
|
|
317
|
+
900: tokens.Color.Primitive.Purple[900].$value,
|
|
318
|
+
1000: tokens.Color.Primitive.Purple[1000].$value,
|
|
319
|
+
1100: tokens.Color.Primitive.Purple[1100].$value,
|
|
320
|
+
1200: tokens.Color.Primitive.Purple[1200].$value
|
|
453
321
|
},
|
|
454
|
-
'solid-
|
|
455
|
-
50: tokens.Color.Neutral.
|
|
456
|
-
100: tokens.Color.Neutral.
|
|
457
|
-
200: tokens.Color.Neutral.
|
|
458
|
-
300: tokens.Color.Neutral.
|
|
459
|
-
400: tokens.Color.Neutral.
|
|
460
|
-
420: tokens.Color.Neutral.
|
|
461
|
-
500: tokens.Color.Neutral.
|
|
462
|
-
536: tokens.Color.Neutral.
|
|
463
|
-
600: tokens.Color.Neutral.
|
|
464
|
-
700: tokens.Color.Neutral.
|
|
465
|
-
800: tokens.Color.Neutral.
|
|
466
|
-
900: tokens.Color.Neutral.
|
|
322
|
+
'solid-gray': {
|
|
323
|
+
50: tokens.Color.Neutral.SolidGray[50].$value,
|
|
324
|
+
100: tokens.Color.Neutral.SolidGray[100].$value,
|
|
325
|
+
200: tokens.Color.Neutral.SolidGray[200].$value,
|
|
326
|
+
300: tokens.Color.Neutral.SolidGray[300].$value,
|
|
327
|
+
400: tokens.Color.Neutral.SolidGray[400].$value,
|
|
328
|
+
420: tokens.Color.Neutral.SolidGray[420].$value,
|
|
329
|
+
500: tokens.Color.Neutral.SolidGray[500].$value,
|
|
330
|
+
536: tokens.Color.Neutral.SolidGray[536].$value,
|
|
331
|
+
600: tokens.Color.Neutral.SolidGray[600].$value,
|
|
332
|
+
700: tokens.Color.Neutral.SolidGray[700].$value,
|
|
333
|
+
800: tokens.Color.Neutral.SolidGray[800].$value,
|
|
334
|
+
900: tokens.Color.Neutral.SolidGray[900].$value
|
|
467
335
|
},
|
|
468
|
-
'
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
336
|
+
'opacity-gray': {
|
|
337
|
+
50: tokens.Color.Neutral.OpacityGray[50].$value,
|
|
338
|
+
100: tokens.Color.Neutral.OpacityGray[100].$value,
|
|
339
|
+
200: tokens.Color.Neutral.OpacityGray[200].$value,
|
|
340
|
+
300: tokens.Color.Neutral.OpacityGray[300].$value,
|
|
341
|
+
400: tokens.Color.Neutral.OpacityGray[400].$value,
|
|
342
|
+
420: tokens.Color.Neutral.OpacityGray[420].$value,
|
|
343
|
+
500: tokens.Color.Neutral.OpacityGray[500].$value,
|
|
344
|
+
536: tokens.Color.Neutral.OpacityGray[536].$value,
|
|
345
|
+
600: tokens.Color.Neutral.OpacityGray[600].$value,
|
|
346
|
+
700: tokens.Color.Neutral.OpacityGray[700].$value,
|
|
347
|
+
800: tokens.Color.Neutral.OpacityGray[800].$value,
|
|
348
|
+
900: tokens.Color.Neutral.OpacityGray[900].$value
|
|
349
|
+
},
|
|
350
|
+
'success-1': tokens.Color.Semantic.Success[1].$value,
|
|
351
|
+
'success-2': tokens.Color.Semantic.Success[2].$value,
|
|
352
|
+
'error-1': tokens.Color.Semantic.Error[1].$value,
|
|
353
|
+
'error-2': tokens.Color.Semantic.Error[2].$value,
|
|
354
|
+
'warning-yellow-1': tokens.Color.Semantic.Warning.Yellow[1].$value,
|
|
355
|
+
'warning-yellow-2': tokens.Color.Semantic.Warning.Yellow[2].$value,
|
|
356
|
+
'warning-orange-1': tokens.Color.Semantic.Warning.Orange[1].$value,
|
|
357
|
+
'warning-orange-2': tokens.Color.Semantic.Warning.Orange[2].$value,
|
|
358
|
+
'focus-yellow': tokens.Color.Primitive.Yellow[700].$value,
|
|
359
|
+
'focus-blue': tokens.Color.Primitive.LightBlue[700].$value
|
|
478
360
|
},
|
|
479
361
|
lineHeight: {
|
|
480
|
-
'1-0': tokens.LineHeight[
|
|
481
|
-
'1-2': tokens.LineHeight[
|
|
482
|
-
'1-3': tokens.LineHeight[
|
|
483
|
-
'1-4': tokens.LineHeight[
|
|
484
|
-
'1-5': tokens.LineHeight[
|
|
485
|
-
'1-6': tokens.LineHeight[
|
|
486
|
-
'1-7': tokens.LineHeight[
|
|
362
|
+
'1-0': tokens.LineHeight[100].$value,
|
|
363
|
+
'1-2': tokens.LineHeight[120].$value,
|
|
364
|
+
'1-3': tokens.LineHeight[130].$value,
|
|
365
|
+
'1-4': tokens.LineHeight[140].$value,
|
|
366
|
+
'1-5': tokens.LineHeight[150].$value,
|
|
367
|
+
'1-6': tokens.LineHeight[160].$value,
|
|
368
|
+
'1-7': tokens.LineHeight[170].$value
|
|
487
369
|
},
|
|
488
370
|
listStyleType: {
|
|
489
371
|
'lower-latin': 'lower-latin',
|
|
@@ -510,6 +392,16 @@ const sakuraPlugin = plugin(
|
|
|
510
392
|
'monospace'
|
|
511
393
|
],
|
|
512
394
|
icon: ['Material Symbols Outlined']
|
|
395
|
+
},
|
|
396
|
+
boxShadow: {
|
|
397
|
+
'1': tokens.Elevation[1].$value,
|
|
398
|
+
'2': tokens.Elevation[2].$value,
|
|
399
|
+
'3': tokens.Elevation[3].$value,
|
|
400
|
+
'4': tokens.Elevation[4].$value,
|
|
401
|
+
'5': tokens.Elevation[5].$value,
|
|
402
|
+
'6': tokens.Elevation[6].$value,
|
|
403
|
+
'7': tokens.Elevation[7].$value,
|
|
404
|
+
'8': tokens.Elevation[8].$value
|
|
513
405
|
}
|
|
514
406
|
}
|
|
515
407
|
}
|