@@ -42,7 +42,7 @@ export default function BentoSpotify() {
{/* Spotify Logo */}
-
+
@@ -78,21 +78,21 @@ export default function BentoSpotify() {
const { name: song, artist, album, image, url } = displayData
return (
-
+
{/* Background Pattern */}
{/* Spotify Logo */}
-
+
{/* Header */}
-
+
{displayData['@attr']?.nowplaying === 'true'
? 'NOW PLAYING'
@@ -111,7 +111,7 @@ export default function BentoSpotify() {
className="h-16 w-16 rounded-lg border shadow-lg"
/>
{displayData['@attr']?.nowplaying === 'true' && (
-
+
)}
@@ -132,7 +132,7 @@ export default function BentoSpotify() {
diff --git a/src/styles/global.css b/src/styles/global.css
index 6e33c7f..2aed97c 100644
--- a/src/styles/global.css
+++ b/src/styles/global.css
@@ -52,35 +52,41 @@
}
:root {
- --background: oklch(1 0 0);
- --foreground: oklch(0.145 0 0);
- --primary: oklch(0.205 0 0);
- --primary-foreground: oklch(0.985 0 0);
- --secondary: oklch(0.97 0 0);
- --secondary-foreground: oklch(0.205 0 0);
- --muted: oklch(0.97 0 0);
- --muted-foreground: oklch(0.556 0 0);
- --accent: oklch(0.97 0 0);
- --accent-foreground: oklch(0.205 0 0);
- --destructive: oklch(0.577 0.245 27.325);
- --border: oklch(0.922 0 0);
- --ring: oklch(0.708 0 0);
+ --background: #faf4ed;
+ --foreground: #575279;
+ --primary: #286983;
+ --primary-foreground: #faf4ed;
+ --secondary: #f2e9e1;
+ --secondary-foreground: #575279;
+ --muted: #f2e9e1;
+ --muted-foreground: #797593;
+ --accent: #d7827e;
+ --accent-foreground: #575279;
+ --additive: #56949f;
+ --additive-foreground: #faf4ed;
+ --destructive: #b4637a;
+ --destructive-foreground: #faf4ed;
+ --border: #dfdad9;
+ --ring: #907aa9;
}
[data-theme="dark"] {
- --background: oklch(0.145 0 0);
- --foreground: oklch(0.985 0 0);
- --primary: oklch(0.922 0 0);
- --primary-foreground: oklch(0.205 0 0);
- --secondary: oklch(0.269 0 0);
- --secondary-foreground: oklch(0.985 0 0);
- --muted: oklch(0.269 0 0);
- --muted-foreground: oklch(0.708 0 0);
- --accent: oklch(0.269 0 0);
- --accent-foreground: oklch(0.985 0 0);
- --destructive: oklch(0.704 0.191 22.216);
- --border: oklch(1 0 0 / 10%);
- --ring: oklch(0.556 0 0);
+ --background: #191724;
+ --foreground: #e0def4;
+ --primary: #c4a7e7;
+ --primary-foreground: #191724;
+ --secondary: #26233a;
+ --secondary-foreground: #e0def4;
+ --muted: #26233a;
+ --muted-foreground: #908caa;
+ --accent: #eb6f92;
+ --accent-foreground: #e0def4;
+ --additive: #9ccfd8;
+ --additive-foreground: #191724;
+ --destructive: #eb6f92;
+ --destructive-foreground: #e0def4;
+ --border: #403d52;
+ --ring: #6e6a86;
}
@layer base {