Loading
fix: #3634870 Keep the switch options in the module's text colour under Default Admin
Issue: https://www.drupal.org/project/ai_media/issues/3634870
Under Default Admin the switch options took the theme's link and link hover colours, because its :any-link rule loads later at the same specificity. The option rules are now scoped under .ai-media-mode, so --aim-text applies in Default Admin and Gin alike.
Before: the switch options take Default Admin's link colour.
After: the options use the module's text colour.
AI-Generated: Yes
Checkpoints:
- File an issue
- Addition/Change/Update/Fix
- Testing to ensure no regression
- Automated unit testing coverage
- Automated functional testing coverage
- UX/UI designer responsibilities
- Readability
- Accessibility
- Performance
- Security
- Developer Documentation
- User Guide Documentation
- Reviewed by human
- Code review by maintainers
- Full testing and approval
- Credit contributors
- Review with the product owner
- Release notes snippet
- Release
Edited by Rajab Natshah

