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

Media Queries built with Figma Variables #42

Open
Cybertron01Z opened this issue Jul 15, 2024 · 0 comments
Open

Media Queries built with Figma Variables #42

Cybertron01Z opened this issue Jul 15, 2024 · 0 comments
Labels
enhancement New feature or request figma Figma changes

Comments

@Cybertron01Z
Copy link
Collaborator

In Julios PR, this code was introduced, in the cssFigmaVariables.cjs.

const MEDIA_QUERIES = {
  desktop: '@media (min-width: 481px)',
  mobile: '@media (max-width: 480px)',
};

We think it would be possible to have dedicated figma variables/maybe styles, where we define the media query sizes. Like this we can define the breakpoints in figma and it is automatically updated. Would be kinda cool if this is possible

@Cybertron01Z Cybertron01Z added enhancement New feature or request figma Figma changes labels Jul 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request figma Figma changes
Projects
Development

No branches or pull requests

1 participant