From 6aa38759198a68f2a977c79018569456ffb7da57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=B6=9B?= Date: Sat, 8 Feb 2025 16:43:32 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E4=B8=80=E5=A4=84=E4=B9=A6?= =?UTF-8?q?=E5=86=99=E9=94=99=E8=AF=AF=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../schemes/material_design_3/color_set.rs | 12 ++++++------ src/color_functions/color_module_bg.wasm | Bin 698867 -> 698867 bytes 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/color-module/src/schemes/material_design_3/color_set.rs b/color-module/src/schemes/material_design_3/color_set.rs index da9f1fa..9df5c42 100644 --- a/color-module/src/schemes/material_design_3/color_set.rs +++ b/color-module/src/schemes/material_design_3/color_set.rs @@ -9,7 +9,7 @@ pub struct M3ColorSet { pub root: String, pub on_root: String, pub container: String, - pub on_conatiner: String, + pub on_container: String, pub fixed: String, pub fixed_dim: String, pub on_fixed: String, @@ -33,7 +33,7 @@ impl M3ColorSet { root: map_lch_to_srgb_hex(&root), on_root: map_lch_to_srgb_hex(&on_root), container: map_lch_to_srgb_hex(&container), - on_conatiner: map_lch_to_srgb_hex(&on_container), + on_container: map_lch_to_srgb_hex(&on_container), fixed: map_lch_to_srgb_hex(&fixed), fixed_dim: map_lch_to_srgb_hex(&fixed_dim), on_fixed: map_lch_to_srgb_hex(&on_fixed), @@ -57,7 +57,7 @@ impl M3ColorSet { root: map_lch_to_srgb_hex(&root), on_root: map_lch_to_srgb_hex(&on_root), container: map_lch_to_srgb_hex(&container), - on_conatiner: map_lch_to_srgb_hex(&on_container), + on_container: map_lch_to_srgb_hex(&on_container), fixed: map_lch_to_srgb_hex(&fixed), fixed_dim: map_lch_to_srgb_hex(&fixed_dim), on_fixed: map_lch_to_srgb_hex(&on_fixed), @@ -80,7 +80,7 @@ impl M3ColorSet { )); variable_lines.push(format!( "--color-{}-on-{}-container: #{};", - prefix, name, self.on_conatiner + prefix, name, self.on_container )); variable_lines.push(format!( "--color-{}-{}-fixed: #{};", @@ -117,7 +117,7 @@ impl M3ColorSet { )); variable_lines.push(format!( "$color-{}-on-{}-container: #{};", - prefix, name, self.on_conatiner + prefix, name, self.on_container )); variable_lines.push(format!( "$color-{}-{}-fixed: #{};", @@ -162,7 +162,7 @@ impl M3ColorSet { )); variable_lines.push(format!( "{}On{}Container: '#{}',", - prefix, name, self.on_conatiner + prefix, name, self.on_container )); variable_lines.push(format!("{}{}Fixed: '#{}',", prefix, name, self.fixed)); variable_lines.push(format!( diff --git a/src/color_functions/color_module_bg.wasm b/src/color_functions/color_module_bg.wasm index 4807c3a7d5e83fe1218f555750ea618bef42fa6d..225664d6377c829d4a7afc0598101c517b7d2557 100644 GIT binary patch delta 38 ucmex-S?lvF7M2#)7Pc1l7LFFqEnI50OeKliHEg*~=KugDm<@*j delta 38 ucmex-S?lvF7M2#)7Pc1l7LFFqEnI50Oo=7iHEg*~=KugDg$;)Q