Product: PowerShell Universal
Version: 1.5.9
UD v3
Has anyone done much work with custom themes in V3? I have to say I’m struggling a little.
Currently I have the following ‘theme’ configured in my dashboard.ps1:
$Theme = @{
light = @{
palette = @{
primary = @{
main = "#fff"
}
background = @{
default = '#f0f2f4'
paper = '#fff'
}
text = @{
primary = '#202020'
secondary = '#737373'
disabled = '#9b9b9b'
}
action = @{
active = '#26bd55'
hover = '#f0f0f0'
selected = '#e6e6e6'
disabled = '#b9b9b9'
disabledBackground = '#dcdcdc'
}
}
}
dark = @{
palette = @{
primary = @{
main = "#333"
}
background = @{
default = '#474747'
paper = '#424242'
}
text = @{
primary = '#fff'
secondary = '#c1c1c1'
disabled = '#989898'
}
action = @{
active = '#26bd55'
hover = '#404040'
selected = '#515151'
disabled = '#6f6f6f'
disabledBackground = '#494949'
}
}
}
}
Only problem is when I use new-udlink anywhere, the text blends in because its also white like the background.
Now I’ve looked at Universal/UD docs, and also material-UI docs and I’m struggling to get my head around the link color… tried adding a link = @{ primary = “#hexcode” } etc into the above code, but no joy. Anyone had any luck in doing this or have any more comprehensive examples of a theme?