diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..9115cdb --- /dev/null +++ b/CHANGELOG.md @@ -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 diff --git a/package.json b/package.json index eba1098..cb2a78a 100644 --- a/package.json +++ b/package.json @@ -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,11 +67,11 @@ "stylelint": "^13.5.0", "stylelint-config-standard": "^20.0.0" }, - "browserslist": [ - "defaults" + "browserslist": [ + "defaults" ], "files": [ "dist/*.css", "LICENSE.md" ] -} \ No newline at end of file +}