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

feat(tags): basic support for any type of tags #1013

Merged
merged 1 commit into from Jul 21, 2022
Merged

Conversation

Anber
Copy link
Collaborator

@Anber Anber commented Jul 21, 2022

Motivation

Currently, Linaria supports only tagged template literals, but there are no reasons why we can not support other types of styles declarations, such as makeStyles from @griffel/react.

Summary

This PR makes it possible to define processors for any exported identifier, so it becomes possible to implement native support for makeStyles from griffel, or support for transpiled template tags, or any other (even not related to CSS) use case that requires build-time evaluation.

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

1 participant