mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +01:00
add disabled color for buttons
This commit is contained in:
parent
1bcab11fc8
commit
025b9ccb15
1 changed files with 5 additions and 2 deletions
|
|
@ -2,8 +2,10 @@ from avalon.vendor import qtawesome
|
|||
|
||||
|
||||
class ResourceCache:
|
||||
# TODO use colors from OpenPype style
|
||||
colors = {
|
||||
"standard": "#bfccd6",
|
||||
"disabled": "#969696",
|
||||
"new": "#2d9a4c",
|
||||
"warning": "#c83232"
|
||||
}
|
||||
|
|
@ -58,8 +60,9 @@ class ResourceCache:
|
|||
},
|
||||
"refresh": qtawesome.icon(
|
||||
"fa.refresh",
|
||||
color=cls.colors["standard"]
|
||||
)
|
||||
color=cls.colors["standard"],
|
||||
color_disabled=cls.colors["disabled"]
|
||||
),
|
||||
}
|
||||
return cls.icons
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue