Skip to content

Add MUG-specific theme styling: variables.less and overrides.less#47

Merged
lpandath merged 1 commit intomainfrom
feature/mug-theme-styling
Jan 7, 2026
Merged

Add MUG-specific theme styling: variables.less and overrides.less#47
lpandath merged 1 commit intomainfrom
feature/mug-theme-styling

Conversation

@lpandath
Copy link
Contributor

@lpandath lpandath commented Dec 23, 2025

create a MUG-specific overrides.less in themes/MUG/ with only the MUG-specific changes, then copy it in the Dockerfile.

note: why do we write overrides? because needed for global override in overrides.less that applies to all inputs, not just the header search.
only:

/* Global input focus color override - MUG green instead of default blue */
.ui.input > input:focus,
.ui.form input[type]:focus {
  border-color: @mugSearch !important;
}

.ui.input > input:hover {
  border-color: @mugSearch !important;
}

note: the Dockerfile copies the entire overrides.less file from themes/MUG/ to replace the one in the installed package
note: used the same styling of format as in invenio-override for variables.less

https://github.com/orgs/sharedRDM/projects/10?pane=issue&itemId=145124734&issue=sharedRDM%7Cmug-project-management%7C32

Screenshot 2025-12-23 at 10 02 01 Screenshot 2025-12-23 at 10 02 31

@lpandath lpandath force-pushed the feature/mug-theme-styling branch 2 times, most recently from 8c7d000 to 565a296 Compare December 23, 2025 09:55
@lpandath lpandath force-pushed the feature/mug-theme-styling branch from 565a296 to 8085e0f Compare December 23, 2025 12:32
@lpandath lpandath merged commit d9d8388 into main Jan 7, 2026
@lpandath lpandath deleted the feature/mug-theme-styling branch January 7, 2026 09:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants