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": "#292c3c",
"theme.bar.buttons.notifications.total": "#babbf1",
"theme.bar.buttons.notifications.icon": "#babbf1",
"theme.bar.buttons.notifications.hover": "#51576d",
"theme.bar.buttons.notifications.background": "#303446",
"theme.bar.buttons.clock.icon": "#f4b8e4",
"theme.bar.buttons.clock.text": "#f4b8e4",
"theme.bar.buttons.clock.hover": "#51576d",
"theme.bar.buttons.clock.background": "#303446",
"theme.bar.buttons.battery.icon": "#e5c890",
"theme.bar.buttons.battery.text": "#e5c890",
"theme.bar.buttons.battery.hover": "#51576d",
"theme.bar.buttons.battery.background": "#303446",
"theme.bar.buttons.systray.hover": "#51576d",
"theme.bar.buttons.systray.background": "#303446",
"theme.bar.buttons.bluetooth.icon": "#99d1db",
"theme.bar.buttons.bluetooth.text": "#99d1db",
"theme.bar.buttons.bluetooth.hover": "#51576d",
"theme.bar.buttons.bluetooth.background": "#303446",
"theme.bar.buttons.network.icon": "#ca9ee6",
"theme.bar.buttons.network.text": "#ca9ee6",
"theme.bar.buttons.network.hover": "#51576d",
"theme.bar.buttons.network.background": "#303446",
"theme.bar.buttons.volume.icon": "#ea999c",
"theme.bar.buttons.volume.text": "#ea999c",
"theme.bar.buttons.volume.hover": "#51576d",
"theme.bar.buttons.volume.background": "#303446",
"theme.bar.buttons.media.hover": "#51576d",
"theme.bar.buttons.windowtitle.icon": "#f4b8e4",
"theme.bar.buttons.windowtitle.text": "#f4b8e4",
"theme.bar.buttons.windowtitle.hover": "#51576d",
"theme.bar.buttons.windowtitle.background": "#303446",
"theme.bar.buttons.workspaces.numbered_active_text_color": "#232634",
"theme.bar.buttons.workspaces.active": "#f4b8e4",
"theme.bar.buttons.workspaces.occupied": "#eebebe",
"theme.bar.buttons.workspaces.available": "#99d1db",
"theme.bar.buttons.workspaces.hover": "#51576d",
"theme.bar.buttons.workspaces.background": "#303446",
"theme.bar.buttons.dashboard.icon": "#e5c890",
"theme.bar.buttons.dashboard.hover": "#51576d",
"theme.bar.buttons.dashboard.background": "#303446",
"theme.osd.label": "#babbf1",
"theme.osd.icon": "#232634",
@@ -343,5 +332,10 @@
"theme.bar.buttons.media.border": "#babbf1",
"theme.bar.buttons.windowtitle.border": "#f4b8e4",
"theme.bar.buttons.workspaces.border": "#232634",
"theme.bar.buttons.dashboard.border": "#e5c890"
"theme.bar.buttons.dashboard.border": "#e5c890",
"theme.bar.buttons.modules.submap.background": "#303446",
"theme.bar.buttons.modules.submap.text": "#81c8be",
"theme.bar.buttons.modules.submap.border": "#81c8be",
"theme.bar.buttons.modules.submap.icon": "#81c8be",
"theme.bar.buttons.modules.submap.icon_background": "#303446"
}