diff options
author | Sebastian <sebasjm@gmail.com> | 2022-03-29 09:58:06 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2022-03-29 10:04:33 -0300 |
commit | 3dd1047b085fa7795f322c5829f39208465bff13 (patch) | |
tree | 19340ca9420466e7059849dbf7013901733c0fde /packages/taler-wallet-webextension/src/mui/style.tsx | |
parent | cb18b9813e5df6e315dfb1827f5f7cf304977390 (diff) | |
download | wallet-core-3dd1047b085fa7795f322c5829f39208465bff13.tar.xz |
added react eslint and fix most of the warns
Diffstat (limited to 'packages/taler-wallet-webextension/src/mui/style.tsx')
-rw-r--r-- | packages/taler-wallet-webextension/src/mui/style.tsx | 39 |
1 files changed, 20 insertions, 19 deletions
diff --git a/packages/taler-wallet-webextension/src/mui/style.tsx b/packages/taler-wallet-webextension/src/mui/style.tsx index df4f5176c..5be978794 100644 --- a/packages/taler-wallet-webextension/src/mui/style.tsx +++ b/packages/taler-wallet-webextension/src/mui/style.tsx @@ -1,14 +1,15 @@ +/* eslint-disable @typescript-eslint/explicit-function-return-type */ import { css } from "@linaria/core"; import { darken, lighten } from "polished"; import { - common, - purple, - red, - orange, blue, - lightBlue, + common, green, grey, + lightBlue, + orange, + purple, + red, // eslint-disable-next-line import/extensions } from "./colors/constants"; // eslint-disable-next-line import/extensions @@ -430,20 +431,20 @@ function createTheme() { ///////////////////// ///////////////////// MIXINS ///////////////////// - function createMixins(breakpoints: any, spacing: any, mixins: any) { - return { - toolbar: { - minHeight: 56, - [`${breakpoints.up("xs")} and (orientation: landscape)`]: { - minHeight: 48, - }, - [breakpoints.up("sm")]: { - minHeight: 64, - }, - }, - ...mixins, - }; - } + // function createMixins(breakpoints: any, spacing: any, mixins: any) { + // return { + // toolbar: { + // minHeight: 56, + // [`${breakpoints.up("xs")} and (orientation: landscape)`]: { + // minHeight: 48, + // }, + // [breakpoints.up("sm")]: { + // minHeight: 64, + // }, + // }, + // ...mixins, + // }; + // } ///////////////////// ///////////////////// TRANSITION |