Skip to content

Commit

Permalink
feat #113 - Update button styles for primary
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Oct 20, 2020
1 parent a409920 commit 95b7cee
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/components/Button/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import { generateButtonStyles } from './utils'
import { getDataTestAttributeProp } from '../utils'
import { LoadingOutlined } from '@ant-design/icons'
import { Skeleton } from '../Skeleton'
import { ThemeType } from '../assets/styles/themes'
import { Button as AntDButton, Spin } from 'antd'
import React, { FC, ReactNode } from 'react'
import { styleguide, ThemeType } from '../assets/styles'
Expand All @@ -26,15 +25,6 @@ const useStyles = createUseStyles({
}
})

const { dark, light } = ThemeType

const useStyles = createUseStyles({
'@global': {
[`.${dark} button`]: generateButtonStyles(dark),
button: generateButtonStyles(light)
}
})

export interface ButtonProps extends CommonComponentProps {
/**
* Required click handler.
Expand Down

0 comments on commit 95b7cee

Please sign in to comment.