Refactored hooks to specify events and reworked the dropdowns to be significantly faster and more responsive. (#304)

* Updated events to be more specific

* Update more events

* Update globalmousepos

* Update themes and submap module to show submap name.

* Type fixes

* Reworked menu position calculation logic to be much more efficient.

* Revert import file location

* We luv arrow functions

* Remove globalMousePos remnants since it's unused.

* Added the ability to configure menu dropdown transition and duration.

* Fix type
This commit is contained in:
Jas Singh
2024-10-06 00:22:27 -07:00
committed by GitHub
parent 8a727a080e
commit ee7d19320c
71 changed files with 2175 additions and 1796 deletions

View File

@@ -201,43 +201,32 @@
"theme.bar.menus.cards": "#3b4252",
"theme.bar.buttons.notifications.total": "#88c0d0",
"theme.bar.buttons.notifications.icon": "#3b4252",
"theme.bar.buttons.notifications.hover": "#434c53",
"theme.bar.buttons.notifications.background": "#3b4252",
"theme.bar.buttons.clock.icon": "#3b4252",
"theme.bar.buttons.clock.text": "#8fbcbb",
"theme.bar.buttons.clock.hover": "#434c53",
"theme.bar.buttons.clock.background": "#3b4252",
"theme.bar.buttons.battery.icon": "#3b4252",
"theme.bar.buttons.battery.text": "#81a1c1",
"theme.bar.buttons.battery.hover": "#434c53",
"theme.bar.buttons.battery.background": "#3b4252",
"theme.bar.buttons.systray.hover": "#434c53",
"theme.bar.buttons.systray.background": "#3b4252",
"theme.bar.buttons.bluetooth.icon": "#3b4252",
"theme.bar.buttons.bluetooth.text": "#88c0d0",
"theme.bar.buttons.bluetooth.hover": "#434c53",
"theme.bar.buttons.bluetooth.background": "#3b4252",
"theme.bar.buttons.network.icon": "#3b4252",
"theme.bar.buttons.network.text": "#88c0d0",
"theme.bar.buttons.network.hover": "#434c53",
"theme.bar.buttons.network.background": "#3b4252",
"theme.bar.buttons.volume.icon": "#3b4252",
"theme.bar.buttons.volume.text": "#81a1c1",
"theme.bar.buttons.volume.hover": "#434c53",
"theme.bar.buttons.volume.background": "#3b4252",
"theme.bar.buttons.media.hover": "#434c53",
"theme.bar.buttons.windowtitle.icon": "#3b4252",
"theme.bar.buttons.windowtitle.text": "#8fbcbb",
"theme.bar.buttons.windowtitle.hover": "#434c53",
"theme.bar.buttons.windowtitle.background": "#3b4252",
"theme.bar.buttons.workspaces.numbered_active_text_color": "#2e3440",
"theme.bar.buttons.workspaces.active": "#8fbcbb",
"theme.bar.buttons.workspaces.occupied": "#81a1c1",
"theme.bar.buttons.workspaces.available": "#88c0d0",
"theme.bar.buttons.workspaces.hover": "#8fbcbb",
"theme.bar.buttons.workspaces.background": "#3b4252",
"theme.bar.buttons.dashboard.icon": "#3b4252",
"theme.bar.buttons.dashboard.hover": "#434c53",
"theme.bar.buttons.dashboard.background": "#81a1c1",
"theme.osd.label": "#88c0d0",
"theme.osd.icon": "#2e3440",
@@ -343,5 +332,10 @@
"theme.bar.buttons.media.border": "#88c0d0",
"theme.bar.buttons.windowtitle.border": "#8fbcbb",
"theme.bar.buttons.workspaces.border": "#2e3440",
"theme.bar.buttons.dashboard.border": "#81a1c1"
"theme.bar.buttons.dashboard.border": "#81a1c1",
"theme.bar.buttons.modules.submap.background": "#3b4252",
"theme.bar.buttons.modules.submap.text": "#8fbcbb",
"theme.bar.buttons.modules.submap.border": "#8fbcbb",
"theme.bar.buttons.modules.submap.icon": "#21252b",
"theme.bar.buttons.modules.submap.icon_background": "#8fbcbb"
}