Theme
Documentation for the Stack theming API
Integration
@use '~@growstocks/stack/Core/Theme';
:root {
@include Theme.config(
...
);
}API
SCSS
CSS Variables (Output)
Last updated
Documentation for the Stack theming API
@use '~@growstocks/stack/Core/Theme';
:root {
@include Theme.config(
...
);
}Last updated
@use '~@growstocks/stack/Core/Theme';
:root {
@include Theme.config(
$primary-color: #12305e,
$secondary-color: #ffa000,
$my-custom-prop: #232323,
$patreon: #FF424D,
$discord: rgb(89, 112, 191)
);
}// property-name = the property you placed
// in the Theme.config() mixin.
.my-component {
background: var(--sc-theme--[property-name]);
}