Adam Shaw 5 лет назад
Родитель
Сommit
90edd3d163
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      packages/core/src/component/event-rendering.ts

+ 2 - 2
packages/core/src/component/event-rendering.ts

@@ -353,8 +353,8 @@ export function getEventClassNames(props: EventMeta) { // weird that we use this
 
 export function getSkinCss(ui: EventUi) {
   return {
-    'background-color': ui.backgroundColor,
-    'border-color': ui.borderColor,
+    backgroundColor: ui.backgroundColor,
+    borderColor: ui.borderColor,
     color: ui.textColor
   }
 }