Format themes

Nate Butler created

Change summary

crates/theme2/src/themes/andromeda.rs | 16 +++++-----------
crates/theme2/src/themes/ayu.rs       | 16 +++++-----------
crates/theme2/src/themes/dracula.rs   | 16 +++++-----------
crates/theme2/src/themes/gruvbox.rs   | 16 +++++-----------
crates/theme2/src/themes/mod.rs       | 24 ++++++++++--------------
crates/theme2/src/themes/nord.rs      | 16 +++++-----------
crates/theme2/src/themes/notctis.rs   | 16 +++++-----------
7 files changed, 40 insertions(+), 80 deletions(-)

Detailed changes

crates/theme2/src/themes/andromeda.rs 🔗

@@ -1,18 +1,333 @@
+use gpui::rgba;
 
-            use gpui::rgba;
+use crate::{
+    default_color_scales, Appearance, GitStatusColors, PlayerColor, PlayerColors, StatusColors,
+    SyntaxTheme, SystemColors, ThemeColors, ThemeFamily, ThemeStyles, ThemeVariant,
+};
 
-            use crate::{
-                default_color_scales, Appearance, GitStatusColors, PlayerColor, PlayerColors, StatusColors,
-                SyntaxTheme, SystemColors, ThemeColors, ThemeFamily, ThemeStyles, ThemeVariant,
-            };
-
-            pub fn andromeda() -> ThemeFamily {
-                ThemeFamily {
-    id: "0d2fdd0e-de6d-44b2-8f16-f4da10a78f2e".into(),
-    name: "Andromeda".into(),
-    author: "Eliver Lara (EliverLara)".into(),

crates/theme2/src/themes/ayu.rs 🔗

@@ -1,18 +1,491 @@
+use gpui::rgba;
 
-            use gpui::rgba;
+use crate::{
+    default_color_scales, Appearance, GitStatusColors, PlayerColor, PlayerColors, StatusColors,
+    SyntaxTheme, SystemColors, ThemeColors, ThemeFamily, ThemeStyles, ThemeVariant,
+};
 
-            use crate::{
-                default_color_scales, Appearance, GitStatusColors, PlayerColor, PlayerColors, StatusColors,
-                SyntaxTheme, SystemColors, ThemeColors, ThemeFamily, ThemeStyles, ThemeVariant,
-            };
-
-            pub fn ayu() -> ThemeFamily {
-                ThemeFamily {
-    id: "769923cd-f2b6-4675-96b8-8a2953fc635b".into(),
-    name: "Ayu".into(),
-    author: "dempfi (Ike Ku)".into(),

crates/theme2/src/themes/dracula.rs 🔗

@@ -1,18 +1,173 @@
+use gpui::rgba;
 
-            use gpui::rgba;
+use crate::{
+    default_color_scales, Appearance, GitStatusColors, PlayerColor, PlayerColors, StatusColors,
+    SyntaxTheme, SystemColors, ThemeColors, ThemeFamily, ThemeStyles, ThemeVariant,
+};
 
-            use crate::{
-                default_color_scales, Appearance, GitStatusColors, PlayerColor, PlayerColors, StatusColors,
-                SyntaxTheme, SystemColors, ThemeColors, ThemeFamily, ThemeStyles, ThemeVariant,
-            };
-
-            pub fn dracula() -> ThemeFamily {
-                ThemeFamily {
-    id: "690e6a78-4aa6-471e-a342-4d0e0ee14952".into(),
-    name: "Dracula".into(),
-    author: "Zeno Rocha".into(),

crates/theme2/src/themes/gruvbox.rs 🔗

@@ -1,18 +1,965 @@
+use gpui::rgba;
 
-            use gpui::rgba;
+use crate::{
+    default_color_scales, Appearance, GitStatusColors, PlayerColor, PlayerColors, StatusColors,
+    SyntaxTheme, SystemColors, ThemeColors, ThemeFamily, ThemeStyles, ThemeVariant,
+};
 
-            use crate::{
-                default_color_scales, Appearance, GitStatusColors, PlayerColor, PlayerColors, StatusColors,
-                SyntaxTheme, SystemColors, ThemeColors, ThemeFamily, ThemeStyles, ThemeVariant,
-            };
-
-            pub fn gruvbox() -> ThemeFamily {
-                ThemeFamily {
-    id: "c3d8b05f-5538-4b73-9ce9-30a31f73f5f2".into(),
-    name: "Gruvbox".into(),
-    author: "morhetz".into(),

crates/theme2/src/themes/mod.rs 🔗

@@ -1,23 +1,19 @@
-
-        mod andromeda;
+mod andromeda;
+mod ayu;
 mod dracula;
+mod gruvbox;
 mod nord;
 mod notctis;
-mod ayu;
-mod gruvbox;
 
-        pub use andromeda::*;
+pub use andromeda::*;
+pub use ayu::*;
 pub use dracula::*;
+pub use gruvbox::*;
 pub use nord::*;
 pub use notctis::*;
-pub use ayu::*;
-pub use gruvbox::*;
 
-        
-        use crate::ThemeFamily;
+use crate::ThemeFamily;
 
-        pub(crate) fn all_imported_themes() -> Vec<ThemeFamily> {
-            vec![andromeda(), dracula(), nord(), notctis(), ayu(), gruvbox()]
-        }
-        
-        
+pub(crate) fn all_imported_themes() -> Vec<ThemeFamily> {
+    vec![andromeda(), dracula(), nord(), notctis(), ayu(), gruvbox()]
+}

crates/theme2/src/themes/nord.rs 🔗

@@ -1,18 +1,173 @@
+use gpui::rgba;
 
-            use gpui::rgba;
+use crate::{
+    default_color_scales, Appearance, GitStatusColors, PlayerColor, PlayerColors, StatusColors,
+    SyntaxTheme, SystemColors, ThemeColors, ThemeFamily, ThemeStyles, ThemeVariant,
+};
 
-            use crate::{
-                default_color_scales, Appearance, GitStatusColors, PlayerColor, PlayerColors, StatusColors,
-                SyntaxTheme, SystemColors, ThemeColors, ThemeFamily, ThemeStyles, ThemeVariant,
-            };
-
-            pub fn nord() -> ThemeFamily {
-                ThemeFamily {
-    id: "63407887-c052-4dd4-b781-e6194ddcbead".into(),
-    name: "Nord".into(),
-    author: "Sven Greb (svengreb)".into(),

crates/theme2/src/themes/notctis.rs 🔗

@@ -1,18 +1,1755 @@
+use gpui::rgba;
 
-            use gpui::rgba;
+use crate::{
+    default_color_scales, Appearance, GitStatusColors, PlayerColor, PlayerColors, StatusColors,
+    SyntaxTheme, SystemColors, ThemeColors, ThemeFamily, ThemeStyles, ThemeVariant,
+};
 
-            use crate::{
-                default_color_scales, Appearance, GitStatusColors, PlayerColor, PlayerColors, StatusColors,
-                SyntaxTheme, SystemColors, ThemeColors, ThemeFamily, ThemeStyles, ThemeVariant,
-            };
-
-            pub fn notctis() -> ThemeFamily {
-                ThemeFamily {
-    id: "7cd79bb0-ffd7-48b5-b104-a6c171161a1b".into(),
-    name: "Notctis".into(),
-    author: "Liviu Schera (liviuschera)".into(),