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 4807c3a..225664d 100644 Binary files a/src/color_functions/color_module_bg.wasm and b/src/color_functions/color_module_bg.wasm differ