From b02e015496beb52b8bab51ba89004bd5f1961869 Mon Sep 17 00:00:00 2001 From: Fred Boniface Date: Mon, 16 Oct 2023 11:52:05 +0100 Subject: [PATCH] Update remaining elements with new theme colors --- package.json | 2 +- src/lib/ldb/staff/table/table-generator.svelte | 2 +- src/lib/navigation/nav-ldb.svelte | 1 + src/lib/themes.css | 8 ++++++-- src/lib/train/train-detail.svelte | 2 +- 5 files changed, 10 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index ad0deae..3dc4852 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "scripts": { "dev": "vite dev", "build": "vite build", - "postbuild": "npx svelte-sitemap --domain https://owlboard.info --ignore '**/err/**' --ignore 'more/reg/submit'", + "postbuild": "npx svelte-sitemap --domain https://owlboard.info --ignore '**/err/**' --ignore '**/reg/submit'", "preview": "vite preview", "check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json", "check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch", diff --git a/src/lib/ldb/staff/table/table-generator.svelte b/src/lib/ldb/staff/table/table-generator.svelte index 4f723e1..340ae8e 100644 --- a/src/lib/ldb/staff/table/table-generator.svelte +++ b/src/lib/ldb/staff/table/table-generator.svelte @@ -204,7 +204,7 @@ .tableTxt { text-align: left; padding-left: 2px; - color: var(--second-text-color); + color: var(--secondary-text-color); vertical-align: top; font-size: 12px; padding-bottom: 10px; diff --git a/src/lib/navigation/nav-ldb.svelte b/src/lib/navigation/nav-ldb.svelte index 4161c2a..163c2a6 100644 --- a/src/lib/navigation/nav-ldb.svelte +++ b/src/lib/navigation/nav-ldb.svelte @@ -48,6 +48,7 @@ border-top: none; border-bottom: none; border-color: var(--box-shadow-color); + color: var(--main-text-color); text-decoration: double; font-weight: 600; } diff --git a/src/lib/themes.css b/src/lib/themes.css index f51742f..076ce67 100644 --- a/src/lib/themes.css +++ b/src/lib/themes.css @@ -23,16 +23,20 @@ --second-bg-color: #2b343c; --main-header-color: #dff3f3; --main-text-color: #cce9e9; + --secondary-text-color: #02fcfc; --main-link-color: #00b7b7; --island-bg-color: #3c6f79de; --island-bg-solid: #3c6f79; --island-button-color: #404c55; - --island-link-color: #cce9e9; + --island-link-color: #e1ebeb; --island-header-color: #4fd1d1; - --island-text-color: #cce9e9; + --island-text-color: #e1ebeb; --overlay-island-bg-color: #3c6f79; --box-shadow-color: rgba(0,0,0,0.19); --box-shadow: 2px 2px 4px rgba(0,0,0,0.19); + --main-alert-color: #ed6d00; + --second-alert-color: #e77f00; + --main-warning-color: orange; } diff --git a/src/lib/train/train-detail.svelte b/src/lib/train/train-detail.svelte index dcf0cf9..dcf5405 100644 --- a/src/lib/train/train-detail.svelte +++ b/src/lib/train/train-detail.svelte @@ -143,7 +143,7 @@ .pis { font-size: 18px; font-weight: 600; - color: var(--island-header-color); + color: var(--main-text-color); margin-top: 10px; margin-bottom: 5px; }