/*
 * Kggml branding of the Dokka API reference. Replaces Dokka's default logo-styles.css (same file name), which every
 * page links, so scripts/ci/api-docs.sh also copies it into the sites of older releases.
 *
 * - The header logo follows Dokka's light / dark theme toggle (the `theme-dark` class on <html>). Sources:
 *   docs/assets/logo/kggml-icon-{light,dark}.svg, copied into the site's images/ by Dokka's customAssets.
 * - The accent colour is the logo's orange instead of Dokka's blue and purple. ui-kit.min.css declares its
 *   variables on :root after this file, so these use the more specific :root:root.
 */

:root:root {
    --dokka-logo-image-url: url('../images/kggml-icon-light.svg');
    --dokka-logo-height: 32px;
    --dokka-logo-width: 32px;

    /* Selected table-of-contents row, buttons, dropdown options (white text on it: 5.2:1). */
    --color-key-blue: #C2410C;
    --color-key-blue-hover: #DC4F0B;
    --color-key-blue-50: rgba(234, 88, 12, .5);

    /* Active tab underline, active section, links on hover, highlighted anchors. */
    --active-tab-border-color: #EA580C;
    --active-section-color: #C2410C;
    --sidemenu-section-active-color: #C2410C;
    --hover-link-color: #C2410C;
}

:root:root.theme-dark {
    --dokka-logo-image-url: url('../images/kggml-icon-dark.svg');

    --active-section-color: #FB923C;
    --hover-link-color: #FB923C;
}
