deuulc 7da88dd912
[Theme Switch] register minimal theme in theme switcher (#525)
* register minimal theme in theme switcher

* increment version
2025-04-07 07:13:37 +03:00

267 lines
8.8 KiB
JavaScript

(() => {
window.themeSwitchCSS = {
Themes: [
{
displayName: "Default",
key: "themeSwitchPlugin-theme-default",
},
{
displayName: "Black Hole",
pluginId: "Theme-BlackHole",
pluginSrc:
"https://stashapp.github.io/CommunityScripts/stable/index.yml",
key: "themeSwitchPlugin-theme-blackHole",
},
{
displayName: "Glassy",
pluginId: "Glassy",
pluginSrc: "https://serechoo.github.io/Glassy-Theme/index.yml",
key: "themeSwitchPlugin-theme-glassy",
},
{
displayName: "Material-ize",
path: "/themes/materialize/stash-theme.css",
key: "themeSwitchPlugin-theme-materialize",
},
{
displayName: "Modern Dark",
pluginId: "Theme-ModernDark",
pluginSrc:
"https://stashapp.github.io/CommunityScripts/stable/index.yml",
key: "themeSwitchPlugin-theme-modernDark",
},
{
displayName: "Neon Dark",
pluginId: "Theme-NeonDark",
pluginSrc:
"https://stashapp.github.io/CommunityScripts/stable/index.yml",
key: "themeSwitchPlugin-theme-neonDark",
},
{
displayName: "Night",
pluginId: "Theme-Night",
pluginSrc:
"https://stashapp.github.io/CommunityScripts/stable/index.yml",
key: "themeSwitchPlugin-theme-night",
},
{
displayName: "Plex",
pluginId: "Theme-Plex",
pluginSrc:
"https://stashapp.github.io/CommunityScripts/stable/index.yml",
key: "themeSwitchPlugin-theme-plex",
},
{
displayName: "Plex Better Styles",
pluginId: "PlexBetterStyles",
pluginSrc: "https://tetrax-10.github.io/stash-stuffs/index.yml",
key: "themeSwitchPlugin-theme-plexBetterStyles",
},
{
displayName: "Pornhub",
pluginId: "Theme-PornHub",
pluginSrc:
"https://stashapp.github.io/CommunityScripts/stable/index.yml",
key: "themeSwitchPlugin-theme-pornHub",
},
{
displayName: "Pulsar",
pluginId: "Theme-Pulsar",
pluginSrc:
"https://stashapp.github.io/CommunityScripts/stable/index.yml",
key: "themeSwitchPlugin-theme-pulsar",
},
{
displayName: "Pulsar Light",
pluginId: "Theme-PulsarLight",
pluginSrc:
"https://stashapp.github.io/CommunityScripts/stable/index.yml",
key: "themeSwitchPlugin-theme-pulsarLight",
},
{
displayName: "Rounded Yellow",
pluginId: "Theme-RoundedYellow",
pluginSrc:
"https://stashapp.github.io/CommunityScripts/stable/index.yml",
key: "themeSwitchPlugin-theme-roundedYellow",
},
{
displayName: "Minimal",
pluginId: "Theme-Minimal",
pluginSrc:
"https://stashapp.github.io/CommunityScripts/stable/index.yml",
key: "themeSwitchPlugin-theme-minimal",
},
],
Global: [
{
displayName: "Blur NSFW images",
path: "/snippets/global/blur-nsfw-images.css",
key: "themeSwitchPlugin-global-blurNsfwImages",
},
{
displayName: "Un-blur NSFW images on mouse over",
path: "/snippets/global/unblur-nsfw-images-on-mouse-hover.css",
key: "themeSwitchPlugin-global-unblurNsfwImagesOnMouseHover",
},
{
displayName: "Hide O count badges",
path: "/snippets/global/hide-o-count-badges.css",
key: "themeSwitchPlugin-global-hideOCountBadges",
},
{
displayName: "Hide Donate Button",
path: "/snippets/global/hide-donate-button.css",
key: "themeSwitchPlugin-global-hideDontateButton",
},
{
displayName: "Sticky Toolbar",
path: "/snippets/global/sticky-tool-bar.css",
key: "themeSwitchPlugin-global-stickyToolbar",
},
],
Navigation: [
{
displayName: "Change Order of Nav Items",
key: "themeSwitchPlugin-menu-changeOrderOfNavButtons",
},
],
Galleries: [
{
displayName: "Grid View",
path: "/snippets/galleries/galleries-grid-view.css",
key: "themeSwitchPlugin-galleries-gridView",
},
],
Images: [
{
displayName: "Disable Lightbox Annimation",
path: "/snippets/images/disable-lightbox-annimation.css",
key: "themeSwitchPlugin-images-disableLightboxAnnimation",
},
{
displayName: "Don't crop preview thumbnails",
path: "/snippets/images/dont-crop-preview-thumbnails.css",
key: "themeSwitchPlugin-images-dontCropPreviewThumbnails",
},
],
Movies: [
{
displayName: "Better layout for desktops: Regular",
path: "/snippets/movies/desktop-better-layout-regular.css",
key: "themeSwitchPlugin-movies-betterMoviesLayoutRegular",
},
{
displayName: "Better layout for desktops: Larger",
path: "/snippets/movies/desktop-better-layout-larger.css",
key: "themeSwitchPlugin-movies-betterMoviesLayoutLarger",
},
],
Performers: [
{
displayName: "Move tag field to top in performer edit page",
path: "/snippets/performers/move-tag-field-to-top.css",
key: "themeSwitchPlugin-performers-moveTagFieldTop",
},
{
displayName:
"Place performer image in the background on performer page.",
path: "/snippets/performers/performer-image-as-backdrop.css",
key: "themeSwitchPlugin-performers-performerImageBackground",
},
{
displayName: "Show entire performer image in performer card",
path: "/snippets/performers/show-entire-performer-image.css",
key: "themeSwitchPlugin-performers-showEntirePerformerImage",
},
],
Scenes: [
{
displayName: "Hide scene scrubber",
path: "/snippets/scenes/hide-scene-Scrubber.css",
key: "themeSwitchPlugin-scenes-hideSceneScrubber",
},
{
displayName: "Hide scene specs (resolution, duration) from scene card",
path: "/snippets/scenes/hide-scene-specs.css",
key: "themeSwitchPlugin-scenes-hideSceneSpecs",
},
{
displayName: "Hide studio logo/text from scene card",
path: "/snippets/scenes/hide-studio-logo.css",
key: "themeSwitchPlugin-scenes-hideStudioLogo",
},
{
displayName: "Hide truncated text",
path: "/snippets/scenes/hide-truncated-text.css",
key: "themeSwitchPlugin-scenes-hideTruncatedText",
},
{
displayName:
"Longer string when displaying 'Studio as Text' on scene thumbnails",
path: "/snippets/scenes/longer-string-studio.css",
key: "themeSwitchPlugin-scenes-longerStringStudio",
},
{
displayName: "Show extra scene info",
path: "/snippets/scenes/show-extra-info.css",
key: "themeSwitchPlugin-scenes-showExtraInfo",
},
{
displayName: "Swap studio and resolution/duration positions",
path: "/snippets/scenes/swap-studio-res-duration.css",
key: "themeSwitchPlugin-scenes-swapStudioRezDuration",
},
{
displayName: "Make the list of tags take up less width",
path: "/snippets/scenes/tags-list-sess-width.css",
key: "themeSwitchPlugin-scenes-tagsListLessWidth",
},
{
displayName: "Adjust the mouse over behaviour in wall mode",
path: "/snippets/scenes/adjust-mouse-wall-mode.css",
key: "themeSwitchPlugin-scenes-adjustMouseWallMode",
},
{
displayName: "Disable zoom on hover in wall mode",
path: "/snippets/scenes/disable-zoom-wall-mode.css",
key: "themeSwitchPlugin-scenes-disableZoomWallMode",
},
],
Studios: [
{
displayName: "Different studio cards layout",
path: "/snippets/studios/different-studio-cards-layout.css",
key: "themeSwitchPlugin-differentStudioCardsLayout",
},
{
displayName: "More studios per row",
path: "/snippets/studios/more-studios-row.css",
key: "themeSwitchPlugin-moreStudiosRow",
},
],
Tags: [
{
displayName: "Alternative tag layout",
path: "/snippets/tags/alternative-tag-layout.css",
key: "themeSwitchPlugin-tags-alternativeTagLayout",
},
{
displayName: "Different tag cards layout",
path: "/snippets/tags/different-tag-cards.css",
key: "themeSwitchPlugin-tags-differentTagCards",
},
{
displayName: "Hide Tag Images",
path: "/snippets/tags/hide-tag-images.css",
key: "themeSwitchPlugin-tags-hideTagImages",
},
{
displayName: "Subtag explorer",
path: "/snippets/tags/sub-tag-exolorer.css",
key: "themeSwitchPlugin-tags-subTagExolorer",
},
],
};
})();