()
| 104 | } |
| 105 | |
| 106 | export function SemanticColorsDisclosure() { |
| 107 | return ( |
| 108 | <Disclosure isQuiet> |
| 109 | <DisclosureTitle>Semantic colors</DisclosureTitle> |
| 110 | <DisclosurePanel> |
| 111 | <p> |
| 112 | The following values are available across all color properties. Prefer to use semantic |
| 113 | colors over global colors when they represent a specific meaning. |
| 114 | </p> |
| 115 | <div className="sb-unstyled" style={{columnWidth: 120}}> |
| 116 | <ColorScale scale={getColorScale('accent-color')} /> |
| 117 | <ColorScale scale={getColorScale('informative-color')} /> |
| 118 | <ColorScale scale={getColorScale('negative-color')} /> |
| 119 | <ColorScale scale={getColorScale('notice-color')} /> |
| 120 | <ColorScale scale={getColorScale('positive-color')} /> |
| 121 | </div> |
| 122 | </DisclosurePanel> |
| 123 | </Disclosure> |
| 124 | ); |
| 125 | } |
| 126 | |
| 127 | export function GlobalColorsDisclosure() { |
| 128 | return ( |
nothing calls this directly
no test coverage detected