-
Notifications
You must be signed in to change notification settings - Fork 245
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] theme_*: fix s_big_number
wrong gradient implementation
#930
base: 18.0
Are you sure you want to change the base?
[FIX] theme_*: fix s_big_number
wrong gradient implementation
#930
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.
Thanks @chgo-odoo .
One remark for theme_anelusia
, ok the rest 👍
bce7e21
to
57c25bc
Compare
Thanks @stefanorigano, change done ! Marked this as ready for review as the diff was only about a suggestion |
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 remark in the code.
Also, PR's description ( odoo/odoo#180983 as well):
- Typo: "This
commit" -> "This pull request" - List linked PRs at end of the description, not in the middle ;)
Thanks
57c25bc
to
f0ee2e9
Compare
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.
LGTM 👍
note: some themes untouched by this PR totally remove the 'text-gradient" effect. I'm wondering if it's the right approach. Anyhow, adding them back would be out of scope for this PR.. the fix it's ok 👍
Thanks!
f0ee2e9
to
a745281
Compare
*: anelusia, artists, avantgarde, aviato, beauty, bewise, bistro, bookstore, buzzy, clean, cobalt, enark, graphene, kea, kiddo, loftspace, monglia, nano, notes, odoo_experts, orchid, paptic, real_estate, treehouse, vehicle, yes, zap This commit aims to fix a wrong implementation of gradients on the `s_big_number` snippet within the context of the web editor. Prior to this commit, the `s_big_number` snippet was using a gradient composed of the right color, but being declared as `RGB` values. While this is working as expected and looking like it uses the right `--o-color-*`, it's indeed working with the specific color applied in first place. If a user changes the color palette of the website, the snippet will look terrible as it doesn't adapt to the new palette. This commit fixes the issue by using the right implementation with CSS variables. It also reviews a wrong structure using `<div>` while it should use the right html tag. task-4202371
a745281
to
3d1fc22
Compare
*: anelusia, artists, avantgarde, aviato, beauty, bewise, monglia, vehicle
This PR aims to fix a wrong implementation of gradients on the
s_big_number
snippet within the context of the web editor.Prior to this commit, the
s_big_number
snippet was using a gradient composed of the right color, but being declared asRGB
values.While this is working as expected and looking like it uses the right
--o-color-*
, it's indeed working with the specific color applied in first place. If a user changes the color palette of the website, the snippet will look terrible as it doesn't adapt to the new palette.This PR fixes the issue by using the right implementation with CSS variables.
task-4202371
s_big_number
wrong gradient implementation odoo#180983