Moved v3 code from NginxProxyManager/nginx-proxy-manager-3 to NginxProxyManager/nginx-proxy-manager
This commit is contained in:
22
frontend/src/theme/customTheme.ts
Normal file
22
frontend/src/theme/customTheme.ts
Normal file
@@ -0,0 +1,22 @@
|
||||
import { theme as chakraTheme, ThemeConfig } from "@chakra-ui/react";
|
||||
import { extendTheme } from "@chakra-ui/react";
|
||||
|
||||
// declare a variable for fonts and set our fonts
|
||||
const fonts = {
|
||||
...chakraTheme.fonts,
|
||||
body: `"Source Sans Pro",-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"`,
|
||||
heading: `"Source Sans Pro",-apple-system,BlinkMacSystemFont,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"`,
|
||||
};
|
||||
|
||||
const config: ThemeConfig = {
|
||||
initialColorMode: "system",
|
||||
};
|
||||
|
||||
const shadows = {
|
||||
...chakraTheme.shadows,
|
||||
outline: "none",
|
||||
};
|
||||
|
||||
const lightTheme = extendTheme({ fonts, config, shadows });
|
||||
|
||||
export default lightTheme;
|
Reference in New Issue
Block a user