https://github.com/ether/ep_prefer_color_scheme
https://github.com/ether/ep_prefer_color_scheme
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ether/ep_prefer_color_scheme
- Owner: ether
- License: apache-2.0
- Created: 2023-10-25T19:52:46.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-02T17:31:15.000Z (over 1 year ago)
- Last Synced: 2025-03-12T19:04:25.438Z (12 months ago)
- Language: JavaScript
- Size: 114 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
 
# Make Etherpad react to your systems default settings
For dark mode the following settings apply:
```javascript
const nightColors = {
toolbar: 'dark',
background: 'super-dark',
editor: 'dark',
}
```
For light mode:
```javascript
const dayColors = {
toolbar: 'super-light',
background: 'light',
editor: 'super-light',
}
```