You are here

color_field.schema.yml in Color Field 8.2

Same filename and directory in other branches
  1. 8 config/schema/color_field.schema.yml
config/schema/color_field.schema.yml

File

config/schema/color_field.schema.yml
View source
  1. # Schema for the configuration files of the color field module.
  2. field.storage_settings.color_field_type:
  3. type: mapping
  4. mapping:
  5. format:
  6. type: label
  7. label: 'Format'
  8. field.field_settings.color_field_type:
  9. type: mapping
  10. mapping:
  11. opacity:
  12. type: integer
  13. label: 'Display opacity'
  14. field.value.color_field_type:
  15. type: mapping
  16. mapping:
  17. color:
  18. type: string
  19. label: 'The hex color code'
  20. opacity:
  21. type: float
  22. label: 'The opacity'
  23. field.formatter.settings.color_field_formatter_text:
  24. type: mapping
  25. label: 'Color text format settings'
  26. mapping:
  27. format:
  28. type: label
  29. label: 'Format'
  30. opacity:
  31. type: boolean
  32. label: 'Display opacity'
  33. field.formatter.settings.color_field_formatter_swatch:
  34. type: mapping
  35. label: 'Color swatch format settings'
  36. mapping:
  37. shape:
  38. type: label
  39. label: 'Shape'
  40. width:
  41. type: label
  42. label: 'Width'
  43. height:
  44. type: label
  45. label: 'Height'
  46. opacity:
  47. type: boolean
  48. label: 'Display opacity'
  49. data_attribute:
  50. type: boolean
  51. label: 'Use data attribute'
  52. field.formatter.settings.color_field_formatter_swatch_options:
  53. type: field.formatter.settings.color_field_formatter_swatch
  54. field.formatter.settings.color_field_formatter_css:
  55. type: mapping
  56. label: 'Color CSS declaration format settings'
  57. mapping:
  58. selector:
  59. type: label
  60. label: 'Selector'
  61. property:
  62. type: label
  63. label: 'Property'
  64. important:
  65. type: label
  66. label: 'Important'
  67. opacity:
  68. type: boolean
  69. label: 'Display opacity'
  70. advanced:
  71. type: boolean
  72. label: 'Advanced'
  73. css:
  74. type: text
  75. label: 'Custom CSS Declaration'
  76. field.widget.settings.color_field_widget_default:
  77. type: mapping
  78. label: 'Color default format settings'
  79. mapping:
  80. placeholder_color:
  81. type: label
  82. label: 'Color placeholder'
  83. placeholder_opacity:
  84. type: label
  85. label: 'Opacity placeholder'
  86. field.widget.settings.color_field_widget_box:
  87. type: mapping
  88. label: 'Color boxes format settings'
  89. mapping:
  90. default_colors:
  91. type: label
  92. label: 'Default colors'
  93. field.widget.settings.color_field_widget_grid:
  94. type: mapping
  95. label: 'Color grid format settings'
  96. mapping:
  97. cell_width:
  98. type: label
  99. label: 'Cell width'
  100. cell_height:
  101. type: label
  102. label: 'Height width'
  103. cell_margin:
  104. type: label
  105. label: 'Cell margin'
  106. box_width:
  107. type: label
  108. label: 'Box width'
  109. box_height:
  110. type: label
  111. label: 'Box height'
  112. columns:
  113. type: label
  114. label: 'Columns number'
  115. field.widget.settings.color_field_widget_spectrum:
  116. type: mapping
  117. label: 'Color spectrum format settings'
  118. mapping:
  119. show_input:
  120. type: label
  121. label: 'Show Input'
  122. show_palette:
  123. type: label
  124. label: 'Show Palette'
  125. palette:
  126. type: label
  127. label: 'Color Palette'
  128. show_palette_only:
  129. type: label
  130. label: 'Show Palette Only'
  131. show_buttons:
  132. type: label
  133. label: 'Show Buttons'
  134. cancel_text:
  135. type: label
  136. label: 'Cancel button text'
  137. choose_text:
  138. type: label
  139. label: 'Choose button text'
  140. allow_empty:
  141. type: label
  142. label: 'Allow Empty'