redux-devtools/packages/redux-devtools-ui/src/themes/material.ts
Nathan Bierema bbb1a40395
Convert React packages to ESM (#1650)
* react-base16-styling

* Use inline react-base16-styling themes

* Fix

* Format

* Fix

* Fixes

* Transform more

* react-json-tree

* Update lock

* Remove unnecessary

* react-dock

* Move to dep

* Lock

* Fix

* Fix

* Create tame-eagles-relax.md
2024-04-07 21:04:45 +00:00

11 lines
365 B
TypeScript

import type { Base16Theme } from 'react-base16-styling';
export default (colors: Base16Theme) => ({
fontFamily: "'Roboto', sans-serif",
codeFontFamily: "'Roboto Mono', monospace",
inputPadding: 5,
inputBorderRadius: 0,
inputBorderColor: `transparent transparent ${colors.base02}`,
inputFocusedStyle: `box-shadow: inset 0 -2px 0 ${colors.base0D};`,
});