Skip to content

Commit a8520b1

Browse files
authored
fix: fix contrast on playground settings text (#1261)
1 parent bdbcaae commit a8520b1

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/Playground.res

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ module SelectionOption = {
8181
className={"playground-selection-option mr-1 px-2 py-1 rounded inline-block " ++ if isActive {
8282
"playground-selection-option-active font-bold"
8383
} else {
84-
"opacity-50 hover:opacity-80"
84+
"opacity-90 hover:opacity-100"
8585
}}
8686
onClick
8787
disabled

styles/main.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -311,17 +311,17 @@
311311
}
312312

313313
.playground-text-primary {
314-
color: var(--playground-text-primary);
314+
color: var(--playground-text-primary) !important;
315315
}
316316

317317
.playground-text-secondary {
318-
color: var(--playground-text-secondary);
318+
color: var(--playground-text-secondary) !important;
319319
}
320320

321321
.playground-select {
322322
background-color: var(--playground-elevated-bg);
323323
border-color: var(--playground-border);
324-
color: var(--playground-text-primary);
324+
color: var(--playground-text-primary) !important;
325325
}
326326

327327
.playground-selection-option {

0 commit comments

Comments
 (0)