// Базовые цвета/настройки проекта. При очистке localStorage эти значения остаются.
// Чтобы изменить палитру по умолчанию — правь этот объект и закоммить изменения.
const PROJECT_THEME = {
  themeVersion: "v3-yellow",
  bgOuter: "#0f0f0f",
  canvasTop: "#1c1c1c",
  canvasBottom: "#1c1c1c",
  loadingTop: "#1c1c1c",
  loadingBottom: "#1c1c1c",
  accent: "#ffea00",
  accent2: "#ffea00",
  templateFill: "#1c1c1c",
  templateOutline: "#233044",
  templateOutlineHover: "rgba(255,234,0,0.7)",
  templateGlow: 80,
  toolbarBg: "#1c1c1c",
  toolbarBgActive: "#ffea00",
  toolbarBorder: "#233044",
  toolbarOutline: "#ffea00",
  modalBg: "#1c1c1c",
  modalBgAlpha: 1,
  modalFocus: "#292929",
  modalFocusAlpha: 1,
  modalBorder: "#292929",
  modalElement: "#292929",
  modalElementOutline: "#2b2b2b",
  modalRadius: "14px",
  projectBtnFill: "#1c1c1c",
  projectBtnBorder: "#233044",
  projectBtnHover: "rgba(255,234,0,0.7)",
  modalBtnPrimary: "#ffea00",
  modalBtnSecondary: "#292929",
  border: "#233044",
  text: "#e6edf3",
  panel: "#1c1c1c",
  panel2: "#292929",
  highlight: "#ffea00",
  cubeText: "#242424",
  cubeEdges: "#e0e7ff",
  plus: "#ffea00",
  navCubeBase: "#ffea00",
  navCubeHover: "#ffffff",
  navCubeText: "#242424",
  navCubeEdge: "#e0e7ff",
  navCubeEdgeAlpha: 0.6,
  measureLine: "#ffea00",
  measureLabel: "#ffea00",
  measureLabelText: "#292929",
  measureDot: "#ffea00",
};

if (typeof window !== "undefined") {
  window.__BIMDC_THEME__ = PROJECT_THEME;
}

// Support both module and browser usage without syntax errors in classic scripts
if (typeof module !== "undefined" && module.exports) {
  module.exports = PROJECT_THEME;
}
