Repository URL to install this package:
|
Version:
0.14.1 ▾
|
ui-component-library
/
src
/
components
/
presets
/
B2B
/
DashboardOverview
/
DashboardCard
/
styled.tsx
|
|---|
import { styled } from 'styleh-components'
import { ButtonLabel } from 'atoms/Button'
import { Heading, Paragraph } from 'atoms/Text'
import { GhostButton } from 'presets/Buttons'
const StyledHeading = styled.withComponent(Heading) `
display: inline-block;
margin-bottom: rem(8);
`
const PendingCount = styled.span.attrs({
'data-qa': 'qa-pending-value',
}) `
color: red;
`
const StyledDescription = styled.withComponent(Paragraph) `
margin: rem(8) 0 rem(24) 0;
color: #64718c;
`
const StyledGhostButton = styled.withComponent(GhostButton) `
width: rem(200);
border-color: #64718c;
${ButtonLabel} {
color: #64718c;
font-weight: 500;
}
@phone-or-smaller() {
width: 100%;
}
`
export { StyledHeading, PendingCount, StyledDescription, StyledGhostButton }