mirror of
https://github.com/kognise/water.css.git
synced 2025-12-06 06:44:58 +01:00
2 KiB
2 KiB
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-schemeto automatically set light and dark themeTODO: 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, ordark.css?
- Should they be using
- What are the breaking changes?
-
Changes to supported browsers
TODO: Have we lost any browser support? Especially surrounding CSS variables
-
Added Code of Conduct and Contribution Guide
-
Added css variables to allow for changing theme colors at runtime instead of build time
-
Restructured
.scssfile locations and variable names -
Added
height: autotoimgelements to keep aspect ratio
Minor Changes
- Added radio and checkbox styles
- Added styles for prepending emojis to
href='mailto',href='tel', andhref='sms' tableno longer has outer borders andtrelements use color striping for alternating backgorund colors- Added
min-heightand respectcols/rowsattributes ontextarea - Use
system-uifont when available - Added styles for
samp,time,var, andkbdelements - Added styling for
blockquote,q, andmarkelements - Added print styles
- Custom scrollbar styles
- Added
cursor: not-allowedtoselect: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
tableelements no longer overflow- Added linter and linted entire codebase
- Fixed
max-widthofvideoelement to prevent overflowing