@teamturing/token-studio 1.15.0 → 1.16.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/dist/index.js +20 -15
- package/dist/token/color/gpai/dark.d.ts +3 -1
- package/dist/token/color/gpai/light.d.ts +2 -0
- package/dist/token/color/index.d.ts +88 -81
- package/dist/token/elevation/index.d.ts +2 -14
- package/dist/token/index.d.ts +2 -2
- package/esm/index.js +1 -1
- package/esm/token/color/gpai/dark.js +7 -2
- package/esm/token/color/gpai/light.js +6 -1
- package/esm/token/color/index.js +6 -1
- package/esm/token/elevation/index.js +2 -11
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -206,7 +206,7 @@ const textColor$2 = {
|
|
|
206
206
|
'text/neutral/subtler': palette.gray400,
|
|
207
207
|
'text/neutral/subtle': palette.gray200,
|
|
208
208
|
'text/neutral': palette.gray50,
|
|
209
|
-
'text/inverse': palette.
|
|
209
|
+
'text/inverse': palette.gray900,
|
|
210
210
|
'text/inverse/subtle': palette.gray700,
|
|
211
211
|
'text/inverse/subtler': palette.gray600,
|
|
212
212
|
'text/disabled': palette.gray500,
|
|
@@ -400,6 +400,10 @@ const scaleColor$2 = {
|
|
|
400
400
|
'scale/yellow/8': palette.mustardYellow100,
|
|
401
401
|
'scale/yellow/9': palette.mustardYellow50
|
|
402
402
|
};
|
|
403
|
+
const surfaceColor$2 = {
|
|
404
|
+
'surface': palette.darkGray,
|
|
405
|
+
'surface/overlay': palette.darkGray
|
|
406
|
+
};
|
|
403
407
|
const gpaiDarkColor = {
|
|
404
408
|
...textColor$2,
|
|
405
409
|
...bgColor$2,
|
|
@@ -407,7 +411,8 @@ const gpaiDarkColor = {
|
|
|
407
411
|
...iconColor$2,
|
|
408
412
|
...linkColor$2,
|
|
409
413
|
...dimColor$2,
|
|
410
|
-
...scaleColor$2
|
|
414
|
+
...scaleColor$2,
|
|
415
|
+
...surfaceColor$2
|
|
411
416
|
};
|
|
412
417
|
|
|
413
418
|
const textColor$1 = {
|
|
@@ -615,6 +620,10 @@ const scaleColor$1 = {
|
|
|
615
620
|
'scale/yellow/8': palette.mustardYellow800,
|
|
616
621
|
'scale/yellow/9': palette.mustardYellow900
|
|
617
622
|
};
|
|
623
|
+
const surfaceColor$1 = {
|
|
624
|
+
'surface': palette.white,
|
|
625
|
+
'surface/overlay': palette.white
|
|
626
|
+
};
|
|
618
627
|
const gpaiLightColor = {
|
|
619
628
|
...textColor$1,
|
|
620
629
|
...bgColor$1,
|
|
@@ -622,7 +631,8 @@ const gpaiLightColor = {
|
|
|
622
631
|
...iconColor$1,
|
|
623
632
|
...linkColor$1,
|
|
624
633
|
...dimColor$1,
|
|
625
|
-
...scaleColor$1
|
|
634
|
+
...scaleColor$1,
|
|
635
|
+
...surfaceColor$1
|
|
626
636
|
};
|
|
627
637
|
|
|
628
638
|
const textColor = {
|
|
@@ -830,6 +840,10 @@ const scaleColor = {
|
|
|
830
840
|
'scale/yellow/8': palette.mustardYellow800,
|
|
831
841
|
'scale/yellow/9': palette.mustardYellow900
|
|
832
842
|
};
|
|
843
|
+
const surfaceColor = {
|
|
844
|
+
'surface': palette.white,
|
|
845
|
+
'surface/overlay': palette.white
|
|
846
|
+
};
|
|
833
847
|
const color = {
|
|
834
848
|
...textColor,
|
|
835
849
|
...bgColor,
|
|
@@ -837,23 +851,16 @@ const color = {
|
|
|
837
851
|
...iconColor,
|
|
838
852
|
...linkColor,
|
|
839
853
|
...dimColor,
|
|
840
|
-
...scaleColor
|
|
854
|
+
...scaleColor,
|
|
855
|
+
...surfaceColor
|
|
841
856
|
};
|
|
842
857
|
|
|
843
858
|
const shadow = {
|
|
844
859
|
shadowMedium: '0px 0px 1px 0px rgba(0, 0, 0, 0.06), 0px 8px 24px 0px rgba(0, 0, 0, 0.12)'
|
|
845
860
|
};
|
|
846
861
|
|
|
847
|
-
const surfaceElevation = {
|
|
848
|
-
'surface': palette.white,
|
|
849
|
-
'surface/overlay': palette.white
|
|
850
|
-
};
|
|
851
|
-
const shadowElevation = {
|
|
852
|
-
'shadow/overlay': shadow.shadowMedium
|
|
853
|
-
};
|
|
854
862
|
const elevation = {
|
|
855
|
-
|
|
856
|
-
...shadowElevation
|
|
863
|
+
'shadow/overlay': shadow.shadowMedium
|
|
857
864
|
};
|
|
858
865
|
|
|
859
866
|
const colorStopList = {
|
|
@@ -1251,8 +1258,6 @@ exports.opacity = opacity;
|
|
|
1251
1258
|
exports.overlayGradient = overlayGradient;
|
|
1252
1259
|
exports.palette = index;
|
|
1253
1260
|
exports.radii = radii;
|
|
1254
|
-
exports.shadowElevation = shadowElevation;
|
|
1255
1261
|
exports.space = space;
|
|
1256
|
-
exports.surfaceElevation = surfaceElevation;
|
|
1257
1262
|
exports.textGradient = textGradient;
|
|
1258
1263
|
exports.typography = typography;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
declare const gpaiDarkColor: {
|
|
2
|
+
readonly surface: "#202124";
|
|
3
|
+
readonly 'surface/overlay': "#202124";
|
|
2
4
|
readonly 'scale/violet/0': "#372763";
|
|
3
5
|
readonly 'scale/violet/1': "#483481";
|
|
4
6
|
readonly 'scale/violet/2': "#5D43A7";
|
|
@@ -182,7 +184,7 @@ declare const gpaiDarkColor: {
|
|
|
182
184
|
readonly 'text/neutral/subtler': "#8D94A0";
|
|
183
185
|
readonly 'text/neutral/subtle': "#E5E7EB";
|
|
184
186
|
readonly 'text/neutral': "#F9FAFB";
|
|
185
|
-
readonly 'text/inverse': "#
|
|
187
|
+
readonly 'text/inverse': "#33373B";
|
|
186
188
|
readonly 'text/inverse/subtle': "#575C64";
|
|
187
189
|
readonly 'text/inverse/subtler': "#6F7680";
|
|
188
190
|
readonly 'text/disabled': "#7A828D";
|
|
@@ -124,88 +124,94 @@ declare const dimColor: {
|
|
|
124
124
|
readonly dim: "#00000099";
|
|
125
125
|
};
|
|
126
126
|
declare const scaleColor: {
|
|
127
|
-
'scale/violet/0': "#F3EFFD";
|
|
128
|
-
'scale/violet/1': "#E8E1FB";
|
|
129
|
-
'scale/violet/2': "#D9CDF9";
|
|
130
|
-
'scale/violet/3': "#C6B5F6";
|
|
131
|
-
'scale/violet/4': "#9C7EEF";
|
|
132
|
-
'scale/violet/5': "#835EEB";
|
|
133
|
-
'scale/violet/6': "#7756D6";
|
|
134
|
-
'scale/violet/7': "#5D43A7";
|
|
135
|
-
'scale/violet/8': "#483481";
|
|
136
|
-
'scale/violet/9': "#372763";
|
|
137
|
-
'scale/gray/0': "#F9FAFB";
|
|
138
|
-
'scale/gray/1': "#F3F4F6";
|
|
139
|
-
'scale/gray/2': "#E5E7EB";
|
|
140
|
-
'scale/gray/3': "#D1D5DB";
|
|
141
|
-
'scale/gray/4': "#8D94A0";
|
|
142
|
-
'scale/gray/5': "#7A828D";
|
|
143
|
-
'scale/gray/6': "#6F7680";
|
|
144
|
-
'scale/gray/7': "#575C64";
|
|
145
|
-
'scale/gray/8': "#43484E";
|
|
146
|
-
'scale/gray/9': "#33373B";
|
|
147
|
-
'scale/blue/0': "#edf2fd";
|
|
148
|
-
'scale/blue/1': "#c6d8fa";
|
|
149
|
-
'scale/blue/2': "#abc5f7";
|
|
150
|
-
'scale/blue/3': "#84aaf4";
|
|
151
|
-
'scale/blue/4': "#6d99f1";
|
|
152
|
-
'scale/blue/5': "#4880ee";
|
|
153
|
-
'scale/blue/6': "#4274d9";
|
|
154
|
-
'scale/blue/7': "#335ba9";
|
|
155
|
-
'scale/blue/8': "#284683";
|
|
156
|
-
'scale/blue/9': "#1e3664";
|
|
157
|
-
'scale/green/0': "#E9FAF6";
|
|
158
|
-
'scale/green/1': "#BAEFE2";
|
|
159
|
-
'scale/green/2': "#98E8D4";
|
|
160
|
-
'scale/green/3': "#69DDC0";
|
|
161
|
-
'scale/green/4': "#4CD6B4";
|
|
162
|
-
'scale/green/5': "#1FCCA1";
|
|
163
|
-
'scale/green/6': "#1CBA93";
|
|
164
|
-
'scale/green/7': "#169172";
|
|
165
|
-
'scale/green/8': "#117059";
|
|
166
|
-
'scale/green/9': "#0D5644";
|
|
167
|
-
'scale/pink/0': "#FCF2FD";
|
|
168
|
-
'scale/pink/1': "#F5D6F8";
|
|
169
|
-
'scale/pink/2': "#F0C2F4";
|
|
170
|
-
'scale/pink/3': "#E9A7EF";
|
|
171
|
-
'scale/pink/4': "#E595EC";
|
|
172
|
-
'scale/pink/5': "#DE7BE7";
|
|
173
|
-
'scale/pink/6': "#CA70D2";
|
|
174
|
-
'scale/pink/7': "#9E57A4";
|
|
175
|
-
'scale/pink/8': "#7A447F";
|
|
176
|
-
'scale/pink/9': "#5D3461";
|
|
177
|
-
'scale/skyblue/0': "#EFF9FD";
|
|
178
|
-
'scale/skyblue/1': "#CFEDF8";
|
|
179
|
-
'scale/skyblue/2': "#B7E4F5";
|
|
180
|
-
'scale/skyblue/3': "#96D8F1";
|
|
181
|
-
'scale/skyblue/4': "#82D1EE";
|
|
182
|
-
'scale/skyblue/5': "#63C5EA";
|
|
183
|
-
'scale/skyblue/6': "#5AB3D5";
|
|
184
|
-
'scale/skyblue/7': "#468CA6";
|
|
185
|
-
'scale/skyblue/8': "#366C81";
|
|
186
|
-
'scale/skyblue/9': "#2A5362";
|
|
187
|
-
'scale/red/0': "#FDF0F0";
|
|
188
|
-
'scale/red/1': "#F9CFCF";
|
|
189
|
-
'scale/red/2': "#F6B8B8";
|
|
190
|
-
'scale/red/3': "#F29898";
|
|
191
|
-
'scale/red/4': "#F08484";
|
|
192
|
-
'scale/red/5': "#EC6565";
|
|
193
|
-
'scale/red/6': "#D75C5C";
|
|
194
|
-
'scale/red/7': "#A84848";
|
|
195
|
-
'scale/red/8': "#823838";
|
|
196
|
-
'scale/red/9': "#632A2A";
|
|
197
|
-
'scale/yellow/0': "#FEF9EE";
|
|
198
|
-
'scale/yellow/1': "#FCEBCC";
|
|
199
|
-
'scale/yellow/2': "#FAE2B3";
|
|
200
|
-
'scale/yellow/3': "#F8D490";
|
|
201
|
-
'scale/yellow/4': "#F7CC7A";
|
|
202
|
-
'scale/yellow/5': "#F5BF59";
|
|
203
|
-
'scale/yellow/6': "#DFAE51";
|
|
204
|
-
'scale/yellow/7': "#AE883F";
|
|
205
|
-
'scale/yellow/8': "#876931";
|
|
206
|
-
'scale/yellow/9': "#675025";
|
|
127
|
+
readonly 'scale/violet/0': "#F3EFFD";
|
|
128
|
+
readonly 'scale/violet/1': "#E8E1FB";
|
|
129
|
+
readonly 'scale/violet/2': "#D9CDF9";
|
|
130
|
+
readonly 'scale/violet/3': "#C6B5F6";
|
|
131
|
+
readonly 'scale/violet/4': "#9C7EEF";
|
|
132
|
+
readonly 'scale/violet/5': "#835EEB";
|
|
133
|
+
readonly 'scale/violet/6': "#7756D6";
|
|
134
|
+
readonly 'scale/violet/7': "#5D43A7";
|
|
135
|
+
readonly 'scale/violet/8': "#483481";
|
|
136
|
+
readonly 'scale/violet/9': "#372763";
|
|
137
|
+
readonly 'scale/gray/0': "#F9FAFB";
|
|
138
|
+
readonly 'scale/gray/1': "#F3F4F6";
|
|
139
|
+
readonly 'scale/gray/2': "#E5E7EB";
|
|
140
|
+
readonly 'scale/gray/3': "#D1D5DB";
|
|
141
|
+
readonly 'scale/gray/4': "#8D94A0";
|
|
142
|
+
readonly 'scale/gray/5': "#7A828D";
|
|
143
|
+
readonly 'scale/gray/6': "#6F7680";
|
|
144
|
+
readonly 'scale/gray/7': "#575C64";
|
|
145
|
+
readonly 'scale/gray/8': "#43484E";
|
|
146
|
+
readonly 'scale/gray/9': "#33373B";
|
|
147
|
+
readonly 'scale/blue/0': "#edf2fd";
|
|
148
|
+
readonly 'scale/blue/1': "#c6d8fa";
|
|
149
|
+
readonly 'scale/blue/2': "#abc5f7";
|
|
150
|
+
readonly 'scale/blue/3': "#84aaf4";
|
|
151
|
+
readonly 'scale/blue/4': "#6d99f1";
|
|
152
|
+
readonly 'scale/blue/5': "#4880ee";
|
|
153
|
+
readonly 'scale/blue/6': "#4274d9";
|
|
154
|
+
readonly 'scale/blue/7': "#335ba9";
|
|
155
|
+
readonly 'scale/blue/8': "#284683";
|
|
156
|
+
readonly 'scale/blue/9': "#1e3664";
|
|
157
|
+
readonly 'scale/green/0': "#E9FAF6";
|
|
158
|
+
readonly 'scale/green/1': "#BAEFE2";
|
|
159
|
+
readonly 'scale/green/2': "#98E8D4";
|
|
160
|
+
readonly 'scale/green/3': "#69DDC0";
|
|
161
|
+
readonly 'scale/green/4': "#4CD6B4";
|
|
162
|
+
readonly 'scale/green/5': "#1FCCA1";
|
|
163
|
+
readonly 'scale/green/6': "#1CBA93";
|
|
164
|
+
readonly 'scale/green/7': "#169172";
|
|
165
|
+
readonly 'scale/green/8': "#117059";
|
|
166
|
+
readonly 'scale/green/9': "#0D5644";
|
|
167
|
+
readonly 'scale/pink/0': "#FCF2FD";
|
|
168
|
+
readonly 'scale/pink/1': "#F5D6F8";
|
|
169
|
+
readonly 'scale/pink/2': "#F0C2F4";
|
|
170
|
+
readonly 'scale/pink/3': "#E9A7EF";
|
|
171
|
+
readonly 'scale/pink/4': "#E595EC";
|
|
172
|
+
readonly 'scale/pink/5': "#DE7BE7";
|
|
173
|
+
readonly 'scale/pink/6': "#CA70D2";
|
|
174
|
+
readonly 'scale/pink/7': "#9E57A4";
|
|
175
|
+
readonly 'scale/pink/8': "#7A447F";
|
|
176
|
+
readonly 'scale/pink/9': "#5D3461";
|
|
177
|
+
readonly 'scale/skyblue/0': "#EFF9FD";
|
|
178
|
+
readonly 'scale/skyblue/1': "#CFEDF8";
|
|
179
|
+
readonly 'scale/skyblue/2': "#B7E4F5";
|
|
180
|
+
readonly 'scale/skyblue/3': "#96D8F1";
|
|
181
|
+
readonly 'scale/skyblue/4': "#82D1EE";
|
|
182
|
+
readonly 'scale/skyblue/5': "#63C5EA";
|
|
183
|
+
readonly 'scale/skyblue/6': "#5AB3D5";
|
|
184
|
+
readonly 'scale/skyblue/7': "#468CA6";
|
|
185
|
+
readonly 'scale/skyblue/8': "#366C81";
|
|
186
|
+
readonly 'scale/skyblue/9': "#2A5362";
|
|
187
|
+
readonly 'scale/red/0': "#FDF0F0";
|
|
188
|
+
readonly 'scale/red/1': "#F9CFCF";
|
|
189
|
+
readonly 'scale/red/2': "#F6B8B8";
|
|
190
|
+
readonly 'scale/red/3': "#F29898";
|
|
191
|
+
readonly 'scale/red/4': "#F08484";
|
|
192
|
+
readonly 'scale/red/5': "#EC6565";
|
|
193
|
+
readonly 'scale/red/6': "#D75C5C";
|
|
194
|
+
readonly 'scale/red/7': "#A84848";
|
|
195
|
+
readonly 'scale/red/8': "#823838";
|
|
196
|
+
readonly 'scale/red/9': "#632A2A";
|
|
197
|
+
readonly 'scale/yellow/0': "#FEF9EE";
|
|
198
|
+
readonly 'scale/yellow/1': "#FCEBCC";
|
|
199
|
+
readonly 'scale/yellow/2': "#FAE2B3";
|
|
200
|
+
readonly 'scale/yellow/3': "#F8D490";
|
|
201
|
+
readonly 'scale/yellow/4': "#F7CC7A";
|
|
202
|
+
readonly 'scale/yellow/5': "#F5BF59";
|
|
203
|
+
readonly 'scale/yellow/6': "#DFAE51";
|
|
204
|
+
readonly 'scale/yellow/7': "#AE883F";
|
|
205
|
+
readonly 'scale/yellow/8': "#876931";
|
|
206
|
+
readonly 'scale/yellow/9': "#675025";
|
|
207
|
+
};
|
|
208
|
+
declare const surfaceColor: {
|
|
209
|
+
readonly surface: "#FFFFFF";
|
|
210
|
+
readonly 'surface/overlay': "#FFFFFF";
|
|
207
211
|
};
|
|
208
212
|
declare const color: {
|
|
213
|
+
readonly surface: "#FFFFFF";
|
|
214
|
+
readonly 'surface/overlay': "#FFFFFF";
|
|
209
215
|
readonly 'scale/violet/0': "#F3EFFD";
|
|
210
216
|
readonly 'scale/violet/1': "#E8E1FB";
|
|
211
217
|
readonly 'scale/violet/2': "#D9CDF9";
|
|
@@ -405,7 +411,8 @@ type IconColorKey = keyof typeof iconColor;
|
|
|
405
411
|
type LinkColorKey = keyof typeof linkColor;
|
|
406
412
|
type DimColorKey = keyof typeof dimColor;
|
|
407
413
|
type ScaleColorKey = keyof typeof scaleColor;
|
|
414
|
+
type SurfaceColorKey = keyof typeof surfaceColor;
|
|
408
415
|
type ColorKey = keyof typeof color;
|
|
409
416
|
export default color;
|
|
410
417
|
export { gpaiLightColor, gpaiDarkColor };
|
|
411
|
-
export type { ColorKey, TextColorKey, BgColorKey, BorderColorKey, IconColorKey, LinkColorKey, DimColorKey, ScaleColorKey, };
|
|
418
|
+
export type { ColorKey, TextColorKey, BgColorKey, BorderColorKey, IconColorKey, LinkColorKey, DimColorKey, ScaleColorKey, SurfaceColorKey, };
|
|
@@ -1,18 +1,6 @@
|
|
|
1
|
-
declare const surfaceElevation: {
|
|
2
|
-
readonly surface: "#FFFFFF";
|
|
3
|
-
readonly 'surface/overlay': "#FFFFFF";
|
|
4
|
-
};
|
|
5
|
-
declare const shadowElevation: {
|
|
6
|
-
readonly 'shadow/overlay': string;
|
|
7
|
-
};
|
|
8
1
|
declare const elevation: {
|
|
9
|
-
|
|
10
|
-
readonly surface: "#FFFFFF";
|
|
11
|
-
readonly 'surface/overlay': "#FFFFFF";
|
|
2
|
+
'shadow/overlay': string;
|
|
12
3
|
};
|
|
13
|
-
type SurfaceElevationKey = keyof typeof surfaceElevation;
|
|
14
|
-
type ShadowElevationKey = keyof typeof shadowElevation;
|
|
15
4
|
type ElevationKey = keyof typeof elevation;
|
|
16
5
|
export default elevation;
|
|
17
|
-
export {
|
|
18
|
-
export type { SurfaceElevationKey, ShadowElevationKey, ElevationKey };
|
|
6
|
+
export type { ElevationKey };
|
package/dist/token/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export { default as breakpoints, baseBreakpoints } from './breakpoints';
|
|
2
2
|
export { default as color, gpaiLightColor, gpaiDarkColor } from './color';
|
|
3
3
|
export type { ColorKey, BgColorKey, BorderColorKey, DimColorKey, IconColorKey, LinkColorKey, ScaleColorKey, TextColorKey, } from './color';
|
|
4
|
-
export { default as elevation
|
|
5
|
-
export type { ElevationKey
|
|
4
|
+
export { default as elevation } from './elevation';
|
|
5
|
+
export type { ElevationKey } from './elevation';
|
|
6
6
|
export { default as gradient, bgGradient, borderGradient, overlayGradient, textGradient } from './gradient';
|
|
7
7
|
export type { GradientKey, BgGradientKey, BorderGradientKey, OverlayGradientKey, TextGradientKey } from './gradient';
|
|
8
8
|
export { default as opacity } from './opacity';
|
package/esm/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { baseBreakpoints, default as breakpoints } from './token/breakpoints/index.js';
|
|
2
2
|
export { default as color } from './token/color/index.js';
|
|
3
|
-
export { default as elevation
|
|
3
|
+
export { default as elevation } 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';
|
|
6
6
|
export { default as radii } from './token/radii/index.js';
|
|
@@ -11,7 +11,7 @@ const textColor = {
|
|
|
11
11
|
'text/neutral/subtler': palette.gray400,
|
|
12
12
|
'text/neutral/subtle': palette.gray200,
|
|
13
13
|
'text/neutral': palette.gray50,
|
|
14
|
-
'text/inverse': palette.
|
|
14
|
+
'text/inverse': palette.gray900,
|
|
15
15
|
'text/inverse/subtle': palette.gray700,
|
|
16
16
|
'text/inverse/subtler': palette.gray600,
|
|
17
17
|
'text/disabled': palette.gray500,
|
|
@@ -205,6 +205,10 @@ const scaleColor = {
|
|
|
205
205
|
'scale/yellow/8': palette.mustardYellow100,
|
|
206
206
|
'scale/yellow/9': palette.mustardYellow50
|
|
207
207
|
};
|
|
208
|
+
const surfaceColor = {
|
|
209
|
+
'surface': palette.darkGray,
|
|
210
|
+
'surface/overlay': palette.darkGray
|
|
211
|
+
};
|
|
208
212
|
const gpaiDarkColor = {
|
|
209
213
|
...textColor,
|
|
210
214
|
...bgColor,
|
|
@@ -212,7 +216,8 @@ const gpaiDarkColor = {
|
|
|
212
216
|
...iconColor,
|
|
213
217
|
...linkColor,
|
|
214
218
|
...dimColor,
|
|
215
|
-
...scaleColor
|
|
219
|
+
...scaleColor,
|
|
220
|
+
...surfaceColor
|
|
216
221
|
};
|
|
217
222
|
|
|
218
223
|
export { gpaiDarkColor as default };
|
|
@@ -205,6 +205,10 @@ const scaleColor = {
|
|
|
205
205
|
'scale/yellow/8': palette.mustardYellow800,
|
|
206
206
|
'scale/yellow/9': palette.mustardYellow900
|
|
207
207
|
};
|
|
208
|
+
const surfaceColor = {
|
|
209
|
+
'surface': palette.white,
|
|
210
|
+
'surface/overlay': palette.white
|
|
211
|
+
};
|
|
208
212
|
const gpaiLightColor = {
|
|
209
213
|
...textColor,
|
|
210
214
|
...bgColor,
|
|
@@ -212,7 +216,8 @@ const gpaiLightColor = {
|
|
|
212
216
|
...iconColor,
|
|
213
217
|
...linkColor,
|
|
214
218
|
...dimColor,
|
|
215
|
-
...scaleColor
|
|
219
|
+
...scaleColor,
|
|
220
|
+
...surfaceColor
|
|
216
221
|
};
|
|
217
222
|
|
|
218
223
|
export { gpaiLightColor as default };
|
package/esm/token/color/index.js
CHANGED
|
@@ -207,6 +207,10 @@ const scaleColor = {
|
|
|
207
207
|
'scale/yellow/8': palette.mustardYellow800,
|
|
208
208
|
'scale/yellow/9': palette.mustardYellow900
|
|
209
209
|
};
|
|
210
|
+
const surfaceColor = {
|
|
211
|
+
'surface': palette.white,
|
|
212
|
+
'surface/overlay': palette.white
|
|
213
|
+
};
|
|
210
214
|
const color = {
|
|
211
215
|
...textColor,
|
|
212
216
|
...bgColor,
|
|
@@ -214,7 +218,8 @@ const color = {
|
|
|
214
218
|
...iconColor,
|
|
215
219
|
...linkColor,
|
|
216
220
|
...dimColor,
|
|
217
|
-
...scaleColor
|
|
221
|
+
...scaleColor,
|
|
222
|
+
...surfaceColor
|
|
218
223
|
};
|
|
219
224
|
|
|
220
225
|
export { color as default };
|
|
@@ -1,16 +1,7 @@
|
|
|
1
|
-
import palette from '../../foundation/palette/index.js';
|
|
2
1
|
import shadow from '../../foundation/shadow/index.js';
|
|
3
2
|
|
|
4
|
-
const surfaceElevation = {
|
|
5
|
-
'surface': palette.white,
|
|
6
|
-
'surface/overlay': palette.white
|
|
7
|
-
};
|
|
8
|
-
const shadowElevation = {
|
|
9
|
-
'shadow/overlay': shadow.shadowMedium
|
|
10
|
-
};
|
|
11
3
|
const elevation = {
|
|
12
|
-
|
|
13
|
-
...shadowElevation
|
|
4
|
+
'shadow/overlay': shadow.shadowMedium
|
|
14
5
|
};
|
|
15
6
|
|
|
16
|
-
export { elevation as default
|
|
7
|
+
export { elevation as default };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@teamturing/token-studio",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.16.1",
|
|
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": "b7970e07fdf3e86c55e61a4f758eda8cf5046487"
|
|
31
31
|
}
|