Revert "Move ThemeSettings -> VencordSettings"

This reverts commit 325377b38e.
This commit is contained in:
thororen1234 2025-02-23 11:10:11 -05:00
parent 4509a9c03c
commit aee10f4e53
No known key found for this signature in database
13 changed files with 50 additions and 13 deletions

View file

@ -0,0 +1,49 @@
.vc-settings-theme-grid {
display: grid;
grid-gap: 16px;
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}
.vc-settings-theme-card {
display: flex;
flex-direction: column;
background-color: var(--background-secondary-alt);
color: var(--interactive-active);
border-radius: 8px;
padding: 1em;
width: 100%;
transition: 0.1s ease-out;
transition-property: box-shadow, transform, background, opacity;
}
.vc-settings-theme-card-text {
text-overflow: ellipsis;
height: 1.2em;
margin-bottom: 2px;
white-space: nowrap;
overflow: hidden;
}
.vc-settings-theme-author::before {
content: "by ";
}
.vc-settings-theme-link-input {
width: 100%;
}
.vc-settings-theme-add-card {
padding: 1em;
margin-bottom: 16px;
}
.vc-settings-usercss-ie-buttons>div {
color: var(--interactive-normal);
opacity: .5;
padding: 4px;
}
.vc-settings-usercss-ie-buttons>div:hover {
color: var(--interactive-hover);
opacity: 1;
}

View file

@ -36,14 +36,3 @@
padding: 1em; padding: 1em;
margin-bottom: 16px; margin-bottom: 16px;
} }
.vc-settings-usercss-ie-buttons>div {
color: var(--interactive-normal);
opacity: .5;
padding: 4px;
}
.vc-settings-usercss-ie-buttons>div:hover {
color: var(--interactive-hover);
opacity: 1;
}

View file

@ -21,7 +21,6 @@ import BackupAndRestoreTab from "@components/VencordSettings/BackupAndRestoreTab
import CloudTab from "@components/VencordSettings/CloudTab"; import CloudTab from "@components/VencordSettings/CloudTab";
import PatchHelperTab from "@components/VencordSettings/PatchHelperTab"; import PatchHelperTab from "@components/VencordSettings/PatchHelperTab";
import PluginsTab from "@components/VencordSettings/PluginsTab"; import PluginsTab from "@components/VencordSettings/PluginsTab";
import ThemesTab from "@components/VencordSettings/ThemesTab";
import UpdaterTab from "@components/VencordSettings/UpdaterTab"; import UpdaterTab from "@components/VencordSettings/UpdaterTab";
import VencordTab from "@components/VencordSettings/VencordTab"; import VencordTab from "@components/VencordSettings/VencordTab";
import { Devs } from "@utils/constants"; import { Devs } from "@utils/constants";
@ -107,7 +106,7 @@ export default definePlugin({
section: "EquicordThemes", section: "EquicordThemes",
label: "Themes", label: "Themes",
searchableTitles: ["Themes"], searchableTitles: ["Themes"],
element: ThemesTab, element: require("@components/ThemeSettings/ThemesTab").default,
className: "vc-themes" className: "vc-themes"
}, },
!IS_UPDATER_DISABLED && { !IS_UPDATER_DISABLED && {