Merge branch 'theme-canta'

This commit is contained in:
Romain Vigier
2020-02-13 19:02:55 +01:00
3 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -176,7 +176,7 @@ class Variants {
variants.day = 'HighContrast';
variants.night = 'HighContrastInverse';
}
else if ( name.match(/Materia.*-compact/g) ) {
else if ( name.match(/(Canta|Materia).*-compact/g) ) {
variants.day = name.replace(/-dark(?!er)/g, '');
variants.night = variants.day.replace(/(-light)?-compact/g, '-dark-compact');
}