mirror of
https://github.com/ente-io/ente.git
synced 2025-08-06 06:33:15 +00:00
Doc
This commit is contained in:
parent
b41909477e
commit
62edaa62d8
@ -64,7 +64,6 @@ declare module "@mui/material/styles" {
|
||||
text: Strength;
|
||||
fill: FillStrength;
|
||||
stroke: Strength;
|
||||
shadows: Shadows;
|
||||
accent: ColorStrength;
|
||||
warning: ColorStrength;
|
||||
danger: ColorStrength;
|
||||
@ -76,7 +75,6 @@ declare module "@mui/material/styles" {
|
||||
text?: Partial<Strength>;
|
||||
fill?: Partial<FillStrength>;
|
||||
stroke?: Partial<StrokeStrength>;
|
||||
shadows?: Partial<Shadows>;
|
||||
accent?: Partial<ColorStrength>;
|
||||
warning?: Partial<ColorStrength>;
|
||||
danger?: Partial<ColorStrength>;
|
||||
@ -158,8 +156,8 @@ declare module "@mui/material/styles" {
|
||||
overlayIndicatorMuted: string;
|
||||
};
|
||||
/**
|
||||
* MUI as of v6 does not allow customizing the shadows easily. This is
|
||||
* due for change: https://github.com/mui/material-ui/issues/44291.
|
||||
* MUI as of v6 does not allow customizing shadows easily. This is due
|
||||
* for change: https://github.com/mui/material-ui/issues/44291.
|
||||
*
|
||||
* Meanwhile use a custom variable. Since it is specific to the color
|
||||
* scheme, keep it inside the palette.
|
||||
|
@ -120,8 +120,8 @@ export type ColorAccentType = "auth" | "photos";
|
||||
*
|
||||
* - Custom colors (even if they're not PaletteColors) go within the palette.
|
||||
*
|
||||
* - Non-color tokens that depend on the color scheme (e.g. drop shadows) also
|
||||
* go within the palette so that they can be made color scheme specific.
|
||||
* - Non-color tokens that depend on the color scheme (e.g. box shadows) also go
|
||||
* within the palette so that they can be made color scheme specific.
|
||||
*
|
||||
* - All other custom variables remain within the top level theme.
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user