From 2869f1ada029326b0e387534992f83e512691694 Mon Sep 17 00:00:00 2001 From: zombieFox Date: Tue, 24 Dec 2019 16:36:19 +0000 Subject: [PATCH] [design] add more and improve presets --- src/css/theme.css | 20 ++++++++++++++++++++ src/css/variables.css | 15 ++++++++++----- src/index.html | 12 ++++++++++++ src/js/control.js | 34 ++++++++++++++++++++++++++++++++++ src/js/state.js | 39 ++++++++++++++++++++++++++++++--------- 5 files changed, 106 insertions(+), 14 deletions(-) diff --git a/src/css/theme.css b/src/css/theme.css index c208243b..22625675 100644 --- a/src/css/theme.css +++ b/src/css/theme.css @@ -287,3 +287,23 @@ .theme-preset-accent-coldcube { background-color: rgb(var(--theme-preset-accent-coldcube)) } + +.theme-preset-background-outrun-01 { + background-color: rgb(var(--theme-preset-background-outrun-01)) +} + +.theme-preset-background-outrun-02 { + background-color: rgb(var(--theme-preset-background-outrun-02)) +} + +.theme-preset-background-outrun-03 { + background-color: rgb(var(--theme-preset-background-outrun-03)) +} + +.theme-preset-background-outrun-04 { + background-color: rgb(var(--theme-preset-background-outrun-04)) +} + +.theme-preset-accent-outrun { + background-color: rgb(var(--theme-preset-accent-outrun)) +} diff --git a/src/css/variables.css b/src/css/variables.css index 573195a0..28963135 100644 --- a/src/css/variables.css +++ b/src/css/variables.css @@ -71,11 +71,16 @@ --theme-preset-background-hotpepper-03: 25, 25, 25; --theme-preset-background-hotpepper-04: 25, 25, 25; --theme-preset-accent-hotpepper: 25, 25, 25; - --theme-preset-background-coldcube-01: 25, 25, 25; - --theme-preset-background-coldcube-02: 25, 25, 25; - --theme-preset-background-coldcube-03: 25, 25, 25; - --theme-preset-background-coldcube-04: 25, 25, 25; - --theme-preset-accent-coldcube: 25, 25, 25; + --theme-preset-background-coldcube-01: 25, 25, 25; + --theme-preset-background-coldcube-02: 25, 25, 25; + --theme-preset-background-coldcube-03: 25, 25, 25; + --theme-preset-background-coldcube-04: 25, 25, 25; + --theme-preset-accent-coldcube: 25, 25, 25; + --theme-preset-background-outrun-01: 25, 25, 25; + --theme-preset-background-outrun-02: 25, 25, 25; + --theme-preset-background-outrun-03: 25, 25, 25; + --theme-preset-background-outrun-04: 25, 25, 25; + --theme-preset-accent-outrun: 25, 25, 25; --theme-preset-preview-size: 6em; /* header */ --header-area-width: 100%; diff --git a/src/index.html b/src/index.html index 8c7d24db..0e88c17f 100644 --- a/src/index.html +++ b/src/index.html @@ -1429,6 +1429,18 @@ Cold Cube +
+ +