Skip to content

Commit b3520aa

Browse files
Version Packages
1 parent 052ce74 commit b3520aa

3 files changed

Lines changed: 23 additions & 22 deletions

File tree

.changeset/modern-marx-five.md

Lines changed: 0 additions & 21 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,27 @@
11
# marx-css
22

3+
## 5.0.0
4+
5+
### Major Changes
6+
7+
- 052ce74: Marx 5: a ground-up modernization for the 2026 web, borrowing patterns from Tailwind CSS Preflight v4.3 and shadcn/ui typeset.
8+
9+
**Highlights**
10+
11+
- Automatic light/dark mode via `color-scheme` + `light-dark()` — force a scheme with `:root { color-scheme: light }` (or `dark`).
12+
- Zero specificity: every rule is wrapped in `:where()` inside cascade layers (`marx.base`, `marx.content`, `marx.forms`), so any consumer CSS overrides Marx.
13+
- New `--marx-*` design-token API (oklch colors, `rem` type scale) replaces the old unprefixed variables — see the migration table in the README.
14+
- Modern preflight-style base replaces the vendored sanitize.css snapshot.
15+
- Typeset-style rhythm: one-directional `margin-block-start` flow, logical properties throughout (RTL-ready), `text-wrap: balance`/`pretty`, styled `dialog`/`[popover]`/`kbd`, accent-colored native controls, `field-sizing` textareas.
16+
- Accessibility: `:focus-visible` outlines everywhere (no more removed outlines), `:user-invalid` instead of `:invalid`, transitions gated behind `prefers-reduced-motion`, print styles, WCAG AA-checked palette in both schemes.
17+
- Build swapped from PostCSS to Lightning CSS; package gains `exports`/`style`/`sideEffects` fields.
18+
19+
**Breaking changes**
20+
21+
- Theming variables renamed (`--md-pad``--marx-space-md`, `--link-color``--marx-link`, …) — full table in the README.
22+
- Pages now follow the OS dark-mode preference by default; add `:root { color-scheme: light }` to keep v4's always-light look.
23+
- Links are subtly underlined; type scale is `rem`-based; browser floor is Baseline 2024 (Chrome/Edge 123+, Firefox 120+, Safari 17.5+), with older browsers degrading to a readable light theme.
24+
325
## 4.1.4
426

527
### Patch Changes

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "marx-css",
3-
"version": "4.1.4",
3+
"version": "5.0.0",
44
"description": "The classless CSS reset (perfect for Communists).",
55
"keywords": [
66
"blode",

0 commit comments

Comments
 (0)