ThemeDemo: Add transparent to ThemeDemo (#66994)

This commit is contained in:
Torkel Ödegaard 2023-04-21 11:09:46 +02:00 committed by GitHub
parent eddd4f4508
commit 1ff9c47c7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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`