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

sourcemaps for styles #1029

Closed
amcc opened this issue Jun 26, 2020 · 2 comments
Closed

sourcemaps for styles #1029

amcc opened this issue Jun 26, 2020 · 2 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@amcc
Copy link

amcc commented Jun 26, 2020

Finding styles, variants, sx props in a browser inspector is very hard right now. I see emotion has support for sourcemaps, can this be implemented in theme-ui for Gatsby?

@lachlanjc lachlanjc added the enhancement New feature or request label Dec 3, 2020
@lachlanjc
Copy link
Member

Emotion Babel plugin will help this! https://emotion.sh/docs/babel

Still needs a bridge into the sx/theme variants/other places styling is used through Theme UI.

Related: #1234

@lachlanjc lachlanjc added the help wanted Extra attention is needed label Dec 6, 2020
@lachlanjc
Copy link
Member

We'd welcome a PR for this, but we're not planning to implement this feature ourselves, so closing this issue for now. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants