diff --git a/src/renderer/coremods/settings/pages/Addons.css b/src/renderer/coremods/settings/pages/Addons.css index e99058c6a..898816bb1 100644 --- a/src/renderer/coremods/settings/pages/Addons.css +++ b/src/renderer/coremods/settings/pages/Addons.css @@ -31,3 +31,17 @@ .replugged-addon-icon:hover svg { color: var(--interactive-hover); } + +.rp-addon-breadcrumbs { + margin-bottom: 20px; +} +.rp-addon-breadcrumbsActive { + color: var(--header-primary); +} +.rp-addon-breadcrumbsInactive { + cursor: pointer; + color: var(--header-secondary); +} +.rp-addon-breadcrumbsInactive:hover { + color: var(--header-primary); +} diff --git a/src/renderer/coremods/settings/pages/Addons.tsx b/src/renderer/coremods/settings/pages/Addons.tsx index f1250dfed..0854363a4 100644 --- a/src/renderer/coremods/settings/pages/Addons.tsx +++ b/src/renderer/coremods/settings/pages/Addons.tsx @@ -37,10 +37,6 @@ const logger = Logger.coremod("AddonSettings"); const Breadcrumbs = webpack.getBySource>( /\w+.breadcrumbFinalWrapper/, )!; -const BreadcrumbClasses = - webpack.getByProps>( - "breadcrumbActive", - )!; export enum AddonType { Plugin = "plugin", @@ -547,7 +543,7 @@ export const Addons = (type: AddonType): React.ReactElement => { return ( <> - + {section === `rp_${type}` ? ( { renderCustomBreadcrumb={(breadcrumb, active) => (