Skip to content

Commit

Permalink
Merge pull request #8 from redstonekasi/settings
Browse files Browse the repository at this point in the history
Lots of settings changes
  • Loading branch information
NotNite authored Dec 6, 2023
2 parents 850c724 + d69cb34 commit 6898a1f
Show file tree
Hide file tree
Showing 6 changed files with 247 additions and 186 deletions.
6 changes: 4 additions & 2 deletions packages/core-extensions/src/moonbase/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { ExtensionWebExports } from "@moonlight-mod/types";
import ui from "./ui";
import { DownloadIconSVG, TrashIconSVG } from "./types";
import { CircleXIconSVG, DownloadIconSVG, TrashIconSVG } from "./types";

export const webpackModules: ExtensionWebExports["webpackModules"] = {
stores: {
Expand All @@ -19,7 +19,9 @@ export const webpackModules: ExtensionWebExports["webpackModules"] = {
{ ext: "moonbase", id: "stores" },
DownloadIconSVG,
TrashIconSVG,
"Masks.PANEL_BUTTON"
CircleXIconSVG,
"Masks.PANEL_BUTTON",
"removeButtonContainer:"
],
entrypoint: true,
run: (module, exports, require) => {
Expand Down
2 changes: 2 additions & 0 deletions packages/core-extensions/src/moonbase/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ export const DownloadIconSVG =
"M5 6.99902V18.999C5 20.101 5.897 20.999 7 20.999H17C18.103 20.999 19 20.101 19 18.999V6.99902H5ZM11 17H9V11H11V17ZM15 17H13V11H15V17Z";
export const TrashIconSVG =
"M5 6.99902V18.999C5 20.101 5.897 20.999 7 20.999H17C18.103 20.999 19 20.101 19 18.999V6.99902H5ZM11 17H9V11H11V17ZM15 17H13V11H15V17Z";
export const CircleXIconSVG =
"M7.02799 0.333252C3.346 0.333252 0.361328 3.31792 0.361328 6.99992C0.361328 10.6819 3.346 13.6666 7.02799 13.6666C10.71 13.6666 13.6947 10.6819 13.6947 6.99992C13.6947 3.31792 10.7093 0.333252 7.02799 0.333252ZM10.166 9.19525L9.22333 10.1379L7.02799 7.94325L4.83266 10.1379L3.89 9.19525L6.08466 6.99992L3.88933 4.80459L4.832 3.86259L7.02733 6.05792L9.22266 3.86259L10.1653 4.80459L7.97066 6.99992L10.166 9.19525Z";
export const DangerIconSVG =
"M12 23a11 11 0 1 0 0-22 11 11 0 0 0 0 22Zm1.44-15.94L13.06 14a1.06 1.06 0 0 1-2.12 0l-.38-6.94a1 1 0 0 1 1-1.06h.88a1 1 0 0 1 1 1.06Zm-.19 10.69a1.25 1.25 0 1 1-2.5 0 1.25 1.25 0 0 1 2.5 0Z";

Expand Down
Loading

0 comments on commit 6898a1f

Please sign in to comment.