-
Notifications
You must be signed in to change notification settings - Fork 30.6k
[FIX] web, website: checkered background display in the color presets #234083
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
Closed
alap-odoo
wants to merge
1
commit into
odoo:saas-18.4
from
odoo-dev:saas-18.4-fix-colorpicker-transparency-display-alap
Closed
[FIX] web, website: checkered background display in the color presets #234083
alap-odoo
wants to merge
1
commit into
odoo:saas-18.4
from
odoo-dev:saas-18.4-fix-colorpicker-transparency-display-alap
+21
−0
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Contributor
03f2114 to
692fc83
Compare
Contributor
|
PS: The file has changed from v19 so it will later needs adaptation. Good Work. 😉 |
87cc8ca to
146edb8
Compare
Steps to reproduce: 1. Go to website and click edit. 2. Switch to the "Theme" tab and click on "Color Presets". 3. Click on first color preset, then open the background color picker. 4. Switch to gradient tab, select any gradient, and adjust the opacity. 5. Now, click on second color preset, open the background color picker. 6. Switch to the custom tab, select any color, and adjust its opacity. Issue: When a gradient is selected (first color preset), the color preset preview area correctly displays a checkered background to indicate transparency. However, when a plain custom color is selected (second color preset), the checkered transparency background is missing from the color preset preview area. Fix: Set the value of "--PreviewAlphaBg-background-size" variable as 32px. Moreover, extended the "%o-preview-alpha-background" placeholder in the "color_picker.scss" file to ensure the checkered background is consistently applied for both gradient and custom color selections. task-5226064
146edb8 to
9a8746f
Compare
bvr-odoo
approved these changes
Nov 27, 2025
Contributor
|
@robodoo delegate=bvr-odoo |
Contributor
|
@robodoo r+ |
robodoo
pushed a commit
that referenced
this pull request
Dec 1, 2025
Steps to reproduce: 1. Go to website and click edit. 2. Switch to the "Theme" tab and click on "Color Presets". 3. Click on first color preset, then open the background color picker. 4. Switch to gradient tab, select any gradient, and adjust the opacity. 5. Now, click on second color preset, open the background color picker. 6. Switch to the custom tab, select any color, and adjust its opacity. Issue: When a gradient is selected (first color preset), the color preset preview area correctly displays a checkered background to indicate transparency. However, when a plain custom color is selected (second color preset), the checkered transparency background is missing from the color preset preview area. Fix: Set the value of "--PreviewAlphaBg-background-size" variable as 32px. Moreover, extended the "%o-preview-alpha-background" placeholder in the "color_picker.scss" file to ensure the checkered background is consistently applied for both gradient and custom color selections. task-5226064 closes #234083 Signed-off-by: Benjamin Vray (bvr) <bvr@odoo.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.

Steps to reproduce:
Issue:
When a gradient is selected (first color preset), the color preset preview area correctly displays a checkered background to indicate transparency. However, when a plain custom color is selected (second color preset), the checkered transparency background is missing from the color preset preview area.
Fix:
Set the value of
--PreviewAlphaBg-background-sizevariable as32px. Moreover, extended the%o-preview-alpha-backgroundplaceholder in thecolor_picker.scssfile to ensure the checkered background is consistently applied for both gradient and custom color selections.task-5226064