feat: Add option to revert vote colors

This commit is contained in:
Xyphyn committed 2023-07-17 13:27:06 -07:00
1 parent adc3df0d8f
commit 75671f3fad
7 files changed
+50 -10

No files matched your search

+2 -1
View File
@@ -1,4 +1,3 @@
import { DEFAULT_INSTANCE_URL } from '$lib/lemmy.js'
import { writable } from 'svelte/store'
interface Settings {
@@ -6,12 +5,14 @@ interface Settings {
expandableImages: boolean
markReadPosts: boolean
instance?: string
revertColors: boolean
}
const defaultSettings: Settings = {
newComments: true,
expandableImages: true,
markReadPosts: true,
revertColors: false,
}
export const userSettings = writable(defaultSettings)