Skip to content

Instantly share code, notes, and snippets.

@SallyMcGrath
SallyMcGrath / output.css
Last active April 2, 2021 09:34
Generated by SassMeister.com.
.card.red {
background: red;
}
.card.red.mix--blue {
background: #0d00f2;
}
.card.blue {
background: blue;
}
.card.blue.mix--red {
@SallyMcGrath
SallyMcGrath / describing-hierarchy
Created December 30, 2021 02:15
setting up relationships and hierarchies
:root {
--theme-type-display: "Roboto Mono", Monaco, system-ui, serif;
--theme-type-copy: var(--theme-type-display);
--theme-type-size: 1rem;
--theme-type-scale: 0.75;
}
// headings
//set up your hierarchy with an iterable SASS list - it's a bit like an array in JavaScript
//https://sass-lang.com/documentation/modules/list