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": "#1e2030",
"theme.bar.buttons.notifications.total": "#b7bdf8",
"theme.bar.buttons.notifications.icon": "#b7bdf8",
"theme.bar.buttons.notifications.hover": "#494d64",
"theme.bar.buttons.notifications.background": "#24273a",
"theme.bar.buttons.clock.icon": "#f5bde6",
"theme.bar.buttons.clock.text": "#f5bde6",
"theme.bar.buttons.clock.hover": "#494d64",
"theme.bar.buttons.clock.background": "#24273a",
"theme.bar.buttons.battery.icon": "#eed49f",
"theme.bar.buttons.battery.text": "#eed49f",
"theme.bar.buttons.battery.hover": "#494d64",
"theme.bar.buttons.battery.background": "#24273a",
"theme.bar.buttons.systray.hover": "#494d64",
"theme.bar.buttons.systray.background": "#24273a",
"theme.bar.buttons.bluetooth.icon": "#91d7e3",
"theme.bar.buttons.bluetooth.text": "#91d7e3",
"theme.bar.buttons.bluetooth.hover": "#494d64",
"theme.bar.buttons.bluetooth.background": "#24273a",
"theme.bar.buttons.network.icon": "#c6a0f6",
"theme.bar.buttons.network.text": "#c6a0f6",
"theme.bar.buttons.network.hover": "#494d64",
"theme.bar.buttons.network.background": "#24273a",
"theme.bar.buttons.volume.icon": "#ee99a0",
"theme.bar.buttons.volume.text": "#ee99a0",
"theme.bar.buttons.volume.hover": "#494d64",
"theme.bar.buttons.volume.background": "#24273a",
"theme.bar.buttons.media.hover": "#494d64",
"theme.bar.buttons.windowtitle.icon": "#f5bde6",
"theme.bar.buttons.windowtitle.text": "#f5bde6",
"theme.bar.buttons.windowtitle.hover": "#494d64",
"theme.bar.buttons.windowtitle.background": "#24273a",
"theme.bar.buttons.workspaces.numbered_active_text_color": "#181926",
"theme.bar.buttons.workspaces.active": "#f5bde6",
"theme.bar.buttons.workspaces.occupied": "#f0c6c6",
"theme.bar.buttons.workspaces.available": "#91d7e3",
"theme.bar.buttons.workspaces.hover": "#494d64",
"theme.bar.buttons.workspaces.background": "#24273a",
"theme.bar.buttons.dashboard.icon": "#eed49f",
"theme.bar.buttons.dashboard.hover": "#494d64",
"theme.bar.buttons.dashboard.background": "#24273a",
"theme.osd.label": "#b7bdf8",
"theme.osd.icon": "#181926",
@@ -343,5 +332,10 @@
"theme.bar.buttons.media.border": "#b7bdf8",
"theme.bar.buttons.windowtitle.border": "#f5bde6",
"theme.bar.buttons.workspaces.border": "#181926",
"theme.bar.buttons.dashboard.border": "#eed49f"
"theme.bar.buttons.dashboard.border": "#eed49f",
"theme.bar.buttons.modules.submap.background": "#24273a",
"theme.bar.buttons.modules.submap.text": "#8bd5ca",
"theme.bar.buttons.modules.submap.border": "#8bd5ca",
"theme.bar.buttons.modules.submap.icon": "#8bd5ca",
"theme.bar.buttons.modules.submap.icon_background": "#24273a"
}