From 10dab431a8b0dd70a1fab866fdc7a91fbf228d69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Ml=C3=A1dek?= Date: Thu, 30 Dec 2021 23:24:38 +0100 Subject: [PATCH] use solarized as color scheme --- ui/src/App.svelte | 2 +- ui/src/components/utils/IconButton.svelte | 2 +- ui/src/components/utils/Input.svelte | 2 +- ui/src/components/utils/ProgessBar.svelte | 2 +- ui/src/components/widgets/Table.svelte | 9 ++- ui/src/styles/colors-app.scss | 93 +++++++++++++++++++++++ ui/src/styles/colors.scss | 62 +++++---------- 7 files changed, 119 insertions(+), 53 deletions(-) create mode 100644 ui/src/styles/colors-app.scss diff --git a/ui/src/App.svelte b/ui/src/App.svelte index fdd567e..6b47a4d 100644 --- a/ui/src/App.svelte +++ b/ui/src/App.svelte @@ -35,7 +35,7 @@ diff --git a/ui/src/components/utils/Input.svelte b/ui/src/components/utils/Input.svelte index 93fbb09..04a5c56 100644 --- a/ui/src/components/utils/Input.svelte +++ b/ui/src/components/utils/Input.svelte @@ -31,7 +31,7 @@ transition: box-shadow .25s; &.focused { - box-shadow: 0 0 2px 3px var(--primary-lightest); + box-shadow: 0 0 2px 3px var(--primary); } } diff --git a/ui/src/components/utils/ProgessBar.svelte b/ui/src/components/utils/ProgessBar.svelte index 7715083..362d259 100644 --- a/ui/src/components/utils/ProgessBar.svelte +++ b/ui/src/components/utils/ProgessBar.svelte @@ -20,7 +20,7 @@ } .value { - background: var(--primary-lightest); + background: var(--primary); height: 100%; width: var(--value); transition: width 0.2s ease; diff --git a/ui/src/components/widgets/Table.svelte b/ui/src/components/widgets/Table.svelte index 6584fc4..6d66f8f 100644 --- a/ui/src/components/widgets/Table.svelte +++ b/ui/src/components/widgets/Table.svelte @@ -320,19 +320,20 @@ import Input from "../utils/Input.svelte";