mirror of
https://github.com/fofolee/uTools-quickcommand.git
synced 2025-12-18 18:04:28 +08:00
编排新增循环
This commit is contained in:
@@ -10,8 +10,8 @@ const STYLE_CONSTANTS = {
|
||||
goldenRatio: 0.618033988749895,
|
||||
hueStep: 360 * 0.618033988749895,
|
||||
indent: 5,
|
||||
lightSl: "60%, 60%",
|
||||
darkSl: "60%, 40%",
|
||||
lightSl: "70%, 60%",
|
||||
darkSl: "60%, 60%",
|
||||
};
|
||||
|
||||
// 工具函数
|
||||
@@ -158,10 +158,18 @@ export default defineComponent({
|
||||
boxShadow: shadows.light.join(", "),
|
||||
};
|
||||
|
||||
styleRules["." + className + " .control-type-label"] = {
|
||||
color: `hsl(${hue}, ${lightSl})`,
|
||||
};
|
||||
|
||||
styleRules[".body--dark ." + className] = {
|
||||
...commonStyle,
|
||||
boxShadow: shadows.dark.join(", "),
|
||||
};
|
||||
|
||||
styleRules[".body--dark ." + className + " .control-type-label"] = {
|
||||
color: `hsl(${hue}, ${darkSl})`,
|
||||
};
|
||||
});
|
||||
|
||||
// 4. 生成最终的样式字符串
|
||||
|
||||
Reference in New Issue
Block a user