Skip to content

Implement auto color scale logic #256

Open
@designmatty

Description

@designmatty

In the base theme create an object named something like colorScale.
Any key: value in here will automatically create a color system based on the passed value.

ie:

colorScale: {
    red: '#f00'
}

would output:

colors: {
   red100: ...
   red200: ...
   red300: ...
   red400: ...
   red500: #f00
   ....
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions