make color variables selectable in cloudcannon

This commit is contained in:
sakrecoer 2020-08-10 17:31:05 +02:00
parent 11d3e1f5fd
commit 7e61046352
12 changed files with 117 additions and 90 deletions

View file

@ -61,12 +61,12 @@
@return val($font, $keys...);
}
/// Gets a palette value.
/// @param {string} $keys Key(s).
/// @return {string} Value.
@function _palette($keys...) {
@return val($palette, $keys...);
}
// /// Gets a palette value.
// /// @param {string} $keys Key(s).
// /// @return {string} Value.
// @function _palette($keys...) {
// @return val($palette, $keys...);
// }
@ -131,17 +131,17 @@ $font: (
kerning-alt: 0.125em
);
// Palette.
$palette: (
// $palette: (
bg: #3c2a52,
bg-alt: rgba(60, 42, 82, 0.75),
fg: #ebdbf8,
fg-alt: rgba(235, 219, 248, 0.25),
border: #000000,
border-alt: rgba(0, 0, 0, 0.75),
accent1: #38ff59,
accent1-alt:rgba(56, 255, 89, 0.75),
accent2: #8d3ed8,
accent2-alt:rgba(141, 62, 216, 0.75),
// bg: #3c2a52,
// bg-alt: rgba(60, 42, 82, 0.75),
// fg: #ebdbf8,
// fg-alt: rgba(235, 219, 248, 0.25),
// border: #000000,
// border-alt: rgba(0, 0, 0, 0.75),
// accent1: #38ff59,
// accent1-alt:rgba(56, 255, 89, 0.75),
// accent2: #8d3ed8,
// accent2-alt:rgba(141, 62, 216, 0.75),
);
// );