feat: dark mode
This commit is contained in:
@@ -95,11 +95,11 @@ export function getFileSize(file_size) {
|
||||
export function showToast(title, text, icon, iconClasses = null) {
|
||||
if (!iconClasses) {
|
||||
if (icon == 'check') {
|
||||
iconClasses = 'bg-green-600 text-white rounded-md p-px'
|
||||
iconClasses = 'bg-surface-green-3 text-ink-white rounded-md p-px'
|
||||
} else if (icon == 'alert-circle') {
|
||||
iconClasses = 'bg-yellow-600 text-white rounded-md p-px'
|
||||
iconClasses = 'bg-yellow-600 text-ink-white rounded-md p-px'
|
||||
} else {
|
||||
iconClasses = 'bg-red-600 text-white rounded-md p-px'
|
||||
iconClasses = 'bg-surface-red-5 text-ink-white rounded-md p-px'
|
||||
}
|
||||
}
|
||||
createToast({
|
||||
|
||||
Reference in New Issue
Block a user