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

Default $dt() to return value #114

Open
MrHBS opened this issue Nov 8, 2023 · 0 comments
Open

Default $dt() to return value #114

MrHBS opened this issue Nov 8, 2023 · 0 comments

Comments

@MrHBS
Copy link

MrHBS commented Nov 8, 2023

Default $dt to return value instead of a var and add a var method instead.

$dt('color.primary.100') // 'red'
$dt.var('color.primary.100') // var(--color-primary-100)
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

1 participant