worked on GarageApp stuff
This commit is contained in:
parent
60aaf17af3
commit
eb606572b0
51919 changed files with 2168177 additions and 18 deletions
54
node_modules/@mui/system/esm/createTheme/createTheme.d.ts
generated
vendored
Normal file
54
node_modules/@mui/system/esm/createTheme/createTheme.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
import { CSSObject } from '@mui/styled-engine';
|
||||
import { Breakpoints, BreakpointsOptions } from "../createBreakpoints/createBreakpoints.js";
|
||||
import { Shape, ShapeOptions } from "./shape.js";
|
||||
import { Spacing, SpacingOptions } from "./createSpacing.js";
|
||||
import { SxConfig, SxProps } from "../styleFunctionSx/index.js";
|
||||
import { ApplyStyles } from "./applyStyles.js";
|
||||
import { CssContainerQueries } from "../cssContainerQueries/index.js";
|
||||
export { Breakpoint, Breakpoints, BreakpointOverrides } from "../createBreakpoints/createBreakpoints.js";
|
||||
export type Direction = 'ltr' | 'rtl';
|
||||
export interface Typography {}
|
||||
export interface Mixins {}
|
||||
export interface Shadows {}
|
||||
export interface Transitions {}
|
||||
export interface ZIndex {}
|
||||
export interface ThemeOptions {
|
||||
shape?: ShapeOptions;
|
||||
breakpoints?: BreakpointsOptions;
|
||||
direction?: Direction;
|
||||
mixins?: Mixins;
|
||||
palette?: Record<string, any>;
|
||||
shadows?: Shadows;
|
||||
spacing?: SpacingOptions;
|
||||
transitions?: Transitions;
|
||||
components?: Record<string, any>;
|
||||
typography?: Typography;
|
||||
zIndex?: ZIndex;
|
||||
unstable_sxConfig?: SxConfig;
|
||||
}
|
||||
export interface Theme extends CssContainerQueries {
|
||||
shape: Shape;
|
||||
breakpoints: Breakpoints;
|
||||
direction: Direction;
|
||||
palette: Record<string, any> & {
|
||||
mode: 'light' | 'dark';
|
||||
};
|
||||
shadows?: Shadows;
|
||||
spacing: Spacing;
|
||||
transitions?: Transitions;
|
||||
components?: Record<string, any>;
|
||||
mixins?: Mixins;
|
||||
typography?: Typography;
|
||||
zIndex?: ZIndex;
|
||||
applyStyles: ApplyStyles<'light' | 'dark'>;
|
||||
unstable_sxConfig: SxConfig;
|
||||
unstable_sx: (props: SxProps<Theme>) => CSSObject;
|
||||
}
|
||||
|
||||
/**
|
||||
* Generate a theme base on the options received.
|
||||
* @param options Takes an incomplete theme object and adds the missing parts.
|
||||
* @param args Deep merge the arguments with the about to be returned theme.
|
||||
* @returns A complete, ready-to-use theme object.
|
||||
*/
|
||||
export default function createTheme(options?: ThemeOptions, ...args: object[]): Theme;
|
||||
Loading…
Add table
Add a link
Reference in a new issue