# ruff: noqa: INP001

"""The configuration module. Used to configure qutebrowser."""

from colours.darkmode import darkmode_on
from colours.themes import ROSE_PINE, load_colours


def main() -> None:
    """Pretend this is a docstring."""
    # leave this alone!

    # rose-pine
    load_colours(c, ROSE_PINE)

    darkmode_on(config, ["about:blank"])

    c.colors.webpage.darkmode.enabled = False
    c.colors.webpage.preferred_color_scheme = "dark"

    c.tabs.position = "top"
    c.tabs.width = 32
    c.tabs.padding = {
        "bottom": 4,
        "top": 4,
        "left": 6,
        "right": 6,
    }
    c.tabs.indicator.width = 0
    c.tabs.title.format = "{audio}{relative_index} | {current_title}"

    c.fonts.default_size = "9pt"
    c.fonts.default_family = "sans-serif"

    c.url.start_pages = "about:blank"


main()
