8000 Add instructions regarding dark mode versions for custom themes by rehandaphedar · Pull Request #3 · rilwis/bamboo · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add instructions regarding dark mode versions for custom themes #3

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 an 8000 d privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,18 @@ Bamboo CSS provides the following CSS variables for theming:
}
```

When creating custom themes, consider changing certain variables in the dark mode version as well:
```css
@media (prefers-color-scheme: dark) {
:root {
--b-txt: #eceff4;
--b-bg-1: #2e3440;
--b-bg-2: #3b4252;
--b-line: #3b4252;
}
}
```

All CSS variables are prefixed with `--b-` so it's safe to use Bamboo CSS with your existing websites.

## Credits
Expand Down
0