ThemeDemo: Add transparent to ThemeDemo (#66994)

pull/67039/head
Torkel Ödegaard 2 years ago committed by GitHub
parent eddd4f4508
commit 1ff9c47c7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 12
      packages/grafana-ui/src/components/ThemeDemos/ThemeDemo.tsx

@ -121,6 +121,7 @@ export const ThemeDemo = () => {
<td>name</td>
<td>main</td>
<td>shade (used for hover)</td>
<td>transparent</td>
<td>border & text</td>
</tr>
</thead>
@ -250,6 +251,17 @@ export function RichColorDemo({ theme, color }: RichColorDemoProps) {
{color.shade}
</div>
</td>
<td>
<div
className={css`
background: ${color.transparent};
border-radius: 4px;
padding: 8px;
`}
>
{color.shade}
</div>
</td>
<td>
<div
className={css`

Loading…
Cancel
Save