| Name | Size | |
|---|---|---|
| .csscomb.json | 767 B | log stats plain blame |
| .gitattributes | 33 B | log stats plain blame |
| .gitignore | 105 B | log stats plain blame |
| .hound.yml | 35 B | log stats plain blame |
| .scss-lint.yml | 4.8 KiB | log stats plain blame |
| CHANGELOG.md | 10.1 KiB | log stats plain blame |
| LICENSE | 1.1 KiB | log stats plain blame |
| README.md | 2.3 KiB | log stats plain blame |
| bower.json | 582 B | log stats plain blame |
| dist | 266 B | log stats plain |
| docs | 682 B | log stats plain |
| gulpfile.js | 1.7 KiB | log stats plain blame |
| package-lock.json | 179.1 KiB | log stats plain blame |
| package.json | 1.1 KiB | log stats plain blame |
| src | 2.2 KiB | log stats plain |
Spectre.css
Spectre.css is a lightweight, responsive and modern CSS framework. Check out the upstream repo and the dark-mode upstream.
This fork modifies (poorly) the colors to match my preferences for a gruvbox-y style. Most of the colours are made to feel like those on my website. Use at your own visual risk!
Getting started
The best way to get this version of Spectre is to compile it.
Although, if you only need spectre.min.css, you can directly use the one on my website (beware: no warranty about anything):
<link rel="stylesheet" href="https://syndamia.com/spectre.min.css">
Compiling
Requirements
node, install instructions heregulp, you can install it as a global tool withsudo npm install gulp -g
Warning: currently there is an issue with new node versions, if gulp build gives you an error, follow these steps:
-
Install "n":
sudo npm install -g n -
Downgrade node to version 11 (11.15.0):
sudo n 11 -
Rebuld sass for the new node version:
npm rebuild node-sass
How to build
-
Clone the repository
-
Navigate to the folder of the repository
-
Run
npm install -
Run
gulp build -
You're done, the compiled CSS files are in the
distfolder
For more information, refer to kingajax's documentation.
Browser support
Spectre uses Autoprefixer to make most styles compatible with earlier browsers and Normalize.css for CSS resets. Spectre is designed for modern browsers. For best compatibility, these browsers are recommended:
- Chrome (LAST 4)
- Microsoft Edge (LAST 4)
- Firefox (EXTENDED SUPPORT RELEASE)
- Safari (LAST 4)
- Opera (LAST 4)
- Internet Explorer 10+
Spectre supports Internet Explorer 10+, but some HTML5 and CSS3 features are not perfectly supported by Internet Explorer.
Designed and built with ♥ by Yan Zhu and modified by kingajax.