mirror of
https://github.com/kognise/water.css.git
synced 2025-08-08 14:16:58 +02:00
Merge pull request #211 from kylejrp/two-changeset
[WIP] Added changeset
This commit is contained in:
53
CHANGELOG.md
Normal file
53
CHANGELOG.md
Normal file
@@ -0,0 +1,53 @@
|
||||
# water.css
|
||||
|
||||
## 2.0.0
|
||||
### Major Changes
|
||||
|
||||
- Published to npm
|
||||
|
||||
**TODO:** How does this impact jsdelivr?
|
||||
- Added sourcemaps, autoprefixing, and minification
|
||||
|
||||
**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
|
||||
|
||||
**TODO:** Describe this more
|
||||
- What are the breaking changes?
|
||||
- What is the new default theme color?
|
||||
- How does this affect them?
|
||||
- Why did we make this change?
|
||||
- Browser support means this makes sense now?
|
||||
- How should consumers update their code?
|
||||
- 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 css variables to allow for changing theme colors at runtime instead of build time
|
||||
- Restructured `.scss` file locations and variable names
|
||||
- Added `height: auto` to `img` elements to keep aspect ratio
|
||||
|
||||
### Minor Changes
|
||||
|
||||
- Added radio and checkbox styles
|
||||
- Added styles for prepending emojis to `href='mailto'`, `href='tel'`, and `href='sms'`
|
||||
- `table` no longer has outer borders and `tr` elements use color striping for alternating backgorund colors
|
||||
- Added `min-height` and respect `cols`/`rows` attributes on `textarea`
|
||||
- Use `system-ui` font when available
|
||||
- Added styles for `samp`, `time`, `var`, and `kbd` elements
|
||||
- Added styling for `blockquote`, `q`, and `mark` elements
|
||||
- Added print styles
|
||||
- Custom scrollbar styles
|
||||
- Added `cursor: not-allowed` to `select:disabled`, `button:disabled`, `textarea:disabled`
|
||||
- Added styles for `::selection`
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- Fixed padding, alignment, and colors on several elements
|
||||
- Modified some colors to fix accessibility issues
|
||||
- `table` elements no longer overflow
|
||||
- Added linter and linted entire codebase
|
||||
- Fixed `max-width` of `video` element to prevent overflowing
|
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "water.css",
|
||||
"version": "1.4.0",
|
||||
"version": "2.0.0",
|
||||
"description": "A drop-in collection of CSS styles to make simple websites just a little nicer",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
@@ -67,8 +67,8 @@
|
||||
"stylelint": "^13.5.0",
|
||||
"stylelint-config-standard": "^20.0.0"
|
||||
},
|
||||
"browserslist": [
|
||||
"defaults"
|
||||
"browserslist": [
|
||||
"defaults"
|
||||
],
|
||||
"files": [
|
||||
"dist/*.css",
|
||||
|
Reference in New Issue
Block a user