Releases: lowlighter/matcha
Releases · lowlighter/matcha
3.0.0
🎨 Styles
- Layouts
- BREAKING:
.layout-simplemay now be applied on elements other thanbody- This is useful if
bodyis not your main root element
- This is useful if
- BREAKING:
- Semantic styling
- Form
- BREAKING: moved
:user-validand:user-invalidstyles into the@form-validationrules- Note: these rules are still enabled by default, but you can now easily opt-out of them using a custom build
- BREAKING: moved
- Form
💕 Sponsors
2.0.2
2.0.1
📦 Features
- Versioning
- feat: matcha.mizu.sh now offers a
/v/directory with all published releases of matcha.css- You can pin either a full semver (e.g.
/v/1.0.0/), pin a minor (e.g./v/1.0/), pin a major (e.g./v/1/), or use/v/latest/or/v/main/ - Note that unprefixed matcha.css files will kept their current behaviour of serving the
mainbranch (i.e. they're the same as using/v/main/)
- You can pin either a full semver (e.g.
- feat: matcha.mizu.sh now offers a
- Custom builder
- feat: added support for additional variables (fonts, layouts, miscellaneous, etc.)
- feat: added previewer with togglable color-scheme to easily check the render of a custom build
- fix: variables not properly overriden
🎨 Styles
- Variables
- BREAKING: prefixed all variables depending on color scheme with either
--light-or--dark-- This change was made to ease custom build generation and to avoid properties duplication for dark mode
- Note that while it's technically breaking, all unprefixed variables are still available (they're just computed from their
--light-/--dark-counterpart rather than being hard-coded). Unless you've manually overriden them in the past, chances are you're not impacted in any way by this change
- BREAKING: prefixed all variables depending on color scheme with either
- Semantic styling
- Collapsibles
- fix:
summaryis displayed withborder-radiusto correctly cropdetailsbackground
- fix:
- Flow
- fix:
preis displayed with-webkit-text-size-adjust: 100%;to avoid scaling issues on Safari iOS
- fix:
- Form
- fix:
form codeis displayed with--bg-subtleto contrast withformalready having--bg-muted - fix:
button.default:hoverbeing invisible on light mode
- fix:
- Navigation
- fix:
menuis displayed asflex-direction: columnon small screens for accessibility and to avoid submenus from appearing outside of viewport
- fix:
- Collapsibles
- Extras
@utilities- feat: added margin, padding and spacing utilities classes
@code-editor- fix:
.editoris displayed with-webkit-text-size-adjust: 100%;to avoid scaling issues on Safari iOS
- fix:
💕 Sponsors
1.0.0
📦 Features
- Use matcha.css the way you want
- Drop-in stylesheet
<link rel="stylesheet" href="https://matcha.mizu.sh/matcha.css">
- Using the NPM package
- Published as @lowlighter/matcha
- Can also be imported from any CDN that serves NPM packages
- À la carte
- Include any style from lowlighter/matcha/styles directly
- All
mod.cssstylesheets are also aliased to their respective parent directory for convenience (e.g./styles/@root/mod.csscan be accessed through/@root.css)
- Preset builds with fixed sets of styles
- Default:
matcha.css(~7.23kB) - Lite:
matcha.lite.css(~5.16kB) - Utility classes only:
matcha.utilities.css(~2.0kB) - Istanbul coverage only:
matcha.istanbul.css(~1.6kB)
- Default:
- Drop-in stylesheet
- Create custom builds from matcha.mizu.sh/build
- Choose included styles and customize properties
- Toggle minification on/off
- Provide raw CSS code to hotpatch
- Comprehensive documentation and examples
- Every styling is documented with examples and code snippets
- Toggle color scheme of each example
- Website previewer
- Every styling is documented with examples and code snippets
🎨 Styles
- Semantic styling
- Extras
@layouts: provide semantic layouts for your documents@utilities: provide utility classes for colors, backgrounds, flashes, typography, display, flexbox, and more@syntax-highlighting: provide styles for syntax highlighting to be used with highlight.js@code-editor: provide styles to create simple code editors@istanbul-coverage: provide styles to display code coverage reports@discrete-scrollbars: style scrollbars to be discrete@break-words: style elements to improve text wrapping