Customize the default Color Palette
for AstroLaunch UI and add your own custom colors that matches your brand.
AstroLaunch UI provides a default color palette that you can use. These colors are are the same as the ones used in Material Design.
Customizing colors for AstroLaunch UI is very easy and straightforward, it's the same as tailwindcss colors customization.
You just need to modify the colors
object for the tailwind.config.js
file.
module.exports = withMT({
theme: {
colors: {
// Configure your color palette here
},
},
});
You can add new color to AstroLaunch UI color palette very easy and straightforward, it's the same as adding new color for tailwindcss.
You just need to add your own color to the extend
and colors
object for tailwind.config.js
file.
module.exports = withMT({
theme: {
extend: {
colors: {
sky: {
50: "#f0f9ff",
100: "#e0f2fe",
200: "#bae6fd",
300: "#7dd3fc",
400: "#38bdf8",
500: "#0ea5e9",
600: "#0284c7",
700: "#0369a1",
800: "#075985",
900: "#0c4a6e",
},
},
},
},
});
If you want to see more examples and properties please check the official Material Tailwind Documentation.