mirror of
https://github.com/status-im/dappconnect-sdks.git
synced 2025-02-03 12:23:32 +00:00
[components] add button dark theme variant (#451)
* add dark theme variant * Create twenty-yaks-smash.md
This commit is contained in:
parent
f1715cede9
commit
67a68469db
5
.changeset/twenty-yaks-smash.md
Normal file
5
.changeset/twenty-yaks-smash.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
"@status-im/components": patch
|
||||
---
|
||||
|
||||
[components] add dark theme variant
|
@ -43,6 +43,9 @@ const textColors: MapVariant<typeof Base, 'variant'> = {
|
||||
magenta: '$white-100',
|
||||
yin: '$white-100',
|
||||
yang: '$neutral-100',
|
||||
|
||||
// dark theme
|
||||
dark_darkGrey: '$white-100',
|
||||
}
|
||||
|
||||
const textSizes: Record<NonNullable<Props['size']>, TextProps['size']> = {
|
||||
@ -214,6 +217,13 @@ const Base = styled(View, {
|
||||
hoverStyle: { backgroundColor: '$yang-60' },
|
||||
pressStyle: { backgroundColor: '$yang-50' },
|
||||
},
|
||||
|
||||
// FIXME: DARK THEME
|
||||
dark_darkGrey: {
|
||||
backgroundColor: '$neutral-90',
|
||||
hoverStyle: { backgroundColor: '$neutral-60' },
|
||||
pressStyle: { backgroundColor: '$neutral-50' },
|
||||
},
|
||||
},
|
||||
|
||||
disabled: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user