:root {
    --offblack: #111;
    --theme-bg: #fafafa;
    --theme-fg: #111;
    --webbook-chrome-bg: var(--offblack);
    --webbook-chrome-fg: white;
    --webbook-focus-color: #005fcc;
    --webbook-panel-border: 1px solid color-mix(in srgb, var(--theme-fg) 18%, transparent);
    /* #6e6e6e on the light background (#fafafa) is ~4.9:1; #767676, the usual AA gray, only passes
       on pure white (4.54:1) and was 4.35:1 here */
    --webbook-muted-fg: #6e6e6e;
    --webbook-search-highlight-bg: #005fcc;
    --webbook-search-highlight-fg: white;
}
:root.webbook-dark,
body.webbook-dark {
    --theme-bg: black;
    --theme-fg: white;
    --webbook-focus-color: #8ec5ff;
    /* lighter gray needed for AA on a black background */
    --webbook-muted-fg: #a8a8a8;
    --webbook-search-highlight-bg: #d65db1;
    --webbook-search-highlight-fg: black;
    color-scheme: dark;
}
:root.webbook-light,
body.webbook-light {
    --theme-bg: #fafafa;
    --theme-fg: #111;
    --webbook-focus-color: #005fcc;
    --webbook-muted-fg: #6e6e6e;
    --webbook-search-highlight-bg: #005fcc;
    --webbook-search-highlight-fg: white;
    color-scheme: light;
}
