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