Skip to content

Commit

Permalink
Removed redundant comments and style rules.
Browse files Browse the repository at this point in the history
  • Loading branch information
aappoalander committed Feb 9, 2021
1 parent b9a7023 commit 7627e96
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 5 deletions.
2 changes: 0 additions & 2 deletions src/core/Form/Toggle/ToggleBase/Toggle.baseStyles.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { TokensAndTheme } from '../../../theme';
import { disabledCursor } from '../../../../components/utils/css';
import { element, font } from '../../../theme/reset';

// Contains double underscore because it is written in the SVG-file
export const iconWidth = '40px';
export const iconHeight = '24px';

Expand All @@ -13,7 +12,6 @@ export const focusOverrides = css`
left: -4px;
`;

/* stylelint-disable no-descending-specificity */
export const toggleBaseStyles = ({ theme }: TokensAndTheme) => css`
${element({ theme })}
${font({ theme })('bodyText')}
Expand Down
1 change: 0 additions & 1 deletion src/core/Form/Toggle/ToggleBase/ToggleIcon.baseStyles.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import { iconWidth, iconHeight } from './Toggle.baseStyles';
// Contains double underscore because it is written in the SVG-file
const svgPrefix = 'icon-toggle_svg__';

/* stylelint-disable no-descending-specificity */
export const baseStyles = withSuomifiTheme(
({ theme }: TokensAndTheme) => css`
width: ${iconWidth};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import {
focusOverrides,
} from '../ToggleBase/Toggle.baseStyles';

/* stylelint-disable no-descending-specificity */
export const baseStyles = withSuomifiTheme(
(tokensAndTheme: TokensAndTheme) => css`
&.fi-toggle--button > button {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import {
focusOverrides,
} from '../ToggleBase/Toggle.baseStyles';

/* stylelint-disable no-descending-specificity */
export const baseStyles = withSuomifiTheme(
(tokesAndTheme: TokensAndTheme) => css`
${toggleBaseStyles(tokesAndTheme)}
Expand Down

0 comments on commit 7627e96

Please sign in to comment.