Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
tkow committed Oct 30, 2022
1 parent e184257 commit a1c14a6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/internals/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ export function processStyles({ styles, theme, config }) {
// Handle cases where the value comes from the `theme` returned by `createStitches`
acc[key] = val.value;
} else if (typeof acc[key] === 'object' && typeof val === 'object') {
// Handle cases where media object value comes from top of a style prop and variants' ones
acc[key] = merge(acc[key], val);
} else {
acc[key] = val;
Expand Down

0 comments on commit a1c14a6

Please sign in to comment.