Link to article: Theme Squares.
td { vertical-align: top; }
td strong { white-space: nowrap; }
.options table.wiki-content-table td { border: none; padding: 0.7em 1em; }
.colors-container {
width: 98%;
display: flex;
flex-direction: column;
margin: 0 auto;
font-weight: 700;
font-family: var(--title-font, Verdana), sans-serif;
color: black;
}
.colors-container .colors, .colors-container .subcolors {
width: 100%;
flex-shrink: 0;
display: flex;
flex-wrap: wrap;
}
.colors-container .color {
flex-grow: 2;
padding: 0.5rem;
margin: 0.5rem;
color: rgb(var(--swatch-text-dark, 0, 0, 0));
display: flex;
flex-direction: column;
justify-content: flex-end;
align-items: center;
}
.colors-container .colors .color {
height: 7rem;
min-width: 4rem;
flex-basis: calc((100% / 2) - 2rem);
}
.colors-container .subcolors .color {
height: 4rem;
min-width: 4rem;
font-size: 75%;
text-align: center;
flex-basis: calc((100% / 6) - 2rem);
}
.colors-container .css-variable {
font-size: 75%;
letter-spacing: 0.1em;
font-family: var(--body-font, Verdana), sans-serif;
}
/* Hide a colour that's not been provided by seeing if the variable starts with "{$" */
.colors-container [data-variable^=\{\$] {
display: none;
}
.colors-container [data-has-light-text="1"] {
color: white;
color: rgb(var(--swatch-text-light, 255, 255, 255));
}
border: 1px solid #ddd; padding: 1em;
background-color: rgb(var({$color1-variable}));
background-color: rgb(var({$color2-variable}));
background-color: rgb(var({$color3-variable}));
background-color: rgb(var({$color4-variable}));
background-color: rgb(var({$color5-variable}));
background-color: rgb(var({$color6-variable}));
background-color: rgb(var({$subcolor1-variable}));
background-color: rgb(var({$subcolor2-variable}));
background-color: rgb(var({$subcolor3-variable}));
background-color: rgb(var({$subcolor4-variable}));
background-color: rgb(var({$subcolor5-variable}));
background-color: rgb(var({$subcolor6-variable}));
background-color: rgb(var({$subcolor7-variable}));
background-color: rgb(var({$subcolor8-variable}));
background-color: rgb(var({$subcolor9-variable}));
background-color: rgb(var({$subcolor10-variable}));
background-color: rgb(var({$subcolor11-variable}));
background-color: rgb(var({$subcolor12-variable}));
code
options
code
colors-container
colors
color
css-variable
css-variable
color
css-variable
css-variable
color
css-variable
css-variable
color
css-variable
css-variable
color
css-variable
css-variable
color
css-variable
css-variable
subcolors
color
css-variable
css-variable
color
css-variable
css-variable
color
css-variable
css-variable
color
css-variable
css-variable
color
css-variable
css-variable
color
css-variable
css-variable
color
css-variable
css-variable
color
css-variable
css-variable
color
css-variable
css-variable
color
css-variable
css-variable
color
css-variable
css-variable
color
css-variable
css-variable