diff options
Diffstat (limited to 'common')
| -rw-r--r-- | common/src/user.rs | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/common/src/user.rs b/common/src/user.rs index ccd9c5c..0a4111d 100644 --- a/common/src/user.rs +++ b/common/src/user.rs @@ -4,15 +4,20 @@ Copyright (C) 2026 metamuffin <metamuffin.org> */ -use jellyobject::{enums, fields}; +use jellyobject::{Tag, enums, fields}; fields! { USER_LOGIN: &str = b"Ulgn"; USER_PASSWORD: &[u8] = b"Upwd"; USER_NAME: &str = b"Unam"; - USER_THEME: &str = b"Uthm"; USER_ADMIN: () = b"Uadm"; + USER_THEME_PRESET: Tag = b"Utpr"; + USER_THEME_ACCENT: u32 = b"Utac"; UDATA_WATCHED: () = b"Dwat"; UDATA_RATING: f64 = b"Drat"; } +enums! { + THEME_DARK = b"dark"; + THEME_LIGHT = b"ligh"; +} |