Skip to content

Commit

Permalink
fix(website): coding theme
Browse files Browse the repository at this point in the history
  • Loading branch information
guilhermerodz committed Mar 12, 2024
1 parent b450c03 commit 8587092
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions apps/website/src/app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -119,15 +119,18 @@
}
.code-example-light {
}
.dark .code-example-light {
display: none;
}
.code-example-dark {
display: none;
}
.dark .code-example-dark {
display: unset;
@media (prefers-color-scheme: dark) {
.code-example-light {
display: none;
}
.code-example-dark {
display: unset;
}
}

@media (prefers-reduced-motion: reduce) {
.code-example-overlay {
opacity: 0;
Expand Down

0 comments on commit 8587092

Please sign in to comment.