mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-07 23:57:51 +03: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
@ -48,7 +48,7 @@ pub struct GitStatusColors {
|
||||
pub renamed: Hsla,
|
||||
}
|
||||
|
||||
#[derive(Refineable, Clone, Debug, Default)]
|
||||
#[derive(Refineable, Clone, Debug)]
|
||||
#[refineable(debug)]
|
||||
pub struct ThemeColors {
|
||||
pub border: Hsla,
|
||||
@ -94,6 +94,8 @@ pub struct ThemeColors {
|
||||
#[derive(Refineable, Clone)]
|
||||
pub struct ThemeStyles {
|
||||
pub system: SystemColors,
|
||||
|
||||
#[refineable]
|
||||
pub colors: ThemeColors,
|
||||
pub status: StatusColors,
|
||||
pub git: GitStatusColors,
|
||||
|
Loading…
Reference in New Issue
Block a user