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

Add extended color enum support #197

Merged
merged 2 commits into from
Dec 9, 2021
Merged

Conversation

nicmosc
Copy link
Member

@nicmosc nicmosc commented Dec 7, 2021

Takes the defined colors in the style vars
image

And adds a proper enum for them, with support in the Tag component for now only
image

@nicmosc nicmosc self-assigned this Dec 7, 2021
@nicmosc nicmosc added enhancement New feature or request minor Increment the minor version when merged labels Dec 7, 2021
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This pull request contains a valid label.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This pull request contains a valid label.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This pull request contains a valid label.

v === `${match[0]}.${value?.description || value}` ||
v === `${match[1]}.${value?.description || value}`)) : value;

// const finalValue = isEnum ? (type?.name || '') + '.' + (value?.description || value) : value;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Old line left behind it looks like

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

forgot to push earlier ffs

@larsbs larsbs merged commit 3ba61e7 into master Dec 9, 2021
@larsbs larsbs deleted the feature/add-extended-color-support branch December 9, 2021 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request minor Increment the minor version when merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants