mirror of
https://github.com/kognise/water.css.git
synced 2025-08-26 14:34:24 +02:00
Linting, so much linting
I installed and configured stylelint and eslint, and added an editorconfig as well as a vscode recommended extensions file. The reason the diff is so large is I ran the linters and fixed all the linting issues.
This commit is contained in:
13
README.md
13
README.md
@@ -96,6 +96,7 @@ If you want to change a value for dark or light mode only, use a media query lik
|
||||
:root {
|
||||
--links: blue; /* Always applied */
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
:root {
|
||||
--links: yellow; /* Only applied in dark mode (overrides previous declarations while applied) */
|
||||
@@ -117,10 +118,6 @@ If you are targeting browsers without support for CSS Custom Properties such as
|
||||
When making your changes, we recommend you don't change the values set by Water.css directly, instead simply add your own variable declarations:
|
||||
|
||||
```css
|
||||
:root {
|
||||
/* Water.css variable declarations... */
|
||||
}
|
||||
|
||||
/* ⬇ Add this block! */
|
||||
:root {
|
||||
/* Your variable declarations, overriding previous ones */
|
||||
@@ -144,10 +141,4 @@ $ yarn dev
|
||||
**Alternatively, just click this button to develop in Repl.it, a supercool in-browser IDE!** [](https://repl.it/github/kognise/water.css)
|
||||
|
||||
Before submitting your first pull request, make sure to check out our [Contributing Guide](https://github.com/kognise/water.css/tree/master/.github/CONTRIBUTING.md)!
|
||||
Thanks for taking the time to contribute :)
|
||||
|
||||
## Todos
|
||||
|
||||
- Add screenshots
|
||||
- Release Jekyll theme ([#18](https://github.com/kognise/water.css/issues/18))
|
||||
- Publish to npm ([#41](https://github.com/kognise/water.css/issues/41))
|
||||
Thanks for taking the time to contribute :)
|
Reference in New Issue
Block a user