Skip to content

Commit 8d0f72e

Browse files
authored
fix(brand): Revert change to use hard-coded default colors in example app (#1765)
1 parent a35f3a8 commit 8d0f72e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

examples/brand/app.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -252,12 +252,12 @@ def server(input, output, session):
252252
@render.plot
253253
def plot1():
254254
colors = {
255-
"foreground": theme.brand.color.foreground,
256-
"background": theme.brand.color.background,
257-
"primary": theme.brand.color.primary,
255+
"foreground": "#000000",
256+
"background": "#FFFFFF",
257+
"primary": "#007BC2",
258258
}
259259

260-
if theme.brand.color:
260+
if hasattr(theme, "brand") and theme.brand.color:
261261
colors.update(theme.brand.color.to_dict("theme"))
262262

263263
if input.color_mode() == "dark":

0 commit comments

Comments
 (0)