phocus / gtk

From scratch, clean and opinionated GTK3 implementation of the phocus color scheme.

Home Page:https://phocus.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Missing support for messagedialog window

pansy27 opened this issue · comments

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:

8OqM2
^ messagedialog window on default phocus


23_41_27
^ 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:

23_50_26

This is on commit 996f644

@moon-moon27 fixed now:
image
edit: nice light theme, btw.

Thanks for the quick fix :)