Skip to content

Commit 9d39cc4

Browse files
fix: override ui tab themes (#175)
1 parent 40933f4 commit 9d39cc4

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

libs/web/core/data-access/src/lib/app-config-provider.tsx

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import {
1717
import { useQuery } from '@tanstack/react-query'
1818
import { createContext, ReactNode, useContext, useMemo } from 'react'
1919
import { useSdk } from './sdk-provider'
20-
import { Input, MantineThemeOverride, Paper, Select } from '@mantine/core'
20+
import { Input, MantineThemeOverride, Paper, Select, Tabs } from '@mantine/core'
2121

2222
export interface AppConfigContext {
2323
appLogoUrlDark?: string | undefined
@@ -60,6 +60,16 @@ const themeOverrides: MantineThemeOverride = {
6060
},
6161
},
6262
}),
63+
Tabs: Tabs.extend({
64+
defaultProps: {
65+
color: '#F2F2F2',
66+
},
67+
styles: {
68+
tab: {
69+
textTransform: 'uppercase',
70+
},
71+
},
72+
}),
6373
},
6474
}
6575

0 commit comments

Comments
 (0)