-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Sections LESS mixins: fix the issue with missing rules and incorrect default variables #18730
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
Sections LESS mixins: fix the issue with missing rules and incorrect default variables #18730
Conversation
|
Hi @dmytro-ch. Thank you for your contribution
For more details, please, review the Magento Contributor Assistant documentation |
|
Hi @sidolov, thank you for the review. |
|
Hi @sidolov, thank you for the review. |
1 similar comment
|
Hi @sidolov, thank you for the review. |
…nd incorrect default variables #18730
|
Hi @dmytro-ch. Thank you for your contribution. |
There are couple of issues when trying to use mixins for "tabs" and "accordion".
The issue is related to
lib/web/css/source/lib/_sections.less.The default variables are predefined in
lib/web/css/source/lib/variables/_sections.less.Description (*)
When you try to customize the view of "tabs" and "accordion" components by redefining the default variables in the scope of a custom theme, the following issues appear:
Fixed Issues (if relevant)
Manual testing scenarios (*)
Let's try to define the following variables in the scope of a custom theme.
Assuming that those variables are not defined elsewhere (in the scope of current or parent theme) except the default lib variables file
lib/web/css/source/lib/variables/_sections.less.Expected Result
There are red color, yellow background and underline text decoration applied for both accordion and tabs active controls.
Contribution checklist (*)