mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-10 01:43:43 +00:00
94b03312a6
* style: general micro improvements in editor * version bump
51 lines
979 B
JavaScript
51 lines
979 B
JavaScript
import { extendTheme } from '@chakra-ui/react';
|
|
|
|
const theme = extendTheme({
|
|
components: {
|
|
Button: {
|
|
baseStyle: {
|
|
borderRadius: '3px',
|
|
},
|
|
},
|
|
Input: {
|
|
baseStyle: {
|
|
field: {
|
|
borderRadius: 3,
|
|
},
|
|
},
|
|
sizes: {},
|
|
variants: {
|
|
filled: {
|
|
field: {
|
|
backgroundColor: 'rgba(255, 255, 255, 0.03)',
|
|
_hover: {
|
|
backgroundColor: 'rgba(255, 255, 255, 0.13)',
|
|
},
|
|
},
|
|
},
|
|
},
|
|
defaultProps: {
|
|
variant: null, // null here
|
|
},
|
|
},
|
|
Textarea: {
|
|
baseStyle: {
|
|
borderRadius: 4,
|
|
},
|
|
variants: {
|
|
filled: {
|
|
backgroundColor: 'rgba(255, 255, 255, 0.03)',
|
|
_hover: {
|
|
backgroundColor: 'rgba(255, 255, 255, 0.13)',
|
|
},
|
|
},
|
|
},
|
|
defaultProps: {
|
|
variant: null, // null here
|
|
},
|
|
},
|
|
},
|
|
});
|
|
|
|
export default theme;
|