Missing support for messagedialog window
pansy27 opened this issue · 2 comments
pansy27 commented
Hello.
I was messing with phocus colors and it seems like it lacks support for "messagedialog" windows. Changing theme colors have absolutely no effect on messagedialog windows. Here are some screenshots to explain what i mean:
^ messagedialog window on default phocus
^ messagedialog window stays same even after changing colors
I tried adding the following code to allow theming with variables:
@use '../colors';
messagedialog {
background: colors.$surface-weak;
color: colors.$black-strong;
border: 0.2em solid colors.$black-weakest;
box.vertical {
padding-top: 0.2em;
}
button {
margin: 0em 0.3em 0.3em 0.3em;
border: none;
background: colors.$black-weakest;
transition: background 170ms ease-out;
&:hover:not(:active) {
background: colors.$black-weak;
}
}
}
Result:
This is on commit 996f644
phisch commented
pansy27 commented
Thanks for the quick fix :)