2026-06-19 12:48:30 +00:00

136 lines
4.4 KiB
TypeScript

interface StyleObject {
aside: string
asideScrollbars: string
asideBrand: string
asideMenuItem: string
asideMenuItemActive: string
asideMenuDropdown: string
navBarItemLabel: string
navBarItemLabelHover: string
navBarItemLabelActiveColor: string
overlay: string
activeLinkColor: string;
bgLayoutColor: string;
iconsColor: string;
cardsColor: string;
focusRingColor: string;
corners: string;
cardsStyle: string;
linkColor: string;
websiteHeder: string;
borders: string;
shadow: string;
websiteSectionStyle: string;
textSecondary: string;
}
export const white: StyleObject = {
aside: 'bg-white text-black',
asideScrollbars: 'aside-scrollbars-light',
asideBrand: 'bg-white text-black',
asideMenuItem: 'text-black hover:bg-gray-100',
asideMenuItemActive: 'font-bold text-black',
asideMenuDropdown: 'bg-gray-100/75',
navBarItemLabel: 'text-blue-600',
navBarItemLabelHover: 'hover:text-black',
navBarItemLabelActiveColor: 'text-black',
overlay: 'from-white via-gray-100 to-white',
activeLinkColor: 'bg-gray-100/70',
bgLayoutColor: 'bg-gray-50',
iconsColor: 'text-blue-500',
cardsColor: 'bg-white',
focusRingColor: 'focus:ring focus:ring-blue-600 focus:border-blue-600 focus:outline-none border-gray-300 dark:focus:ring-blue-600 dark:focus:border-blue-600',
corners: 'rounded',
cardsStyle: 'bg-white border border-pavitra-400',
linkColor: 'text-blue-600',
websiteHeder: 'border-b border-gray-200',
borders: 'border-gray-200',
shadow: '',
websiteSectionStyle: '',
textSecondary: 'text-gray-500',
}
export const midnightBlueTheme: StyleObject = {
aside: 'bg-white text-black lg:rounded-lg',
asideScrollbars: 'aside-scrollbars-blue',
asideBrand: 'bg-white text-black',
asideMenuItem:
'text-black hover:bg-gray-100',
asideMenuItemActive: 'font-bold text-black',
activeLinkColor: 'bg-gray-100 rounded-lg',
asideMenuDropdown: 'bg-gray-100/75',
navBarItemLabel: 'text-primaryText',
iconsColor: 'text-midnightBlueTheme-iconsColor dark:text-blue-500',
navBarItemLabelHover: 'hover:text-stone-400',
navBarItemLabelActiveColor: 'text-midnightBlueTheme-800',
overlay: 'bg-midnightBlueTheme-mainBG',
bgLayoutColor: 'bg-midnightBlueTheme-mainBG',
cardsColor: 'bg-midnightBlueTheme-cardColor',
focusRingColor:
'focus:ring focus:ring-midnightBlueTheme-800 focus:border-midnightBlueTheme-800 focus:outline-none border border-gray-600 dark:focus:ring-blue-600 dark:focus:border-blue-600',
corners: 'rounded-lg',
cardsStyle: 'bg-midnightBlueTheme-outsideCardColor border border-midnightBlueTheme-outsideCardColor shadow-xl',
linkColor: 'text-midnightBlueTheme-buttonColor',
websiteHeder: 'border-b border-white border-opacity-10 shadow-md',
borders: 'border-white border-opacity-10',
shadow: 'shadow-md',
websiteSectionStyle: ' bg-midnightBlueTheme-webSiteComponentBg text-white',
textSecondary: 'text-gray-300',
};
export const dataGridStyles = {
'& .MuiDataGrid-cell': {
paddingX: 3,
border: 'none',
},
'& .MuiDataGrid-columnHeader': {
paddingX: 3,
},
'& .MuiDataGrid-columnHeaderCheckbox': {
paddingX: 0,
},
'& .MuiDataGrid-columnHeaders': {
paddingY: 4,
borderStartStartRadius: 7,
borderStartEndRadius: 7,
},
'& .MuiDataGrid-footerContainer': {
paddingY: 0.5,
borderEndStartRadius: 7,
borderEndEndRadius: 7,
},
'& .MuiDataGrid-root': {
border: 'none',
},
};
export const basic: StyleObject = {
aside: 'bg-white text-black',
asideScrollbars: 'aside-scrollbars-gray',
asideBrand: 'bg-white text-black',
asideMenuItem: 'text-black hover:bg-gray-100',
asideMenuItemActive: 'font-bold text-black',
asideMenuDropdown: 'bg-gray-100/75',
navBarItemLabel: 'text-black',
navBarItemLabelHover: 'hover:text-blue-500',
navBarItemLabelActiveColor: 'text-blue-600',
overlay: 'from-gray-700 via-gray-900 to-gray-700',
activeLinkColor: 'bg-gray-100/70',
bgLayoutColor: 'bg-gray-50',
iconsColor: 'text-blue-500',
cardsColor: 'bg-white',
focusRingColor: 'focus:ring focus:ring-blue-600 focus:border-blue-600 focus:outline-none dark:focus:ring-blue-600 border-gray-300 dark:focus:border-blue-600',
corners: 'rounded',
cardsStyle: 'bg-white border border-pavitra-400',
linkColor: 'text-black',
websiteHeder: '',
borders: '',
shadow: '',
websiteSectionStyle: '',
textSecondary: '',
}