fix light theme

This commit is contained in:
FullGreaM 2026-04-26 22:26:41 +03:00
parent d1a99d7d04
commit bfd1e7c19a

View File

@ -22,13 +22,14 @@ export class DarkStyle extends SkeletonStyle {
export class LightStyle extends SkeletonStyle {
navbar(element: GefestElement): void {
// Nothing add. Bg is light by default, and text is dark by default, so we don't need to add any classes for the navbar in the light style.
//element.addClass("light-navbar");
}
applyStyle(html: string, element?: GefestElement): string {
if (!element)
element = GefestElement.fromHTML(html);
//element.addClass("light-mode");
element.addClass("bg-light");
element.addClass("text-dark");
this.navbar(element);
return element.build(true);