-
Notifications
You must be signed in to change notification settings - Fork 23
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(ui): url step for steps component EBS-1316 #225
feat(ui): url step for steps component EBS-1316 #225
Conversation
libs/ui/src/lib/circle/circle.ts
Outdated
@@ -1,10 +1,11 @@ | |||
export type CircleTheme = 'dark' | 'light'; | |||
export type CircleTheme = 'dark' | 'light' | 'dark-filled'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a thought, that instead of new theme 'dark-filled', this can also be achieved with
- theme = 'light'
- severity = 'info'
- and adding a style attribute to the
cvi-ng-circle
component with the custom border colour (same as 'info' background)style="--cvi-circle-border-color: --cvi-color-sea-green-10"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good idea! Implemented!
libs/ui/src/lib/circle/circle.ts
Outdated
@@ -29,13 +30,23 @@ export const circleThemePropertyGroups: CircleThemePropertyGroup[] = [ | |||
properties: { | |||
'--border-color': '--cvi-color-sapphire-blue-13', | |||
'--color': '--cvi-color-sapphire-blue-13', | |||
'--background-color': 'transparent', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just in case check if adding custom border colour with themes 'dark' and 'light' still work, now that the --background-color
is defined here.
No description provided.