https://github.com/shaack/extreme-minimal-css
https://github.com/shaack/extreme-minimal-css
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/shaack/extreme-minimal-css
- Owner: shaack
- License: mit
- Created: 2023-08-01T12:11:33.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-09-15T12:16:19.000Z (almost 3 years ago)
- Last Synced: 2025-03-08T10:51:57.443Z (over 1 year ago)
- Language: SCSS
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# extreme-minimal-css
The goal is to create a minimal css/scss file that can be used as a starting point for any project.
## Key features
- System font stack
- Normalized on modern browsers
- Supports dark mode
- `box-sizing: border-box` everywhere
## Usage
Set the color mode with the attribute `data-emc-theme` on the `html` element.
To set the dark mode, use
```html
[...]
```
To set the auto mode, use
```html
[...]
```
the auto mode sets the dark mode if the user has set the dark mode in the OS or browser.