UNPKG

orchetera

Version:

Welcome to **Orchetera** — your orchestration tool to kickstart Firebase-ready projects with ease!

65 lines (62 loc) 1.8 kB
import { createTheme } from "@mui/material/styles"; const orcheteraTheme = createTheme({ palette: { primary: { main: "#9c27b0", light: "#ba68c8", dark: "#550063", contrastText: "#fff", alpha: "rgba(0,0,0,0.2)", }, secondary: { main: "#ff9800", }, }, components: { // Customize TextField globally MuiTextField: { styleOverrides: { root: { fontFamily: "'Roboto Flex', sans-serif", // Custom font "& .MuiInput-underline": { padding: 10, paddingLeft: 0, paddingRight: 0, }, "& .MuiInput-underline:before": { borderBottomColor: "#757575" }, // Inactive "& .MuiInput-underline:after": { borderBottomColor: "#7b1fa2" }, // Focused "& .MuiOutlinedInput-root": { // For outlined variant "& fieldset": { borderColor: "#9c27b0" }, "&:hover fieldset": { borderColor: "#ba68c8" }, "&.Mui-focused fieldset": { borderColor: "#7b1fa2" }, }, }, }, }, // Customize buttons MuiButton: { variants: [ { props: { os: "custom" }, // Triggered by the prop style: { fontFamily: "'Roboto Flex', sans-serif", textTransform: "none", background: `linear-gradient(90deg, #05E0DD 0%, #C802BE 100%)`, borderRadius: 25, boxShadow: "none", height: "auto", color: "white", "&:hover": { background: `linear-gradient(90deg, #04C9C6 0%, #B001A6 100%)`, }, }, }, ], }, }, typography: { fontFamily: "'Roboto Flex', sans-serif", // Custom font }, }); export default orcheteraTheme;