Skip to content

Shared units? #4

@jsg2021

Description

@jsg2021

If I have a central file that defines all my custom units, could this plugin grow an option to import a file so one could just use the units throughout a project?

For example, define a rem-px unit in a variables.css file:

:root {
  --unit-rpx: 0.0625rem;
}

And then anywhere else in the project simply use 5rpx; or something like that without having to import/re-declare?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions