diff --git a/react/CozyTheme/index.jsx b/react/CozyTheme/index.jsx index 9e1bc0fefc..7c8eedc0a7 100644 --- a/react/CozyTheme/index.jsx +++ b/react/CozyTheme/index.jsx @@ -2,19 +2,17 @@ import React, { createContext, useContext } from 'react' import cx from 'classnames' import MuiCozyTheme from '../MuiCozyTheme' -import themesStyles from '../../stylus/settings/palette.styl' export const CozyThemeContext = createContext() -const allStyles = { - 'CozyTheme--normal': themesStyles['CozyTheme--normal'], - 'CozyTheme--inverted': themesStyles['CozyTheme--inverted'] -} - const CozyTheme = ({ variant, children, className }) => ( -
+
{children}
diff --git a/react/Dialog/index.jsx b/react/Dialog/index.jsx index 8e9ae2b7b8..0ea9b6d6b3 100644 --- a/react/Dialog/index.jsx +++ b/react/Dialog/index.jsx @@ -2,7 +2,6 @@ import React from 'react' import { RemoveScroll } from 'react-remove-scroll' import { default as MUIDialog } from '@material-ui/core/Dialog' -import themesStyles from '../../stylus/settings/palette.styl' import useBreakpoints from '../hooks/useBreakpoints' import { useCozyTheme } from '../CozyTheme' import { useDialogEffects } from './DialogEffects' @@ -29,10 +28,7 @@ const Dialog = props => { return ( - + ) } diff --git a/react/SquareAppIcon/__snapshots__/SquareAppIcon.spec.js.snap b/react/SquareAppIcon/__snapshots__/SquareAppIcon.spec.js.snap index 0abcaff00b..bafed3e5f8 100644 --- a/react/SquareAppIcon/__snapshots__/SquareAppIcon.spec.js.snap +++ b/react/SquareAppIcon/__snapshots__/SquareAppIcon.spec.js.snap @@ -6,7 +6,7 @@ exports[`SquareAppIcon component should render an app correctly with the app nam data-testid="square-app-icon" >