Skip to content

Commit

Permalink
fix: ff to map
Browse files Browse the repository at this point in the history
  • Loading branch information
afeiship committed Jun 8, 2023
1 parent 6027d9d commit d278831
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/modules/font-family.scss
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
/* font-family Start */
// fontfamily
@mixin generator-font-family($list) {
@mixin generator-font-family($ff-map) {
$global-prefix: map-get(
$map: $wsui-generators-options,
$key: global,
$key: global
);

$module-prefix: map-get(
$map: $wsui-generators-options,
$key: font-family,
$key: font-family
);
$prefix: "." + $global-prefix + $module-prefix;
$prefix: '.' + $global-prefix + $module-prefix;

@each $value in $list {
#{$prefix}#{$value} {
@each $key, $value in $ff-map {
#{$prefix}#{$key} {
font-family: $value;
}
}
Expand Down

0 comments on commit d278831

Please sign in to comment.