fix(color-module): 修正颜色变量名中的拼写错误

- 将 "--color-{scheme_mode}-outlint" 和 "$color-{scheme_mode}-outlint" 中的 "outlint" 更正为 "outline"
- 此修改影响了两个地方:CSS 变量和 SCSS 变量
This commit is contained in:
徐涛
2025-08-03 08:25:12 +08:00
parent 3f2e655b1c
commit a25d1b03dd

View File

@@ -340,7 +340,7 @@ impl Baseline {
map_oklch_to_srgb_hex(&self.overlay)
));
css_variables.push(format!(
"--color-{scheme_mode}-outlint: #{};",
"--color-{scheme_mode}-outline: #{};",
map_oklch_to_srgb_hex(&self.outline)
));
css_variables.push(format!(
@@ -449,7 +449,7 @@ impl Baseline {
map_oklch_to_srgb_hex(&self.overlay)
));
scss_variables.push(format!(
"$color-{scheme_mode}-outlint: #{};",
"$color-{scheme_mode}-outline: #{};",
map_oklch_to_srgb_hex(&self.outline)
));
scss_variables.push(format!(