Skip to content

Commit

Permalink
fixed brand color bug
Browse files Browse the repository at this point in the history
  • Loading branch information
hridniev committed May 3, 2024
1 parent 576d15f commit 67616e5
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/service.ui/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,14 +166,8 @@ export default class UIServiceDefault {
@returns { Object }
*/
static get(defaultConfig, name) {
const globalVuelessColor = brand ? { color: brand } : {};

return {
default: merge(
defaultConfig.defaultVariants,
globalVuelessColor,
globalComponentConfig[name]?.defaultVariants,
),
default: merge(defaultConfig.defaultVariants, globalComponentConfig[name]?.defaultVariants),
};
}
}
Expand Down

0 comments on commit 67616e5

Please sign in to comment.