Skip to content

Commit

Permalink
Change logo section of dev and deployment configs
Browse files Browse the repository at this point in the history
They now use the new configuration "syntax" for
our logos.
  • Loading branch information
owi92 committed Dec 9, 2024
1 parent d48bddc commit 4d7f128
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 17 deletions.
13 changes: 5 additions & 8 deletions .deployment/templates/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,9 @@ poll_period = "1min"
interpret_eth_passwords = true

[theme]
logo.large.path = "/opt/tobira/{{ id }}/logo-large.svg"
logo.large.resolution = [643, 217]
logo.large_dark.path = "/opt/tobira/{{ id }}/logo-large-dark.svg"
logo.large_dark.resolution = [643, 217]
logo.small.path = "/opt/tobira/{{ id }}/logo-small.svg"
logo.small.resolution = [102, 115]
logo.small_dark.path = "/opt/tobira/{{ id }}/logo-small.svg"
logo.small_dark.resolution = [212, 182]
favicon = "/opt/tobira/{{ id }}/favicon.svg"
logos = [
{ path = "/opt/tobira/{{ id }}/logo-large.svg", resolution = [425, 182] },
{ path = "/opt/tobira/{{ id }}/logo-large-dark.svg", mode = "dark", resolution = [425, 182] },
{ path = "/opt/tobira/{{ id }}/logo-small.svg", size = "narrow", resolution = [212, 182] },
]
16 changes: 7 additions & 9 deletions util/dev-config/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,18 +45,16 @@ preferred_harvest_size = 3
interpret_eth_passwords = true

[theme]
logo.large.path = "logo-large.svg"
logo.large.resolution = [425, 182]
logo.large_dark.path = "logo-large-dark.svg"
logo.large_dark.resolution = [425, 182]
logo.small.path = "logo-small.svg"
logo.small.resolution = [212, 182]
logo.small_dark.path = "logo-small.svg"
logo.small_dark.resolution = [212, 182]
favicon = "favicon.svg"
favicon = "logos/favicon.svg"
# color.primary = "#215CAF" # ETH Blau
# color.primary = "#627313" # ETH Grün
# color.primary = "#8E6713" # ETH Bronze
# color.primary = "#B7352D" # ETH Rot
# color.primary = "#A7117A" # ETH Purpur
# color.primary = "#4B67AB" # Bern Blue

logos = [
{ path = "logo-large.svg", resolution = [425, 182] },
{ path = "logo-large-dark.svg", mode = "dark", resolution = [425, 182] },
{ path = "logo-small.svg", size = "narrow", resolution = [212, 182] },
]

0 comments on commit 4d7f128

Please sign in to comment.