mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-30 06:05:19 +00:00
Remove Default
impl for
ThemeColors` (#3226)
This PR removes the `Default` impl for `ThemeColors`. Since we need default light and dark variants for `ThemeColors`, we can't use a single `Default` impl. Release Notes: - N/A
This commit is contained in:
parent
c529343ba1
commit
fa7d6c0e70
1 changed files with 3 additions and 1 deletions
|
@ -48,7 +48,7 @@ pub struct GitStatusColors {
|
||||||
pub renamed: Hsla,
|
pub renamed: Hsla,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Refineable, Clone, Debug, Default)]
|
#[derive(Refineable, Clone, Debug)]
|
||||||
#[refineable(debug)]
|
#[refineable(debug)]
|
||||||
pub struct ThemeColors {
|
pub struct ThemeColors {
|
||||||
pub border: Hsla,
|
pub border: Hsla,
|
||||||
|
@ -94,6 +94,8 @@ pub struct ThemeColors {
|
||||||
#[derive(Refineable, Clone)]
|
#[derive(Refineable, Clone)]
|
||||||
pub struct ThemeStyles {
|
pub struct ThemeStyles {
|
||||||
pub system: SystemColors,
|
pub system: SystemColors,
|
||||||
|
|
||||||
|
#[refineable]
|
||||||
pub colors: ThemeColors,
|
pub colors: ThemeColors,
|
||||||
pub status: StatusColors,
|
pub status: StatusColors,
|
||||||
pub git: GitStatusColors,
|
pub git: GitStatusColors,
|
||||||
|
|
Loading…
Reference in a new issue