-
Notifications
You must be signed in to change notification settings - Fork 273
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
fix(ui5-avatar): Fixed font-size and color-scheme #3799
Conversation
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.
You have to extract the font-size in variable which value to be changed when the theme is changed. In belize and quartz themes the font size is different.
@@ -1,5 +1,6 @@ | |||
@import "../base/sizes-parameters.css"; | |||
@import "../base/Avatar-parameters.css"; |
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.
…ui5-webcomponents into fix-avatar-fontsize-color-2
…ui5-webcomponents into fix-avatar-fontsize-color-2
Hi @ilhan007, For me it's look okey. |
@@ -0,0 +1,7 @@ | |||
:root { |
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 Convention that is currently in use is: here in sap_fiori_3_dark/Avatar-parameters.css
we import the base params
@import "../base/Avatar-parameters.css";
and then in sap_fiori_3_dark/parameters-bundle.css leave only the theme specific import
@import "./Avatar-parameters.css";
and removing @import "../base/Avatar-parameters.css"; from sap_fiori_3_dark/parameters-bundle.css
as it will be imported above
And this applies for all the themes that you introduce a theme specific params file (as sap_fiori_3_dark/Avatar-parameters.css )
The way you did it, it works as well, but it's not consistent will all the other components params.
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.
One comment below
+1 from my side |
No description provided.