mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-06-06 03:34:40 +00:00
change text glow to only show on dark mode
This commit is contained in:
@@ -136,7 +136,7 @@ export default function BackgroundSelector({ selectedType, setSelectedType, isEd
|
|||||||
</div>
|
</div>
|
||||||
))}
|
))}
|
||||||
{backgrounds.concat(presetBackgrounds as Background[]).filter(bg => bg.type === 'image' && bg.isPreset && !bg.isDownloaded && !downloadedPresetIds.includes(bg.id)).map(bg => (
|
{backgrounds.concat(presetBackgrounds as Background[]).filter(bg => bg.type === 'image' && bg.isPreset && !bg.isDownloaded && !downloadedPresetIds.includes(bg.id)).map(bg => (
|
||||||
<div key={bg.id}
|
<button key={bg.id}
|
||||||
onClick={() => handlePresetClick(bg)}
|
onClick={() => handlePresetClick(bg)}
|
||||||
className={`relative w-16 h-16 transition cursor-pointer rounded-xl duration-300 ${ isEditMode ? 'opacity-0 pointer-events-none hidden' : 'opacity-100'}`}>
|
className={`relative w-16 h-16 transition cursor-pointer rounded-xl duration-300 ${ isEditMode ? 'opacity-0 pointer-events-none hidden' : 'opacity-100'}`}>
|
||||||
{bg.isPreset && downloadProgress[bg.id] !== undefined && (
|
{bg.isPreset && downloadProgress[bg.id] !== undefined && (
|
||||||
@@ -156,7 +156,7 @@ export default function BackgroundSelector({ selectedType, setSelectedType, isEd
|
|||||||
className="absolute top-0 object-cover w-full h-full rounded-xl"
|
className="absolute top-0 object-cover w-full h-full rounded-xl"
|
||||||
src={bg.isPreset ? bg.previewUrl : bg.url} // Use preview for preset backgrounds
|
src={bg.isPreset ? bg.previewUrl : bg.url} // Use preview for preset backgrounds
|
||||||
alt="swatch" />
|
alt="swatch" />
|
||||||
</div>
|
</button>
|
||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@@ -1662,10 +1662,12 @@ body {
|
|||||||
animation: spin 3s linear infinite;
|
animation: spin 3s linear infinite;
|
||||||
-moz-animation: spin 3s linear infinite;
|
-moz-animation: spin 3s linear infinite;
|
||||||
}
|
}
|
||||||
|
.dark .LabelList__name___-CHgq {
|
||||||
|
text-shadow: 0 0 5px black;
|
||||||
|
}
|
||||||
.LabelList__name___-CHgq {
|
.LabelList__name___-CHgq {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
text-shadow: 0 0 5px black;
|
|
||||||
}
|
}
|
||||||
[data-label="inbox"] > .LabelList__name___-CHgq::before {
|
[data-label="inbox"] > .LabelList__name___-CHgq::before {
|
||||||
content: "";
|
content: "";
|
||||||
|
|||||||
Reference in New Issue
Block a user