initial commit
This commit is contained in:
commit
4a80c8552b
46 changed files with 8309 additions and 0 deletions
16
src/material/mui.ts
Normal file
16
src/material/mui.ts
Normal file
|
@ -0,0 +1,16 @@
|
|||
import { Theme, createTheme } from "@suid/material/styles";
|
||||
import { deepPurple, amber } from "@suid/material/colors";
|
||||
import { Accessor } from "solid-js";
|
||||
|
||||
export function useRootTheme() : Accessor<Theme> {
|
||||
return () => createTheme({
|
||||
palette: {
|
||||
primary: {
|
||||
main: deepPurple[500]
|
||||
},
|
||||
secondary: {
|
||||
main: amber.A200
|
||||
}
|
||||
}
|
||||
})
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue