css // 定义 div{ --themeColor:"red", } // 使用 div { background:var(--themeColor); } less // 定义 @themeColor :"red", // 使用 div { background:@themeColor; }