Skip to content

Releases: lowlighter/matcha

3.0.0

10 Jul 01:55
Compare
Choose a tag to compare

🎨 Styles

  • Layouts
    • BREAKING: .layout-simple may now be applied on elements other than body
      • This is useful if body is not your main root element
  • Semantic styling
    • Form
      • BREAKING: moved :user-valid and :user-invalid styles into the @form-validation rules
        • Note: these rules are still enabled by default, but you can now easily opt-out of them using a custom build

💕 Sponsors

♥️ Become a sponsor

2.0.2

02 Jul 03:44
Compare
Choose a tag to compare

📦 Features

  • Versioning
    • fix: CSS header now contains matcha version

🎨 Styles

  • Variables
    • fix: automatic loading of --light variables was broken for light mode
  • Semantic styling
    • Form
      • fix: input[type="checkbox"]:disabled:checked now has a transparent border rather than a --accent one

💕 Sponsors

♥️ Become a sponsor

2.0.1

12 Jun 07:29
Compare
Choose a tag to compare

📦 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 main branch (i.e. they're the same as using /v/main/)
  • 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
  • Semantic styling
    • Collapsibles
      • fix: summary is displayed with border-radius to correctly crop details background
    • Flow
      • fix: pre is displayed with -webkit-text-size-adjust: 100%; to avoid scaling issues on Safari iOS
    • Form
      • fix: form code is displayed with --bg-subtle to contrast with form already having --bg-muted
      • fix: button.default:hover being invisible on light mode
    • Navigation
      • fix: menu is displayed as flex-direction: column on small screens for accessibility and to avoid submenus from appearing outside of viewport
  • Extras
    • @utilities
      • feat: added margin, padding and spacing utilities classes
    • @code-editor
      • fix: .editor is displayed with -webkit-text-size-adjust: 100%; to avoid scaling issues on Safari iOS

💕 Sponsors

♥️ Become a sponsor

1.0.0

02 Jun 07:09
Compare
Choose a tag to compare

📦 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.css stylesheets are also aliased to their respective parent directory for convenience (e.g. /styles/@root/mod.css can 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)
  • 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

🎨 Styles

💕 Sponsors

♥️ Become a sponsor