Abhinav преди 3 години
родител
ревизия
8f345e90fb
променени са 1 файла, в които са добавени 10 реда и са изтрити 1 реда
  1. 10 1
      src/themes/darkThemeOptions.tsx

+ 10 - 1
src/themes/darkThemeOptions.tsx

@@ -21,6 +21,11 @@ declare module '@mui/material/Button' {
         danger: true;
     }
 }
+declare module '@mui/material/Checkbox' {
+    export interface CheckboxPropsColorOverrides {
+        accent: true;
+    }
+}
 
 // Create a theme instance.
 const darkThemeOptions = createTheme({
@@ -29,9 +34,13 @@ const darkThemeOptions = createTheme({
             styleOverrides: { root: { backgroundImage: 'none' } },
         },
         MuiLink: {
+            defaultProps: {
+                underline: 'always',
+            },
             styleOverrides: {
                 root: {
-                    textDecoration: 'none',
+                    color: 'inherit',
+                    textDecorationColor: 'inherit',
                     '&:hover': {
                         textDecoration: 'underline',
                         color: '#1dba54',