From 2523e07d129a1c451582bba3f3a01d2e5821e4bc Mon Sep 17 00:00:00 2001 From: Draga Doncila Pop Date: Fri, 3 Nov 2023 11:56:52 +1100 Subject: [PATCH] Remove theme --- dummy_test_plugin/__init__.py | 27 --------------------------- 1 file changed, 27 deletions(-) diff --git a/dummy_test_plugin/__init__.py b/dummy_test_plugin/__init__.py index 5cb4440..9787562 100644 --- a/dummy_test_plugin/__init__.py +++ b/dummy_test_plugin/__init__.py @@ -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) @@ -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 -