import { _objectSpread2 } from "../../../_virtual/_@oxc-project_runtime@0.122.0/helpers/objectSpread2.js";
//#region src/components/pisellFloorMapLayout/appearance/floorMapAppearance.ts
const FLOOR_MAP_APPEARANCE_TOKENS = {
	light: {
		mode: "light",
		fallbackCanvasBackgroundColor: "#F2F4F7",
		edgeStatusStyles: {
			online: {
				stroke: "#12B76A",
				dashed: false
			},
			offline: {
				stroke: "#98A2B3",
				dashed: true
			},
			warning: {
				stroke: "#F79009",
				dashed: false
			},
			unknown: {
				stroke: "#667085",
				dashed: false
			}
		},
		edgeSelectedStroke: "#1570EF",
		edgeGhostStroke: "#84CAFF",
		edgePortLabelBackground: "#FFFFFF",
		edgePortLabelText: "#344054",
		edgePortLabelBorder: "#D0D5DD",
		alignGuideStroke: "#1570EF"
	},
	dark: {
		mode: "dark",
		fallbackCanvasBackgroundColor: "#31353d",
		edgeStatusStyles: {
			online: {
				stroke: "#32D583",
				dashed: false
			},
			offline: {
				stroke: "#667085",
				dashed: true
			},
			warning: {
				stroke: "#FDB022",
				dashed: false
			},
			unknown: {
				stroke: "#98A2B3",
				dashed: false
			}
		},
		edgeSelectedStroke: "#53B1FD",
		edgeGhostStroke: "#2E90FA",
		edgePortLabelBackground: "#1D2939",
		edgePortLabelText: "#F2F4F7",
		edgePortLabelBorder: "#475467",
		alignGuideStroke: "#53B1FD"
	}
};
/**
* 按外观模式返回 floorMap 画布背景 token。
* 当前仅承载通用画布背景兜底色，不包含业务壳层颜色；
* 渲染层应先尊重显式 `mapLayer.backgroundColor`，再回退到这里的 token。
*/
function getFloorMapAppearanceTokens(mode) {
	return _objectSpread2({}, FLOOR_MAP_APPEARANCE_TOKENS[mode]);
}
//#endregion
export { getFloorMapAppearanceTokens };
