Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

Commit 32e10f3

Browse files
committed
Fix info toast colors
1 parent ee2364c commit 32e10f3

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

src/mainWindow/App.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -414,9 +414,10 @@ export default class App extends mixins(ThemeHandler, PlayerControls, KeyHandler
414414
415415
if (data.type === 'show-toast') {
416416
const parsedData = data.data as { message: string; duration: number; type: ToastType }
417+
console.log(parsedData)
417418
toast(parsedData.message, {
418419
autoClose: Math.max(parsedData.duration, 5000),
419-
type: parsedData.type
420+
type: parsedData.type,
420421
})
421422
window.ExtensionUtils.replyToRequest({ ...data, data: true })
422423
}

src/sass/global.sass

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -409,6 +409,10 @@ img
409409
.Toastify__progress-bar-theme--light
410410
background: var(--accent) !important
411411

412+
.Toastify__toast-theme--light
413+
background: var(--tertiary) !important
414+
color: var(--textPrimary) !important
415+
412416
@import "./transitions"
413417
@import "./scrollbar"
414418
@import 'node_modules/bootstrap/scss/bootstrap.scss'

0 commit comments

Comments
 (0)