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

Change screen config to handle numerical values #39

Open
kaiel-pineda opened this issue Apr 16, 2023 · 1 comment
Open

Change screen config to handle numerical values #39

kaiel-pineda opened this issue Apr 16, 2023 · 1 comment

Comments

@kaiel-pineda
Copy link

I was wondering if you're able to add the feature to be able to use something like 2xl on the screens config without the output throwing an interpolation error:

screens: (
sm: 768px,
md: 1024px,
lg: 1280px,
xl: 1536px,
2xl: "screen size",
),

Having it output as .\2xl or [class="2xl"] would be amazing.

@jinsupark
Copy link
Member

Hey there! Does putting the 2xl in single quotes not work? So, '2xl'

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

No branches or pull requests

2 participants