fix light theme
This commit is contained in:
parent
d1a99d7d04
commit
bfd1e7c19a
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user