@daikin-oss/dds-tokens 0.1.0 → 0.2.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.
Files changed (73) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/README.md +79 -18
  3. package/build/css/aaf/Dark/buttons.css +22 -0
  4. package/build/css/aaf/Dark/variables.css +214 -0
  5. package/build/css/aaf/Light/buttons.css +22 -0
  6. package/build/css/aaf/Light/variables.css +214 -0
  7. package/build/css/daikin/Dark/buttons.css +22 -0
  8. package/build/css/daikin/Dark/variables.css +275 -0
  9. package/build/css/daikin/Light/buttons.css +22 -0
  10. package/build/css/daikin/Light/variables.css +275 -0
  11. package/build/js/aaf/Dark/variables.cjs +214 -0
  12. package/build/js/aaf/Dark/variables.d.cts +232 -0
  13. package/build/js/aaf/Dark/variables.d.ts +232 -0
  14. package/build/js/aaf/Dark/variables.js +212 -0
  15. package/build/js/aaf/Light/variables.cjs +214 -0
  16. package/build/js/aaf/Light/variables.d.cts +232 -0
  17. package/build/js/aaf/Light/variables.d.ts +232 -0
  18. package/build/js/aaf/Light/variables.js +212 -0
  19. package/build/js/daikin/Dark/variables.cjs +275 -0
  20. package/build/js/daikin/Dark/variables.d.cts +294 -0
  21. package/build/js/daikin/Dark/variables.d.ts +294 -0
  22. package/build/js/daikin/Dark/variables.js +273 -0
  23. package/build/js/daikin/Light/variables.cjs +275 -0
  24. package/build/js/daikin/Light/variables.d.cts +294 -0
  25. package/build/js/daikin/Light/variables.d.ts +294 -0
  26. package/build/js/daikin/Light/variables.js +273 -0
  27. package/build/json/aaf/Dark/tokens.json +834 -0
  28. package/build/json/aaf/Light/tokens.json +834 -0
  29. package/build/json/daikin/Dark/tokens.json +1078 -0
  30. package/build/json/daikin/Light/tokens.json +1078 -0
  31. package/build/scss/_mixins.scss +4 -0
  32. package/build/scss/aaf/Dark/_mixins.scss +214 -0
  33. package/build/scss/aaf/Light/_mixins.scss +214 -0
  34. package/build/scss/daikin/Dark/_mixins.scss +275 -0
  35. package/build/scss/daikin/Light/_mixins.scss +275 -0
  36. package/package.json +64 -41
  37. package/themes/$metadata.json +15 -0
  38. package/themes/$themes.json +54 -0
  39. package/themes/aaf/dark/component.json +113 -0
  40. package/themes/aaf/dark/system.json +49 -0
  41. package/themes/aaf/light/component.json +113 -0
  42. package/themes/aaf/light/system.json +49 -0
  43. package/themes/component.json +184 -0
  44. package/themes/dkn/dark/component.json +283 -0
  45. package/themes/dkn/dark/system.json +237 -0
  46. package/themes/dkn/light/component.json +283 -0
  47. package/themes/dkn/light/system.json +237 -0
  48. package/themes/reference.json +731 -0
  49. package/themes/system.json +31 -0
  50. package/build/css/AAF/Dark/buttons.css +0 -29
  51. package/build/css/AAF/Dark/variables.css +0 -288
  52. package/build/css/AAF/Light/buttons.css +0 -29
  53. package/build/css/AAF/Light/variables.css +0 -288
  54. package/build/css/DKN/Dark/buttons.css +0 -29
  55. package/build/css/DKN/Dark/variables.css +0 -298
  56. package/build/css/DKN/Light/buttons.css +0 -29
  57. package/build/css/DKN/Light/variables.css +0 -298
  58. package/build/js/cjs/AAF/Dark/variables.d.ts +0 -317
  59. package/build/js/cjs/AAF/Dark/variables.js +0 -288
  60. package/build/js/cjs/AAF/Light/variables.d.ts +0 -317
  61. package/build/js/cjs/AAF/Light/variables.js +0 -288
  62. package/build/js/cjs/DKN/Dark/variables.d.ts +0 -328
  63. package/build/js/cjs/DKN/Dark/variables.js +0 -298
  64. package/build/js/cjs/DKN/Light/variables.d.ts +0 -328
  65. package/build/js/cjs/DKN/Light/variables.js +0 -298
  66. package/build/js/es/AAF/Dark/variables.d.ts +0 -317
  67. package/build/js/es/AAF/Dark/variables.js +0 -286
  68. package/build/js/es/AAF/Light/variables.d.ts +0 -317
  69. package/build/js/es/AAF/Light/variables.js +0 -286
  70. package/build/js/es/DKN/Dark/variables.d.ts +0 -328
  71. package/build/js/es/DKN/Dark/variables.js +0 -296
  72. package/build/js/es/DKN/Light/variables.d.ts +0 -328
  73. package/build/js/es/DKN/Light/variables.js +0 -296
