Skip to content

Commit

Permalink
Remove theme
Browse files Browse the repository at this point in the history
  • Loading branch information
DragaDoncila committed Nov 3, 2023
1 parent ce08628 commit 2523e07
Showing 1 changed file with 0 additions and 27 deletions.
27 changes: 0 additions & 27 deletions dummy_test_plugin/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,6 @@ def napari_experimental_provide_dock_widget():
return threshold


### THEME ###
@napari_hook_implementation
def napari_experimental_provide_theme():
return get_new_theme()


### HELPERS ###
def reader_function(path: str):
data = np.load(path)
Expand Down Expand Up @@ -83,24 +77,3 @@ def threshold(
) -> 'napari.types.LabelsData':
return (data > threshold).astype(int)


def get_new_theme():
themes = {
"super_dark": {
"name": "super_dark",
"background": "rgb(12, 12, 12)",
"foreground": "rgb(65, 72, 81)",
"primary": "rgb(90, 98, 108)",
"secondary": "rgb(134, 142, 147)",
"highlight": "rgb(106, 115, 128)",
"text": "rgb(240, 241, 242)",
"icon": "rgb(209, 210, 212)",
"warning": "rgb(153, 18, 31)",
"current": "rgb(0, 122, 204)",
"syntax_style": "native",
"console": "rgb(0, 0, 0)",
"canvas": "black",
}
}
return themes

0 comments on commit 2523e07

Please sign in to comment.