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": "#24283b",
"theme.bar.buttons.notifications.total": "#bb9af7",
"theme.bar.buttons.notifications.icon": "#272a3d",
"theme.bar.buttons.notifications.hover": "#414868",
"theme.bar.buttons.notifications.background": "#272a3d",
"theme.bar.buttons.clock.icon": "#272a3d",
"theme.bar.buttons.clock.text": "#f7768e",
"theme.bar.buttons.clock.hover": "#414868",
"theme.bar.buttons.clock.background": "#272a3d",
"theme.bar.buttons.battery.icon": "#272a3d",
"theme.bar.buttons.battery.text": "#e0af68",
"theme.bar.buttons.battery.hover": "#414868",
"theme.bar.buttons.battery.background": "#272a3d",
"theme.bar.buttons.systray.hover": "#414868",
"theme.bar.buttons.systray.background": "#272a3d",
"theme.bar.buttons.bluetooth.icon": "#272a3d",
"theme.bar.buttons.bluetooth.text": "#7dcfff",
"theme.bar.buttons.bluetooth.hover": "#414868",
"theme.bar.buttons.bluetooth.background": "#272a3d",
"theme.bar.buttons.network.icon": "#272a3d",
"theme.bar.buttons.network.text": "#bb9af7",
"theme.bar.buttons.network.hover": "#414868",
"theme.bar.buttons.network.background": "#272a3d",
"theme.bar.buttons.volume.icon": "#272a3d",
"theme.bar.buttons.volume.text": "#f7768e",
"theme.bar.buttons.volume.hover": "#414868",
"theme.bar.buttons.volume.background": "#272a3d",
"theme.bar.buttons.media.hover": "#414868",
"theme.bar.buttons.windowtitle.icon": "#272a3d",
"theme.bar.buttons.windowtitle.text": "#f7768e",
"theme.bar.buttons.windowtitle.hover": "#414868",
"theme.bar.buttons.windowtitle.background": "#272a3d",
"theme.bar.buttons.workspaces.numbered_active_text_color": "#24283b",
"theme.bar.buttons.workspaces.active": "#f7768e",
"theme.bar.buttons.workspaces.occupied": "#f7768e",
"theme.bar.buttons.workspaces.available": "#7dcfff",
"theme.bar.buttons.workspaces.hover": "#f7768e",
"theme.bar.buttons.workspaces.background": "#272a3d",
"theme.bar.buttons.dashboard.icon": "#272a3d",
"theme.bar.buttons.dashboard.hover": "#414868",
"theme.bar.buttons.dashboard.background": "#e0af68",
"theme.osd.label": "#bb9af7",
"theme.osd.icon": "#1a1b26",
@@ -343,5 +332,10 @@
"theme.bar.buttons.media.border": "#bb9af7",
"theme.bar.buttons.windowtitle.border": "#f7768e",
"theme.bar.buttons.workspaces.border": "#f7768e",
"theme.bar.buttons.dashboard.border": "#e0af68"
"theme.bar.buttons.dashboard.border": "#e0af68",
"theme.bar.buttons.modules.submap.background": "#272a3d",
"theme.bar.buttons.modules.submap.text": "#73daca",
"theme.bar.buttons.modules.submap.border": "#73daca",
"theme.bar.buttons.modules.submap.icon": "#181825",
"theme.bar.buttons.modules.submap.icon_background": "#73daca"
}