Problem/Motivation
Following the work from #3251709: Define Blue scale for Claro and defined in #3155531: Naming convention of color shades in the Drupal Design System (e.g. for Claro), we are creating a red color scale.
Right now we have 5 reds on the design system, but they are not completely related to each other and do not pass some accessibility tests.
Proposed resolution
Update the current red colors defined on the code and files with the new ones. Color definition can be seen at Figma, where you can copy&paste the color values:

Remaining tasks
- Replace the 6 red colors with the new ones
- Replace any icon color using red with the new ones. This will mean to:
- Update the color inside the SVG
- Update icons' directory names (based on their hexadecimal color).
- Update any reference to that icons in the CSS.
- Accessibility sign-off
Testing steps
Components to test using red:
- Action link
- Button
- Ckeditor
- Fieldset
- Form
- Form password confirm
- Form checkbox/radio
- Form text / textarea
- Messages
User interface changes
All red colors will change their values.
| Comment | File | Size | Author |
|---|---|---|---|
| #18 | test-claro2.jpg | 211.51 KB | WagnerMelo |
| #18 | Test-Claro.jpg | 281.49 KB | WagnerMelo |
| #16 | 3270842-16-d10.patch | 20.12 KB | javi-er |
| #15 | 3270842-15-d9.patch | 25.88 KB | javi-er |
| #10 | 3270842-10-d9.patch | 20.83 KB | javi-er |
Issue fork drupal-3270842
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
ckrinaComment #4
ckrinaComment #5
ckrinaComment #6
ckrinaComment #7
javi-er commentedSeems like CSS needs to be recompiled for tests to pass and also the deleted image needs to be re added in a different folder, in my local it's saying that core/themes/claro/images/core/dc2323/error.svg is missing when there is an error in the status report.
Comment #8
javi-er commentedSorry, I uploaded the wrong screenshot in the previous comment.
Comment #9
javi-er commentedUpdated patch for 9.4.x, this is passing all tests in my local.
Comment #10
javi-er commentedThe color in error.svg needed to be updated as well.
Comment #11
sharayurajput commentedComment #14
sharayurajput commentedComment #15
javi-er commentedAdjusted the D9 patch to account for the new changes in 9.4.x ( blue variations)
Also, I moved the error icon to
/core/misc/icons/dc2323/error.svgfollowing " Refactor references to images in Claro's images/core directory "Comment #16
javi-er commentedUpdated D10 patch.
Comment #17
javi-er commentedComment #18
WagnerMelo commentedI reviewed this issue, and all the changes asked looks like ok for me, all the codes was changed correctly, and i checked the color on drupal site.
Comment #20
alexpottCommitted a2ce4d4 and pushed to 10.0.x. Thanks!
Committed and pushed 304c695aee to 9.5.x and 20d4f84621 to 9.4.x. Thanks!