diff --git a/assets/app.css b/assets/app.css index f6d6fd30..33561947 100644 --- a/assets/app.css +++ b/assets/app.css @@ -1,3 +1,4 @@ +@import "./tailwind.css"; @import "./fonts.css"; @import './defaultStyles.css'; @import './absicons.css'; @@ -148,15 +149,15 @@ Bookshelf Label .tracksTable { border-collapse: collapse; width: 100%; - border: 1px solid #474747; + border: 1px solid rgb(var(--color-secondary)); } .tracksTable tr:nth-child(even) { - background-color: #2e2e2e; + background-color: rgb(var(--color-secondary)); } .tracksTable tr { - background-color: #373838; + background-color: rgb(var(--color-bg)); } .tracksTable td { diff --git a/assets/tailwind.css b/assets/tailwind.css new file mode 100644 index 00000000..3e7d07ed --- /dev/null +++ b/assets/tailwind.css @@ -0,0 +1,33 @@ +@tailwind base; +@tailwind components; +@tailwind utilities; + +@layer base { + :root { + color: white; + --color-bg: 56 56 56; + --color-bg-hover: 102 104 107; + --color-fg: 230 237 243; + --color-fg-muted: 142 147 153; + --color-primary: 35 35 35; + --color-secondary: 47 48 48; + --color-border: 75 85 89; + --gradient-item-page: linear-gradient(169deg, rgba(0, 0, 0, 0.4) 0%, rgba(55, 56, 56, 1) 80%); + --gradient-audio-player: linear-gradient(169deg, rgba(0, 0, 0, 0) 0%, rgba(38, 38, 38, 1) 80%); + --gradient-minimized-audio-player: linear-gradient(145deg, rgba(38, 38, 38, 0.5) 0%, rgba(38, 38, 38, 0.9) 20%, rgb(38, 38, 38) 60%); + } + + html[data-theme='light'] { + color: black; + --color-bg: 255 255 255; + --color-bg-hover: 208 210 212; + --color-fg: 37 37 37; + --color-fg-muted: 101 109 118; + --color-primary: 222 222 222; + --color-secondary: 246 248 250; + --color-border: 189 191 191; + --gradient-item-page: linear-gradient(169deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 1) 80%); + --gradient-audio-player: linear-gradient(169deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 1) 80%); + --gradient-minimized-audio-player: linear-gradient(145deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.9) 20%, rgb(255, 255, 255) 60%); + } +} \ No newline at end of file diff --git a/components/app/Appbar.vue b/components/app/Appbar.vue index c07c000d..04bcfd52 100644 --- a/components/app/Appbar.vue +++ b/components/app/Appbar.vue @@ -4,13 +4,13 @@ - - arrow_back + + arrow_back
-

{{ currentLibraryName }}

+

{{ currentLibraryName }}

diff --git a/components/app/AudioPlayer.vue b/components/app/AudioPlayer.vue index 1ef175e1..5c6e0eb4 100644 --- a/components/app/AudioPlayer.vue +++ b/components/app/AudioPlayer.vue @@ -1,7 +1,7 @@