Skip to content

Commit bf3db6b

Browse files
committed
[fix](@svelteui/core): add missing style for loading in Button when in dark mode
ISSUES CLOSED: #447
1 parent 4867b26 commit bf3db6b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

packages/svelteui-core/src/components/Button/Button.styles.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,11 @@ export default createStyles(
137137
backgroundColor: 'rgba(255, 255, 255, .5)',
138138
borderRadius: `$${radius}`,
139139
cursor: 'not-allowed'
140+
},
141+
darkMode: {
142+
'&::before': {
143+
backgroundColor: theme.fn.rgba(theme.fn.themeColor('dark', 7), 0.5)
144+
}
140145
}
141146
},
142147
variants: {

0 commit comments

Comments
 (0)