Finish theming

This commit is contained in:
Michael Telatynski
2025-05-19 12:44:58 +01:00
parent b4aa07c385
commit 6e7cf567db
6 changed files with 58 additions and 41 deletions
@@ -6,7 +6,7 @@ Please see LICENSE files in the repository root for full details.
*/
import { test as base, expect } from "../../../../playwright/element-web-test.ts";
import { ModuleConfig } from "../src/config.ts";
import { type ConfigSchema } from "../src/config.ts";
const test = base.extend<{
// Resolver for when to respond to the navigation.json request
@@ -39,7 +39,7 @@ test.describe("Banner", () => {
// We don't take a screenshot as we don't want to assert Element's styling, only our own
});
const configs: ModuleConfig[] = [
const configs: ConfigSchema["_input"][] = [
{
logo_url: "http://localhost:8080/logo.svg",
logo_link_url: "https://example.com/portal",
@@ -84,6 +84,10 @@ test.describe("Banner", () => {
logo_url: "http://localhost:8080/opendesk/logofull.svg",
ics_url: "http://localhost:8080/ics/",
},
theme: {
triggerBackgroundColorHover: "#571EFA",
triggerBackgroundColorPressed: "#4519C2",
},
},
];
Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB