Blame view

天文台pc/tianwentai-ui/node_modules/@mui/material/esm/styles/createThemeFoundation.js 878 Bytes
bc518174   王天杨   提交两个项目文件
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
  /**
   * default MD color-schemes
   */
  
  /**
   * The application can add more color-scheme by extending this interface via module augmentation
   *
   * Ex.
   * declare module @mui/material/styles {
   *   interface ColorSchemeOverrides {
   *     foo: true;
   *   }
   * }
   *
   * // SupportedColorScheme = 'light' | 'dark' | 'foo';
   */
  
  /**
   * All color-schemes that the application has
   */
  
  // The Palette should be sync with `../themeCssVarsAugmentation/index.d.ts`
  
  // should not include keys defined in `shouldSkipGeneratingVar` and have value typeof function
  
  /**
   * Does not work for these cases:
   * - { borderRadius: string | number } // the value can't be a union
   * - { shadows: [string, string, ..., string] } // the value can't be an array
   */
  
  // shut off automatic exporting for the Generics above
  export {};
  
  /**
   * Theme properties generated by extendTheme and CssVarsProvider
   */