Skip to content

Commit

Permalink
IONOS(theming): reduce available themes providers
Browse files Browse the repository at this point in the history
in order not to load not required css

Signed-off-by: Misha M.-Kupriyanov <[email protected]>
  • Loading branch information
printminion-co committed Sep 11, 2024
1 parent 82c3b7a commit 19da1ca
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions apps/theming/lib/Service/ThemesService.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,12 @@ public function __construct(
$darkHighContrastTheme->getId() => $darkHighContrastTheme,
$dyslexiaFont->getId() => $dyslexiaFont,
];

$this->themesProviders = [
$defaultTheme->getId() => $defaultTheme,
$lightTheme->getId() => $lightTheme,
$darkTheme->getId() => $darkTheme,
];
}

/**
Expand Down

0 comments on commit 19da1ca

Please sign in to comment.