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": "#dce0e8",
"theme.bar.buttons.notifications.total": "#7287fd",
"theme.bar.buttons.notifications.icon": "#7287fd",
"theme.bar.buttons.notifications.hover": "#bcc0cc",
"theme.bar.buttons.notifications.background": "#dcdfe8",
"theme.bar.buttons.clock.icon": "#ea76cb",
"theme.bar.buttons.clock.text": "#ea76cb",
"theme.bar.buttons.clock.hover": "#bcc0cc",
"theme.bar.buttons.clock.background": "#dcdfe8",
"theme.bar.buttons.battery.icon": "#df8e1d",
"theme.bar.buttons.battery.text": "#df8e1d",
"theme.bar.buttons.battery.hover": "#bcc0cc",
"theme.bar.buttons.battery.background": "#dcdfe8",
"theme.bar.buttons.systray.hover": "#bcc0cc",
"theme.bar.buttons.systray.background": "#dcdfe8",
"theme.bar.buttons.bluetooth.icon": "#04a5e5",
"theme.bar.buttons.bluetooth.text": "#04a5e5",
"theme.bar.buttons.bluetooth.hover": "#bcc0cc",
"theme.bar.buttons.bluetooth.background": "#dcdfe8",
"theme.bar.buttons.network.icon": "#8839ef",
"theme.bar.buttons.network.text": "#8839ef",
"theme.bar.buttons.network.hover": "#bcc0cc",
"theme.bar.buttons.network.background": "#dcdfe8",
"theme.bar.buttons.volume.icon": "#e64553",
"theme.bar.buttons.volume.text": "#e64553",
"theme.bar.buttons.volume.hover": "#bcc0cc",
"theme.bar.buttons.volume.background": "#dcdfe8",
"theme.bar.buttons.media.hover": "#bcc0cc",
"theme.bar.buttons.windowtitle.icon": "#ea76cb",
"theme.bar.buttons.windowtitle.text": "#ea76cb",
"theme.bar.buttons.windowtitle.hover": "#bcc0cc",
"theme.bar.buttons.windowtitle.background": "#dcdfe8",
"theme.bar.buttons.workspaces.numbered_active_text_color": "#dce0e8",
"theme.bar.buttons.workspaces.active": "#ea76cb",
"theme.bar.buttons.workspaces.occupied": "#dd7878",
"theme.bar.buttons.workspaces.available": "#04a5e5",
"theme.bar.buttons.workspaces.hover": "#bcc0cc",
"theme.bar.buttons.workspaces.background": "#dcdfe8",
"theme.bar.buttons.dashboard.icon": "#df8e1d",
"theme.bar.buttons.dashboard.hover": "#bcc0cc",
"theme.bar.buttons.dashboard.background": "#dcdfe8",
"theme.osd.label": "#7287fd",
"theme.osd.icon": "#ccd0da",
@@ -343,5 +332,10 @@
"theme.bar.buttons.media.border": "#7287fd",
"theme.bar.buttons.windowtitle.border": "#ea76cb",
"theme.bar.buttons.workspaces.border": "#dce0e8",
"theme.bar.buttons.dashboard.border": "#df8e1d"
"theme.bar.buttons.dashboard.border": "#df8e1d",
"theme.bar.buttons.modules.submap.background": "#dcdfe8",
"theme.bar.buttons.modules.submap.text": "#179299",
"theme.bar.buttons.modules.submap.border": "#179299",
"theme.bar.buttons.modules.submap.icon": "#179299",
"theme.bar.buttons.modules.submap.icon_background": "#dcdfe8"
}