Skip to content

Native styles cleanup #1043

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 14 commits into from
Jun 9, 2025
Merged

Native styles cleanup #1043

merged 14 commits into from
Jun 9, 2025

Conversation

lindsaym-fa
Copy link
Contributor

@lindsaym-fa lindsaym-fa commented Jun 6, 2025

This refactors styles/native.css to:

  • Remove extraneous custom properties
  • Add #region markers for collapsible sections
  • Consolidate redundant/overlapping rules
  • Add --wa-content-spacing for easier content flow customization
  • Move out styles that were designed for the code blocks in our docs

Additionally, this:

  • Fixes some theme overrides.css styles that were styling native elements with the now removed custom properties
  • Fixes incorrect spacing in drawer and dialog

@lindsaym-fa lindsaym-fa linked an issue Jun 6, 2025 that may be closed by this pull request
Copy link

vercel bot commented Jun 6, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
webawesome ✅ Ready (Inspect) Visit Preview Jun 9, 2025 1:23pm

@lindsaym-fa lindsaym-fa marked this pull request as ready for review June 9, 2025 13:30
@lindsaym-fa lindsaym-fa requested a review from claviska June 9, 2025 13:30
@lindsaym-fa lindsaym-fa merged commit 6f856fb into next Jun 9, 2025
2 checks passed
@lindsaym-fa lindsaym-fa deleted the lm/native-styles-cleanup branch July 1, 2025 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cleanup native style custom properties
2 participants