Hello! How can I set up different background-color for light and dark themes?
The docs have an example on setting the background color. and a section on how to implement dark/light themes. could be as simple as putting those two together
Sorry I completely I missed the point. I am aware of the docs, but I use overrides like this, and didn’t find out how to make this for main background-color too.
$AntDesign = Get-UDTheme -Name 'AntDesign'
$AntDesign.light.overrides.MuiTableRow = @{
root = @{
'&:nth-of-type(odd)' = @{
backgroundColor = "rgba(0,0,0,0.04)"
}
}
head = @{
backgroundColor = "rgb(255,255,255) !important"
}
}
$AntDesign.dark.overrides.MuiTableRow = @{
root = @{
'&:nth-of-type(odd)' = @{
backgroundColor = "#313232"
}
}
head = @{
backgroundColor = "rgb(0,0,0) !important"
}
}