make color variables selectable in cloudcannon
This commit is contained in:
parent
11d3e1f5fd
commit
7e61046352
12 changed files with 117 additions and 90 deletions
16
assets/css/colors.css
Normal file
16
assets/css/colors.css
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
---
|
||||
layout: nil
|
||||
---
|
||||
:root {
|
||||
--bg: {{ site.data.colors.bg_color }};
|
||||
--bg-alt: {{ site.data.colors.bg-alt_color }};
|
||||
--fg: {{ site.data.colors.fg_color }};
|
||||
--fg-alt: {{ site.data.colors.fg-alt_color }};
|
||||
--border: {{ site.data.colors.border_color }};
|
||||
--border-alt: {{ site.data.colors.border-alt_color }};
|
||||
--accent1: {{ site.data.colors.accent1_color }};
|
||||
--accent1-alt: {{ site.data.colors.accent1-alt_color }};
|
||||
--accent2: {{ site.data.colors.accent2_color }};
|
||||
--accent2-alt: {{ site.data.colors.accent-fg_color }};
|
||||
|
||||
}
|
||||
|
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
---
|
||||
@import 'colors.css';
|
||||
@import 'libs/vars';
|
||||
|
||||
@import 'libs/reset';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue