diff --git a/src/App.vue b/src/App.vue index 4000f51..bec3fe5 100644 --- a/src/App.vue +++ b/src/App.vue @@ -39,7 +39,7 @@ export default defineComponent({ diff --git a/src/components/fields/Text.vue b/src/components/fields/Text.vue index c166b5b..1e71298 100644 --- a/src/components/fields/Text.vue +++ b/src/components/fields/Text.vue @@ -54,6 +54,10 @@ form { input { width: 50%; + outline: none; + border: solid 1px var(--outline); + background-color: unset; + border-radius: var(--border-radius); } .fullWidth { diff --git a/src/components/fields/Toggle.vue b/src/components/fields/Toggle.vue index 7706954..b85ac9e 100644 --- a/src/components/fields/Toggle.vue +++ b/src/components/fields/Toggle.vue @@ -40,20 +40,21 @@ span { } /* track */ -span::before { +input + span::before { content: ""; float: right; margin: 5px 0 5px 10px; border-radius: 7px; width: 36px; height: 14px; - background-color: rgba(0, 0, 0, 0.38); + background-color: var(--outline); + opacity: 0.38; vertical-align: top; transition: background-color 0.2s, opacity 0.2s; } /* thumb */ -span::after { +input + span::after { content: ""; position: absolute; top: 2px; @@ -61,28 +62,31 @@ span::after { border-radius: 50%; width: 20px; height: 20px; - background-color: white; + background-color: var(--locked); box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12); transition: background-color 0.2s, transform 0.2s; } input:checked + span::before { - background-color: rgba(33, 150, 243, 0.6); + background-color: var(--link); + opacity: 0.6; } input:checked + span::after { - background-color: rgb(33, 150, 243); + background-color: var(--link); transform: translateX(16px); } /* active */ input:active + span::before { - background-color: rgba(33, 150, 243, 0.6); + background-color: var(--link); + opacity: 0.6; } input:checked:active + span::before { - background-color: rgba(0, 0, 0, 0.38); + background-color: var(--outline); + opacity: 0.38; } /* disabled */ @@ -93,10 +97,12 @@ input:disabled + span { } input:disabled + span::before { - background-color: rgba(0, 0, 0, 0.38); + background-color: var(--outline); + opacity: 0.38; } input:checked:disabled + span::before { - background-color: rgba(33, 150, 243, 0.6); + background-color: var(--link); + opacity: 0.6; } diff --git a/src/components/system/GameOverScreen.vue b/src/components/system/GameOverScreen.vue index bd09e20..6eb2780 100644 --- a/src/components/system/GameOverScreen.vue +++ b/src/components/system/GameOverScreen.vue @@ -78,7 +78,7 @@ export default defineComponent({ .game-over-modal-header { margin: -20px; margin-bottom: 0; - background: var(--secondary-background); + background: var(--raised-background); } .game-over-modal-header * { diff --git a/src/components/system/Info.vue b/src/components/system/Info.vue index 0896597..1349d08 100644 --- a/src/components/system/Info.vue +++ b/src/components/system/Info.vue @@ -112,7 +112,7 @@ export default defineComponent({ display: flex; margin: -20px; margin-bottom: 0; - background: var(--secondary-background); + background: var(--raised-background); align-items: center; } diff --git a/src/components/system/LayerTab.vue b/src/components/system/LayerTab.vue index 4f37440..ae60155 100644 --- a/src/components/system/LayerTab.vue +++ b/src/components/system/LayerTab.vue @@ -215,7 +215,7 @@ export default defineComponent({ margin: 0; cursor: pointer; font-size: 40px; - color: var(--color); + color: var(--foreground); border: none; background-color: transparent; } @@ -241,8 +241,8 @@ export default defineComponent({ } .subtabs-container:not(.floating) { - border-top: solid 4px var(--separator); - border-bottom: solid 4px var(--separator); + border-top: solid 4px var(--outline); + border-bottom: solid 4px var(--outline); } .subtabs-container:not(.floating) .subtabs { @@ -307,7 +307,7 @@ export default defineComponent({ background: var(--background); box-shadow: var(--background) 0 2px 3px 5px; border-radius: 50%; - color: var(--color); + color: var(--foreground); font-size: 40px; cursor: pointer; padding: 0; @@ -324,7 +324,7 @@ export default defineComponent({ left: 20px; background-color: transparent; border: 1px solid transparent; - color: var(--color); + color: var(--foreground); font-size: 40px; cursor: pointer; line-height: 40px; @@ -333,7 +333,7 @@ export default defineComponent({ .goBack:hover { transform: scale(1.1, 1.1); - text-shadow: 0 0 7px var(--color); + text-shadow: 0 0 7px var(--foreground); } diff --git a/src/components/system/Microtab.vue b/src/components/system/Microtab.vue index 8ad5d42..82b1b42 100644 --- a/src/components/system/Microtab.vue +++ b/src/components/system/Microtab.vue @@ -84,7 +84,7 @@ export default defineComponent({ .microtabs { margin: var(--feature-margin) -11px; position: relative; - border: solid 4px var(--separator); + border: solid 4px var(--outline); } .tabs:not(.floating) { diff --git a/src/components/system/Nav.vue b/src/components/system/Nav.vue index 4b4a302..4750e0e 100644 --- a/src/components/system/Nav.vue +++ b/src/components/system/Nav.vue @@ -128,14 +128,14 @@ export default defineComponent({ @@ -105,7 +105,7 @@ export default defineComponent({ .tab hr { height: 4px; border: none; - background: var(--separator); + background: var(--outline); margin: 7px -10px; } diff --git a/src/components/system/Tooltip.vue b/src/components/system/Tooltip.vue index 7490fd1..a16f205 100644 --- a/src/components/system/Tooltip.vue +++ b/src/components/system/Tooltip.vue @@ -92,7 +92,7 @@ export default defineComponent({ transform: translateX(-50%); padding: 7px; border-radius: 3px; - background-color: var(--background-tooltip); + background-color: var(--tooltip-background); color: var(--points); z-index: 100 !important; word-break: break-word; @@ -117,7 +117,7 @@ export default defineComponent({ margin-left: -5px; border-width: 5px; border-style: solid; - border-color: var(--background-tooltip) transparent transparent transparent; + border-color: var(--tooltip-background) transparent transparent transparent; } .tooltip.left, @@ -138,7 +138,7 @@ export default defineComponent({ right: 100%; margin-left: unset; margin-top: -5px; - border-color: transparent transparent transparent var(--background-tooltip); + border-color: transparent transparent transparent var(--tooltip-background); } .tooltip.right { @@ -155,7 +155,7 @@ export default defineComponent({ right: 100%; margin-left: -10px; margin-top: -5px; - border-color: transparent var(--background-tooltip) transparent transparent; + border-color: transparent var(--tooltip-background) transparent transparent; } .tooltip.bottom { @@ -170,6 +170,6 @@ export default defineComponent({ .tooltip.bottom::after { top: 0; margin-top: -10px; - border-color: transparent transparent var(--background-tooltip) transparent; + border-color: transparent transparent var(--tooltip-background) transparent; } diff --git a/src/components/system/VerticalRule.vue b/src/components/system/VerticalRule.vue index 5496d6c..19b7238 100644 --- a/src/components/system/VerticalRule.vue +++ b/src/components/system/VerticalRule.vue @@ -16,7 +16,7 @@ export default defineComponent({