Skip to content
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

add support for CSS Values 4 viewport-relative units #2775

Merged
merged 1 commit into from Apr 3, 2023

Conversation

taraspolovyi
Copy link
Contributor

What:

The MR adds support for viewport-relative units from CSS Values 4 (WD), which became the de-facto standard by being supported by all major browsers now.

Why:

It would be nice to enable people to use these units in their code.

How:

The array of units ( in ./lib/units.js) was extended to support the new values.

Checklist:

  • Documentation
  • Unit Tests
  • Code complete
  • Changelog

@netlify
Copy link

netlify bot commented Mar 13, 2023

Deploy Preview for stylus-docs canceled.

Name Link
🔨 Latest commit a80d1a0
🔍 Latest deploy log https://app.netlify.com/sites/stylus-docs/deploys/640f7525d2b97b00081812d7

Copy link
Member

@iChenLei iChenLei left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add unit tests for CSS Values 4 viewport-relative units
, Thanks

Copy link
Member

@iChenLei iChenLei left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@iChenLei iChenLei merged commit 1d2eaa3 into stylus:dev Apr 3, 2023
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.

None yet

2 participants