@import "@atom.io/spa/brand/css"; @font-face { font-family: "Atom IO Theia"; font-style: normal; font-weight: 200; font-display: swap; src: url("./fonts/Theia0.3-200.otf") format("opentype"); } @font-face { font-family: "Atom IO Theia"; font-style: normal; font-weight: 400; font-display: swap; src: url("./fonts/Theia0.3-400.otf") format("opentype"); } @font-face { font-family: "Atom IO Theia"; font-style: normal; font-weight: 500; font-display: swap; src: url("./fonts/Theia0.3-500.otf") format("opentype"); } :where(debugger-panel, ecology-panel, window-overlay, [data-atom-io-theme]) { --bg-color: #111; --bg-tint-1: #171717; --bg-tint-2: #1c1c1c; --bg-tint-3: #222; --bg-shade-1: #0a0a0a; --bg-shade-2: #070707; --bg-shade-3: #000; --ink: #fff; --ink-muted: #aaa; --ink-disabled: #888; --ink-strong: #fff; --line: #444; --line-strong: #888; --accent: #83c6ff; --error-ink: #ff9ab1; --error-surface: #2c1219; --change-added: #143520; --change-removed: #381722; --surface-shell: var(--bg-shade-2); --surface-inactive: var(--bg-shade-1); --surface-content: var(--bg-color); --surface-graph: #050505; --surface-search: var(--bg-shade-1); --surface-hover: var(--bg-tint-3); --surface-focus: var(--bg-color); --drawer-surface: var(--bg-shade-1); --bg-hard-1: var(--bg-shade-1); --bg-hard-2: var(--bg-shade-2); --bg-soft-1: var(--bg-tint-1); --bg-soft-2: var(--bg-tint-2); --brand-color: #c03; color-scheme: dark; @media (prefers-color-scheme: light) { --bg-color: #f9f9f9; --surface-graph: #f7f7f5; --bg-tint-1: #fdfdfd; --bg-tint-2: #fff; --bg-tint-3: #fff; --bg-shade-1: #f6f6f6; --bg-shade-2: #f0f0f0; --bg-shade-3: #e8e8e8; --ink: #333; --ink-muted: #666; --ink-disabled: #777; --ink-strong: #222; --line: #ccc; --line-strong: #888; --accent: #0059b3; --error-ink: #9a0026; --error-surface: #ffe8ee; --change-added: #e5f5e9; --change-removed: #ffe8ee; --bg-hard-1: var(--bg-tint-1); --bg-hard-2: var(--bg-tint-2); --bg-soft-1: var(--bg-shade-1); --bg-soft-2: var(--bg-shade-2); color-scheme: light; } } /* Scoped native control and typography resets shared by all debugger components. */ :where(debugger-panel, ecology-panel) { &, * { box-sizing: border-box; } * { color: inherit; font: inherit; margin: 0; padding: 0; } strong { font-weight: 500; } button, input, select { border-radius: 0; background: none; min-width: 0; } button { height: 21px; min-width: 21px; border: 0; padding: 0 3px; cursor: pointer; } editor-button { display: contents; } editor-icon > svg { display: block; } editor-icon:has(> :is([data-editor-icon="arrow"], [data-editor-icon="externalLink"])) { display: inline-block; vertical-align: middle; } button:has(> editor-icon) { display: inline-grid; place-items: center; flex-shrink: 0; } :is(button, input, select, summary):focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; background: var(--surface-focus); color: var(--ink-strong); } button:hover { background: var(--surface-hover); } button:disabled { cursor: default; color: var(--ink-disabled); } input { height: 18px; padding: 0 2px; border: 1px solid var(--line); } input[readonly] { border-color: transparent; } input::selection { background: var(--accent); color: var(--surface-content); } input[type="checkbox"] { width: 13px; height: 13px; margin: 0 3px; } select { height: 20px; border: 0; color: var(--ink-muted); flex: 0 0 auto; max-width: 76px; } small { color: var(--ink-muted); } [hidden] { display: none !important; } } :where(ecology-explorer, atom-io-ecology) { display: block; height: 100%; } :where(ecology-panel) { --window-fill-opacity: 100%; --window-content-fill: var(--surface-content); container: atom-io-devtools / inline-size; display: flex; flex-direction: column; height: 100%; min-height: 360px; background: var(--surface-content); color: var(--ink); font: 400 14px/1 "Atom IO Theia", monospace; font-synthesis: none; text-align: left; &[hidden] { display: none; } } :where(debugger-panel > debugger-content, ecology-panel) > p[role="alert"] { color: var(--error-ink); background: var(--error-surface); padding: 5px; line-height: 18px; border-top: 1px solid var(--ink-muted); }