Skip to content

Latest commit

 

History

History
41 lines (36 loc) · 753 Bytes

README.md

File metadata and controls

41 lines (36 loc) · 753 Bytes

Next js color mode

Theme controller

you customize the theme from this jsx component

~/themes/themes.jsx

exports.themes = {
    primery: {
        bg: {
            dark: "#330038",
            light: "#fff"
        },
        color: {
            dark: "#fff",
            light: "black"
        },
        border: {
            dark: "#5f0069",
            light: "#b600b6"
        }
    },
    secondary: {
        bg: {
            dark: "purple",
            light: "#f0f"
        },
        color: {
            dark: "white",
            light: "silver"
        }
    }
}