package: package refactoring

This commit is contained in:
bordun 2018-10-28 14:09:16 +01:00
parent 1b2da1750a
commit d0cc7f51aa
145 changed files with 175 additions and 847 deletions

View file

@ -0,0 +1,31 @@
.widget.push-container.on .toggle:before,
.widget.modal-container.on .toggle:before,
.widget.switch-container .value.on:before,
.widget.switcher-container .value.on:before,
.widget.crossfader-container .value.on:before,
.widget.toggle-container.on:not(.led) .toggle:before {
z-index: 1;
opacity: .5;
}
.widget.push-container.on,
.widget.modal-container.on,
.widget.switch-container .value.on,
.widget.switcher-container .value.on,
.widget.crossfader-container .value.on,
.widget.toggle-container.on:not(.led) {
background : var(--color-custom);
color: var(--color-bg);
font-weight: 900;
}
.widget.push-container.active:not(.on) > .label {
color: var(--color-custom);
}
.widget.modal-container.on .popup {
color: var(--color-text);
font-weight: 500;
}

46
src/scss/themes/dark.scss Normal file
View file

@ -0,0 +1,46 @@
$base: #0e1215;
$accent: #1585f6;
$tone: #799;
$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: #161a1d;
--color-raised: #171c20;
--color-light: #{desaturate(transparentize($tone, 0.95), 50)};
--color-white: white;
////////////////////// AUTO
--color-custom: var(--color-accent);
////////////////////// GLASS EFFET
--color-glass: var(--color-accent);
--glass-opacity: 0.03;
////////////////////// MISC
--nav-height:40rem;
--sidepanel-size:300rem;
--scrollbar-size:20rem;
--grid-width:10;
}
.keyboard-container {
--color-black: #555;
}

View file

@ -0,0 +1,41 @@
$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
--glass-opacity: 0.15;
////////////////////// MISC
--nav-height:40rem;
--sidepanel-size:300rem;
--scrollbar-size:20rem;
--grid-width:10;
}

24
src/scss/themes/flat.scss Normal file
View file

@ -0,0 +1,24 @@
.toggle-container,
.push-container,
.modal-container {
> .toggle:not(.on):before {
box-shadow: 0 0 0 1rem var(--color-light) inset!important;
}
}
.switch-container .switch .value,
.switcher-container .switch .value,
.dropdown-container .select select {
box-shadow: 0 0 0 1rem var(--color-light) inset!important;
}
.toggle-container .toggle.on:after,
.push-container .toggle.active:after,
.switch-container .switch .value.on:after {
// background: var(--color-bg)
}
.widget {
--color-glass-1: var(--color-custom);
--color-glass-2: var(--color-custom);
}

View file

@ -0,0 +1,51 @@
$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
--glass-opacity: 0.05;
////////////////////// MISC
--nav-height:40rem;
--sidepanel-size:300rem;
--scrollbar-size:20rem;
--grid-width:10;
}
.widget {
--color-glass: white;
}
.keyboard-container {
--color-black-key: #333;
--color-white-key: #fff;
}

View file

@ -0,0 +1,36 @@
$base: #181818;
$accent: #d98533;
$tone: rgb(200, 200, 200);
$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);
////////////////////// MISC
--nav-height:40rem;
--sidepanel-size:300rem;
--scrollbar-size:20rem;
--grid-width:10;
}

View file

@ -0,0 +1,11 @@
@media screen and (min-width:768px) {
body > * {
font-size: 120%
}
}
@media screen and (min-width:1024px) {
body > * {
font-size: 140%
}
}