-
Notifications
You must be signed in to change notification settings - Fork 161
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(progress): update linear progres props and add variants for circular #15385
base: master
Are you sure you want to change the base?
Conversation
@didimmova Modifying the |
$progress-circle-color-start: map.get($theme, 'progress-circle-color'); | ||
$progress-circle-color-end: map.get($theme, 'progress-circle-color'); | ||
$fill-color-default-start: map.get($theme, 'fill-color-default'); | ||
$fill-color-default-end: map.get($theme, 'fill-color-default'); |
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.
I'm not sure if renaming progress-circle-color-start
is the best approach, as it now gives the impression that I have variables, such as fill-color-info-start
, which do not exist.
} | ||
|
||
@return extend($theme, ( | ||
name: $name, | ||
base-circle-color: $base-circle-color, | ||
progress-circle-color-start: $progress-circle-color-start, | ||
progress-circle-color-end: $progress-circle-color-end, | ||
fill-color-default-start: $fill-color-default-start, |
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.
The fill-color-default
should also be here, otherwise the user can't use it
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.
I don't think the user uses it anyway, as in the beginning it's separated into two colors which form a gradient, no matter if it's one or two colors so the progress-circle-color(before) itself never gets used in the theme.
I guess that's a whole new refactoring issue as it didn't work before also. And we're just adding variants and properties in this one. |
@simeonoff should I log separate issues for this? |
Test with this theming package
Additional information (check all that apply):
Checklist:
feature/README.MD
updates for the feature docsREADME.MD
CHANGELOG.MD
updates for newly added functionalityng update
migrations for the breaking changes (migrations guidelines)