@@ -0,0 +1,283 @@
1
+ {
2
+ "container": {
3
+ "color": {
4
+ "background": {
5
+ "value": "{color.background.component}",
6
+ "type": "color"
7
+ },
8
+ "text": {
9
+ "header": {
10
+ "value": "{color.text.default}",
11
+ "type": "color"
12
+ },
13
+ "body": {
14
+ "value": "{color.text.default-sub}",
15
+ "type": "color"
16
+ }
17
+ }
18
+ }
19
+ },
20
+ "card": {
21
+ "shadow": {
22
+ "value": "{shadow.black}",
23
+ "type": "boxShadow"
24
+ },
25
+ "color": {
26
+ "background": {
27
+ "value": "{container.color.background}",
28
+ "type": "color"
29
+ }
30
+ },
31
+ "border": {
32
+ "hover": {
33
+ "value": {
34
+ "color": "#BFBFBF",
35
+ "width": "2",
36
+ "style": "solid"
37
+ },
38
+ "type": "border"
39
+ },
40
+ "alert": {
41
+ "value": {
42
+ "color": "{color.feedback.negative}",
43
+ "width": "2",
44
+ "style": "solid"
45
+ },
46
+ "type": "border"
47
+ },
48
+ "underline": {
49
+ "value": {
50
+ "color": "{color.blue-gray.20}",
51
+ "width": "1",
52
+ "style": "solid"
53
+ },
54
+ "type": "border"
55
+ }
56
+ }
57
+ },
58
+ "notification": {
59
+ "shadow": {
60
+ "value": "{shadow.black}",
61
+ "type": "boxShadow"
62
+ },
63
+ "color": {
64
+ "background": {
65
+ "theme": {
66
+ "value": "{color.background.component}",
67
+ "type": "color"
68
+ },
69
+ "success": {
70
+ "value": "{color.feedback.positive}",
71
+ "type": "color"
72
+ },
73
+ "error": {
74
+ "value": "{color.feedback.negative}",
75
+ "type": "color"
76
+ },
77
+ "warning": {
78
+ "value": "{color.feedback.warning}",
79
+ "type": "color"
80
+ },
81
+ "alarm": {
82
+ "value": "{color.feedback.alarm}",
83
+ "type": "color"
84
+ },
85
+ "information": {
86
+ "value": "{color.feedback.information}",
87
+ "type": "color"
88
+ }
89
+ },
90
+ "text": {
91
+ "value": "{color.text.default}",
92
+ "type": "color"
93
+ }
94
+ }
95
+ },
96
+ "icon": {
97
+ "color": {
98
+ "background": {
99
+ "default": {
100
+ "value": "{color.background.object}",
101
+ "type": "color"
102
+ },
103
+ "theme": {
104
+ "value": "{color.background.theme}",
105
+ "type": "color"
106
+ }
107
+ }
108
+ }
109
+ },
110
+ "button": {
111
+ "color": {
112
+ "background": {
113
+ "primary": {
114
+ "active": {
115
+ "value": "{color.brand.primary}",
116
+ "type": "color",
117
+ "description": "Color used for the default state of a secondary button"
118
+ },
119
+ "hover": {
120
+ "value": "{color.brand.secondary}",
121
+ "type": "color"
122
+ },
123
+ "press": {
124
+ "value": "{color.blue.70}",
125
+ "type": "color"
126
+ },
127
+ "focus": {
128
+ "value": "{color.blue.80}",
129
+ "type": "color"
130
+ },
131
+ "disabled": {
132
+ "value": "{color.gray.30}",
133
+ "type": "color"
134
+ }
135
+ }
136
+ },
137
+ "border": {
138
+ "secondary": {
139
+ "active": {
140
+ "value": "{color.brand.primary}",
141
+ "type": "color"
142
+ },
143
+ "hover": {
144
+ "value": "{color.brand.secondary}",
145
+ "type": "color"
146
+ },
147
+ "press": {
148
+ "value": "{color.blue.70}",
149
+ "type": "color"
150
+ },
151
+ "focus": {
152
+ "value": "{color.blue.80}",
153
+ "type": "color"
154
+ },
155
+ "disabled": {
156
+ "value": "{color.gray.30}",
157
+ "type": "color"
158
+ }
159
+ }
160
+ },
161
+ "text": {
162
+ "secondary": {
163
+ "active": {
164
+ "value": "{color.text.brand.primary}",
165
+ "type": "color"
166
+ },
167
+ "hover": {
168
+ "value": "{color.brand.secondary}",
169
+ "type": "color"
170
+ },
171
+ "press": {
172
+ "value": "{color.blue.70}",
173
+ "type": "color"
174
+ },
175
+ "focus": {
176
+ "value": "{color.blue.80}",
177
+ "type": "color"
178
+ },
179
+ "disabled": {
180
+ "value": "{color.gray.30}",
181
+ "type": "color"
182
+ }
183
+ },
184
+ "primary": {
185
+ "value": "{color.text.theme}",
186
+ "type": "color"
187
+ }
188
+ }
189
+ }
190
+ },
191
+ "tab": {
192
+ "color": {
193
+ "line": {
194
+ "active": {
195
+ "value": "{color.brand.primary}",
196
+ "type": "color"
197
+ },
198
+ "hover": {
199
+ "value": "{color.brand.secondary}",
200
+ "type": "color"
201
+ },
202
+ "press": {
203
+ "value": "{color.blue.70}",
204
+ "type": "color"
205
+ },
206
+ "focus": {
207
+ "value": "{color.blue.80}",
208
+ "type": "color"
209
+ },
210
+ "disabled": {
211
+ "value": "{color.gray.30}",
212
+ "type": "color"
213
+ }
214
+ },
215
+ "text": {
216
+ "active": {
217
+ "value": "{color.text.brand.primary}",
218
+ "type": "color"
219
+ },
220
+ "hover": {
221
+ "value": "{color.brand.secondary}",
222
+ "type": "color"
223
+ },
224
+ "press": {
225
+ "value": "{color.blue.70}",
226
+ "type": "color"
227
+ },
228
+ "focus": {
229
+ "value": "{color.blue.80}",
230
+ "type": "color"
231
+ },
232
+ "disabled": {
233
+ "value": "{color.gray.30}",
234
+ "type": "color"
235
+ }
236
+ }
237
+ }
238
+ },
239
+ "color": {
240
+ "link": {
241
+ "text": {
242
+ "default": {
243
+ "value": "{color.blue.90}",
244
+ "type": "color"
245
+ },
246
+ "hover": {
247
+ "value": "{color.blue.100}",
248
+ "type": "color"
249
+ },
250
+ "press": {
251
+ "value": "{color.blue.110}",
252
+ "type": "color"
253
+ },
254
+ "visited": {
255
+ "default": {
256
+ "value": "{color.purple.90}",
257
+ "type": "color"
258
+ },
259
+ "hover": {
260
+ "value": "{color.purple.100}",
261
+ "type": "color"
262
+ },
263
+ "press": {
264
+ "value": "{color.purple.110}",
265
+ "type": "color"
266
+ }
267
+ }
268
+ },
269
+ "surface": {
270
+ "visited": {
271
+ "hover": {
272
+ "value": "{color.purple.10}",
273
+ "type": "color"
274
+ },
275
+ "press": {
276
+ "value": "{color.purple.20}",
277
+ "type": "color"
278
+ }
279
+ }
280
+ }
281
+ }
282
+ }
283
+ }
@@ -0,0 +1,237 @@
1
+ {
2
+ "color": {
3
+ "brand": {
4
+ "primary": {
5
+ "value": "{color.blue.60}",
6
+ "type": "color",
7
+ "description": "Primary brand blue"
8
+ },
9
+ "secondary": {
10
+ "value": "{color.blue.40}",
11
+ "type": "color",
12
+ "description": "Primary secondary brand blue"
13
+ }
14
+ },
15
+ "text": {
16
+ "brand": {
17
+ "primary": {
18
+ "value": "{color.brand.primary}",
19
+ "type": "color"
20
+ }
21
+ },
22
+ "theme": {
23
+ "value": "{color.white}",
24
+ "type": "color"
25
+ },
26
+ "default": {
27
+ "value": "{color.gray.100}",
28
+ "type": "color"
29
+ },
30
+ "default-sub": {
31
+ "value": "{color.gray.80}",
32
+ "type": "color"
33
+ }
34
+ },
35
+ "background": {
36
+ "theme": {
37
+ "value": "{color.white}",
38
+ "type": "color"
39
+ },
40
+ "component": {
41
+ "value": "{color.white}",
42
+ "type": "color"
43
+ },
44
+ "object": {
45
+ "value": "{color.gray.100}",
46
+ "type": "color"
47
+ }
48
+ },
49
+ "feedback": {
50
+ "positive": {
51
+ "value": "{color.green.60}",
52
+ "type": "color",
53
+ "description": "System status is positive"
54
+ },
55
+ "warning": {
56
+ "value": "{color.yellow.50}",
57
+ "type": "color",
58
+ "description": "System status is warning"
59
+ },
60
+ "negative": {
61
+ "value": "{color.red.60}",
62
+ "type": "color",
63
+ "description": "System status is warning"
64
+ },
65
+ "alarm": {
66
+ "value": "{color.orange.60}",
67
+ "type": "color",
68
+ "description": "System status is warning"
69
+ },
70
+ "information": {
71
+ "value": "{color.blue.60}",
72
+ "type": "color",
73
+ "description": "System status is warning"
74
+ }
75
+ },
76
+ "common": {
77
+ "brand": {
78
+ "default": {
79
+ "value": "{color.blue.70}",
80
+ "type": "color"
81
+ },
82
+ "hover": {
83
+ "value": "{color.blue.80}",
84
+ "type": "color"
85
+ },
86
+ "press": {
87
+ "value": "{color.blue.90}",
88
+ "type": "color"
89
+ }
90
+ },
91
+ "surface": {
92
+ "brand": {
93
+ "hover": {
94
+ "value": "{color.blue.10}",
95
+ "type": "color"
96
+ },
97
+ "press": {
98
+ "value": "{color.blue.20}",
99
+ "type": "color"
100
+ }
101
+ },
102
+ "neutral": {
103
+ "hover": {
104
+ "value": "{color.gray.10}",
105
+ "type": "color"
106
+ },
107
+ "press": {
108
+ "value": "{color.gray.20}",
109
+ "type": "color"
110
+ }
111
+ },
112
+ "danger": {
113
+ "hover": {
114
+ "value": "{color.red.10}",
115
+ "type": "color"
116
+ },
117
+ "press": {
118
+ "value": "{color.red.20}",
119
+ "type": "color"
120
+ }
121
+ },
122
+ "default": {
123
+ "value": "{color.white}",
124
+ "type": "color"
125
+ },
126
+ "hover": {
127
+ "value": "{color.gray.10}",
128
+ "type": "color"
129
+ },
130
+ "press": {
131
+ "value": "{color.gray.20}",
132
+ "type": "color"
133
+ },
134
+ "selected": {
135
+ "default": {
136
+ "value": "{color.blue.10}",
137
+ "type": "color"
138
+ },
139
+ "hover": {
140
+ "value": "{color.blue.20}",
141
+ "type": "color"
142
+ },
143
+ "press": {
144
+ "value": "{color.blue.30}",
145
+ "type": "color"
146
+ }
147
+ }
148
+ },
149
+ "neutral": {
150
+ "default": {
151
+ "value": "{color.gray.80}",
152
+ "type": "color"
153
+ },
154
+ "hover": {
155
+ "value": "{color.gray.90}",
156
+ "type": "color"
157
+ },
158
+ "press": {
159
+ "value": "{color.gray.100}",
160
+ "type": "color"
161
+ }
162
+ },
163
+ "danger": {
164
+ "default": {
165
+ "value": "{color.red.70}",
166
+ "type": "color"
167
+ },
168
+ "hover": {
169
+ "value": "{color.red.80}",
170
+ "type": "color"
171
+ },
172
+ "press": {
173
+ "value": "{color.red.90}",
174
+ "type": "color"
175
+ }
176
+ },
177
+ "success": {
178
+ "value": "{color.green.70}",
179
+ "type": "color"
180
+ },
181
+ "warning": {
182
+ "value": "{color.yellow.70}",
183
+ "type": "color"
184
+ },
185
+ "alarm": {
186
+ "value": "{color.orange.70}",
187
+ "type": "color"
188
+ },
189
+ "information": {
190
+ "value": "{color.blue.70}",
191
+ "type": "color"
192
+ },
193
+ "disabled": {
194
+ "value": "{color.gray.50}",
195
+ "type": "color"
196
+ },
197
+ "text": {
198
+ "primary": {
199
+ "value": "{color.gray.100}",
200
+ "type": "color"
201
+ },
202
+ "secondary": {
203
+ "value": "{color.gray.80}",
204
+ "type": "color"
205
+ },
206
+ "inverse": {
207
+ "value": "{color.white}",
208
+ "type": "color"
209
+ }
210
+ },
211
+ "border": {
212
+ "focus": {
213
+ "value": "{color.blue.80}",
214
+ "type": "color"
215
+ },
216
+ "empty": {
217
+ "value": "{color.gray.40}",
218
+ "type": "color"
219
+ }
220
+ },
221
+ "background": {
222
+ "default": {
223
+ "value": "{color.white}",
224
+ "type": "color"
225
+ },
226
+ "overlay": {
227
+ "value": "{color.black}",
228
+ "type": "color"
229
+ }
230
+ }
231
+ },
232
+ "divider": {
233
+ "value": "{color.gray.40}",
234
+ "type": "color"
235
+ }
236
+ }
237
+ }