Skip to content

Commit a281208

Browse files
author
manfredsteger
committed
Improve styling for create event button in dark mode
Apply !important to background-color and color for polly-button-primary and polly-button-secondary classes in index.css to ensure consistent styling across light and dark modes. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 1117a91e-7ac6-4005-bde2-487c64d5789f Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Event-Id: 440e99f2-834c-4f55-bc53-5b1dea2f7e4e Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/afc5b6d1-cfc6-4564-802f-661c3d73f96b/1117a91e-7ac6-4005-bde2-487c64d5789f/76IdNCC
1 parent 20d49de commit a281208

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

client/src/index.css

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -138,20 +138,24 @@
138138
}
139139

140140
@layer components {
141+
button.polly-button-primary,
141142
.polly-button-primary {
142-
background-color: var(--polly-orange);
143-
color: var(--primary-foreground);
143+
background-color: var(--polly-orange) !important;
144+
color: white !important;
144145
@apply focus:ring-2 focus:ring-offset-2;
145146
}
147+
button.polly-button-primary:hover,
146148
.polly-button-primary:hover {
147149
filter: brightness(0.9);
148150
}
149151

152+
button.polly-button-secondary,
150153
.polly-button-secondary {
151-
background-color: var(--polly-blue);
152-
color: var(--primary-foreground);
154+
background-color: var(--polly-blue) !important;
155+
color: white !important;
153156
@apply focus:ring-2 focus:ring-offset-2;
154157
}
158+
button.polly-button-secondary:hover,
155159
.polly-button-secondary:hover {
156160
filter: brightness(0.9);
157161
}

0 commit comments

Comments
 (0)