Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: changebg color to black for all themes for intro screens #231

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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%;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why do we need a new variable?

and best to wait for @stackingsaunter to confirm what we should do

--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
Loading