Skip to content

Commit b4da06e

Browse files
committed
feat: [#421] added theme switch functionality
1 parent f69039e commit b4da06e

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

app.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<div data-theme="torrust">
2+
<div>
33
<Notifications />
44

55
<NavigationBar />

components/navigation/NavigationBar.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
<option value="light">
8585
Light
8686
</option>
87-
<option value="dark">
87+
<option value="torrust">
8888
Dark
8989
</option>
9090
<option value="coffee">

tailwind.config.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ module.exports = {
1717
daisyui: {
1818
themes: [
1919
"halloween",
20+
"light",
21+
"coffee",
2022
{
2123
torrust: {
2224
primary: "#f28c18",

0 commit comments

Comments
 (0)