Skip to content

Commit

Permalink
New palette colors
Browse files Browse the repository at this point in the history
  • Loading branch information
irgolic authored and markotoplak committed Mar 6, 2023
1 parent 878ea9b commit a0ae4fe
Show file tree
Hide file tree
Showing 5 changed files with 52 additions and 5 deletions.
12 changes: 11 additions & 1 deletion Orange/widgets/data/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

NAME = "Data"

ID = "orange.widgets.data"
Expand All @@ -12,6 +13,15 @@

ICON = "icons/Category-Data.svg"

BACKGROUND = "#FFD39F"
from AnyQt.QtGui import QPalette

BACKGROUND = {
'light': {
QPalette.Light: '#febc57',
QPalette.Midlight: '#fe9457',
QPalette.Button: '#fe9057',
},
'plain': "#FFD39F",
}

PRIORITY = 1
12 changes: 11 additions & 1 deletion Orange/widgets/evaluate/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,21 @@
Widgets from Evaluate category
"""

NAME = "Evaluate"

DESCRIPTION = "Evaluate classification/regression performance."

BACKGROUND = "#C3F3F3"
from AnyQt.QtGui import QPalette

BACKGROUND = {
'light': {
QPalette.Light: '#a5ebeb',
QPalette.Midlight: '#5cebeb',
QPalette.Button: '#4be3f2',
},
'plain': "#C3F3F3",
}

ICON = "icons/Category-Evaluate.svg"

Expand Down
11 changes: 10 additions & 1 deletion Orange/widgets/model/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,16 @@

DESCRIPTION = 'Prediction.'

BACKGROUND = '#FAC1D9'
from AnyQt.QtGui import QPalette

BACKGROUND = {
'light': {
QPalette.Light: '#ffbddb',
QPalette.Midlight: '#ff8dc6',
QPalette.Button: '#f175b6',
},
'plain': "#FAC1D9",
}

ICON = 'icons/Category-Model.svg'

Expand Down
11 changes: 10 additions & 1 deletion Orange/widgets/unsupervised/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,16 @@

DESCRIPTION = "Unsupervised learning."

BACKGROUND = "#CAE1EF"
from AnyQt.QtGui import QPalette

BACKGROUND = {
'light': {
QPalette.Light: '#aed2d9',
QPalette.Midlight: '#5abced',
QPalette.Button: '#499fd8',
},
'plain': "#CAE1EF",
}

ICON = "icons/Category-Unsupervised.svg"

Expand Down
11 changes: 10 additions & 1 deletion Orange/widgets/visualize/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,16 @@

DESCRIPTION = "Widgets for data visualization."

BACKGROUND = "#FFB7B1"
from AnyQt.QtGui import QPalette

BACKGROUND = {
'light': {
QPalette.Light: '#f2b6b8',
QPalette.Midlight: '#ff8a99',
QPalette.Button: '#ff7a8a',
},
'plain': "#FFB7B1",
}

ICON = "icons/Category-Visualize.svg"

Expand Down

0 comments on commit a0ae4fe

Please sign in to comment.