feat(system): small improvements
This commit is contained in:
parent
aa2c8ee30c
commit
0cb0263842
|
@ -32,6 +32,14 @@ export const Base = styled('div', {
|
||||||
width: 44,
|
width: 44,
|
||||||
height: 44,
|
height: 44,
|
||||||
},
|
},
|
||||||
|
64: {
|
||||||
|
width: 64,
|
||||||
|
height: 64,
|
||||||
|
},
|
||||||
|
80: {
|
||||||
|
width: 80,
|
||||||
|
height: 80,
|
||||||
|
},
|
||||||
120: {
|
120: {
|
||||||
width: 120,
|
width: 120,
|
||||||
height: 120,
|
height: 120,
|
||||||
|
@ -57,6 +65,8 @@ export const Indicator = styled('span', {
|
||||||
},
|
},
|
||||||
36: {},
|
36: {},
|
||||||
44: {},
|
44: {},
|
||||||
|
64: {},
|
||||||
|
80: {},
|
||||||
120: {},
|
120: {},
|
||||||
},
|
},
|
||||||
state: {
|
state: {
|
||||||
|
|
|
@ -5,7 +5,6 @@ import type { VariantProps } from '~/src/styles/config'
|
||||||
export type Variants = VariantProps<typeof Base>
|
export type Variants = VariantProps<typeof Base>
|
||||||
|
|
||||||
export const Base = styled('button', {
|
export const Base = styled('button', {
|
||||||
all: 'unset',
|
|
||||||
fontFamily: '$sans',
|
fontFamily: '$sans',
|
||||||
fontWeight: '$500',
|
fontWeight: '$500',
|
||||||
fontSize: '15px',
|
fontSize: '15px',
|
||||||
|
|
|
@ -33,7 +33,7 @@ const ContextMenuTrigger = (props: TriggerProps) => {
|
||||||
}
|
}
|
||||||
|
|
||||||
interface MenuProps extends ContextMenuContentProps {
|
interface MenuProps extends ContextMenuContentProps {
|
||||||
children: React.ReactElement[] | React.ReactElement
|
children: React.ReactNode
|
||||||
}
|
}
|
||||||
|
|
||||||
const ContextMenu = (props: MenuProps) => {
|
const ContextMenu = (props: MenuProps) => {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# TextInput
|
# CopyInput
|
||||||
|
|
||||||
```tsx
|
```tsx
|
||||||
import { TextInput } from '@status-im/components'
|
import { CopyInput } from '@status-im/components'
|
||||||
```
|
```
|
||||||
|
|
|
@ -13,6 +13,9 @@ const Heading = styled('div', {
|
||||||
17: {
|
17: {
|
||||||
fontSize: '17px',
|
fontSize: '17px',
|
||||||
},
|
},
|
||||||
|
22: {
|
||||||
|
fontSize: '22px',
|
||||||
|
},
|
||||||
},
|
},
|
||||||
color: {
|
color: {
|
||||||
accent: {
|
accent: {
|
||||||
|
|
|
@ -5,7 +5,6 @@ import type { VariantProps } from '~/src/styles/config'
|
||||||
export type Variants = VariantProps<typeof Base>
|
export type Variants = VariantProps<typeof Base>
|
||||||
|
|
||||||
export const Base = styled('button', {
|
export const Base = styled('button', {
|
||||||
all: 'unset',
|
|
||||||
width: 32,
|
width: 32,
|
||||||
height: 32,
|
height: 32,
|
||||||
flexShrink: 0,
|
flexShrink: 0,
|
||||||
|
|
Loading…
Reference in New Issue