✨ feat: implement default trait for style struct (#201)
This commit is contained in:
parent
cbad560139
commit
f4c496c02c
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ use serde::{Deserialize, Serialize};
|
||||||
/// * `theme` - It stores the parsed theme option used to set a theme for the website.
|
/// * `theme` - It stores the parsed theme option used to set a theme for the website.
|
||||||
/// * `colorscheme` - It stores the parsed colorscheme option used to set a colorscheme for the
|
/// * `colorscheme` - It stores the parsed colorscheme option used to set a colorscheme for the
|
||||||
/// theme being used.
|
/// theme being used.
|
||||||
#[derive(Serialize, Deserialize, Clone)]
|
#[derive(Serialize, Deserialize, Clone, Default)]
|
||||||
pub struct Style {
|
pub struct Style {
|
||||||
pub theme: String,
|
pub theme: String,
|
||||||
pub colorscheme: String,
|
pub colorscheme: String,
|
||||||
|
|
Loading…
Add table
Reference in a new issue