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

Support for xstyled/styled-components #107

Open
rafalschmidt97 opened this issue Oct 26, 2022 · 0 comments
Open

Support for xstyled/styled-components #107

rafalschmidt97 opened this issue Oct 26, 2022 · 0 comments

Comments

@rafalschmidt97
Copy link

  • IDE name and version: 2022.2.3
  • Styled-components plugin version: 222.4345.14

Problem description:

I wish there will be a support for xstyled theme variables. Are you planing to add it maybe?
https://xstyled.dev/docs/migrate-from-styled-components/

import styled from '@xstyled/styled-components'

const Button = styled.button`
  padding-top: 2;
  padding-bottom: 2;
  padding-right: 4;
  padding-left: 4;
  color: white;
  border-radius: md;
  font-weight: semibold;
  transition: default;
  background-color: emerald-500; <--- variables without ${} syntax

  &:hover {
    background-color: emerald-800;
  }

  &:focus {
    outline: none;
    box-shadow: emerald-ring;
  }
`
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