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:
Marshall Bowers
2023-11-03 15:40:50 -04:00
committed by GitHub
parent c529343ba1
commit fa7d6c0e70
+3 -1
View File
@@ -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,