Skip to content

Commit

Permalink
feat: change intro color to black for all themes
Browse files Browse the repository at this point in the history
  • Loading branch information
pavanjoshi914 committed Jul 9, 2024
1 parent e401a1e commit 3ef8aa9
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/screens/Intro.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export function Intro() {
}, [api]);

return (
<Carousel className={cn("w-full bg-background")} setApi={setApi}>
<Carousel className={cn("w-full bg-introBackground")} setApi={setApi}>
<div
className="w-full h-full absolute top-0 left-0 bg-no-repeat"
style={{
Expand Down
2 changes: 2 additions & 0 deletions frontend/src/themes/alby.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
.theme-alby {
--background: 0 0% 100%;
--intro-background: 240 10% 3.9%;
--foreground: 0 0% 5%;
--card: 0 0% 100%;
--card-foreground: 0 0% 5%;
Expand All @@ -23,6 +24,7 @@

.theme-alby.dark {
--background: 0 0% 3%;
--intro-background: 240 10% 3.9%;
--foreground: 0 0% 98%;

--card: 0 0% 3%;
Expand Down
2 changes: 2 additions & 0 deletions frontend/src/themes/bitcoin.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
.theme-bitcoin {
--background: 0 0% 100%;
--intro-background: 240 10% 3.9%;
--foreground: 0 0% 5%;

--card: 0 0% 100%;
Expand Down Expand Up @@ -32,6 +33,7 @@

.theme-bitcoin.dark {
--background: 60 3% 6%;
--intro-background: 240 10% 3.9%;
--foreground: 0 0% 98%;

--card: 60 3% 6%;
Expand Down
2 changes: 2 additions & 0 deletions frontend/src/themes/default.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
.theme-default {
--background: 0 0% 100%;
--intro-background: 240 10% 3.9%;
--foreground: 240 10% 3.9%;
--card: 0 0% 100%;
--card-foreground: 240 10% 3.9%;
Expand All @@ -25,6 +26,7 @@

.theme-default.dark {
--background: 240 10% 3.9%;
--intro-background: 240 10% 3.9%;
--foreground: 0 0% 98%;
--card: 240 10% 3.9%;
--card-foreground: 0 0% 98%;
Expand Down
2 changes: 2 additions & 0 deletions frontend/src/themes/nostr.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
.theme-nostr {
--background: 270 8% 95%;
--intro-background: 240 10% 3.9%;
--foreground: 270 8% 5%;

--card: 270 8% 95%;
Expand Down Expand Up @@ -32,6 +33,7 @@

.theme-nostr.dark {
--background: 300 4% 5%;
--intro-background: 240 10% 3.9%;
--foreground: 0 0% 98%;

--card: 300 4% 5%;
Expand Down
1 change: 1 addition & 0 deletions frontend/tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ module.exports = {
input: "hsl(var(--input))",
ring: "hsl(var(--ring))",
background: "hsl(var(--background))",
introBackground: "hsl(var(--intro-background))",
foreground: "hsl(var(--foreground))",
primary: {
DEFAULT: "hsl(var(--primary))",
Expand Down

0 comments on commit 3ef8aa9

Please sign in to comment.