ShtukbaseStandard
файл пакета→ .shtukbase/packages/design-lenses/test/fixtures/project/design/demo/tokens.json

test/fixtures/project/design/demo/tokens.json

62 строки, 3.5 КБ.

Файл как есть в пакете: код и комментарии в нём не переводятся.

  1. {
  2. "$description": "A test style for the design lenses: the contract's required names and a few extension names.",
  3. "background": { "$type": "color", "$value": "#ffffff", "$description": "Page background" },
  4. "foreground": { "$type": "color", "$value": "#191919", "$description": "Body text" },
  5. "card": { "$type": "color", "$value": "{background}" },
  6. "card-foreground": { "$type": "color", "$value": "{foreground}" },
  7. "popover": { "$type": "color", "$value": "#ffffff" },
  8. "popover-foreground": { "$type": "color", "$value": "#191919" },
  9. "primary": { "$type": "color", "$value": "#191919" },
  10. "primary-foreground": { "$type": "color", "$value": "#ffffff" },
  11. "secondary": { "$type": "color", "$value": "#f4f4f2" },
  12. "secondary-foreground": { "$type": "color", "$value": "#191919" },
  13. "muted": { "$type": "color", "$value": "#f4f4f2" },
  14. "muted-foreground": { "$type": "color", "$value": "#787774" },
  15. "accent": { "$type": "color", "$value": "#f4f4f2" },
  16. "accent-foreground": { "$type": "color", "$value": "#191919" },
  17. "destructive": { "$type": "color", "$value": { "colorSpace": "srgb", "components": [0.86, 0.29, 0.25], "hex": "#dc4a40" } },
  18. "border": { "$type": "color", "$value": "#e9e9e7" },
  19. "input": { "$type": "color", "$value": "#e9e9e7" },
  20. "ring": { "$type": "color", "$value": "#2383e2" },
  21. "chart": {
  22. "$type": "color",
  23. "1": { "$value": "#e04a72" },
  24. "2": { "$value": "#2383e2" },
  25. "3": { "$value": "#30a46c" },
  26. "4": { "$value": "#f0a020" },
  27. "5": { "$value": "#8e4ec6" }
  28. },
  29. "sidebar": { "$type": "color", "$value": "#fbfbfa" },
  30. "sidebar-foreground": { "$type": "color", "$value": "#191919" },
  31. "sidebar-primary": { "$type": "color", "$value": "#191919" },
  32. "sidebar-primary-foreground": { "$type": "color", "$value": "#ffffff" },
  33. "sidebar-accent": { "$type": "color", "$value": "#f0f0ee" },
  34. "sidebar-accent-foreground": { "$type": "color", "$value": "#191919" },
  35. "sidebar-border": { "$type": "color", "$value": "#e9e9e7" },
  36. "sidebar-ring": { "$type": "color", "$value": "#2383e2" },
  37. "radius": { "$type": "dimension", "$value": { "value": 0.5, "unit": "rem" } },
  38. "font": {
  39. "$type": "fontFamily",
  40. "sans": { "$value": ["Onest", "system-ui", "sans-serif"] },
  41. "mono": { "$value": ["Geist Mono", "ui-monospace", "monospace"] },
  42. "display": { "$value": ["Outfit", "system-ui", "sans-serif"] }
  43. },
  44. "shadow": {
  45. "$type": "shadow",
  46. "sm": { "$value": [{ "color": "#0f0f0f09", "offsetX": "0px", "offsetY": "0px", "blur": "0px", "spread": "1px" }, { "color": "#0f0f0f09", "offsetX": "0px", "offsetY": "0px", "blur": "14px", "spread": "0px" }] },
  47. "md": { "$value": [{ "color": "#0f0f0f0d", "offsetX": "0px", "offsetY": "0px", "blur": "0px", "spread": "1px" }, { "color": "#0f0f0f10", "offsetX": "0px", "offsetY": "0px", "blur": "18px", "spread": "0px" }] },
  48. "lg": { "$value": "0 0 0 1px rgb(15 15 15 / .06), 0 0 2px rgb(15 15 15 / .07), 0 0 10px rgb(15 15 15 / .1)" }
  49. },
  50. "sb": {
  51. "hue": {
  52. "$type": "color",
  53. "1": { "$value": "#e04a72", "$description": "Raspberry, the main accent" },
  54. "2": { "$value": "#2383e2", "$description": "Blue, the second accent" },
  55. "3": { "$value": "#30a46c" }
  56. },
  57. "glow": { "$type": "shadow", "$value": "0 0 0 1px rgb(224 74 114 / .35), 0 0 12px rgb(224 74 114 / .25)" },
  58. "edge": { "$type": "shadow", "$value": "inset 0 0 0 1px rgb(15 15 15 / .06)" },
  59. "ease": { "$type": "cubicBezier", "$value": [0.2, 0, 0, 1] },
  60. "dur": { "$type": "duration", "$value": { "value": 180, "unit": "ms" } }
  61. }
  62. }