Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
5f635a4c0This file is pinned to the selected release. Download the original to open it in your design tool.
/* Application surfaces, separate from the engineering layer palettes below. */
[data-theme='dark'] .viewer-stage.is-sidebar-visible .viewer-main,
[data-theme='dark'] .document-rail {
background: linear-gradient(145deg, #15232c, #101a21);
border-color: var(--border);
box-shadow:
var(--shadow),
inset 0 1px 0 rgb(190 220 240 / 5%);
}
[data-theme='dark'] .viewer-sidebar__tabs {
background: var(--surface-raised);
border-color: var(--border);
}
[data-theme='dark'] :is(.viewer-sidebar__panel, .viewer-sidebar__panel-header) {
background: #0f1a21;
}
[data-theme='dark']
:is(
.viewer-sidebar__tab,
.viewer-sidebar__collapse,
.viewer-sidebar__expand,
.viewer-sidebar__component-copy,
.viewer-sidebar__visibility-icon,
.viewer-sidebar__overview-icon,
.viewer-sidebar__overview-label,
.viewer-sidebar__overview-meta,
.viewer-sidebar__model-summary span,
.viewer-sidebar__revision,
.viewer-sidebar__support-coverage h4,
.viewer-sidebar__simulation-setup h4,
.viewer-sidebar__simulation-results h4,
.viewer-sidebar__layer-only,
.viewer-sidebar__layer-group-disclosure,
.scene-3d__selection-visibility
) {
color: var(--muted);
}
[data-theme='dark']
:is(
.viewer-sidebar__overview-subvalue,
.viewer-sidebar__row--layer.is-hidden,
.viewer-sidebar__layer-only.is-hidden,
.viewer-sidebar__layer-group.is-hidden
.viewer-sidebar__layer-group-summary
h4
) {
color: #7f94a3;
}
[data-theme='dark'] .viewer-sidebar__tab:hover {
background: var(--surface-hover);
color: var(--text);
border-color: var(--border);
}
[data-theme='dark'] .viewer-sidebar__tab.is-active {
background: linear-gradient(135deg, #ff8c26, #f34b05);
border-color: #ff8136;
color: #fff;
box-shadow: 0 4px 16px rgb(244 88 12 / 22%);
}
[data-theme='dark']
:is(
.viewer-sidebar__preview-card,
.viewer-sidebar__model-summary,
.viewer-sidebar__model-export-button,
.viewer-sidebar__support-coverage,
.viewer-sidebar__simulation-setup,
.viewer-sidebar__simulation-results,
.viewer-sidebar__overview-row,
.viewer-sidebar__row,
.viewer-sidebar__search,
.viewer-sidebar__interaction-row,
.viewer-sidebar__table th,
.viewer-sidebar__table td,
.viewer-sidebar__empty
) {
background: var(--panel);
border-color: var(--border-soft);
}
[data-theme='dark'] .viewer-sidebar__search {
background: var(--surface-raised);
border-color: var(--border);
}
[data-theme='dark']
:is(
.viewer-sidebar__preview-viewport,
.pcb-legend,
.pcb-styler-cta,
.bom-table,
.diagnostic
) {
background: var(--canvas);
border-color: var(--border-soft);
}
[data-theme='dark']
:is(
.viewer-sidebar__component-group > h4,
.viewer-sidebar__layer-group-summary,
.viewer-sidebar__interaction-group,
.viewer-sidebar__revision
) {
background: var(--surface-raised);
}
[data-theme='dark']
:is(
.viewer-sidebar__component-group > h4,
.viewer-sidebar__layer-group-summary h4,
.viewer-sidebar__interaction h4,
.viewer-sidebar__interaction-group strong
) {
color: var(--muted);
}
[data-theme='dark'] .viewer-sidebar__layer-group {
background: rgb(7 15 20 / 25%);
border-color: var(--border-soft);
}
[data-theme='dark'] .viewer-sidebar__row--layer {
background: transparent;
}
[data-theme='dark']
:is(
.viewer-sidebar__component-row-shell,
.viewer-sidebar__layer-row-shell,
.bom-table th,
.bom-table td
) {
border-color: var(--border-soft);
}
[data-theme='dark']
:is(
.viewer-sidebar__component-row-shell.is-active,
.viewer-sidebar__component-row-shell:hover,
.viewer-sidebar__component-row.is-active,
.viewer-sidebar__row--button.is-active,
.viewer-sidebar__row--button:hover,
.viewer-sidebar__row--object:hover,
.viewer-sidebar__row--layer:hover,
.viewer-sidebar__layer-row-shell:hover,
.viewer-sidebar__layer-row-shell:focus-within
) {
background: var(--surface-selected);
}
[data-theme='dark'] .viewer-sidebar__chip {
background: var(--accent-soft);
color: var(--accent);
}
[data-theme='dark']
:is(
.pcb-view__mechanical-drawings,
.pcb-view__gerber-layer-select,
.pcb-diagnostic-panel__summary,
.pcb-diagnostic-panel__item,
.pcb-diagnostic-panel__copy,
.scene-3d__preset,
.scene-3d__toggle,
.scene-3d__selection,
.scene-3d__selection-visibility,
.scene-3d__adjustment-row input,
.scene-3d__adjustment-reset,
.scene-3d__diagnostics,
.scene-3d__stats div
) {
background: var(--surface-raised);
border-color: var(--border);
}
[data-theme='dark']
:is(
.pcb-diagnostic-panel__menu,
.export-progress-dialog__panel,
.viewport-interaction-gate__button
) {
background: var(--panel-strong);
border-color: var(--border);
}
[data-theme='dark']
:is(
.pcb-diagnostic-panel__item:hover,
.pcb-diagnostic-panel__item:focus-visible,
.pcb-diagnostic-panel__item.is-focused,
.pcb-diagnostic-panel__copy:hover,
.pcb-diagnostic-panel__copy:focus-visible,
.pcb-diagnostic-panel__copy.is-copied
) {
background: var(--accent-soft);
}
[data-theme='dark']
:is(.scene-3d__preset.is-active, .scene-3d__preset[aria-pressed='true']) {
background: linear-gradient(180deg, #cb5a18, #993707);
border-color: #ff8939;
box-shadow:
inset 0 1px 4px rgb(255 170 87 / 30%),
0 2px 10px rgb(223 82 3 / 15%);
color: #fff;
}
[data-theme='dark'] .scene-3d__stage {
background: var(--canvas);
border: 1px solid var(--border-soft);
}
[data-theme='dark'] .scene-3d__viewport {
background: radial-gradient(ellipse at 50% 30%, #263039, #10181e 70%);
}
[data-theme='dark'] .scene-3d__controls {
background: var(--panel);
}
[data-theme='dark'] .scene-3d__loading {
background: radial-gradient(ellipse at top, #1b2c36, #0c171e);
}
[data-theme='dark'] .viewport-interaction-gate {
background: rgb(8 16 22 / 16%);
}
/* Native renderer variables recolor semantics without filters or SVG rewrites. */
[data-theme='dark'] :is(.schematic-svg, .document-preview__svg--schematic) {
--schematic-default-ink-color: #2dbbc6;
--schematic-accent-ink-color: #48d1d7;
--schematic-text-color: #dce7ee;
--schematic-sheet-label-color: #9eafbc;
--schematic-power-color: #e89a54;
--schematic-port-color: #e89a54;
--schematic-alert-color: #ff789a;
--schematic-fill-color: #22343f;
--schematic-note-fill-color: #1c2b34;
--schematic-fill-light-color: #17252e;
--schematic-pin-marker-fill: #9cb5be;
--schematic-note-border-color: #c79d6b;
--schematic-sheet-backdrop-fill: transparent;
--schematic-sheet-backdrop-stroke: #31434d;
--schematic-sheet-frame-stroke: #40535e;
--schematic-node-fill: #4de0dc;
background:
radial-gradient(
circle,
rgb(96 155 175 / 12%) 0.65px,
transparent 0.85px
)
0 0 / 12px 12px,
var(--canvas);
border-color: var(--border-soft);
box-shadow: inset 0 0 0 1px rgb(117 161 181 / 5%);
}
[data-theme='dark'] .pcb-svg {
background: radial-gradient(ellipse at top, #172730, #0b151c 75%);
border-color: var(--border-soft);
box-shadow: inset 0 0 0 1px rgb(117 161 181 / 5%);
}
[data-theme='dark'] .viewer-sidebar__miniature--schematic rect {
fill: var(--canvas);
stroke: var(--muted);
}
[data-theme='dark']
:is(.pcb-measurement-overlay__line, .pcb-measurement-overlay__bounds) {
stroke: var(--accent);
}
[data-theme='dark'] .pcb-measurement-overlay__handle {
fill: var(--canvas);
stroke: var(--accent);
}
[data-theme='dark'] .pcb-measurement-overlay__label {
fill: var(--accent);
stroke: var(--canvas);
}
[data-theme='dark']
:is(
.viewer-sidebar button,
.scene-3d button,
.pcb-view button,
.pcb-view select
):focus-visible {
outline: 2px solid var(--focus-ring);
outline-offset: 2px;
}
/* Keep the light palette's warm front copper and cool back copper identities. */
[data-theme='dark'] :is(.pcb-svg, .document-preview__svg--pcb) {
--pcb-board-fill: #1c3038;
--pcb-board-stroke: #527e88;
--pcb-surface-copper-fill: rgb(219 145 108 / 12%);
--pcb-surface-fill: rgb(219 145 108 / 18%);
--pcb-surface-track-color: rgb(230 146 105 / 92%);
--pcb-subsurface-copper-fill: rgb(78 170 177 / 6%);
--pcb-subsurface-fill: rgb(78 170 177 / 8%);
--pcb-subsurface-track-color: rgb(91 181 187 / 52%);
--pcb-copper-fill: rgb(220 157 123 / 28%);
--pcb-copper-solid-fill: rgb(220 157 123 / 82%);
--pcb-through-hole-pad-fill: var(--pcb-surface-track-color);
--pcb-track-color: #e69269;
--pcb-via-ring-fill: var(--pcb-copper-solid-fill);
--pcb-via-hole-fill: #103e48;
--pcb-footprint-fill: rgb(167 192 204 / 8%);
--pcb-footprint-track-color: #a7c0cc;
--pcb-component-top-fill: rgb(207 149 114 / 64%);
--pcb-component-bottom-fill: rgb(67 157 166 / 70%);
--pcb-component-stroke: rgb(223 166 134 / 42%);
--pcb-component-text: #d9e6ed;
--pcb-detail-mechanical-stroke: #a6bac3;
--pcb-detail-drill-stroke: #c6d3d9;
--pcb-detail-stroke: #adc1ca;
}
[data-theme='dark'] .pcb-svg--app-palette.pcb-svg--bottom {
--pcb-surface-fill: rgb(78 170 177 / 14%);
--pcb-surface-track-color: rgb(91 181 187 / 80%);
--pcb-subsurface-fill: rgb(219 145 108 / 10%);
--pcb-subsurface-track-color: rgb(230 146 105 / 64%);
--pcb-copper-solid-fill: rgb(91 181 187 / 78%);
}
[data-theme='dark'] .pcb-view-settings__menu {
background: var(--panel-strong);
border-color: var(--border);
}
[data-theme='dark'] .pcb-view-settings__item {
color: var(--text);
}
[data-theme='dark'] .pcb-view-settings__item::after {
color: var(--accent);
}
[data-theme='dark'] .pcb-view-settings__item[aria-pressed='false']::after {
color: var(--muted);
}
[data-theme='dark'] .pcb-view-settings__item:is(:hover, :focus-visible) {
background: var(--surface-hover);
}
[data-theme='dark'] :is(.pcb-measurement-copy, .pcb-measurement-action) {
background: var(--panel-strong);
color: var(--text);
border-color: var(--border-accent);
}