fix(color-module): 修正颜色变量名中的拼写错误
- 将 "--color-{scheme_mode}-outlint" 和 "$color-{scheme_mode}-outlint" 中的 "outlint" 更正为 "outline"
- 此修改影响了两个地方:CSS 变量和 SCSS 变量
This commit is contained in:
@@ -340,7 +340,7 @@ impl Baseline {
|
|||||||
map_oklch_to_srgb_hex(&self.overlay)
|
map_oklch_to_srgb_hex(&self.overlay)
|
||||||
));
|
));
|
||||||
css_variables.push(format!(
|
css_variables.push(format!(
|
||||||
"--color-{scheme_mode}-outlint: #{};",
|
"--color-{scheme_mode}-outline: #{};",
|
||||||
map_oklch_to_srgb_hex(&self.outline)
|
map_oklch_to_srgb_hex(&self.outline)
|
||||||
));
|
));
|
||||||
css_variables.push(format!(
|
css_variables.push(format!(
|
||||||
@@ -449,7 +449,7 @@ impl Baseline {
|
|||||||
map_oklch_to_srgb_hex(&self.overlay)
|
map_oklch_to_srgb_hex(&self.overlay)
|
||||||
));
|
));
|
||||||
scss_variables.push(format!(
|
scss_variables.push(format!(
|
||||||
"$color-{scheme_mode}-outlint: #{};",
|
"$color-{scheme_mode}-outline: #{};",
|
||||||
map_oklch_to_srgb_hex(&self.outline)
|
map_oklch_to_srgb_hex(&self.outline)
|
||||||
));
|
));
|
||||||
scss_variables.push(format!(
|
scss_variables.push(format!(
|
||||||
|
|||||||
Reference in New Issue
Block a user