Problem/Motivation
from #3294005: Refactor Claro's form--password-confirm stylesheet
We need a followup issue to refactor this component in Drupal 10.0.x to make use of component-level CSS custom properties.
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | Screenshot 2023-04-13 at 4.57.38 PM.png | 22.51 KB | santosh_verma |
| #5 | Screenshot 2023-04-13 at 4.36.09 PM.png | 75.52 KB | santosh_verma |
| #5 | Screenshot 2023-04-13 at 4.36.57 PM.png | 80.39 KB | santosh_verma |
| #5 | Screenshot 2023-04-13 at 4.37.44 PM.png | 76.39 KB | santosh_verma |
| #5 | Screenshot 2023-04-13 at 4.35.50 PM.png | 80.84 KB | santosh_verma |
Issue fork drupal-3353641
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:
- 3353641-make-use-of
changes, plain diff MR !3822
Comments
Comment #4
gauravvvv commentedComment #5
santosh_verma commentedI have tested the MR #3822,
Confirm password variables now shifted into local scope from :root
Nothing broken in the UI side

Week

Fair

Good

Strong

RTBC +1
Comment #6
santosh_verma commentedComment #7
bnjmnmThe MR is largely declaring variables within style blocks and using them in the following lines. These are block scoped so there's no way to override or reuse them, so these wind up being redundant and unnecessary
For example the MR
Provides no advantage over
Comment #8
santosh_verma commentedworking on it
Comment #9
santosh_verma commentedWorked upon the suggestion given in #7, I believe that declaring variables in the styles block is redundant and unnecessary. I have addressed this suggestion in commit #8. Please take a look
Comment #10
smustgrave commentedDoes appear point #7 has been addressed
Comment #12
lauriiiPosted question in the MR
Comment #13
smustgrave commentedFor the open thread.
Comment #14
gauravvvv commentedAddressed feedback from comment #12, please review
Comment #15
smustgrave commentedvariables updated.
Comment #16
quietone commentedI'm triaging RTBC issues.
The issue summary doesn't have a proposed resolution but this does appear simple enough than maybe it is isn't needed here. I didn't find any unanswered questions. Leaving at RTBC.
Comment #19
lauriiiCommitted c945327 and pushed to 11.x. Also cherry-picked to 10.2.x. Thanks!