Red color

This commit is contained in:
2024-07-13 11:36:20 +08:00
parent 91cdd8b4c7
commit f011f812a8
12 changed files with 93 additions and 35 deletions

View File

@@ -7,13 +7,57 @@ export default {
"./src/**/*.{js,ts,jsx,tsx}",
"./node_modules/@nextui-org/theme/dist/**/*.{js,ts,jsx,tsx}",
],
theme: {
extend: {
colors: {
'red-color': '#F36E6E', // Your color code
},
},
},
darkMode: "class",
plugins: [nextui()],
plugins: [
nextui({
themes: {
"red-dark": {
extend: "dark",
colors: {
background: "#1A0000",
foreground: "#ffffff",
primary: {
50: "#FFE5E5",
100: "#FFB3B3",
200: "#FF8080",
300: "#FF4040",
400: "#F00000",
500: "#D20000",
600: "#B50000",
700: "#960000",
800: "#780000",
900: "#610000",
950: "#420000",
DEFAULT: "#F00000",
foreground: "#ffffff",
},
focus: "#FF4040",
},
},
"red-light": {
extend: "light", // <- inherit default values from light theme
colors: {
background: "#ffffff",
foreground: "#1A0000",
primary: {
50: "#FFE5E5",
100: "#FFB3B3",
200: "#FF8080",
300: "#FF4040",
400: "#FF0000",
500: "#E60000",
600: "#CC0000",
700: "#B30000",
800: "#990000",
900: "#800000",
950: "#690000",
DEFAULT: "#FF0000",
foreground: "#ffffff",
},
focus: "#FF8080",
},
},
},
}),
],
};