File tree Expand file tree Collapse file tree 3 files changed +53
-0
lines changed
Expand file tree Collapse file tree 3 files changed +53
-0
lines changed Original file line number Diff line number Diff line change @@ -59,6 +59,11 @@ typings/
5959
6060# Ignore dist folder with webpack build output
6161dist /
62+ dist-types /
63+
64+ # local storybook files
65+ storybook-static /
66+ admin /storybook-static /
6267
6368.DS_Store
6469
Original file line number Diff line number Diff line change 1+ {
2+ // Format on save for Prettier
3+ "editor.formatOnSave" : true ,
4+ // Using the prettier-vscode plugin as the old eslint integration has been deprecated. More here: https://github.com/prettier/prettier-vscode/issues/870
5+ "editor.defaultFormatter" : " esbenp.prettier-vscode" ,
6+ "[javascriptreact]" : {
7+ "editor.defaultFormatter" : " esbenp.prettier-vscode"
8+ },
9+ "[javascript]" : {
10+ "editor.defaultFormatter" : " esbenp.prettier-vscode"
11+ },
12+ "[typescriptreact]" : {
13+ "editor.defaultFormatter" : " esbenp.prettier-vscode"
14+ },
15+ "[typescript]" : {
16+ "editor.defaultFormatter" : " esbenp.prettier-vscode"
17+ },
18+ "[html]" : {
19+ "editor.defaultFormatter" : " vscode.html-language-features" // Set to esbenp.prettier-vscode when we are ready to reformat all HTML files
20+ }
21+ }
Original file line number Diff line number Diff line change 1+ import { createTheme } from "@material-ui/core/styles" ;
2+ import { defaultTheme } from "react-admin" ;
3+
4+ export const adminTheme = createTheme ( {
5+ ...defaultTheme ,
6+ components : {
7+ MuiDrawer : {
8+ styleOverrides : {
9+ paper : {
10+ backgroundColor : "#222222" ,
11+ minHeight : "100vh"
12+ }
13+ }
14+ }
15+ } ,
16+ palette : {
17+ primary : {
18+ main : "#1700c7"
19+ } ,
20+ secondary : {
21+ main : "#000000"
22+ }
23+ } ,
24+ typography : {
25+ fontFamily : "Inter,Arial"
26+ }
27+ } ) ;
You can’t perform that action at this time.
0 commit comments