themes: add bitwig theme and manage themes src as scss
This commit is contained in:
parent
086aa09572
commit
46c196992e
11 changed files with 137 additions and 56 deletions
|
|
@ -73,11 +73,11 @@
|
|||
left:0;
|
||||
right:0;
|
||||
bottom:0;
|
||||
background: radial-gradient(ellipse farthest-side at center top, var(--color-custom), var(--color-track));
|
||||
background: radial-gradient(ellipse farthest-side at center top, var(--color-glass), var(--color-track));
|
||||
background-size: 150% 150%;
|
||||
background-repeat: no-repeat;
|
||||
background-position: center top;
|
||||
opacity: .15;
|
||||
opacity: var(--glass-opacity);
|
||||
z-index: 3;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
@import 'vars';
|
||||
@import 'reset';
|
||||
@import 'themes/default';
|
||||
|
||||
@import 'reset';
|
||||
|
||||
@import 'scrollbars';
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
|
||||
$base: rgb(25, 31, 42);
|
||||
$accent: rgb(82, 168, 255);
|
||||
$tone: rgb(104, 174, 245);
|
||||
$base: #181818;
|
||||
$accent: #d98533;
|
||||
$tone: rgb(200, 200, 200);
|
||||
$text: white;
|
||||
|
||||
:root {
|
||||
43
src/browser/scss/themes/default.scss
Normal file
43
src/browser/scss/themes/default.scss
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
|
||||
$base: rgb(25, 31, 42);
|
||||
$accent: rgb(82, 168, 255);
|
||||
$tone: rgb(104, 174, 245);
|
||||
$text: white;
|
||||
|
||||
:root {
|
||||
|
||||
////////////////////// COLOR SCHEME
|
||||
|
||||
--color-text: transparentize($text, .4);
|
||||
--color-text-fade: transparentize($text, .6);
|
||||
|
||||
--color-accent: $accent;
|
||||
--color-grid: transparentize($accent, 0.95);
|
||||
|
||||
--color-bg: $base;
|
||||
--color-track: desaturate(mix($base, $tone, 95), 2);
|
||||
--color-fg: desaturate(mix($base, $tone, 88), 5);
|
||||
--color-raised: desaturate(mix($base, $tone, 75), 5);
|
||||
--color-light: desaturate(transparentize($tone, 0.90), 50);
|
||||
|
||||
--color-white: white;
|
||||
|
||||
////////////////////// AUTO
|
||||
|
||||
--color-custom: var(--color-accent);
|
||||
|
||||
|
||||
////////////////////// GLASS EFFET
|
||||
|
||||
--color-glass: var(--color-accent);
|
||||
--glass-opacity: 0.15;
|
||||
|
||||
|
||||
////////////////////// MISC
|
||||
|
||||
--nav-height:40rem;
|
||||
--sidepanel-size:300rem;
|
||||
--scrollbar-size:20rem;
|
||||
|
||||
--grid-width:10;
|
||||
}
|
||||
49
src/browser/scss/themes/light.scss
Normal file
49
src/browser/scss/themes/light.scss
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
$base: rgb(200, 200, 200);
|
||||
$accent: rgb(0, 200, 200);
|
||||
$tone: white;
|
||||
$text: black;
|
||||
|
||||
|
||||
:root {
|
||||
|
||||
////////////////////// COLOR SCHEME
|
||||
|
||||
--color-text: transparentize($text, .4);
|
||||
--color-text-fade: transparentize($text, .6);
|
||||
|
||||
--color-accent: $accent;
|
||||
--color-grid: transparentize($accent, 0.95);
|
||||
|
||||
--color-bg: $base;
|
||||
--color-track: desaturate(mix($base, $tone, 40), 2);
|
||||
--color-fg: desaturate(mix($base, $tone, 30), 5);
|
||||
--color-raised: desaturate(mix($base, $tone, 20), 5);
|
||||
--color-light: desaturate(transparentize($tone, 0.90), 50);
|
||||
|
||||
--color-white: white;
|
||||
|
||||
////////////////////// AUTO
|
||||
|
||||
--color-custom: var(--color-accent);
|
||||
|
||||
|
||||
////////////////////// GLASS EFFET
|
||||
|
||||
--color-glass: white;
|
||||
--glass-opacity: 0.55;
|
||||
|
||||
|
||||
////////////////////// MISC
|
||||
|
||||
--nav-height:40rem;
|
||||
--sidepanel-size:300rem;
|
||||
--scrollbar-size:20rem;
|
||||
|
||||
--grid-width:10;
|
||||
}
|
||||
|
||||
|
||||
.keyboard-container {
|
||||
--color-black-key: #333;
|
||||
--color-white-key: #fff;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue