core.design_token_values.schema.yml

Same filename and directory in other branches
  1. main core/config/schema/core.design_token_values.schema.yml
core/config/schema/core.design_token_values.schema.yml

File

core/config/schema/core.design_token_values.schema.yml

View source
  1. design_token_value.dimension:
  2. type: mapping
  3. label: 'Dimension'
  4. mapping:
  5. value:
  6. type: float
  7. label: 'Value'
  8. unit:
  9. type: string
  10. label: 'Unit'
  11. design_token_value.fontFamily:
  12. type: sequence
  13. label: 'Font families'
  14. sequence:
  15. type: string
  16. design_token_value.fontWeight:
  17. type: integer
  18. label: 'Font weight'
  19. constraints:
  20. Range:
  21. min: 1
  22. max: 1000
  23. design_token_value.number:
  24. type: float
  25. label: 'Number'
  26. design_token_value.typography:
  27. type: mapping
  28. label: 'Typography'
  29. mapping:
  30. fontFamily:
  31. type: design_token_value.fontFamily
  32. label: 'Font families'
  33. fontSize:
  34. type: design_token_value.dimension
  35. label: 'Font size'
  36. fontWeight:
  37. type: design_token_value.fontWeight
  38. label: 'Font weight'
  39. letterSpacing:
  40. type: design_token_value.dimension
  41. label: 'Letter spacing'
  42. lineHeight:
  43. type: design_token_value.number
  44. label: 'Line height'

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.