1
0
mirror of https://github.com/kognise/water.css.git synced 2025-08-17 02:24:14 +02:00

Update changelog

This commit is contained in:
Kognise
2020-10-01 13:47:52 -04:00
parent 897cca2d50
commit 81fedfeede

View File

@@ -1,32 +1,27 @@
# water.css # Water.css
## 2.0.0 ## 2.0.0
### Major Changes ### Major Changes
- Published to npm - Published to npm
If you're using an old version of Water.css, you **must** see the README or you won't get new changes
**TODO:** How does this impact jsdelivr?
- Added sourcemaps, autoprefixing, and minification - Added sourcemaps, autoprefixing, and minification
- Cleaned up the structure of sourcemap files
- Compatible with all major browsers including IE
**TODO:** this could use more description?
- Strucutre of sourcemap files
- Description of browser compatibility (?)
- Added support for `prefers-color-scheme` to automatically set light and dark theme - Added support for `prefers-color-scheme` to automatically set light and dark theme
- The default theme color is light mode
**TODO:** Describe this more - Internet Explorer does not support this so the automatic version will always show up as light mode in IE
- What are the breaking changes? - If you want to force a color scheme, use `light.css`, or `dark.css`
- What is the new default theme color?
- How does this affect them?
- Why did we make this change? - Added CSS variables to allow for changing theme colors at runtime instead of build time
- Browser support means this makes sense now?
- How should consumers update their code? IE does not support this either, but nothing should break because we provide fixed fallback colors. It is possible to compile your own theme if you must have custom colors in IE.
- Should they be using `water.css`, `light.css`, or `dark.css`?
```
- Changes to supported browsers
**TODO:** Have we lost any browser support? Especially surrounding CSS variables
- Added [Code of Conduct](.github/CODE_OF_CONDUCT.md) and [Contribution Guide](.github/CONTRIBUTING.md) - Added [Code of Conduct](.github/CODE_OF_CONDUCT.md) and [Contribution Guide](.github/CONTRIBUTING.md)
- Added css variables to allow for changing theme colors at runtime instead of build time
- Restructured `.scss` file locations and variable names - Restructured `.scss` file locations and variable names
- Added `height: auto` to `img` elements to keep aspect ratio - Added `height: auto` to `img` elements to keep aspect ratio