Skip to content

Support for xstyled/styled-components #107

Open
@rafalschmidt97

Description

@rafalschmidt97
  • 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;
  }
`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions