+
-
-
-
\ No newline at end of file
diff --git a/src/features/nav/components/Navbar.vue b/src/features/nav/components/Navbar.vue
index 8ecdd2a..9033eb7 100644
--- a/src/features/nav/components/Navbar.vue
+++ b/src/features/nav/components/Navbar.vue
@@ -13,14 +13,25 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
-
+
@@ -48,4 +59,20 @@ limitations under the License.
.global-nav .right-links a:hover{
text-decoration: underline;
}
+.dark-mode-toggle {
+ background: none;
+ border: 1.5px solid var(--light-d-3);
+ border-radius: 50%;
+ width: 36px;
+ height: 36px;
+ cursor: pointer;
+ font-size: 1rem;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+}
+
+.dark-mode-toggle:hover {
+ background: var(--light-d-2);
+}
\ No newline at end of file
diff --git a/src/styles/variables/colors.css b/src/styles/variables/colors.css
index 6f1e1aa..48dc034 100644
--- a/src/styles/variables/colors.css
+++ b/src/styles/variables/colors.css
@@ -59,4 +59,19 @@
--dark-bg: var(--black-l-2);
--light-bg: oklch(1 0 0);
+}
+.dark {
+ color-scheme: dark;
+ background-color: var(--dark-bg);
+ color: var(--white-d-1);
+
+ --light: var(--black-l-8);
+ --light-d-1: var(--black-l-7);
+ --light-d-2: var(--black-l-6);
+ --light-d-3: var(--black-l-5);
+ --light-d-4: var(--black-l-4);
+ --light-d-5: var(--black-l-3);
+ --light-d-6: var(--black-l-2);
+ --light-d-7: var(--black-l-1);
+ --light-d-8: var(--black);
}
\ No newline at end of file