Merge "Implement mediawiki.skin.variables.less for MonoBook"

This commit is contained in:
jenkins-bot 2020-09-16 15:09:44 +00:00 committed by Gerrit Code Review
commit 404eade86e
2 changed files with 14 additions and 0 deletions

View file

@ -0,0 +1,11 @@
/**
* This file is a LESS import match for "mediawiki.skin.variables.less"
* when MonoBook is the active skin.
*/
@import 'mediawiki.skin.defaults.less';
@font-family-sans: sans-serif;
// Matches OOUI's Apex theme.
@border-radius-base: 0.25em;

View file

@ -22,6 +22,9 @@
"DefaultUserOptions": { "DefaultUserOptions": {
"monobook-responsive": true "monobook-responsive": true
}, },
"SkinLessImportPaths": {
"monobook": "resources/mediawiki.less"
},
"Hooks": { "Hooks": {
"GetPreferences": "SkinMonoBook::onGetPreferences" "GetPreferences": "SkinMonoBook::onGetPreferences"
}, },