{#if authState}
authorization request
@@ -102,4 +100,4 @@ async function reject () {
{/if}
{/if}
-{/await}
+
diff --git a/warpgate-web/src/theme/_theme.scss b/warpgate-web/src/theme/_theme.scss
index e250aaff..f88e9bb2 100644
--- a/warpgate-web/src/theme/_theme.scss
+++ b/warpgate-web/src/theme/_theme.scss
@@ -99,16 +99,16 @@ $font-family-os: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
}
}
-.alert {
- border-top-style: none;
- border-bottom-style: none;
- border-right-style: none;
- border-left-width: 2px;
- font-style: italic;
- background: rgba(0,0,0,.25) !important;
- padding: 0.7rem 1rem;
- margin: 1rem 0;
-}
+// .alert {
+// border-top-style: none;
+// border-bottom-style: none;
+// border-right-style: none;
+// border-left-width: 2px;
+// font-style: italic;
+// background: rgba(0,0,0,.25) !important;
+// padding: 0.7rem 1rem;
+// margin: 1rem 0;
+// }
footer {
display: flex;
diff --git a/warpgate-web/src/theme/theme.light.scss b/warpgate-web/src/theme/theme.light.scss
index 9695005e..f933af17 100644
--- a/warpgate-web/src/theme/theme.light.scss
+++ b/warpgate-web/src/theme/theme.light.scss
@@ -9,10 +9,6 @@ header {
border-bottom: 1px solid rgba($body-color, .75);
}
-.alert {
- background: none !important;
-}
-
body {
color-scheme: light;
}
diff --git a/warpgate-web/src/theme/vars.common.scss b/warpgate-web/src/theme/vars.common.scss
index 1d1381c7..db646708 100644
--- a/warpgate-web/src/theme/vars.common.scss
+++ b/warpgate-web/src/theme/vars.common.scss
@@ -34,3 +34,6 @@ $badge-font-size: .8em;
$badge-font-weight: 400;
$badge-padding-y: .55em;
$badge-padding-x: .85em;
+
+$alert-border-width: 0;
+$alert-border-scale: -30%;
diff --git a/warpgate-web/src/theme/vars.dark.scss b/warpgate-web/src/theme/vars.dark.scss
index fd8fcaca..dcfbf627 100644
--- a/warpgate-web/src/theme/vars.dark.scss
+++ b/warpgate-web/src/theme/vars.dark.scss
@@ -6,8 +6,6 @@ $body-color: #c1c9e4;
$font-family-sans-serif: "Work Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
$link-color: $body-color;
$list-group-bg: transparent;
-$alert-border-radius: 0;
-$alert-border-scale: -30%;
$blue: #449fbe;
@@ -25,6 +23,7 @@ $secondary: #748d95;
$light: transparent;
$info: $blue;
+
$component-active-bg: $primary;
$input-bg: #1c1c24;
@@ -83,3 +82,17 @@ $form-switch-padding-start: 3em;
$form-check-input-checked-border-color: shade-color($form-check-color, $btn-active-border-shade-amount);
$form-check-input-checked-bg-color: shade-color($form-check-color, $btn-active-bg-shade-amount);
+
+$primary-bg-subtle: shade-color($primary, 80%);
+$secondary-bg-subtle: shade-color($secondary, 80%);
+$success-bg-subtle: shade-color($success, 80%);
+$info-bg-subtle: shade-color($info, 80%);
+$warning-bg-subtle: shade-color($warning, 80%);
+$danger-bg-subtle: shade-color($danger, 80%);
+
+$primary-text-emphasis: tint-color($primary, 60%);
+$secondary-text-emphasis: tint-color($secondary, 60%);
+$success-text-emphasis: tint-color($success, 60%);
+$info-text-emphasis: tint-color($info, 60%);
+$warning-text-emphasis: tint-color($warning, 60%);
+$danger-text-emphasis: tint-color($danger, 60%);
diff --git a/warpgate-web/src/theme/vars.light.scss b/warpgate-web/src/theme/vars.light.scss
index 0a476ca4..ef5d2d22 100644
--- a/warpgate-web/src/theme/vars.light.scss
+++ b/warpgate-web/src/theme/vars.light.scss
@@ -5,9 +5,6 @@ $body-color: #555;
$font-family-sans-serif: "Work Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
$link-color: $body-color;
$list-group-bg: transparent;
-$alert-border-radius: 0;
-$alert-border-scale: -30%;
-
$blue: #3573ac !default;
$purple: #5C398F !default;
@@ -46,3 +43,17 @@ $form-switch-padding-start: 3em;
$form-check-input-checked-border-color: tint-color($form-check-color, $btn-active-border-tint-amount);
$form-check-input-checked-bg-color: tint-color($form-check-color, $btn-active-bg-tint-amount);
+
+$primary-bg-subtle: tint-color($primary, 90%);
+$secondary-bg-subtle: tint-color($secondary, 90%);
+$success-bg-subtle: tint-color($success, 90%);
+$info-bg-subtle: tint-color($info, 90%);
+$warning-bg-subtle: tint-color($warning, 90%);
+$danger-bg-subtle: tint-color($danger, 90%);
+
+$primary-text-emphasis: shade-color($primary, 10%);
+$secondary-text-emphasis: shade-color($secondary, 10%);
+$success-text-emphasis: shade-color($success, 10%);
+$info-text-emphasis: shade-color($info, 10%);
+$warning-text-emphasis: shade-color($warning, 10%);
+$danger-text-emphasis: shade-color($danger, 10%);