this repo has no description
at v1.2.1 2.0 kB view raw
1import { ExtensionWebpackModule } from "@moonlight-mod/types"; 2 3export const webpackModules: Record<string, ExtensionWebpackModule> = { 4 stores: { 5 dependencies: [ 6 { id: "discord/packages/flux" }, 7 { id: "discord/Dispatcher" } 8 ] 9 }, 10 11 ui: { 12 dependencies: [ 13 { ext: "spacepack", id: "spacepack" }, 14 { id: "react" }, 15 { id: "discord/components/common/index" }, 16 { ext: "moonbase", id: "stores" }, 17 { id: "discord/modules/guild_settings/IntegrationCard.css" }, 18 "Masks.PANEL_BUTTON", 19 '"Missing channel in Channel.openChannelContextMenu"', 20 ".forumOrHome]:" 21 ] 22 }, 23 24 settings: { 25 dependencies: [ 26 { ext: "spacepack", id: "spacepack" }, 27 { ext: "settings", id: "settings" }, 28 { id: "react" }, 29 { ext: "moonbase", id: "ui" } 30 ], 31 entrypoint: true 32 }, 33 34 updates: { 35 dependencies: [ 36 { id: "react" }, 37 { ext: "moonbase", id: "stores" }, 38 { ext: "notices", id: "notices" }, 39 { 40 ext: "spacepack", 41 id: "spacepack" 42 } 43 ], 44 entrypoint: true 45 }, 46 47 moonbase: { 48 dependencies: [{ ext: "moonbase", id: "stores" }] 49 } 50}; 51 52const bg = "#222034"; 53const fg = "#FFFBA6"; 54 55export const styles = [ 56 ` 57.moonbase-settings > :first-child { 58 margin-top: 0px; 59} 60 61textarea.moonbase-resizeable { 62 resize: vertical 63} 64 65.moonbase-updates-notice { 66 background-color: ${bg}; 67 color: ${fg}; 68 line-height: unset; 69 height: 36px; 70} 71 72.moonbase-updates-notice button { 73 color: ${fg}; 74 border-color: ${fg}; 75} 76 77.moonbase-updates-notice_text-wrapper { 78 display: inline-flex; 79 align-items: center; 80 line-height: 36px; 81 gap: 2px; 82} 83 84.moonbase-update-section { 85 background-color: ${bg}; 86 --info-help-foreground: ${fg}; 87 border: none !important; 88 color: ${fg}; 89 90 display: flex; 91 flex-direction: row; 92 justify-content: space-between; 93} 94 95.moonbase-update-section > button { 96 color: ${fg}; 97 background-color: transparent; 98 border-color: ${fg}; 99} 100`.trim() 101];