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

@@ -251,44 +251,35 @@
"theme.bar.buttons.notifications.total": "#f7d04b",
"theme.bar.buttons.notifications.icon_background": "#FFD700",
"theme.bar.buttons.notifications.icon": "#f7d04b",
"theme.bar.buttons.notifications.hover": "#303030",
"theme.bar.buttons.notifications.background": "#121212",
"theme.bar.buttons.clock.icon_background": "#FF69B4",
"theme.bar.buttons.clock.icon": "#5bafff",
"theme.bar.buttons.clock.text": "#5bafff",
"theme.bar.buttons.clock.hover": "#303030",
"theme.bar.buttons.clock.background": "#121212",
"theme.bar.buttons.battery.icon_background": "#FFD700",
"theme.bar.buttons.battery.icon": "#f7d04b",
"theme.bar.buttons.battery.text": "#f7d04b",
"theme.bar.buttons.battery.hover": "#303030",
"theme.bar.buttons.battery.background": "#121212",
"theme.bar.buttons.systray.hover": "#303030",
"theme.bar.buttons.systray.background": "#121212",
"theme.bar.buttons.bluetooth.icon_background": "#89dbeb",
"theme.bar.buttons.bluetooth.icon": "#5bafff",
"theme.bar.buttons.bluetooth.text": "#5bafff",
"theme.bar.buttons.bluetooth.hover": "#303030",
"theme.bar.buttons.bluetooth.background": "#121212",
"theme.bar.buttons.network.icon_background": "#caa6f7",
"theme.bar.buttons.network.icon": "#e23fe2",
"theme.bar.buttons.network.text": "#e23fe2",
"theme.bar.buttons.network.hover": "#303030",
"theme.bar.buttons.network.background": "#121212",
"theme.bar.buttons.volume.icon_background": "#FF4500",
"theme.bar.buttons.volume.icon": "#ff3f3f",
"theme.bar.buttons.volume.text": "#ff3f3f",
"theme.bar.buttons.volume.hover": "#303030",
"theme.bar.buttons.volume.background": "#121212",
"theme.bar.buttons.media.icon_background": "#FFD700",
"theme.bar.buttons.media.icon": "#FFD700",
"theme.bar.buttons.media.text": "#00FFFF",
"theme.bar.buttons.media.hover": "#303030",
"theme.bar.buttons.media.background": "#111111",
"theme.bar.buttons.windowtitle.icon_background": "#FF69B4",
"theme.bar.buttons.windowtitle.icon": "#5bafff",
"theme.bar.buttons.windowtitle.text": "#5bafff",
"theme.bar.buttons.windowtitle.hover": "#303030",
"theme.bar.buttons.windowtitle.background": "#121212",
"theme.bar.buttons.workspaces.numbered_active_underline_color": "#e23ee2",
"theme.bar.buttons.workspaces.numbered_active_highlighted_text_color": "#21252b",
@@ -298,7 +289,6 @@
"theme.bar.buttons.workspaces.hover": "#303030",
"theme.bar.buttons.workspaces.background": "#121212",
"theme.bar.buttons.dashboard.icon": "#f7d04b",
"theme.bar.buttons.dashboard.hover": "#303030",
"theme.bar.buttons.dashboard.background": "#121212",
"theme.bar.buttons.icon": "#FFD700",
"theme.bar.buttons.text": "#00FFFF",
@@ -342,5 +332,10 @@
"theme.bar.buttons.media.border": "#FFD700",
"theme.bar.buttons.windowtitle.border": "#5bafff",
"theme.bar.buttons.workspaces.border": "#e23ee2",
"theme.bar.buttons.dashboard.border": "#f7d04b"
"theme.bar.buttons.dashboard.border": "#f7d04b",
"theme.bar.buttons.modules.submap.background": "#121212",
"theme.bar.buttons.modules.submap.text": "#FF69B4",
"theme.bar.buttons.modules.submap.border": "#FF69B4",
"theme.bar.buttons.modules.submap.icon": "#FF69B4",
"theme.bar.buttons.modules.submap.icon_background": "#121212"
}