From 1b7315e5e7fcdbd99030e91974b456616c9be3f4 Mon Sep 17 00:00:00 2001 From: leandroalves Date: Wed, 13 Dec 2023 11:29:52 +0100 Subject: [PATCH] Fix button color --- src/App/styles/theme/default/button.js | 5 +++++ src/App/styles/theme/default/index.js | 1 + 2 files changed, 6 insertions(+) create mode 100644 src/App/styles/theme/default/button.js diff --git a/src/App/styles/theme/default/button.js b/src/App/styles/theme/default/button.js new file mode 100644 index 0000000..cd498dc --- /dev/null +++ b/src/App/styles/theme/default/button.js @@ -0,0 +1,5 @@ +import { Button as MantineButton } from '@mantine/core'; + +export const Button = MantineButton.extend({ + defaultProps: { variant: 'filled' }, +}); diff --git a/src/App/styles/theme/default/index.js b/src/App/styles/theme/default/index.js index cefbc2c..ae0c891 100644 --- a/src/App/styles/theme/default/index.js +++ b/src/App/styles/theme/default/index.js @@ -1,3 +1,4 @@ export { Badge } from 'App/styles/theme/default/badge'; +export { Button } from 'App/styles/theme/default/button'; export { List } from 'App/styles/theme/default/list'; export { Table } from 'App/styles/theme/default/table';