// Базовые цвета/настройки проекта. При очистке localStorage эти значения остаются.
// Чтобы изменить палитру по умолчанию — правь этот объект и закоммить изменения.
const PROJECT_THEME = {
  themeVersion: "v7-toolbar-hub-icon",
  bgOuter: "#0f0f0f",
  canvasTop: "#1c1c1c",
  canvasBottom: "#1c1c1c",
  loadingTop: "#1c1c1c",
  loadingBottom: "#1c1c1c",
  accent: "#ffea00",
  accent2: "#ffea00",
  templateFill: "#292929",
  templateOutline: "#292929",
  templateOutlineHover: "#1c1c1c",
  templateGlow: 80,
  toolbarBg: "#292929",
  toolbarBgActive: "#c4ff67",
  toolbarBorder: "#292929",
  toolbarOutline: "#292929",
  toolbarMinSize: 25,
  toolbarMaxSize: 87,
  toolbarLensCount: 5,
  toolbarAutoHide: false,
  modalBg: "#1c1c1c",
  modalBgAlpha: 1,
  modalFocus: "#292929",
  modalFocusAlpha: 0.35,
  modalBorder: "#1c1c1c",
  modalElement: "#262626",
  modalElementOutline: "#262626",
  modalRadius: "14px",
  projectBtnFill: "#292929",
  projectBtnBorder: "#292929",
  projectBtnHover: "#1c1c1c",
  modalBtnPrimary: "#c4ff67",
  modalBtnSecondary: "#292929",
  loaderColor: "#c4ff67",
  border: "#233044",
  text: "#e6edf3",
  panel: "#1c1c1c",
  panel2: "#292929",
  highlight: "#c4ff67",
  cubeText: "#242424",
  cubeEdges: "#e0e7ff",
  plus: "#c4ff67",
  navCubeBase: "#ffffff",
  navCubeHover: "#ffffff",
  navCubeText: "#242424",
  navCubeEdge: "#e0e7ff",
  navCubeEdgeAlpha: 0.6,
  measureLine: "#c4ff67",
  measureLabel: "#c4ff67",
  measureLabelText: "#292929",
  measureDot: "#c4ff67",
  sectionAxisX: "#ff2b2b",
  sectionAxisY: "#35ff4f",
  sectionAxisZ: "#285bff",
  sectionGizmoDiameter: 1,
  sectionGizmoThickness: 1,
  sectionPlaneFill: "#606060",
  sectionPlaneAlpha: 0.32,
  sectionPlaneEdge: "#0d0d0d",
  sectionPlaneEdgeAlpha: 0.8,
  commentTargetActiveColor: "#c4ff67",
  commentTargetActiveAlpha: 1,
  commentTargetActiveSize: 30,
  commentTargetPassiveColor: "#f5f5fa",
  commentTargetPassiveAlpha: 0.58,
  commentTargetPassiveSize: 22,
};

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;
}
