Skip to content

Commit 548eac0

Browse files
committed
fix: disable state customization by default for overrides
it made no sense to have all the states enabled with the default configuration refs #551
1 parent da86206 commit 548eac0

1 file changed

Lines changed: 5 additions & 21 deletions

File tree

package/contents/ui/code/globals.js

Lines changed: 5 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -237,29 +237,13 @@ const baseTrayConfig = {
237237
opacity: 1.0,
238238
};
239239

240-
const baseOverride = {
241-
blurBehind: false,
242-
backgroundClipping: false,
243-
backgroundColor: baseBgColor,
244-
foregroundColor: baseFgColor,
245-
radius: baseRadius,
246-
margin: baseMargin,
247-
spacing: 4,
248-
border: baseBorder,
249-
borderSecondary: baseBorder,
250-
shadow: baseShadowConfig,
251-
enabled: true,
252-
opacity: 1.0,
253-
fontConfig: baseFontConfig,
254-
};
255-
256240
const baseOverrideConfig = {
257241
disabledFallback: true,
258-
normal: baseOverride,
259-
busy: baseOverride,
260-
hovered: baseOverride,
261-
needsAttention: baseOverride,
262-
expanded: baseOverride,
242+
normal: baseWidgetConfig,
243+
busy: baseWidgetConfig,
244+
hovered: baseWidgetConfig,
245+
needsAttention: baseWidgetConfig,
246+
expanded: baseWidgetConfig,
263247
};
264248

265249
const baseStockPanelSettings = {

0 commit comments

Comments
 (0)