@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,54 @@
1
+ [
2
+ {
3
+ "id": "098dc788a03b232460495b9960bc227e47904387",
4
+ "name": "Light",
5
+ "$figmaStyleReferences": {},
6
+ "selectedTokenSets": {
7
+ "reference": "enabled",
8
+ "system": "enabled",
9
+ "component": "enabled",
10
+ "dkn/light/system": "enabled",
11
+ "dkn/light/component": "enabled"
12
+ },
13
+ "group": "DKN"
14
+ },
15
+ {
16
+ "id": "05b7910dfcd804207fd5ceeeac8d1e7a44b35d7c",
17
+ "name": "Dark",
18
+ "$figmaStyleReferences": {},
19
+ "selectedTokenSets": {
20
+ "reference": "enabled",
21
+ "system": "enabled",
22
+ "component": "enabled",
23
+ "dkn/dark/system": "enabled",
24
+ "dkn/dark/component": "enabled"
25
+ },
26
+ "group": "DKN"
27
+ },
28
+ {
29
+ "id": "39a098e7762a7f008490481d4757642b1b668321",
30
+ "name": "Light",
31
+ "$figmaStyleReferences": {},
32
+ "selectedTokenSets": {
33
+ "reference": "enabled",
34
+ "system": "enabled",
35
+ "component": "enabled",
36
+ "aaf/light/system": "enabled",
37
+ "aaf/light/component": "enabled"
38
+ },
39
+ "group": "AAF"
40
+ },
41
+ {
42
+ "id": "46b7b45ad095e7d7cf169eceb410a2511fa4a1f0",
43
+ "name": "Dark",
44
+ "$figmaStyleReferences": {},
45
+ "selectedTokenSets": {
46
+ "reference": "enabled",
47
+ "system": "enabled",
48
+ "component": "enabled",
49
+ "aaf/dark/system": "enabled",
50
+ "aaf/dark/component": "enabled"
51
+ },
52
+ "group": "AAF"
53
+ }
54
+ ]
@@ -0,0 +1,113 @@
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
+ "shadow": {
20
+ "value": "{shadow.white}",
21
+ "type": "boxShadow"
22
+ }
23
+ },
24
+ "icon": {
25
+ "color": {
26
+ "background": {
27
+ "value": "{color.background.object}",
28
+ "type": "color"
29
+ }
30
+ }
31
+ },
32
+ "button": {
33
+ "color": {
34
+ "background": {
35
+ "primary": {
36
+ "active": {
37
+ "value": "{color.brand.primary}",
38
+ "type": "color",
39
+ "description": "Color used for the default state of a secondary button"
40
+ },
41
+ "hover": {
42
+ "value": "{color.brand.secondary}",
43
+ "type": "color"
44
+ },
45
+ "press": {
46
+ "value": "{color.red.aaf.300}",
47
+ "type": "color"
48
+ },
49
+ "focus": {
50
+ "value": "{color.red.aaf.200}",
51
+ "type": "color"
52
+ },
53
+ "disabled": {
54
+ "value": "{color.gray.80}",
55
+ "type": "color"
56
+ }
57
+ }
58
+ },
59
+ "border": {
60
+ "secondary": {
61
+ "active": {
62
+ "value": "{color.brand.primary}",
63
+ "type": "color"
64
+ },
65
+ "hover": {
66
+ "value": "{color.brand.secondary}",
67
+ "type": "color"
68
+ },
69
+ "press": {
70
+ "value": "{color.red.aaf.300}",
71
+ "type": "color"
72
+ },
73
+ "focus": {
74
+ "value": "{color.red.aaf.200}",
75
+ "type": "color"
76
+ },
77
+ "disabled": {
78
+ "value": "{color.gray.80}",
79
+ "type": "color"
80
+ }
81
+ }
82
+ },
83
+ "text": {
84
+ "secondary": {
85
+ "active": {
86
+ "value": "{color.text.brand.primary}",
87
+ "type": "color"
88
+ },
89
+ "hover": {
90
+ "value": "{color.brand.secondary}",
91
+ "type": "color"
92
+ },
93
+ "press": {
94
+ "value": "{color.red.aaf.300}",
95
+ "type": "color"
96
+ },
97
+ "focus": {
98
+ "value": "{color.red.aaf.200}",
99
+ "type": "color"
100
+ },
101
+ "disabled": {
102
+ "value": "{color.gray.80}",
103
+ "type": "color"
104
+ }
105
+ },
106
+ "primary": {
107
+ "value": "{color.text.theme}",
108
+ "type": "color"
109
+ }
110
+ }
111
+ }
112
+ }
113
+ }
@@ -0,0 +1,49 @@
1
+ {
2
+ "color": {
3
+ "brand": {
4
+ "primary": {
5
+ "value": "{color.red.aaf.400}",
6
+ "type": "color",
7
+ "description": "Primary brand blue"
8
+ },
9
+ "secondary": {
10
+ "value": "{color.red.aaf.600}",
11
+ "type": "color"
12
+ }
13
+ },
14
+ "text": {
15
+ "brand": {
16
+ "primary": {
17
+ "value": "{color.brand.primary}",
18
+ "type": "color"
19
+ }
20
+ },
21
+ "theme": {
22
+ "value": "{color.gray.90}",
23
+ "type": "color"
24
+ },
25
+ "default": {
26
+ "value": "{color.white}",
27
+ "type": "color"
28
+ },
29
+ "default-sub": {
30
+ "value": "{color.gray.10}",
31
+ "type": "color"
32
+ }
33
+ },
34
+ "background": {
35
+ "theme": {
36
+ "value": "{color.black}",
37
+ "type": "color"
38
+ },
39
+ "component": {
40
+ "value": "{color.gray.90}",
41
+ "type": "color"
42
+ },
43
+ "object": {
44
+ "value": "{color.white}",
45
+ "type": "color"
46
+ }
47
+ }
48
+ }
49
+ }
@@ -0,0 +1,113 @@
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
+ "shadow": {
20
+ "value": "{shadow.black}",
21
+ "type": "boxShadow"
22
+ }
23
+ },
24
+ "icon": {
25
+ "color": {
26
+ "background": {
27
+ "value": "{color.background.object}",
28
+ "type": "color"
29
+ }
30
+ }
31
+ },
32
+ "button": {
33
+ "color": {
34
+ "background": {
35
+ "primary": {
36
+ "active": {
37
+ "value": "{color.brand.primary}",
38
+ "type": "color",
39
+ "description": "Color used for the default state of a secondary button"
40
+ },
41
+ "hover": {
42
+ "value": "{color.brand.secondary}",
43
+ "type": "color"
44
+ },
45
+ "press": {
46
+ "value": "{color.red.aaf.500}",
47
+ "type": "color"
48
+ },
49
+ "focus": {
50
+ "value": "{color.red.aaf.300}",
51
+ "type": "color"
52
+ },
53
+ "disabled": {
54
+ "value": "{color.gray.30}",
55
+ "type": "color"
56
+ }
57
+ }
58
+ },
59
+ "border": {
60
+ "secondary": {
61
+ "active": {
62
+ "value": "{color.brand.primary}",
63
+ "type": "color"
64
+ },
65
+ "hover": {
66
+ "value": "{color.brand.secondary}",
67
+ "type": "color"
68
+ },
69
+ "press": {
70
+ "value": "{color.red.aaf.500}",
71
+ "type": "color"
72
+ },
73
+ "focus": {
74
+ "value": "{color.red.aaf.300}",
75
+ "type": "color"
76
+ },
77
+ "disabled": {
78
+ "value": "{color.gray.30}",
79
+ "type": "color"
80
+ }
81
+ }
82
+ },
83
+ "text": {
84
+ "secondary": {
85
+ "active": {
86
+ "value": "{color.text.brand.primary}",
87
+ "type": "color"
88
+ },
89
+ "hover": {
90
+ "value": "{color.brand.secondary}",
91
+ "type": "color"
92
+ },
93
+ "press": {
94
+ "value": "{color.red.aaf.500}",
95
+ "type": "color"
96
+ },
97
+ "focus": {
98
+ "value": "{color.red.aaf.300}",
99
+ "type": "color"
100
+ },
101
+ "disabled": {
102
+ "value": "{color.gray.30}",
103
+ "type": "color"
104
+ }
105
+ },
106
+ "primary": {
107
+ "value": "{color.text.theme}",
108
+ "type": "color"
109
+ }
110
+ }
111
+ }
112
+ }
113
+ }
@@ -0,0 +1,49 @@
1
+ {
2
+ "color": {
3
+ "brand": {
4
+ "primary": {
5
+ "value": "{color.red.aaf.600}",
6
+ "type": "color",
7
+ "description": "Primary brand blue"
8
+ },
9
+ "secondary": {
10
+ "value": "{color.red.aaf.400}",
11
+ "type": "color"
12
+ }
13
+ },
14
+ "text": {
15
+ "brand": {
16
+ "primary": {
17
+ "value": "{color.brand.primary}",
18
+ "type": "color"
19
+ }
20
+ },
21
+ "theme": {
22
+ "value": "{color.white}",
23
+ "type": "color"
24
+ },
25
+ "default": {
26
+ "value": "{color.gray.90}",
27
+ "type": "color"
28
+ },
29
+ "default-sub": {
30
+ "value": "{color.gray.70}",
31
+ "type": "color"
32
+ }
33
+ },
34
+ "background": {
35
+ "theme": {
36
+ "value": "{color.white}",
37
+ "type": "color"
38
+ },
39
+ "component": {
40
+ "value": "{color.white}",
41
+ "type": "color"
42
+ },
43
+ "object": {
44
+ "value": "{color.gray.90}",
45
+ "type": "color"
46
+ }
47
+ }
48
+ }
49
+ }
@@ -0,0 +1,184 @@
1
+ {
2
+ "checkbox": {
3
+ "border": {
4
+ "unselected": {
5
+ "value": {
6
+ "color": "{color.gray.50}",
7
+ "width": "2",
8
+ "style": "solid"
9
+ },
10
+ "type": "border"
11
+ }
12
+ },
13
+ "color": {
14
+ "background": {
15
+ "value": "{color.blue.60}",
16
+ "type": "color"
17
+ },
18
+ "icon": {
19
+ "value": "{color.white}",
20
+ "type": "color"
21
+ }
22
+ }
23
+ },
24
+ "dropdown": {
25
+ "color": {
26
+ "background": {
27
+ "value": "{color.white}",
28
+ "type": "color"
29
+ },
30
+ "text": {
31
+ "value": "{color.gray.90}",
32
+ "type": "color"
33
+ }
34
+ }
35
+ },
36
+ "dropdown-tray": {
37
+ "color": {
38
+ "background": {
39
+ "selected": {
40
+ "value": "{color.gray.20}",
41
+ "type": "color"
42
+ }
43
+ }
44
+ }
45
+ },
46
+ "table": {
47
+ "color": {
48
+ "background": {
49
+ "value": "{color.white}",
50
+ "type": "color"
51
+ },
52
+ "text": {
53
+ "value": "{color.gray.90}",
54
+ "type": "color"
55
+ }
56
+ },
57
+ "header": {
58
+ "border": {
59
+ "value": {
60
+ "color": "{color.black}",
61
+ "width": "1"
62
+ },
63
+ "type": "border"
64
+ }
65
+ },
66
+ "cell": {
67
+ "border": {
68
+ "value": {
69
+ "color": "{color.gray.20}",
70
+ "width": "1"
71
+ },
72
+ "type": "border"
73
+ }
74
+ },
75
+ "page-number": {
76
+ "color": {
77
+ "background": {
78
+ "selected": {
79
+ "value": "{color.gray.70}",
80
+ "type": "color"
81
+ }
82
+ },
83
+ "text": {
84
+ "default": {
85
+ "value": "{color.gray.90}",
86
+ "type": "color"
87
+ },
88
+ "selected": {
89
+ "value": "{color.white}",
90
+ "type": "color"
91
+ }
92
+ }
93
+ },
94
+ "border": {
95
+ "hover": {
96
+ "value": {
97
+ "color": "{color.gray.70}",
98
+ "width": "1"
99
+ },
100
+ "type": "border"
101
+ }
102
+ }
103
+ }
104
+ },
105
+ "login": {
106
+ "sso-button": {
107
+ "border": {
108
+ "value": {
109
+ "color": "{color.gray.80}",
110
+ "width": "1"
111
+ },
112
+ "type": "border"
113
+ },
114
+ "color": {
115
+ "text": {
116
+ "value": "{color.gray.80}",
117
+ "type": "color"
118
+ }
119
+ }
120
+ }
121
+ },
122
+ "form": {
123
+ "color": {
124
+ "background": {
125
+ "value": "{color.white}",
126
+ "type": "color"
127
+ },
128
+ "text": {
129
+ "default": {
130
+ "value": "{color.gray.100}",
131
+ "type": "color"
132
+ },
133
+ "placeholder": {
134
+ "value": "{color.gray.70}",
135
+ "type": "color"
136
+ },
137
+ "positive": {
138
+ "value": "{color.feedback.positive}",
139
+ "type": "color"
140
+ },
141
+ "negative": {
142
+ "value": "{color.feedback.negative}",
143
+ "type": "color"
144
+ }
145
+ }
146
+ }
147
+ },
148
+ "notification": {
149
+ "color": {
150
+ "background": {
151
+ "success": {
152
+ "value": "{color.feedback.positive}",
153
+ "type": "color"
154
+ },
155
+ "error": {
156
+ "value": "{color.feedback.negative}",
157
+ "type": "color"
158
+ },
159
+ "warning": {
160
+ "value": "{color.feedback.warning}",
161
+ "type": "color"
162
+ },
163
+ "alarm": {
164
+ "value": "{color.feedback.alarm}",
165
+ "type": "color"
166
+ },
167
+ "information": {
168
+ "value": "{color.feedback.information}",
169
+ "type": "color"
170
+ }
171
+ }
172
+ }
173
+ },
174
+ "icon": {
175
+ "color": {
176
+ "background": {
177
+ "neutral": {
178
+ "value": "{color.gray.60}",
179
+ "type": "color"
180
+ }
181
+ }
182
+ }
183
+ }
184
+ }