Skip to content
This repository was archived by the owner on Mar 6, 2020. It is now read-only.
This repository was archived by the owner on Mar 6, 2020. It is now read-only.

Export CSS output to JSON #470

@rrmesquita

Description

@rrmesquita

Hi!

Is there a way to export CSS output to JSON? It would work like so:

CSS Output:

.mb\:12: {
    margin-bottom: 1.5rem;
}

.mb\:16: {
    margin-bottom: 2rem;
}

JSON Output:

{
    "mb:12": "margin-bottom: 1.5rem;",
    "mb:16": "margin-bottom: 2rem;",
}

I'm developing an autocomplete plugin for IntelliJ IDEs, and that would be really helpful for me and also other people developing around Tailwind. I appreciate any tip you can give me.

Thanks!

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