@teamturing/token-studio 1.12.0 → 1.14.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.
|
@@ -75,6 +75,7 @@ declare const shade: {
|
|
|
75
75
|
readonly white: "#FFFFFF";
|
|
76
76
|
readonly white10A: "#FFFFFF1A";
|
|
77
77
|
readonly black: "#000000";
|
|
78
|
+
readonly darkGray: "#202124";
|
|
78
79
|
readonly black60A: "#00000099";
|
|
79
80
|
};
|
|
80
81
|
declare const fuchsiaPink: {
|
|
@@ -125,7 +126,51 @@ declare const mustardYellow: {
|
|
|
125
126
|
readonly mustardYellow800: "#876931";
|
|
126
127
|
readonly mustardYellow900: "#675025";
|
|
127
128
|
};
|
|
129
|
+
declare const orange: {
|
|
130
|
+
readonly orange50: "#FFF1E7";
|
|
131
|
+
readonly orange100: "#FFD2B5";
|
|
132
|
+
readonly orange200: "#FFBD91";
|
|
133
|
+
readonly orange300: "#FF9F5E";
|
|
134
|
+
readonly orange400: "#FF8C3F";
|
|
135
|
+
readonly orange500: "#FF6F0F";
|
|
136
|
+
readonly orange600: "#E8650E";
|
|
137
|
+
readonly orange700: "#B54F0B";
|
|
138
|
+
readonly orange800: "#8C3D08";
|
|
139
|
+
readonly orange900: "#6B2F06";
|
|
140
|
+
};
|
|
141
|
+
declare const lime: {
|
|
142
|
+
readonly lime50: "#EEFAE6";
|
|
143
|
+
readonly lime100: "#CBEFB1";
|
|
144
|
+
readonly lime200: "#B2E88B";
|
|
145
|
+
readonly lime300: "#8FDD55";
|
|
146
|
+
readonly lime400: "#79D635";
|
|
147
|
+
readonly lime500: "#58CC02";
|
|
148
|
+
readonly lime600: "#50BA02";
|
|
149
|
+
readonly lime700: "#3E9101";
|
|
150
|
+
readonly lime800: "#307001";
|
|
151
|
+
readonly lime900: "#255601";
|
|
152
|
+
};
|
|
128
153
|
declare const palette: {
|
|
154
|
+
lime50: "#EEFAE6";
|
|
155
|
+
lime100: "#CBEFB1";
|
|
156
|
+
lime200: "#B2E88B";
|
|
157
|
+
lime300: "#8FDD55";
|
|
158
|
+
lime400: "#79D635";
|
|
159
|
+
lime500: "#58CC02";
|
|
160
|
+
lime600: "#50BA02";
|
|
161
|
+
lime700: "#3E9101";
|
|
162
|
+
lime800: "#307001";
|
|
163
|
+
lime900: "#255601";
|
|
164
|
+
orange50: "#FFF1E7";
|
|
165
|
+
orange100: "#FFD2B5";
|
|
166
|
+
orange200: "#FFBD91";
|
|
167
|
+
orange300: "#FF9F5E";
|
|
168
|
+
orange400: "#FF8C3F";
|
|
169
|
+
orange500: "#FF6F0F";
|
|
170
|
+
orange600: "#E8650E";
|
|
171
|
+
orange700: "#B54F0B";
|
|
172
|
+
orange800: "#8C3D08";
|
|
173
|
+
orange900: "#6B2F06";
|
|
129
174
|
mustardYellow50: "#FEF9EE";
|
|
130
175
|
mustardYellow100: "#FCEBCC";
|
|
131
176
|
mustardYellow200: "#FAE2B3";
|
|
@@ -170,6 +215,7 @@ declare const palette: {
|
|
|
170
215
|
white: "#FFFFFF";
|
|
171
216
|
white10A: "#FFFFFF1A";
|
|
172
217
|
black: "#000000";
|
|
218
|
+
darkGray: "#202124";
|
|
173
219
|
black60A: "#00000099";
|
|
174
220
|
blue50: "#edf2fd";
|
|
175
221
|
blue100: "#c6d8fa";
|
|
@@ -233,4 +279,4 @@ declare const palette: {
|
|
|
233
279
|
gray900: "#33373B";
|
|
234
280
|
};
|
|
235
281
|
export default palette;
|
|
236
|
-
export { gray, violet, green, yellow, red, blue, shade, fuchsiaPink, skyBlue, indianRed, mustardYellow };
|
|
282
|
+
export { gray, violet, green, yellow, red, blue, shade, fuchsiaPink, skyBlue, indianRed, mustardYellow, orange, lime };
|
package/dist/index.js
CHANGED
|
@@ -86,6 +86,7 @@ const shade = {
|
|
|
86
86
|
white: '#FFFFFF',
|
|
87
87
|
white10A: '#FFFFFF1A',
|
|
88
88
|
black: '#000000',
|
|
89
|
+
darkGray: '#202124',
|
|
89
90
|
black60A: '#00000099'
|
|
90
91
|
};
|
|
91
92
|
const fuchsiaPink = {
|
|
@@ -136,6 +137,30 @@ const mustardYellow = {
|
|
|
136
137
|
mustardYellow800: '#876931',
|
|
137
138
|
mustardYellow900: '#675025'
|
|
138
139
|
};
|
|
140
|
+
const orange = {
|
|
141
|
+
orange50: '#FFF1E7',
|
|
142
|
+
orange100: '#FFD2B5',
|
|
143
|
+
orange200: '#FFBD91',
|
|
144
|
+
orange300: '#FF9F5E',
|
|
145
|
+
orange400: '#FF8C3F',
|
|
146
|
+
orange500: '#FF6F0F',
|
|
147
|
+
orange600: '#E8650E',
|
|
148
|
+
orange700: '#B54F0B',
|
|
149
|
+
orange800: '#8C3D08',
|
|
150
|
+
orange900: '#6B2F06'
|
|
151
|
+
};
|
|
152
|
+
const lime = {
|
|
153
|
+
lime50: '#EEFAE6',
|
|
154
|
+
lime100: '#CBEFB1',
|
|
155
|
+
lime200: '#B2E88B',
|
|
156
|
+
lime300: '#8FDD55',
|
|
157
|
+
lime400: '#79D635',
|
|
158
|
+
lime500: '#58CC02',
|
|
159
|
+
lime600: '#50BA02',
|
|
160
|
+
lime700: '#3E9101',
|
|
161
|
+
lime800: '#307001',
|
|
162
|
+
lime900: '#255601'
|
|
163
|
+
};
|
|
139
164
|
const palette = {
|
|
140
165
|
...gray,
|
|
141
166
|
...violet,
|
|
@@ -147,7 +172,9 @@ const palette = {
|
|
|
147
172
|
...fuchsiaPink,
|
|
148
173
|
...skyBlue,
|
|
149
174
|
...indianRed,
|
|
150
|
-
...mustardYellow
|
|
175
|
+
...mustardYellow,
|
|
176
|
+
...orange,
|
|
177
|
+
...lime
|
|
151
178
|
};
|
|
152
179
|
|
|
153
180
|
var index = /*#__PURE__*/Object.freeze({
|
|
@@ -158,7 +185,9 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
158
185
|
gray: gray,
|
|
159
186
|
green: green,
|
|
160
187
|
indianRed: indianRed,
|
|
188
|
+
lime: lime,
|
|
161
189
|
mustardYellow: mustardYellow,
|
|
190
|
+
orange: orange,
|
|
162
191
|
red: red,
|
|
163
192
|
shade: shade,
|
|
164
193
|
skyBlue: skyBlue,
|
|
@@ -222,7 +251,7 @@ const bgColor = {
|
|
|
222
251
|
'bg/accent/red/subtle': palette.red400,
|
|
223
252
|
'bg/accent/red': palette.red500,
|
|
224
253
|
'bg/accent/gray/subtlest': palette.gray200,
|
|
225
|
-
'bg/selected/
|
|
254
|
+
'bg/selected/primary': palette.violet500,
|
|
226
255
|
'bg/selected': palette.gray900,
|
|
227
256
|
'bg/selected/subtle': palette.gray100,
|
|
228
257
|
'bg/inverse': palette.black,
|
|
@@ -266,7 +295,7 @@ const iconColor = {
|
|
|
266
295
|
'icon/inverse': palette.white,
|
|
267
296
|
'icon/disabled': palette.gray300,
|
|
268
297
|
'icon/disabled/subtler': palette.gray200,
|
|
269
|
-
'icon/selected/
|
|
298
|
+
'icon/selected/primary': palette.violet500,
|
|
270
299
|
'icon/selected': palette.gray900,
|
|
271
300
|
'icon/primary/subtle': palette.violet300,
|
|
272
301
|
'icon/primary': palette.violet500,
|
|
@@ -778,28 +807,21 @@ const typography = {
|
|
|
778
807
|
};
|
|
779
808
|
|
|
780
809
|
exports.baseBreakpoints = baseBreakpoints;
|
|
781
|
-
exports.bgColor = bgColor;
|
|
782
810
|
exports.bgGradient = bgGradient;
|
|
783
|
-
exports.borderColor = borderColor;
|
|
784
811
|
exports.borderGradient = borderGradient;
|
|
785
812
|
exports.breakpoints = breakpoints;
|
|
786
813
|
exports.color = color;
|
|
787
|
-
exports.dimColor = dimColor;
|
|
788
814
|
exports.elevation = elevation;
|
|
789
815
|
exports.fontSizes = fontSizes;
|
|
790
816
|
exports.fontWeights = fontWeights;
|
|
791
817
|
exports.gradient = gradient;
|
|
792
|
-
exports.iconColor = iconColor;
|
|
793
818
|
exports.lineHeights = lineHeights;
|
|
794
|
-
exports.linkColor = linkColor;
|
|
795
819
|
exports.opacity = opacity;
|
|
796
820
|
exports.overlayGradient = overlayGradient;
|
|
797
821
|
exports.palette = index;
|
|
798
822
|
exports.radii = radii;
|
|
799
|
-
exports.scaleColor = scaleColor;
|
|
800
823
|
exports.shadowElevation = shadowElevation;
|
|
801
824
|
exports.space = space;
|
|
802
825
|
exports.surfaceElevation = surfaceElevation;
|
|
803
|
-
exports.textColor = textColor;
|
|
804
826
|
exports.textGradient = textGradient;
|
|
805
827
|
exports.typography = typography;
|
|
@@ -54,7 +54,7 @@ declare const bgColor: {
|
|
|
54
54
|
readonly 'bg/accent/red/subtle': "#F5525D";
|
|
55
55
|
readonly 'bg/accent/red': "#F22735";
|
|
56
56
|
readonly 'bg/accent/gray/subtlest': "#E5E7EB";
|
|
57
|
-
readonly 'bg/selected/
|
|
57
|
+
readonly 'bg/selected/primary': "#835EEB";
|
|
58
58
|
readonly 'bg/selected': "#33373B";
|
|
59
59
|
readonly 'bg/selected/subtle': "#F3F4F6";
|
|
60
60
|
readonly 'bg/inverse': "#000000";
|
|
@@ -98,7 +98,7 @@ declare const iconColor: {
|
|
|
98
98
|
readonly 'icon/inverse': "#FFFFFF";
|
|
99
99
|
readonly 'icon/disabled': "#D1D5DB";
|
|
100
100
|
readonly 'icon/disabled/subtler': "#E5E7EB";
|
|
101
|
-
readonly 'icon/selected/
|
|
101
|
+
readonly 'icon/selected/primary': "#835EEB";
|
|
102
102
|
readonly 'icon/selected': "#33373B";
|
|
103
103
|
readonly 'icon/primary/subtle': "#C6B5F6";
|
|
104
104
|
readonly 'icon/primary': "#835EEB";
|
|
@@ -310,7 +310,7 @@ declare const color: {
|
|
|
310
310
|
readonly 'icon/inverse': "#FFFFFF";
|
|
311
311
|
readonly 'icon/disabled': "#D1D5DB";
|
|
312
312
|
readonly 'icon/disabled/subtler': "#E5E7EB";
|
|
313
|
-
readonly 'icon/selected/
|
|
313
|
+
readonly 'icon/selected/primary': "#835EEB";
|
|
314
314
|
readonly 'icon/selected': "#33373B";
|
|
315
315
|
readonly 'icon/primary/subtle': "#C6B5F6";
|
|
316
316
|
readonly 'icon/primary': "#835EEB";
|
|
@@ -366,7 +366,7 @@ declare const color: {
|
|
|
366
366
|
readonly 'bg/accent/red/subtle': "#F5525D";
|
|
367
367
|
readonly 'bg/accent/red': "#F22735";
|
|
368
368
|
readonly 'bg/accent/gray/subtlest': "#E5E7EB";
|
|
369
|
-
readonly 'bg/selected/
|
|
369
|
+
readonly 'bg/selected/primary': "#835EEB";
|
|
370
370
|
readonly 'bg/selected': "#33373B";
|
|
371
371
|
readonly 'bg/selected/subtle': "#F3F4F6";
|
|
372
372
|
readonly 'bg/inverse': "#000000";
|
|
@@ -407,5 +407,4 @@ type DimColorKey = keyof typeof dimColor;
|
|
|
407
407
|
type ScaleColorKey = keyof typeof scaleColor;
|
|
408
408
|
type ColorKey = keyof typeof color;
|
|
409
409
|
export default color;
|
|
410
|
-
export { textColor, bgColor, borderColor, iconColor, linkColor, dimColor, scaleColor };
|
|
411
410
|
export type { ColorKey, TextColorKey, BgColorKey, BorderColorKey, IconColorKey, LinkColorKey, DimColorKey, ScaleColorKey, };
|
package/dist/token/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { default as breakpoints, baseBreakpoints } from './breakpoints';
|
|
2
|
-
export { default as color
|
|
2
|
+
export { default as color } from './color';
|
|
3
3
|
export type { ColorKey, BgColorKey, BorderColorKey, DimColorKey, IconColorKey, LinkColorKey, ScaleColorKey, TextColorKey, } from './color';
|
|
4
4
|
export { default as elevation, shadowElevation, surfaceElevation } from './elevation';
|
|
5
5
|
export type { ElevationKey, ShadowElevationKey, SurfaceElevationKey } from './elevation';
|
|
@@ -75,6 +75,7 @@ const shade = {
|
|
|
75
75
|
white: '#FFFFFF',
|
|
76
76
|
white10A: '#FFFFFF1A',
|
|
77
77
|
black: '#000000',
|
|
78
|
+
darkGray: '#202124',
|
|
78
79
|
black60A: '#00000099'
|
|
79
80
|
};
|
|
80
81
|
const fuchsiaPink = {
|
|
@@ -125,6 +126,30 @@ const mustardYellow = {
|
|
|
125
126
|
mustardYellow800: '#876931',
|
|
126
127
|
mustardYellow900: '#675025'
|
|
127
128
|
};
|
|
129
|
+
const orange = {
|
|
130
|
+
orange50: '#FFF1E7',
|
|
131
|
+
orange100: '#FFD2B5',
|
|
132
|
+
orange200: '#FFBD91',
|
|
133
|
+
orange300: '#FF9F5E',
|
|
134
|
+
orange400: '#FF8C3F',
|
|
135
|
+
orange500: '#FF6F0F',
|
|
136
|
+
orange600: '#E8650E',
|
|
137
|
+
orange700: '#B54F0B',
|
|
138
|
+
orange800: '#8C3D08',
|
|
139
|
+
orange900: '#6B2F06'
|
|
140
|
+
};
|
|
141
|
+
const lime = {
|
|
142
|
+
lime50: '#EEFAE6',
|
|
143
|
+
lime100: '#CBEFB1',
|
|
144
|
+
lime200: '#B2E88B',
|
|
145
|
+
lime300: '#8FDD55',
|
|
146
|
+
lime400: '#79D635',
|
|
147
|
+
lime500: '#58CC02',
|
|
148
|
+
lime600: '#50BA02',
|
|
149
|
+
lime700: '#3E9101',
|
|
150
|
+
lime800: '#307001',
|
|
151
|
+
lime900: '#255601'
|
|
152
|
+
};
|
|
128
153
|
const palette = {
|
|
129
154
|
...gray,
|
|
130
155
|
...violet,
|
|
@@ -136,7 +161,9 @@ const palette = {
|
|
|
136
161
|
...fuchsiaPink,
|
|
137
162
|
...skyBlue,
|
|
138
163
|
...indianRed,
|
|
139
|
-
...mustardYellow
|
|
164
|
+
...mustardYellow,
|
|
165
|
+
...orange,
|
|
166
|
+
...lime
|
|
140
167
|
};
|
|
141
168
|
|
|
142
|
-
export { blue, palette as default, fuchsiaPink, gray, green, indianRed, mustardYellow, red, shade, skyBlue, violet, yellow };
|
|
169
|
+
export { blue, palette as default, fuchsiaPink, gray, green, indianRed, lime, mustardYellow, orange, red, shade, skyBlue, violet, yellow };
|
package/esm/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { baseBreakpoints, default as breakpoints } from './token/breakpoints/index.js';
|
|
2
|
-
export {
|
|
2
|
+
export { default as color } from './token/color/index.js';
|
|
3
3
|
export { default as elevation, shadowElevation, surfaceElevation } from './token/elevation/index.js';
|
|
4
4
|
export { bgGradient, borderGradient, default as gradient, overlayGradient, textGradient } from './token/gradient/index.js';
|
|
5
5
|
export { default as opacity } from './token/opacity/index.js';
|
package/esm/token/color/index.js
CHANGED
|
@@ -56,7 +56,7 @@ const bgColor = {
|
|
|
56
56
|
'bg/accent/red/subtle': palette.red400,
|
|
57
57
|
'bg/accent/red': palette.red500,
|
|
58
58
|
'bg/accent/gray/subtlest': palette.gray200,
|
|
59
|
-
'bg/selected/
|
|
59
|
+
'bg/selected/primary': palette.violet500,
|
|
60
60
|
'bg/selected': palette.gray900,
|
|
61
61
|
'bg/selected/subtle': palette.gray100,
|
|
62
62
|
'bg/inverse': palette.black,
|
|
@@ -100,7 +100,7 @@ const iconColor = {
|
|
|
100
100
|
'icon/inverse': palette.white,
|
|
101
101
|
'icon/disabled': palette.gray300,
|
|
102
102
|
'icon/disabled/subtler': palette.gray200,
|
|
103
|
-
'icon/selected/
|
|
103
|
+
'icon/selected/primary': palette.violet500,
|
|
104
104
|
'icon/selected': palette.gray900,
|
|
105
105
|
'icon/primary/subtle': palette.violet300,
|
|
106
106
|
'icon/primary': palette.violet500,
|
|
@@ -216,4 +216,4 @@ const color = {
|
|
|
216
216
|
...scaleColor
|
|
217
217
|
};
|
|
218
218
|
|
|
219
|
-
export {
|
|
219
|
+
export { color as default };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teamturing/token-studio",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.14.0",
|
|
4
4
|
"description": "Foundations, tokens for Mathking design system",
|
|
5
5
|
"author": "Sungchang Park <psch300@gmail.com> (https://github.com/psch300)",
|
|
6
6
|
"homepage": "https://github.com/weareteamturing/bombe#readme",
|
|
@@ -27,5 +27,5 @@
|
|
|
27
27
|
"bugs": {
|
|
28
28
|
"url": "https://github.com/weareteamturing/bombe/issues"
|
|
29
29
|
},
|
|
30
|
-
"gitHead": "
|
|
30
|
+
"gitHead": "0f7f327feb42aafaa9138da7185402e7094e6bf8"
|
|
31
31
|
}
|