@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.
Files changed (54) hide show
  1. package/README.md +82 -1
  2. package/dist/css/themes/dark.css +69 -80
  3. package/dist/css/themes/light.css +69 -80
  4. package/dist/css/tokens.css +303 -213
  5. package/dist/js/themes/dark.js +77 -80
  6. package/dist/js/themes/light.js +77 -80
  7. package/dist/js/tokens.js +257 -157
  8. package/dist/json/themes/dark.json +1338 -1538
  9. package/dist/json/themes/light.json +1338 -1538
  10. package/dist/json/tokens.json +8788 -5829
  11. package/dist/scss/themes/dark.scss +69 -80
  12. package/dist/scss/themes/light.scss +69 -80
  13. package/dist/scss/tokens.scss +303 -213
  14. package/dist/tokens-studio/tokens.json +5033 -0
  15. package/package.json +12 -8
  16. package/src/figma/{variables/base14.json → base14.json} +2 -6
  17. package/src/figma/{variables/color.json → color.json} +1 -1
  18. package/src/figma/component/base14.json +64 -0
  19. package/src/figma/component/icon.json +202 -0
  20. package/src/figma/component/manifest.json +18 -0
  21. package/src/figma/{variables/component → component}/text.json +21 -11
  22. package/src/figma/dark.json +352 -0
  23. package/src/figma/{variables/elevation.json → elevation.json} +29 -27
  24. package/src/figma/{variables/grid.json → grid.json} +6 -6
  25. package/src/figma/{variables/guideline → guideline}/componente.json +1 -1
  26. package/src/figma/{variables/guideline → guideline}/fundamento.json +1 -1
  27. package/src/figma/{variables/guideline → guideline}/geral.json +1 -1
  28. package/src/figma/guideline/manifest.json +12 -0
  29. package/src/figma/{variables/guideline → guideline}/padrao.json +1 -1
  30. package/src/figma/iconography.json +348 -0
  31. package/src/figma/light.json +352 -0
  32. package/src/figma/{variables/manifest.json → manifest.json} +9 -0
  33. package/src/figma/{variables/motion.json → motion.json} +1 -1
  34. package/src/figma/pattern/form.json +16 -0
  35. package/src/figma/{variables/pattern → pattern}/manifest.json +2 -4
  36. package/src/figma/pattern/skeleton.json +52 -0
  37. package/src/figma/{variables/spacing.json → spacing.json} +1 -1
  38. package/src/figma/state.json +232 -0
  39. package/src/figma/{variables/surface.json → surface.json} +20 -24
  40. package/src/figma/{variables/typography.json → typography.json} +7 -19
  41. package/src/temp/component.json +406 -0
  42. package/src/temp/core.json +3851 -0
  43. package/src/temp/dark.json +352 -0
  44. package/src/temp/light.json +352 -0
  45. package/src/temp/pattern.json +70 -0
  46. package/src/tokens.json +5033 -0
  47. package/src/figma/tokens.json +0 -4465
  48. package/src/figma/variables/component/manifest.json +0 -12
  49. package/src/figma/variables/dark.json +0 -314
  50. package/src/figma/variables/guideline/manifest.json +0 -21
  51. package/src/figma/variables/iconography.json +0 -14
  52. package/src/figma/variables/light.json +0 -314
  53. package/src/figma/variables/pattern/skeleton.json +0 -52
  54. 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
+ }