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

feat(Tag): allow custom tag color #724

Merged
merged 8 commits into from
Jan 9, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
chore(deps): sync package-lock.json
dgonzalezr committed Jan 9, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 35af144da0827df43e3052969612f92e798c2296
291 changes: 155 additions & 136 deletions package-lock.json
2 changes: 1 addition & 1 deletion packages/beeq/src/components/tag/bq-tag.types.ts
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@ export const TAG_SIZE = ['xsmall', 'small', 'medium'] as const;
export type TTagSize = (typeof TAG_SIZE)[number];

export const TAG_COLOR = ['error', 'gray', 'info', 'success', 'warning'] as const;
export type TTagColor = (typeof TAG_COLOR)[number] | (string & object);
export type TTagColor = (typeof TAG_COLOR)[number];

export const TAG_VARIANT = ['outline', 'filled'] as const;
export type TTagVariant = (typeof TAG_VARIANT)[number];