Skip to content

Commit

Permalink
fix(typography): preserve property order when unwrapping $typography
Browse files Browse the repository at this point in the history
  • Loading branch information
KaelWD committed Apr 19, 2024
1 parent 7d2991c commit f0f0fa0
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion packages/vuetify/src/styles/settings/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,14 @@ $flat-typography: () !default;
@each $type, $values in $typography {
$flat-typography: map-deep-merge(
$flat-typography,
(#{$type}: map.values($values))
(#{$type}: (
map.get($values, 'size'),
map.get($values, 'weight'),
map.get($values, 'line-height'),
map.get($values, 'letter-spacing'),
map.get($values, 'font-family'),
map.get($values, 'text-transform'),
))
);
}

Expand Down

0 comments on commit f0f0fa0

Please sign in to comment.