@govbr-ds/tokens 4.0.0-next.10 → 4.0.0-next.12
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 +82 -1
- package/dist/css/themes/dark.css +69 -80
- package/dist/css/themes/light.css +69 -80
- package/dist/css/tokens.css +303 -213
- package/dist/js/themes/dark.js +77 -80
- package/dist/js/themes/light.js +77 -80
- package/dist/js/tokens.js +257 -157
- package/dist/json/themes/dark.json +1338 -1538
- package/dist/json/themes/light.json +1338 -1538
- package/dist/json/tokens.json +8788 -5829
- package/dist/scss/themes/dark.scss +69 -80
- package/dist/scss/themes/light.scss +69 -80
- package/dist/scss/tokens.scss +303 -213
- package/dist/tokens-studio/tokens.json +5033 -0
- package/package.json +12 -8
- package/src/figma/{variables/base14.json → base14.json} +2 -6
- package/src/figma/{variables/color.json → color.json} +1 -1
- package/src/figma/component/base14.json +64 -0
- package/src/figma/component/icon.json +202 -0
- package/src/figma/component/manifest.json +18 -0
- package/src/figma/{variables/component → component}/text.json +21 -11
- package/src/figma/dark.json +352 -0
- package/src/figma/{variables/elevation.json → elevation.json} +29 -27
- package/src/figma/{variables/grid.json → grid.json} +6 -6
- package/src/figma/{variables/guideline → guideline}/componente.json +1 -1
- package/src/figma/{variables/guideline → guideline}/fundamento.json +1 -1
- package/src/figma/{variables/guideline → guideline}/geral.json +1 -1
- package/src/figma/guideline/manifest.json +12 -0
- package/src/figma/{variables/guideline → guideline}/padrao.json +1 -1
- package/src/figma/iconography.json +348 -0
- package/src/figma/light.json +352 -0
- package/src/figma/{variables/manifest.json → manifest.json} +9 -0
- package/src/figma/{variables/motion.json → motion.json} +1 -1
- package/src/figma/pattern/form.json +16 -0
- package/src/figma/{variables/pattern → pattern}/manifest.json +2 -4
- package/src/figma/pattern/skeleton.json +52 -0
- package/src/figma/{variables/spacing.json → spacing.json} +1 -1
- package/src/figma/state.json +232 -0
- package/src/figma/{variables/surface.json → surface.json} +20 -24
- package/src/figma/{variables/typography.json → typography.json} +7 -19
- package/src/temp/component.json +406 -0
- package/src/temp/core.json +3851 -0
- package/src/temp/dark.json +352 -0
- package/src/temp/light.json +352 -0
- package/src/temp/pattern.json +70 -0
- package/src/tokens.json +5033 -0
- package/src/figma/tokens.json +0 -4465
- package/src/figma/variables/component/manifest.json +0 -12
- package/src/figma/variables/dark.json +0 -314
- package/src/figma/variables/guideline/manifest.json +0 -21
- package/src/figma/variables/iconography.json +0 -14
- package/src/figma/variables/light.json +0 -314
- package/src/figma/variables/pattern/skeleton.json +0 -52
- package/src/figma/variables/state.json +0 -238
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
{
|
|
2
|
+
"skeleton": {
|
|
3
|
+
"color": {
|
|
4
|
+
"background": {
|
|
5
|
+
"$type": "color",
|
|
6
|
+
"$value": "{color.surface.main.alternative}"
|
|
7
|
+
},
|
|
8
|
+
"foreground": {
|
|
9
|
+
"$type": "color",
|
|
10
|
+
"$value": "{color.surface.main.base}"
|
|
11
|
+
},
|
|
12
|
+
"shine": {
|
|
13
|
+
"$type": "color",
|
|
14
|
+
"$value": "linear-gradient(45deg, rgba({skeleton.color.foreground},{surface.opacity.none}), rgba({skeleton.color.foreground},{surface.opacity.40}), rgba({skeleton.color.foreground},{surface.opacity.none}))"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"rounder": {
|
|
18
|
+
"surface": {
|
|
19
|
+
"$type": "borderRadius",
|
|
20
|
+
"$value": "{surface.rounder.small}"
|
|
21
|
+
},
|
|
22
|
+
"read": {
|
|
23
|
+
"$type": "borderRadius",
|
|
24
|
+
"$value": "{surface.rounder.full}"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"height": {
|
|
28
|
+
"default": {
|
|
29
|
+
"$type": "dimension",
|
|
30
|
+
"$value": "{typography.fontSize.default}"
|
|
31
|
+
},
|
|
32
|
+
"title": {
|
|
33
|
+
"small": {
|
|
34
|
+
"$type": "dimension",
|
|
35
|
+
"$value": "{typography.fontSize.up.04}"
|
|
36
|
+
},
|
|
37
|
+
"medium": {
|
|
38
|
+
"$type": "dimension",
|
|
39
|
+
"$value": "{typography.fontSize.up.06}"
|
|
40
|
+
},
|
|
41
|
+
"large": {
|
|
42
|
+
"$type": "dimension",
|
|
43
|
+
"$value": "{typography.fontSize.up.08}"
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"duration": {
|
|
48
|
+
"$type": "duration",
|
|
49
|
+
"$value": "{motion.duration.slow.04}"
|
|
50
|
+
},
|
|
51
|
+
"easing": {
|
|
52
|
+
"$type": "easing",
|
|
53
|
+
"$value": "{motion.easing.linear}"
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"form": {
|
|
57
|
+
"borderWidth": {
|
|
58
|
+
"fieldset": {
|
|
59
|
+
"$type": "borderWidth",
|
|
60
|
+
"$value": "{surface.borderWidth.none}"
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
"spacing": {
|
|
64
|
+
"fieldset": {
|
|
65
|
+
"$type": "spacing",
|
|
66
|
+
"$value": "{spacing.layout.05}"
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|