diff options
author | metamuffin <metamuffin@disroot.org> | 2023-10-27 22:39:17 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2023-10-27 22:39:17 +0200 |
commit | 019ece5db107f5e4f096fdd2b8b20d1bfd0847d2 (patch) | |
tree | 0344be8efe9c154ebe043a5efe3a5ff45db02c23 /common/src | |
parent | 6b5fbb8c9864f370ef5daf870518f9d3c48f46c5 (diff) | |
download | jellything-019ece5db107f5e4f096fdd2b8b20d1bfd0847d2.tar jellything-019ece5db107f5e4f096fdd2b8b20d1bfd0847d2.tar.bz2 jellything-019ece5db107f5e4f096fdd2b8b20d1bfd0847d2.tar.zst |
purple theme
Diffstat (limited to 'common/src')
-rw-r--r-- | common/src/user.rs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/common/src/user.rs b/common/src/user.rs index 17700a0..2b67de5 100644 --- a/common/src/user.rs +++ b/common/src/user.rs @@ -20,6 +20,15 @@ pub struct User { pub enum Theme { Dark, Light, + Purple, +} + +impl Theme { + pub const LIST: &'static [(Theme, &'static str)] = &[ + (Theme::Dark, "Dark"), + (Theme::Light, "Light"), + (Theme::Purple, "Purple"), + ]; } #[derive(Debug, Clone, Serialize, Deserialize, Default)] |