mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-09 23:15:46 +01:00
🎨 Changed primary/secondary color to camelCase
This commit is contained in:
@@ -35,8 +35,8 @@ export default function CommonSettings(args: any) {
|
||||
const theme = useMantineTheme();
|
||||
const colors = Object.keys(theme.colors).map((color) => theme.colors[color][6]);
|
||||
|
||||
const [primaryColor, setPrimaryColor] = useState(config.settings.primary_color);
|
||||
const [secondaryColor, setSecondaryColor] = useState(config.settings.secondary_color);
|
||||
const [primaryColor, setPrimaryColor] = useState(config.settings.primaryColor);
|
||||
const [secondaryColor, setSecondaryColor] = useState(config.settings.secondaryColor);
|
||||
|
||||
// const convertColorHexToNames = (hex: string) => {
|
||||
// // Have to add some exceptions here because it's not converting cleanly
|
||||
|
||||
Reference in New Issue
Block a user