Skip to content

feat(styles): cut down CSS reset#20960

Merged
KaelWD merged 21 commits intonextfrom
feat/minimal-reset
Dec 19, 2025
Merged

feat(styles): cut down CSS reset#20960
KaelWD merged 21 commits intonextfrom
feat/minimal-reset

Conversation

@KaelWD
Copy link
Copy Markdown
Member

@KaelWD KaelWD commented Feb 5, 2025

90% of this is for ancient browsers and the rest can be done in component styles instead of affecting the entire page.

closes #17633

@KaelWD KaelWD added this to the v4.0.0 (Revisionist) milestone Feb 5, 2025
@KaelWD KaelWD self-assigned this Feb 5, 2025
@KaelWD KaelWD force-pushed the feat/minimal-reset branch from 7bce4e9 to c18c3ef Compare February 6, 2025 06:09
@KaelWD
Copy link
Copy Markdown
Member Author

KaelWD commented Feb 12, 2025

It looks like the only component this actually affected was VField, everything else still looks identical.
Should we keep some sensible defaults for headings and lists? Reset to 0 is kinda awful but the browser defaults have huge margins.

@MajesticPotatoe MajesticPotatoe added the T: feature A new feature label Feb 14, 2025
@KaelWD
Copy link
Copy Markdown
Member Author

KaelWD commented Dec 10, 2025

I think typography can be separate, maybe bring back the pre-0.17 styles as an optional import after #22396?

@KaelWD KaelWD marked this pull request as ready for review December 10, 2025 09:22
@KaelWD KaelWD merged commit ae3e8c9 into next Dec 19, 2025
16 checks passed
@KaelWD KaelWD deleted the feat/minimal-reset branch December 19, 2025 07:41
J-Sek added a commit that referenced this pull request Dec 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

T: feature A new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants