2025-04-14 19:01:34 +01:00
|
|
|
from colours.themes import load_colours, Palettes
|
|
|
|
from colours.darkmode import darkmode_on
|
2025-04-03 02:26:24 +01:00
|
|
|
|
|
|
|
|
2025-04-14 19:01:34 +01:00
|
|
|
def main():
|
|
|
|
# leave this alone!
|
|
|
|
config.load_autoconfig()
|
2025-04-03 02:26:24 +01:00
|
|
|
|
2025-04-14 19:01:34 +01:00
|
|
|
# rose-pine
|
|
|
|
load_colours(c, Palettes.rose_pine)
|
2025-04-03 02:26:24 +01:00
|
|
|
|
2025-04-14 19:01:34 +01:00
|
|
|
darkmode_on(config, ["about:blank"])
|
|
|
|
|
|
|
|
c.colors.webpage.darkmode.enabled = False
|
|
|
|
c.colors.webpage.preferred_color_scheme = "dark"
|
2025-04-16 23:00:37 +01:00
|
|
|
|
2025-04-14 19:01:34 +01:00
|
|
|
c.tabs.position = "top"
|
|
|
|
c.tabs.width = 32
|
|
|
|
c.tabs.padding = {
|
|
|
|
"bottom": 4,
|
|
|
|
"top": 4,
|
|
|
|
"left": 6,
|
|
|
|
"right": 6,
|
|
|
|
}
|
|
|
|
c.tabs.indicator.width = 0
|
2025-04-16 23:00:37 +01:00
|
|
|
c.tabs.title.format = "{audio}{relative_index} | {current_title}"
|
|
|
|
|
|
|
|
c.fonts.default_size = "9pt"
|
|
|
|
c.fonts.default_family = "sans-serif"
|
|
|
|
|
2025-04-14 19:01:34 +01:00
|
|
|
c.url.start_pages = "about:blank"
|
|
|
|
|
|
|
|
|
|
|
|
main()
|