Rephrase comment

This commit is contained in:
RMidhunSuresh 2022-05-30 11:39:05 +05:30
parent cb03e97e78
commit e8e4c33bae

View file

@ -264,11 +264,11 @@ module.exports = function buildThemes(options) {
if (isDefault) { if (isDefault) {
/** /**
* This is a default variant! * This is a default variant!
* We'll add these to the builtAssets keyed with just the * We'll add these to the builtAssets (separately) keyed with just the
* theme-name (i.e "Element" instead of "Element Dark") * theme-name (i.e "Element" instead of "Element Dark").
* so that we can distinguish them from other variants! * We need to be able to distinguish them from other variants!
* *
* This allows us to render a radio-button with "dark" and * This allows us to render radio-buttons with "dark" and
* "light" options. * "light" options.
*/ */
const defaultVariant = dark ? defaultDarkVariant : defaultLightVariant; const defaultVariant = dark ? defaultDarkVariant : defaultLightVariant;