Improve phrasing
parent
0eb8d3f4d1
commit
c3c47f170c
|
@ -25,7 +25,7 @@ const cssThemes = {
|
||||||
};
|
};
|
||||||
|
|
||||||
function getActiveThemes() {
|
function getActiveThemes() {
|
||||||
// We want to use `light` theme by default if it's not defined.
|
// Default to `light` theme when the MATRIX_THEMES environment variable is not defined.
|
||||||
const theme = process.env.MATRIX_THEMES ?? 'light';
|
const theme = process.env.MATRIX_THEMES ?? 'light';
|
||||||
const themes = theme.split(',').filter(x => x).map(x => x.trim()).filter(x => x);
|
const themes = theme.split(',').filter(x => x).map(x => x.trim()).filter(x => x);
|
||||||
return themes;
|
return themes;
|
||||||
|
|
Loading…
Reference in New Issue