garage44.eu/jeroen/midas

logclone: git clone https://garage44.eu/jeroen/midas.git

.. /web/src/theme.css

raw

/*
 * Cartopolis's web theme, copied from Cartopolis's crates/atlas/web/src/css/theme.css
 * at c719d86b (2026-10-21), so the hub's page looks like the rest of the product. Copy
 * it again when Cartopolis's palette changes; do not edit it here.
 */

/*
 * GENERATED from crates/cartopolis/src/systems/gui/theme.rs by
 * crates/cartopolis/src/systems/gui/web_theme.rs — do not edit. Change the
 * constant there and run
 *
 *     CARTO_WRITE_WEB_THEME=1 cargo test -p cartopolis web_theme
 *
 * The dark half is the client's palette, value for value; the light half
 * is the web's own, chosen beside it. Imported after the component
 * library's tokens, which these override (same selector, later wins).
 */

:root,
[data-theme] {
    --c-brand: #fd6012;
    --m-accent: #5cc6c0;
    --m-accent-hover: light-dark(#3fa9a2, #a8dcd8);
    --m-accent-text: light-dark(#17696a, #a8dcd8);
    --m-accent-soft: light-dark(#d9f0ee, #263f42);
    --m-on-accent: #0f1416;
    --m-bg: light-dark(#f1f5f5, #0f1416);
    --m-surface: light-dark(#ffffff, #141a1c);
    --m-surface-raised: light-dark(#f8fafa, #1f2829);
    --m-surface-sunken: light-dark(#e7eded, #121819);
    --c-glass: light-dark(rgb(255 255 255 / 84%), rgb(20 26 28 / 84%));
    --m-hover: light-dark(rgb(15 20 22 / 5%), rgb(244 248 248 / 6%));
    --m-pressed: light-dark(rgb(15 20 22 / 10%), rgb(244 248 248 / 11%));
    --m-text: light-dark(#1f2829, #e2e9ea);
    --m-text-strong: light-dark(#0f1416, #f4f8f8);
    --m-text-dim: light-dark(#546568, #aac2c6);
    --m-text-faint: light-dark(#84979a, #63797c);
    --m-border: light-dark(#dae3e3, #2a3536);
    --m-border-strong: light-dark(#84979a, #63797c);
    --m-control-bg: light-dark(#ffffff, #0f1416);
    --m-info: light-dark(#1f6ab0, #4fb2ff);
    --m-info-soft: light-dark(#e4f0fb, #152736);
    --m-success: light-dark(#1c7442, #7ccf9b);
    --m-success-soft: light-dark(#e3f4e9, #152c1e);
    --m-warning: light-dark(#855700, #d8c07a);
    --m-warning-soft: light-dark(#fbf1da, #302916);
    --m-danger: light-dark(#b3361e, #f2a296);
    --m-danger-soft: light-dark(#fce8e4, #361d19);
    --m-focus: light-dark(rgb(92 198 192 / 50%), rgb(92 198 192 / 55%));
    --m-backdrop: light-dark(rgb(15 20 22 / 40%), rgb(0 0 0 / 60%));
    --m-shadow-color: light-dark(rgb(15 20 22 / 8%), rgb(0 0 0 / 45%));
    --c-glass-soft: light-dark(rgb(255 255 255 / 62%), rgb(31 40 41 / 55%));
    --c-rim: light-dark(rgb(255 255 255 / 85%), rgb(244 248 248 / 9%));
    --c-rim-strong: light-dark(rgb(255 255 255 / 100%), rgb(244 248 248 / 16%));
    --c-highlight: light-dark(rgb(255 255 255 / 90%), rgb(244 248 248 / 8%));
    --c-shade: light-dark(rgb(15 20 22 / 7%), rgb(0 0 0 / 35%));
    --c-glow: light-dark(rgb(63 169 162 / 35%), rgb(92 198 192 / 32%));
    --c-accent-top: #a8dcd8;
    --c-accent-bottom: #3fa9a2;
    --c-map: light-dark(rgb(15 20 22 / 7%), rgb(170 194 198 / 9%));
    --m-font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --m-radius-sm: 4px;
    --m-radius: 8px;
    --m-radius-lg: 14px;
}