Add a toggle between dark and light theme
This commit is contained in:
parent
d22617538e
commit
559ed139aa
34 changed files with 640 additions and 469 deletions
|
|
@ -62,6 +62,7 @@ pub enum Sentence {
|
|||
|
||||
// Reset password page.
|
||||
LostPassword,
|
||||
AskResetChooseNewPassword,
|
||||
AskResetButton,
|
||||
AskResetAlreadyLoggedInError,
|
||||
AskResetEmailAlreadyResetError,
|
||||
|
|
@ -153,7 +154,7 @@ pub enum Sentence {
|
|||
pub const DEFAULT_LANGUAGE_CODE: &str = "en";
|
||||
pub const PLACEHOLDER_SUBSTITUTE: &str = "{}";
|
||||
|
||||
#[derive(Clone)]
|
||||
#[derive(Debug, Clone)]
|
||||
pub struct Tr {
|
||||
lang: &'static Language,
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue