mirror of
https://github.com/remnawave/frontend.git
synced 2026-05-13 20:26:47 +00:00
36 lines
944 B
TypeScript
36 lines
944 B
TypeScript
import {
|
|
ActionIconVariant,
|
|
BadgeVariant,
|
|
ButtonVariant,
|
|
DefaultMantineColor,
|
|
MantineColorsTuple,
|
|
ThemeIconVariant
|
|
} from '@mantine/core'
|
|
|
|
type ExtendedThemeIconVariant = 'soft' | ThemeIconVariant
|
|
type ExtendedActionIconVariant = 'soft' | ActionIconVariant
|
|
type ExtendedBadgeVariant = 'soft' | BadgeVariant
|
|
type ExtendedCustomColors = 'shaded-gray' | DefaultMantineColor
|
|
type ExtendedButtonVariant = 'soft' | ButtonVariant
|
|
|
|
declare module '@mantine/core' {
|
|
export interface ThemeIconProps {
|
|
variant?: ExtendedThemeIconVariant
|
|
}
|
|
|
|
export interface BadgeProps {
|
|
variant?: ExtendedBadgeVariant
|
|
}
|
|
|
|
export interface ActionIconProps {
|
|
variant?: ExtendedActionIconVariant
|
|
}
|
|
|
|
export interface ButtonProps {
|
|
variant?: ExtendedButtonVariant
|
|
}
|
|
|
|
export interface MantineThemeColorsOverride {
|
|
colors: Record<ExtendedCustomColors, MantineColorsTuple>
|
|
}
|
|
}
|