From 30ecf2f805638311228f336b37ed8ca4c96403cd Mon Sep 17 00:00:00 2001 From: nklhrstv Date: Wed, 4 Mar 2020 16:55:10 +0200 Subject: [PATCH] new color theme applied to settings --- src/common/ColorInput/styles.less | 8 ++-- src/routes/Settings/Settings.js | 30 +++++-------- src/routes/Settings/styles.less | 72 ++++++++++++++++++++----------- 3 files changed, 63 insertions(+), 47 deletions(-) diff --git a/src/common/ColorInput/styles.less b/src/common/ColorInput/styles.less index 9e85d9d8b..c969d2a61 100644 --- a/src/common/ColorInput/styles.less +++ b/src/common/ColorInput/styles.less @@ -1,3 +1,5 @@ +@import (reference) '~stremio-colors/dist/less/stremio-colors.less'; + .color-input-container { position: relative; z-index: 0; @@ -13,13 +15,13 @@ align-items: center; justify-content: center; padding: 0 0.5rem; - border: thin solid var(--color-surfacelighter20); + border: thin solid @color-surface-light5-20; pointer-events: none; .transparent-label { flex: 1; text-align: center; - color: var(--color-surfacelighter); + color: @color-surface-light5; white-space: nowrap; text-overflow: ellipsis; } @@ -28,4 +30,4 @@ .color-picker-container { margin: 1rem 0; -} +} \ No newline at end of file diff --git a/src/routes/Settings/Settings.js b/src/routes/Settings/Settings.js index 55de4a16d..2c55777f9 100644 --- a/src/routes/Settings/Settings.js +++ b/src/routes/Settings/Settings.js @@ -148,6 +148,9 @@ const Settings = () => { null } + { profile.auth === null ? @@ -157,18 +160,16 @@ const Settings = () => { : -
- -
+ null }
- +
+
Interface language
+
+
@@ -197,15 +198,6 @@ const Settings = () => {
Subscribe
-
-
-
Interface language
-
- -