From 3d8516b25ffad34e72ca58dd8bd967d8f3a1826e Mon Sep 17 00:00:00 2001 From: Marshall Bowers Date: Mon, 30 Oct 2023 11:22:04 -0400 Subject: [PATCH] Convert all themes --- crates/theme2/src/registry.rs | 49 ++- crates/theme2/src/themes/andromeda.rs | 131 +++++++ crates/theme2/src/themes/atelier_cave_dark.rs | 137 ++++++++ .../theme2/src/themes/atelier_cave_light.rs | 137 ++++++++ crates/theme2/src/themes/atelier_dune_dark.rs | 137 ++++++++ .../theme2/src/themes/atelier_dune_light.rs | 137 ++++++++ .../theme2/src/themes/atelier_estuary_dark.rs | 137 ++++++++ .../src/themes/atelier_estuary_light.rs | 137 ++++++++ .../theme2/src/themes/atelier_forest_dark.rs | 137 ++++++++ .../theme2/src/themes/atelier_forest_light.rs | 137 ++++++++ .../theme2/src/themes/atelier_heath_dark.rs | 137 ++++++++ .../theme2/src/themes/atelier_heath_light.rs | 137 ++++++++ .../src/themes/atelier_lakeside_dark.rs | 137 ++++++++ .../src/themes/atelier_lakeside_light.rs | 137 ++++++++ .../theme2/src/themes/atelier_plateau_dark.rs | 137 ++++++++ .../src/themes/atelier_plateau_light.rs | 137 ++++++++ .../theme2/src/themes/atelier_savanna_dark.rs | 137 ++++++++ .../src/themes/atelier_savanna_light.rs | 137 ++++++++ .../theme2/src/themes/atelier_seaside_dark.rs | 137 ++++++++ .../src/themes/atelier_seaside_light.rs | 137 ++++++++ .../src/themes/atelier_sulphurpool_dark.rs | 137 ++++++++ .../src/themes/atelier_sulphurpool_light.rs | 137 ++++++++ crates/theme2/src/themes/ayu_dark.rs | 131 +++++++ crates/theme2/src/themes/ayu_light.rs | 131 +++++++ crates/theme2/src/themes/ayu_mirage.rs | 131 +++++++ crates/theme2/src/themes/gruvbox_dark.rs | 132 +++++++ crates/theme2/src/themes/gruvbox_dark_hard.rs | 132 +++++++ crates/theme2/src/themes/gruvbox_dark_soft.rs | 132 +++++++ crates/theme2/src/themes/gruvbox_light.rs | 132 +++++++ .../theme2/src/themes/gruvbox_light_hard.rs | 132 +++++++ .../theme2/src/themes/gruvbox_light_soft.rs | 132 +++++++ crates/theme2/src/themes/mod.rs | 73 ++++ crates/theme2/src/themes/one_dark.rs | 63 ++-- crates/theme2/src/themes/one_light.rs | 132 +++++++ crates/theme2/src/themes/rose_pine.rs | 323 ++---------------- crates/theme2/src/themes/rose_pine_dawn.rs | 133 ++++++++ crates/theme2/src/themes/rose_pine_moon.rs | 133 ++++++++ crates/theme2/src/themes/sandcastle.rs | 53 +-- crates/theme2/src/themes/solarized_dark.rs | 131 +++++++ crates/theme2/src/themes/solarized_light.rs | 131 +++++++ crates/theme2/src/themes/summercamp.rs | 131 +++++++ 41 files changed, 5052 insertions(+), 356 deletions(-) create mode 100644 crates/theme2/src/themes/andromeda.rs create mode 100644 crates/theme2/src/themes/atelier_cave_dark.rs create mode 100644 crates/theme2/src/themes/atelier_cave_light.rs create mode 100644 crates/theme2/src/themes/atelier_dune_dark.rs create mode 100644 crates/theme2/src/themes/atelier_dune_light.rs create mode 100644 crates/theme2/src/themes/atelier_estuary_dark.rs create mode 100644 crates/theme2/src/themes/atelier_estuary_light.rs create mode 100644 crates/theme2/src/themes/atelier_forest_dark.rs create mode 100644 crates/theme2/src/themes/atelier_forest_light.rs create mode 100644 crates/theme2/src/themes/atelier_heath_dark.rs create mode 100644 crates/theme2/src/themes/atelier_heath_light.rs create mode 100644 crates/theme2/src/themes/atelier_lakeside_dark.rs create mode 100644 crates/theme2/src/themes/atelier_lakeside_light.rs create mode 100644 crates/theme2/src/themes/atelier_plateau_dark.rs create mode 100644 crates/theme2/src/themes/atelier_plateau_light.rs create mode 100644 crates/theme2/src/themes/atelier_savanna_dark.rs create mode 100644 crates/theme2/src/themes/atelier_savanna_light.rs create mode 100644 crates/theme2/src/themes/atelier_seaside_dark.rs create mode 100644 crates/theme2/src/themes/atelier_seaside_light.rs create mode 100644 crates/theme2/src/themes/atelier_sulphurpool_dark.rs create mode 100644 crates/theme2/src/themes/atelier_sulphurpool_light.rs create mode 100644 crates/theme2/src/themes/ayu_dark.rs create mode 100644 crates/theme2/src/themes/ayu_light.rs create mode 100644 crates/theme2/src/themes/ayu_mirage.rs create mode 100644 crates/theme2/src/themes/gruvbox_dark.rs create mode 100644 crates/theme2/src/themes/gruvbox_dark_hard.rs create mode 100644 crates/theme2/src/themes/gruvbox_dark_soft.rs create mode 100644 crates/theme2/src/themes/gruvbox_light.rs create mode 100644 crates/theme2/src/themes/gruvbox_light_hard.rs create mode 100644 crates/theme2/src/themes/gruvbox_light_soft.rs create mode 100644 crates/theme2/src/themes/one_light.rs create mode 100644 crates/theme2/src/themes/rose_pine_dawn.rs create mode 100644 crates/theme2/src/themes/rose_pine_moon.rs create mode 100644 crates/theme2/src/themes/solarized_dark.rs create mode 100644 crates/theme2/src/themes/solarized_light.rs create mode 100644 crates/theme2/src/themes/summercamp.rs diff --git a/crates/theme2/src/registry.rs b/crates/theme2/src/registry.rs index b98a4db7221d8ecf8e4a7cd3981dfa92b36e276c..eec82ef5a71be91c377db574c2e1b682c7604aba 100644 --- a/crates/theme2/src/registry.rs +++ b/crates/theme2/src/registry.rs @@ -1,7 +1,4 @@ -use crate::{ - themes::{one_dark, rose_pine, rose_pine_dawn, rose_pine_moon, sandcastle}, - Theme, ThemeMetadata, -}; +use crate::{themes, Theme, ThemeMetadata}; use anyhow::{anyhow, Result}; use gpui2::SharedString; use std::{collections::HashMap, sync::Arc}; @@ -41,11 +38,45 @@ impl Default for ThemeRegistry { }; this.insert_themes([ - one_dark(), - rose_pine(), - rose_pine_dawn(), - rose_pine_moon(), - sandcastle(), + themes::andromeda(), + themes::atelier_cave_dark(), + themes::atelier_cave_light(), + themes::atelier_dune_dark(), + themes::atelier_dune_light(), + themes::atelier_estuary_dark(), + themes::atelier_estuary_light(), + themes::atelier_forest_dark(), + themes::atelier_forest_light(), + themes::atelier_heath_dark(), + themes::atelier_heath_light(), + themes::atelier_lakeside_dark(), + themes::atelier_lakeside_light(), + themes::atelier_plateau_dark(), + themes::atelier_plateau_light(), + themes::atelier_savanna_dark(), + themes::atelier_savanna_light(), + themes::atelier_seaside_dark(), + themes::atelier_seaside_light(), + themes::atelier_sulphurpool_dark(), + themes::atelier_sulphurpool_light(), + themes::ayu_dark(), + themes::ayu_light(), + themes::ayu_mirage(), + themes::gruvbox_dark(), + themes::gruvbox_dark_hard(), + themes::gruvbox_dark_soft(), + themes::gruvbox_light(), + themes::gruvbox_light_hard(), + themes::gruvbox_light_soft(), + themes::one_dark(), + themes::one_light(), + themes::rose_pine(), + themes::rose_pine_dawn(), + themes::rose_pine_moon(), + themes::sandcastle(), + themes::solarized_dark(), + themes::solarized_light(), + themes::summercamp(), ]); this diff --git a/crates/theme2/src/themes/andromeda.rs b/crates/theme2/src/themes/andromeda.rs new file mode 100644 index 0000000000000000000000000000000000000000..b5cabfedfa44fdbde2f79ae7e2b73b4a0780d8b2 --- /dev/null +++ b/crates/theme2/src/themes/andromeda.rs @@ -0,0 +1,131 @@ + +use gpui2::rgba; + +use crate::{PlayerTheme, SyntaxTheme, Theme, ThemeMetadata}; + +pub fn andromeda() -> Theme { + Theme { + metadata: ThemeMetadata { + name: "Andromeda".into(), + is_light: false, + }, + transparent: rgba(0x00000000).into(), + mac_os_traffic_light_red: rgba(0xec695eff).into(), + mac_os_traffic_light_yellow: rgba(0xf4bf4eff).into(), + mac_os_traffic_light_green: rgba(0x61c553ff).into(), + border: rgba(0x2b2f38ff).into(), + border_variant: rgba(0x2b2f38ff).into(), + border_focused: rgba(0x183934ff).into(), + border_transparent: rgba(0x00000000).into(), + elevated_surface: rgba(0x262933ff).into(), + surface: rgba(0x21242bff).into(), + background: rgba(0x262933ff).into(), + filled_element: rgba(0x262933ff).into(), + filled_element_hover: rgba(0xffffff1e).into(), + filled_element_active: rgba(0xffffff28).into(), + filled_element_selected: rgba(0x12231fff).into(), + filled_element_disabled: rgba(0x00000000).into(), + ghost_element: rgba(0x00000000).into(), + ghost_element_hover: rgba(0xffffff14).into(), + ghost_element_active: rgba(0xffffff1e).into(), + ghost_element_selected: rgba(0x12231fff).into(), + ghost_element_disabled: rgba(0x00000000).into(), + text: rgba(0xf7f7f8ff).into(), + text_muted: rgba(0xaca8aeff).into(), + text_placeholder: rgba(0xf82871ff).into(), + text_disabled: rgba(0x6b6b73ff).into(), + text_accent: rgba(0x10a793ff).into(), + icon_muted: rgba(0xaca8aeff).into(), + syntax: SyntaxTheme { + highlights: vec![ + ("emphasis".into(), rgba(0x10a793ff).into()), + ("punctuation.bracket".into(), rgba(0xd8d5dbff).into()), + ("attribute".into(), rgba(0x10a793ff).into()), + ("variable".into(), rgba(0xf7f7f8ff).into()), + ("predictive".into(), rgba(0x315f70ff).into()), + ("property".into(), rgba(0x10a793ff).into()), + ("variant".into(), rgba(0x10a793ff).into()), + ("embedded".into(), rgba(0xf7f7f8ff).into()), + ("string.special".into(), rgba(0xf29c14ff).into()), + ("keyword".into(), rgba(0x10a793ff).into()), + ("tag".into(), rgba(0x10a793ff).into()), + ("enum".into(), rgba(0xf29c14ff).into()), + ("link_text".into(), rgba(0xf29c14ff).into()), + ("primary".into(), rgba(0xf7f7f8ff).into()), + ("punctuation".into(), rgba(0xd8d5dbff).into()), + ("punctuation.special".into(), rgba(0xd8d5dbff).into()), + ("function".into(), rgba(0xfee56cff).into()), + ("number".into(), rgba(0x96df71ff).into()), + ("preproc".into(), rgba(0xf7f7f8ff).into()), + ("operator".into(), rgba(0xf29c14ff).into()), + ("constructor".into(), rgba(0x10a793ff).into()), + ("string.escape".into(), rgba(0xafabb1ff).into()), + ("string.special.symbol".into(), rgba(0xf29c14ff).into()), + ("string".into(), rgba(0xf29c14ff).into()), + ("comment".into(), rgba(0xafabb1ff).into()), + ("hint".into(), rgba(0x618399ff).into()), + ("type".into(), rgba(0x08e7c5ff).into()), + ("label".into(), rgba(0x10a793ff).into()), + ("comment.doc".into(), rgba(0xafabb1ff).into()), + ("text.literal".into(), rgba(0xf29c14ff).into()), + ("constant".into(), rgba(0x96df71ff).into()), + ("string.regex".into(), rgba(0xf29c14ff).into()), + ("emphasis.strong".into(), rgba(0x10a793ff).into()), + ("title".into(), rgba(0xf7f7f8ff).into()), + ("punctuation.delimiter".into(), rgba(0xd8d5dbff).into()), + ("link_uri".into(), rgba(0x96df71ff).into()), + ("boolean".into(), rgba(0x96df71ff).into()), + ("punctuation.list_marker".into(), rgba(0xd8d5dbff).into()), + ], + }, + status_bar: rgba(0x262933ff).into(), + title_bar: rgba(0x262933ff).into(), + toolbar: rgba(0x1e2025ff).into(), + tab_bar: rgba(0x21242bff).into(), + editor: rgba(0x1e2025ff).into(), + editor_subheader: rgba(0x21242bff).into(), + editor_active_line: rgba(0x21242bff).into(), + terminal: rgba(0x1e2025ff).into(), + image_fallback_background: rgba(0x262933ff).into(), + git_created: rgba(0x96df71ff).into(), + git_modified: rgba(0x10a793ff).into(), + git_deleted: rgba(0xf82871ff).into(), + git_conflict: rgba(0xfee56cff).into(), + git_ignored: rgba(0x6b6b73ff).into(), + git_renamed: rgba(0xfee56cff).into(), + players: [ + PlayerTheme { + cursor: rgba(0x10a793ff).into(), + selection: rgba(0x10a7933d).into(), + }, + PlayerTheme { + cursor: rgba(0x96df71ff).into(), + selection: rgba(0x96df713d).into(), + }, + PlayerTheme { + cursor: rgba(0xc74cecff).into(), + selection: rgba(0xc74cec3d).into(), + }, + PlayerTheme { + cursor: rgba(0xf29c14ff).into(), + selection: rgba(0xf29c143d).into(), + }, + PlayerTheme { + cursor: rgba(0x893ea6ff).into(), + selection: rgba(0x893ea63d).into(), + }, + PlayerTheme { + cursor: rgba(0x08e7c5ff).into(), + selection: rgba(0x08e7c53d).into(), + }, + PlayerTheme { + cursor: rgba(0xf82871ff).into(), + selection: rgba(0xf828713d).into(), + }, + PlayerTheme { + cursor: rgba(0xfee56cff).into(), + selection: rgba(0xfee56c3d).into(), + }, + ], + } +} diff --git a/crates/theme2/src/themes/atelier_cave_dark.rs b/crates/theme2/src/themes/atelier_cave_dark.rs new file mode 100644 index 0000000000000000000000000000000000000000..e3926e6d36b2bf173a59be8ee5dc0344b3dac382 --- /dev/null +++ b/crates/theme2/src/themes/atelier_cave_dark.rs @@ -0,0 +1,137 @@ + +use gpui2::rgba; + +use crate::{PlayerTheme, SyntaxTheme, Theme, ThemeMetadata}; + +pub fn atelier_cave_dark() -> Theme { + Theme { + metadata: ThemeMetadata { + name: "Atelier Cave Dark".into(), + is_light: false, + }, + transparent: rgba(0x00000000).into(), + mac_os_traffic_light_red: rgba(0xec695eff).into(), + mac_os_traffic_light_yellow: rgba(0xf4bf4eff).into(), + mac_os_traffic_light_green: rgba(0x61c553ff).into(), + border: rgba(0x56505eff).into(), + border_variant: rgba(0x56505eff).into(), + border_focused: rgba(0x222953ff).into(), + border_transparent: rgba(0x00000000).into(), + elevated_surface: rgba(0x3a353fff).into(), + surface: rgba(0x221f26ff).into(), + background: rgba(0x3a353fff).into(), + filled_element: rgba(0x3a353fff).into(), + filled_element_hover: rgba(0xffffff1e).into(), + filled_element_active: rgba(0xffffff28).into(), + filled_element_selected: rgba(0x161a35ff).into(), + filled_element_disabled: rgba(0x00000000).into(), + ghost_element: rgba(0x00000000).into(), + ghost_element_hover: rgba(0xffffff14).into(), + ghost_element_active: rgba(0xffffff1e).into(), + ghost_element_selected: rgba(0x161a35ff).into(), + ghost_element_disabled: rgba(0x00000000).into(), + text: rgba(0xefecf4ff).into(), + text_muted: rgba(0x898591ff).into(), + text_placeholder: rgba(0xbe4677ff).into(), + text_disabled: rgba(0x756f7eff).into(), + text_accent: rgba(0x566ddaff).into(), + icon_muted: rgba(0x898591ff).into(), + syntax: SyntaxTheme { + highlights: vec![ + ("comment.doc".into(), rgba(0x8b8792ff).into()), + ("tag".into(), rgba(0x566ddaff).into()), + ("link_text".into(), rgba(0xaa563bff).into()), + ("constructor".into(), rgba(0x566ddaff).into()), + ("punctuation".into(), rgba(0xe2dfe7ff).into()), + ("punctuation.special".into(), rgba(0xbf3fbfff).into()), + ("string.special.symbol".into(), rgba(0x299292ff).into()), + ("string.escape".into(), rgba(0x8b8792ff).into()), + ("emphasis".into(), rgba(0x566ddaff).into()), + ("type".into(), rgba(0xa06d3aff).into()), + ("punctuation.delimiter".into(), rgba(0x8b8792ff).into()), + ("variant".into(), rgba(0xa06d3aff).into()), + ("variable.special".into(), rgba(0x9559e7ff).into()), + ("text.literal".into(), rgba(0xaa563bff).into()), + ("punctuation.list_marker".into(), rgba(0xe2dfe7ff).into()), + ("comment".into(), rgba(0x655f6dff).into()), + ("function.method".into(), rgba(0x576cdbff).into()), + ("property".into(), rgba(0xbe4677ff).into()), + ("operator".into(), rgba(0x8b8792ff).into()), + ("emphasis.strong".into(), rgba(0x566ddaff).into()), + ("label".into(), rgba(0x566ddaff).into()), + ("enum".into(), rgba(0xaa563bff).into()), + ("number".into(), rgba(0xaa563bff).into()), + ("primary".into(), rgba(0xe2dfe7ff).into()), + ("keyword".into(), rgba(0x9559e7ff).into()), + ( + "function.special.definition".into(), + rgba(0xa06d3aff).into(), + ), + ("punctuation.bracket".into(), rgba(0x8b8792ff).into()), + ("constant".into(), rgba(0x2b9292ff).into()), + ("string.special".into(), rgba(0xbf3fbfff).into()), + ("title".into(), rgba(0xefecf4ff).into()), + ("preproc".into(), rgba(0xefecf4ff).into()), + ("link_uri".into(), rgba(0x2b9292ff).into()), + ("string".into(), rgba(0x299292ff).into()), + ("embedded".into(), rgba(0xefecf4ff).into()), + ("hint".into(), rgba(0x706897ff).into()), + ("boolean".into(), rgba(0x2b9292ff).into()), + ("variable".into(), rgba(0xe2dfe7ff).into()), + ("predictive".into(), rgba(0x615787ff).into()), + ("string.regex".into(), rgba(0x388bc6ff).into()), + ("function".into(), rgba(0x576cdbff).into()), + ("attribute".into(), rgba(0x566ddaff).into()), + ], + }, + status_bar: rgba(0x3a353fff).into(), + title_bar: rgba(0x3a353fff).into(), + toolbar: rgba(0x19171cff).into(), + tab_bar: rgba(0x221f26ff).into(), + editor: rgba(0x19171cff).into(), + editor_subheader: rgba(0x221f26ff).into(), + editor_active_line: rgba(0x221f26ff).into(), + terminal: rgba(0x19171cff).into(), + image_fallback_background: rgba(0x3a353fff).into(), + git_created: rgba(0x2b9292ff).into(), + git_modified: rgba(0x566ddaff).into(), + git_deleted: rgba(0xbe4677ff).into(), + git_conflict: rgba(0xa06d3aff).into(), + git_ignored: rgba(0x756f7eff).into(), + git_renamed: rgba(0xa06d3aff).into(), + players: [ + PlayerTheme { + cursor: rgba(0x566ddaff).into(), + selection: rgba(0x566dda3d).into(), + }, + PlayerTheme { + cursor: rgba(0x2b9292ff).into(), + selection: rgba(0x2b92923d).into(), + }, + PlayerTheme { + cursor: rgba(0xbf41bfff).into(), + selection: rgba(0xbf41bf3d).into(), + }, + PlayerTheme { + cursor: rgba(0xaa563bff).into(), + selection: rgba(0xaa563b3d).into(), + }, + PlayerTheme { + cursor: rgba(0x955ae6ff).into(), + selection: rgba(0x955ae63d).into(), + }, + PlayerTheme { + cursor: rgba(0x3a8bc6ff).into(), + selection: rgba(0x3a8bc63d).into(), + }, + PlayerTheme { + cursor: rgba(0xbe4677ff).into(), + selection: rgba(0xbe46773d).into(), + }, + PlayerTheme { + cursor: rgba(0xa06d3aff).into(), + selection: rgba(0xa06d3a3d).into(), + }, + ], + } +} diff --git a/crates/theme2/src/themes/atelier_cave_light.rs b/crates/theme2/src/themes/atelier_cave_light.rs new file mode 100644 index 0000000000000000000000000000000000000000..e21dd12c4aab86ef4a0f7904a9ac2e34bae8fc6d --- /dev/null +++ b/crates/theme2/src/themes/atelier_cave_light.rs @@ -0,0 +1,137 @@ + +use gpui2::rgba; + +use crate::{PlayerTheme, SyntaxTheme, Theme, ThemeMetadata}; + +pub fn atelier_cave_light() -> Theme { + Theme { + metadata: ThemeMetadata { + name: "Atelier Cave Light".into(), + is_light: true, + }, + transparent: rgba(0x00000000).into(), + mac_os_traffic_light_red: rgba(0xec695eff).into(), + mac_os_traffic_light_yellow: rgba(0xf4bf4eff).into(), + mac_os_traffic_light_green: rgba(0x61c553ff).into(), + border: rgba(0x8f8b96ff).into(), + border_variant: rgba(0x8f8b96ff).into(), + border_focused: rgba(0xc8c7f2ff).into(), + border_transparent: rgba(0x00000000).into(), + elevated_surface: rgba(0xbfbcc5ff).into(), + surface: rgba(0xe6e3ebff).into(), + background: rgba(0xbfbcc5ff).into(), + filled_element: rgba(0xbfbcc5ff).into(), + filled_element_hover: rgba(0xffffff1e).into(), + filled_element_active: rgba(0xffffff28).into(), + filled_element_selected: rgba(0xe1e0f9ff).into(), + filled_element_disabled: rgba(0x00000000).into(), + ghost_element: rgba(0x00000000).into(), + ghost_element_hover: rgba(0xffffff14).into(), + ghost_element_active: rgba(0xffffff1e).into(), + ghost_element_selected: rgba(0xe1e0f9ff).into(), + ghost_element_disabled: rgba(0x00000000).into(), + text: rgba(0x19171cff).into(), + text_muted: rgba(0x5a5462ff).into(), + text_placeholder: rgba(0xbd4677ff).into(), + text_disabled: rgba(0x6e6876ff).into(), + text_accent: rgba(0x586cdaff).into(), + icon_muted: rgba(0x5a5462ff).into(), + syntax: SyntaxTheme { + highlights: vec![ + ("link_text".into(), rgba(0xaa573cff).into()), + ("string".into(), rgba(0x299292ff).into()), + ("emphasis".into(), rgba(0x586cdaff).into()), + ("label".into(), rgba(0x586cdaff).into()), + ("property".into(), rgba(0xbe4677ff).into()), + ("emphasis.strong".into(), rgba(0x586cdaff).into()), + ("constant".into(), rgba(0x2b9292ff).into()), + ( + "function.special.definition".into(), + rgba(0xa06d3aff).into(), + ), + ("embedded".into(), rgba(0x19171cff).into()), + ("punctuation.special".into(), rgba(0xbf3fbfff).into()), + ("function".into(), rgba(0x576cdbff).into()), + ("tag".into(), rgba(0x586cdaff).into()), + ("number".into(), rgba(0xaa563bff).into()), + ("primary".into(), rgba(0x26232aff).into()), + ("text.literal".into(), rgba(0xaa573cff).into()), + ("variant".into(), rgba(0xa06d3aff).into()), + ("type".into(), rgba(0xa06d3aff).into()), + ("punctuation".into(), rgba(0x26232aff).into()), + ("string.escape".into(), rgba(0x585260ff).into()), + ("keyword".into(), rgba(0x9559e7ff).into()), + ("title".into(), rgba(0x19171cff).into()), + ("constructor".into(), rgba(0x586cdaff).into()), + ("punctuation.list_marker".into(), rgba(0x26232aff).into()), + ("string.special".into(), rgba(0xbf3fbfff).into()), + ("operator".into(), rgba(0x585260ff).into()), + ("function.method".into(), rgba(0x576cdbff).into()), + ("link_uri".into(), rgba(0x2b9292ff).into()), + ("variable.special".into(), rgba(0x9559e7ff).into()), + ("hint".into(), rgba(0x776d9dff).into()), + ("punctuation.bracket".into(), rgba(0x585260ff).into()), + ("string.special.symbol".into(), rgba(0x299292ff).into()), + ("predictive".into(), rgba(0x887fafff).into()), + ("attribute".into(), rgba(0x586cdaff).into()), + ("enum".into(), rgba(0xaa573cff).into()), + ("preproc".into(), rgba(0x19171cff).into()), + ("boolean".into(), rgba(0x2b9292ff).into()), + ("variable".into(), rgba(0x26232aff).into()), + ("comment.doc".into(), rgba(0x585260ff).into()), + ("string.regex".into(), rgba(0x388bc6ff).into()), + ("punctuation.delimiter".into(), rgba(0x585260ff).into()), + ("comment".into(), rgba(0x7d7787ff).into()), + ], + }, + status_bar: rgba(0xbfbcc5ff).into(), + title_bar: rgba(0xbfbcc5ff).into(), + toolbar: rgba(0xefecf4ff).into(), + tab_bar: rgba(0xe6e3ebff).into(), + editor: rgba(0xefecf4ff).into(), + editor_subheader: rgba(0xe6e3ebff).into(), + editor_active_line: rgba(0xe6e3ebff).into(), + terminal: rgba(0xefecf4ff).into(), + image_fallback_background: rgba(0xbfbcc5ff).into(), + git_created: rgba(0x2b9292ff).into(), + git_modified: rgba(0x586cdaff).into(), + git_deleted: rgba(0xbd4677ff).into(), + git_conflict: rgba(0xa06e3bff).into(), + git_ignored: rgba(0x6e6876ff).into(), + git_renamed: rgba(0xa06e3bff).into(), + players: [ + PlayerTheme { + cursor: rgba(0x586cdaff).into(), + selection: rgba(0x586cda3d).into(), + }, + PlayerTheme { + cursor: rgba(0x2b9292ff).into(), + selection: rgba(0x2b92923d).into(), + }, + PlayerTheme { + cursor: rgba(0xbf41bfff).into(), + selection: rgba(0xbf41bf3d).into(), + }, + PlayerTheme { + cursor: rgba(0xaa573cff).into(), + selection: rgba(0xaa573c3d).into(), + }, + PlayerTheme { + cursor: rgba(0x955ae6ff).into(), + selection: rgba(0x955ae63d).into(), + }, + PlayerTheme { + cursor: rgba(0x3a8bc6ff).into(), + selection: rgba(0x3a8bc63d).into(), + }, + PlayerTheme { + cursor: rgba(0xbd4677ff).into(), + selection: rgba(0xbd46773d).into(), + }, + PlayerTheme { + cursor: rgba(0xa06e3bff).into(), + selection: rgba(0xa06e3b3d).into(), + }, + ], + } +} diff --git a/crates/theme2/src/themes/atelier_dune_dark.rs b/crates/theme2/src/themes/atelier_dune_dark.rs new file mode 100644 index 0000000000000000000000000000000000000000..313b4df2617377a993219f6a5994e13c9c796e70 --- /dev/null +++ b/crates/theme2/src/themes/atelier_dune_dark.rs @@ -0,0 +1,137 @@ + +use gpui2::rgba; + +use crate::{PlayerTheme, SyntaxTheme, Theme, ThemeMetadata}; + +pub fn atelier_dune_dark() -> Theme { + Theme { + metadata: ThemeMetadata { + name: "Atelier Dune Dark".into(), + is_light: false, + }, + transparent: rgba(0x00000000).into(), + mac_os_traffic_light_red: rgba(0xec695eff).into(), + mac_os_traffic_light_yellow: rgba(0xf4bf4eff).into(), + mac_os_traffic_light_green: rgba(0x61c553ff).into(), + border: rgba(0x6c695cff).into(), + border_variant: rgba(0x6c695cff).into(), + border_focused: rgba(0x262f56ff).into(), + border_transparent: rgba(0x00000000).into(), + elevated_surface: rgba(0x45433bff).into(), + surface: rgba(0x262622ff).into(), + background: rgba(0x45433bff).into(), + filled_element: rgba(0x45433bff).into(), + filled_element_hover: rgba(0xffffff1e).into(), + filled_element_active: rgba(0xffffff28).into(), + filled_element_selected: rgba(0x171e38ff).into(), + filled_element_disabled: rgba(0x00000000).into(), + ghost_element: rgba(0x00000000).into(), + ghost_element_hover: rgba(0xffffff14).into(), + ghost_element_active: rgba(0xffffff1e).into(), + ghost_element_selected: rgba(0x171e38ff).into(), + ghost_element_disabled: rgba(0x00000000).into(), + text: rgba(0xfefbecff).into(), + text_muted: rgba(0xa4a08bff).into(), + text_placeholder: rgba(0xd73837ff).into(), + text_disabled: rgba(0x8f8b77ff).into(), + text_accent: rgba(0x6684e0ff).into(), + icon_muted: rgba(0xa4a08bff).into(), + syntax: SyntaxTheme { + highlights: vec![ + ("constructor".into(), rgba(0x6684e0ff).into()), + ("punctuation".into(), rgba(0xe8e4cfff).into()), + ("punctuation.delimiter".into(), rgba(0xa6a28cff).into()), + ("string.special".into(), rgba(0xd43451ff).into()), + ("string.escape".into(), rgba(0xa6a28cff).into()), + ("comment".into(), rgba(0x7d7a68ff).into()), + ("enum".into(), rgba(0xb65611ff).into()), + ("variable.special".into(), rgba(0xb854d4ff).into()), + ("primary".into(), rgba(0xe8e4cfff).into()), + ("comment.doc".into(), rgba(0xa6a28cff).into()), + ("label".into(), rgba(0x6684e0ff).into()), + ("operator".into(), rgba(0xa6a28cff).into()), + ("string".into(), rgba(0x5fac38ff).into()), + ("variant".into(), rgba(0xae9512ff).into()), + ("variable".into(), rgba(0xe8e4cfff).into()), + ("function.method".into(), rgba(0x6583e1ff).into()), + ( + "function.special.definition".into(), + rgba(0xae9512ff).into(), + ), + ("string.regex".into(), rgba(0x1ead82ff).into()), + ("emphasis.strong".into(), rgba(0x6684e0ff).into()), + ("punctuation.special".into(), rgba(0xd43451ff).into()), + ("punctuation.bracket".into(), rgba(0xa6a28cff).into()), + ("link_text".into(), rgba(0xb65611ff).into()), + ("link_uri".into(), rgba(0x5fac39ff).into()), + ("boolean".into(), rgba(0x5fac39ff).into()), + ("hint".into(), rgba(0xb17272ff).into()), + ("tag".into(), rgba(0x6684e0ff).into()), + ("function".into(), rgba(0x6583e1ff).into()), + ("title".into(), rgba(0xfefbecff).into()), + ("property".into(), rgba(0xd73737ff).into()), + ("type".into(), rgba(0xae9512ff).into()), + ("constant".into(), rgba(0x5fac39ff).into()), + ("attribute".into(), rgba(0x6684e0ff).into()), + ("predictive".into(), rgba(0x9c6262ff).into()), + ("string.special.symbol".into(), rgba(0x5fac38ff).into()), + ("punctuation.list_marker".into(), rgba(0xe8e4cfff).into()), + ("emphasis".into(), rgba(0x6684e0ff).into()), + ("keyword".into(), rgba(0xb854d4ff).into()), + ("text.literal".into(), rgba(0xb65611ff).into()), + ("number".into(), rgba(0xb65610ff).into()), + ("preproc".into(), rgba(0xfefbecff).into()), + ("embedded".into(), rgba(0xfefbecff).into()), + ], + }, + status_bar: rgba(0x45433bff).into(), + title_bar: rgba(0x45433bff).into(), + toolbar: rgba(0x20201dff).into(), + tab_bar: rgba(0x262622ff).into(), + editor: rgba(0x20201dff).into(), + editor_subheader: rgba(0x262622ff).into(), + editor_active_line: rgba(0x262622ff).into(), + terminal: rgba(0x20201dff).into(), + image_fallback_background: rgba(0x45433bff).into(), + git_created: rgba(0x5fac39ff).into(), + git_modified: rgba(0x6684e0ff).into(), + git_deleted: rgba(0xd73837ff).into(), + git_conflict: rgba(0xae9414ff).into(), + git_ignored: rgba(0x8f8b77ff).into(), + git_renamed: rgba(0xae9414ff).into(), + players: [ + PlayerTheme { + cursor: rgba(0x6684e0ff).into(), + selection: rgba(0x6684e03d).into(), + }, + PlayerTheme { + cursor: rgba(0x5fac39ff).into(), + selection: rgba(0x5fac393d).into(), + }, + PlayerTheme { + cursor: rgba(0xd43651ff).into(), + selection: rgba(0xd436513d).into(), + }, + PlayerTheme { + cursor: rgba(0xb65611ff).into(), + selection: rgba(0xb656113d).into(), + }, + PlayerTheme { + cursor: rgba(0xb854d3ff).into(), + selection: rgba(0xb854d33d).into(), + }, + PlayerTheme { + cursor: rgba(0x20ad83ff).into(), + selection: rgba(0x20ad833d).into(), + }, + PlayerTheme { + cursor: rgba(0xd73837ff).into(), + selection: rgba(0xd738373d).into(), + }, + PlayerTheme { + cursor: rgba(0xae9414ff).into(), + selection: rgba(0xae94143d).into(), + }, + ], + } +} diff --git a/crates/theme2/src/themes/atelier_dune_light.rs b/crates/theme2/src/themes/atelier_dune_light.rs new file mode 100644 index 0000000000000000000000000000000000000000..c7dfd884cf8c8daf0330c4455e746912f63e6d74 --- /dev/null +++ b/crates/theme2/src/themes/atelier_dune_light.rs @@ -0,0 +1,137 @@ + +use gpui2::rgba; + +use crate::{PlayerTheme, SyntaxTheme, Theme, ThemeMetadata}; + +pub fn atelier_dune_light() -> Theme { + Theme { + metadata: ThemeMetadata { + name: "Atelier Dune Light".into(), + is_light: true, + }, + transparent: rgba(0x00000000).into(), + mac_os_traffic_light_red: rgba(0xec695eff).into(), + mac_os_traffic_light_yellow: rgba(0xf4bf4eff).into(), + mac_os_traffic_light_green: rgba(0x61c553ff).into(), + border: rgba(0xa8a48eff).into(), + border_variant: rgba(0xa8a48eff).into(), + border_focused: rgba(0xcdd1f5ff).into(), + border_transparent: rgba(0x00000000).into(), + elevated_surface: rgba(0xcecab4ff).into(), + surface: rgba(0xeeebd7ff).into(), + background: rgba(0xcecab4ff).into(), + filled_element: rgba(0xcecab4ff).into(), + filled_element_hover: rgba(0xffffff1e).into(), + filled_element_active: rgba(0xffffff28).into(), + filled_element_selected: rgba(0xe3e5faff).into(), + filled_element_disabled: rgba(0x00000000).into(), + ghost_element: rgba(0x00000000).into(), + ghost_element_hover: rgba(0xffffff14).into(), + ghost_element_active: rgba(0xffffff1e).into(), + ghost_element_selected: rgba(0xe3e5faff).into(), + ghost_element_disabled: rgba(0x00000000).into(), + text: rgba(0x20201dff).into(), + text_muted: rgba(0x706d5fff).into(), + text_placeholder: rgba(0xd73737ff).into(), + text_disabled: rgba(0x878471ff).into(), + text_accent: rgba(0x6684dfff).into(), + icon_muted: rgba(0x706d5fff).into(), + syntax: SyntaxTheme { + highlights: vec![ + ("primary".into(), rgba(0x292824ff).into()), + ("comment".into(), rgba(0x999580ff).into()), + ("type".into(), rgba(0xae9512ff).into()), + ("variant".into(), rgba(0xae9512ff).into()), + ("label".into(), rgba(0x6684dfff).into()), + ("function.method".into(), rgba(0x6583e1ff).into()), + ("variable.special".into(), rgba(0xb854d4ff).into()), + ("string.regex".into(), rgba(0x1ead82ff).into()), + ("property".into(), rgba(0xd73737ff).into()), + ("keyword".into(), rgba(0xb854d4ff).into()), + ("number".into(), rgba(0xb65610ff).into()), + ("punctuation.list_marker".into(), rgba(0x292824ff).into()), + ( + "function.special.definition".into(), + rgba(0xae9512ff).into(), + ), + ("punctuation.special".into(), rgba(0xd43451ff).into()), + ("punctuation".into(), rgba(0x292824ff).into()), + ("punctuation.delimiter".into(), rgba(0x6e6b5eff).into()), + ("tag".into(), rgba(0x6684dfff).into()), + ("link_text".into(), rgba(0xb65712ff).into()), + ("boolean".into(), rgba(0x61ac39ff).into()), + ("hint".into(), rgba(0xb37979ff).into()), + ("operator".into(), rgba(0x6e6b5eff).into()), + ("constant".into(), rgba(0x61ac39ff).into()), + ("function".into(), rgba(0x6583e1ff).into()), + ("text.literal".into(), rgba(0xb65712ff).into()), + ("string.special.symbol".into(), rgba(0x5fac38ff).into()), + ("attribute".into(), rgba(0x6684dfff).into()), + ("emphasis".into(), rgba(0x6684dfff).into()), + ("preproc".into(), rgba(0x20201dff).into()), + ("comment.doc".into(), rgba(0x6e6b5eff).into()), + ("punctuation.bracket".into(), rgba(0x6e6b5eff).into()), + ("string".into(), rgba(0x5fac38ff).into()), + ("enum".into(), rgba(0xb65712ff).into()), + ("variable".into(), rgba(0x292824ff).into()), + ("string.special".into(), rgba(0xd43451ff).into()), + ("embedded".into(), rgba(0x20201dff).into()), + ("emphasis.strong".into(), rgba(0x6684dfff).into()), + ("predictive".into(), rgba(0xc88a8aff).into()), + ("title".into(), rgba(0x20201dff).into()), + ("constructor".into(), rgba(0x6684dfff).into()), + ("link_uri".into(), rgba(0x61ac39ff).into()), + ("string.escape".into(), rgba(0x6e6b5eff).into()), + ], + }, + status_bar: rgba(0xcecab4ff).into(), + title_bar: rgba(0xcecab4ff).into(), + toolbar: rgba(0xfefbecff).into(), + tab_bar: rgba(0xeeebd7ff).into(), + editor: rgba(0xfefbecff).into(), + editor_subheader: rgba(0xeeebd7ff).into(), + editor_active_line: rgba(0xeeebd7ff).into(), + terminal: rgba(0xfefbecff).into(), + image_fallback_background: rgba(0xcecab4ff).into(), + git_created: rgba(0x61ac39ff).into(), + git_modified: rgba(0x6684dfff).into(), + git_deleted: rgba(0xd73737ff).into(), + git_conflict: rgba(0xae9414ff).into(), + git_ignored: rgba(0x878471ff).into(), + git_renamed: rgba(0xae9414ff).into(), + players: [ + PlayerTheme { + cursor: rgba(0x6684dfff).into(), + selection: rgba(0x6684df3d).into(), + }, + PlayerTheme { + cursor: rgba(0x61ac39ff).into(), + selection: rgba(0x61ac393d).into(), + }, + PlayerTheme { + cursor: rgba(0xd43652ff).into(), + selection: rgba(0xd436523d).into(), + }, + PlayerTheme { + cursor: rgba(0xb65712ff).into(), + selection: rgba(0xb657123d).into(), + }, + PlayerTheme { + cursor: rgba(0xb755d3ff).into(), + selection: rgba(0xb755d33d).into(), + }, + PlayerTheme { + cursor: rgba(0x21ad82ff).into(), + selection: rgba(0x21ad823d).into(), + }, + PlayerTheme { + cursor: rgba(0xd73737ff).into(), + selection: rgba(0xd737373d).into(), + }, + PlayerTheme { + cursor: rgba(0xae9414ff).into(), + selection: rgba(0xae94143d).into(), + }, + ], + } +} diff --git a/crates/theme2/src/themes/atelier_estuary_dark.rs b/crates/theme2/src/themes/atelier_estuary_dark.rs new file mode 100644 index 0000000000000000000000000000000000000000..9dfa5d37a9417c58348d6b00a27f84ad79a33eff --- /dev/null +++ b/crates/theme2/src/themes/atelier_estuary_dark.rs @@ -0,0 +1,137 @@ + +use gpui2::rgba; + +use crate::{PlayerTheme, SyntaxTheme, Theme, ThemeMetadata}; + +pub fn atelier_estuary_dark() -> Theme { + Theme { + metadata: ThemeMetadata { + name: "Atelier Estuary Dark".into(), + is_light: false, + }, + transparent: rgba(0x00000000).into(), + mac_os_traffic_light_red: rgba(0xec695eff).into(), + mac_os_traffic_light_yellow: rgba(0xf4bf4eff).into(), + mac_os_traffic_light_green: rgba(0x61c553ff).into(), + border: rgba(0x5d5c4cff).into(), + border_variant: rgba(0x5d5c4cff).into(), + border_focused: rgba(0x1c3927ff).into(), + border_transparent: rgba(0x00000000).into(), + elevated_surface: rgba(0x424136ff).into(), + surface: rgba(0x2c2b23ff).into(), + background: rgba(0x424136ff).into(), + filled_element: rgba(0x424136ff).into(), + filled_element_hover: rgba(0xffffff1e).into(), + filled_element_active: rgba(0xffffff28).into(), + filled_element_selected: rgba(0x142319ff).into(), + filled_element_disabled: rgba(0x00000000).into(), + ghost_element: rgba(0x00000000).into(), + ghost_element_hover: rgba(0xffffff14).into(), + ghost_element_active: rgba(0xffffff1e).into(), + ghost_element_selected: rgba(0x142319ff).into(), + ghost_element_disabled: rgba(0x00000000).into(), + text: rgba(0xf4f3ecff).into(), + text_muted: rgba(0x91907fff).into(), + text_placeholder: rgba(0xba6136ff).into(), + text_disabled: rgba(0x7d7c6aff).into(), + text_accent: rgba(0x36a165ff).into(), + icon_muted: rgba(0x91907fff).into(), + syntax: SyntaxTheme { + highlights: vec![ + ("string.special.symbol".into(), rgba(0x7c9725ff).into()), + ("comment".into(), rgba(0x6c6b5aff).into()), + ("operator".into(), rgba(0x929181ff).into()), + ("punctuation.delimiter".into(), rgba(0x929181ff).into()), + ("keyword".into(), rgba(0x5f9182ff).into()), + ("punctuation.special".into(), rgba(0x9d6b7bff).into()), + ("preproc".into(), rgba(0xf4f3ecff).into()), + ("title".into(), rgba(0xf4f3ecff).into()), + ("string.escape".into(), rgba(0x929181ff).into()), + ("boolean".into(), rgba(0x7d9726ff).into()), + ("punctuation.bracket".into(), rgba(0x929181ff).into()), + ("emphasis.strong".into(), rgba(0x36a165ff).into()), + ("string".into(), rgba(0x7c9725ff).into()), + ("constant".into(), rgba(0x7d9726ff).into()), + ("link_text".into(), rgba(0xae7214ff).into()), + ("tag".into(), rgba(0x36a165ff).into()), + ("hint".into(), rgba(0x6f815aff).into()), + ("punctuation".into(), rgba(0xe7e6dfff).into()), + ("string.regex".into(), rgba(0x5a9d47ff).into()), + ("variant".into(), rgba(0xa5980cff).into()), + ("type".into(), rgba(0xa5980cff).into()), + ("attribute".into(), rgba(0x36a165ff).into()), + ("emphasis".into(), rgba(0x36a165ff).into()), + ("enum".into(), rgba(0xae7214ff).into()), + ("number".into(), rgba(0xae7312ff).into()), + ("property".into(), rgba(0xba6135ff).into()), + ("predictive".into(), rgba(0x5f724cff).into()), + ( + "function.special.definition".into(), + rgba(0xa5980cff).into(), + ), + ("link_uri".into(), rgba(0x7d9726ff).into()), + ("variable.special".into(), rgba(0x5f9182ff).into()), + ("text.literal".into(), rgba(0xae7214ff).into()), + ("label".into(), rgba(0x36a165ff).into()), + ("primary".into(), rgba(0xe7e6dfff).into()), + ("variable".into(), rgba(0xe7e6dfff).into()), + ("embedded".into(), rgba(0xf4f3ecff).into()), + ("function.method".into(), rgba(0x35a166ff).into()), + ("comment.doc".into(), rgba(0x929181ff).into()), + ("string.special".into(), rgba(0x9d6b7bff).into()), + ("constructor".into(), rgba(0x36a165ff).into()), + ("punctuation.list_marker".into(), rgba(0xe7e6dfff).into()), + ("function".into(), rgba(0x35a166ff).into()), + ], + }, + status_bar: rgba(0x424136ff).into(), + title_bar: rgba(0x424136ff).into(), + toolbar: rgba(0x22221bff).into(), + tab_bar: rgba(0x2c2b23ff).into(), + editor: rgba(0x22221bff).into(), + editor_subheader: rgba(0x2c2b23ff).into(), + editor_active_line: rgba(0x2c2b23ff).into(), + terminal: rgba(0x22221bff).into(), + image_fallback_background: rgba(0x424136ff).into(), + git_created: rgba(0x7d9726ff).into(), + git_modified: rgba(0x36a165ff).into(), + git_deleted: rgba(0xba6136ff).into(), + git_conflict: rgba(0xa5980fff).into(), + git_ignored: rgba(0x7d7c6aff).into(), + git_renamed: rgba(0xa5980fff).into(), + players: [ + PlayerTheme { + cursor: rgba(0x36a165ff).into(), + selection: rgba(0x36a1653d).into(), + }, + PlayerTheme { + cursor: rgba(0x7d9726ff).into(), + selection: rgba(0x7d97263d).into(), + }, + PlayerTheme { + cursor: rgba(0x9d6b7bff).into(), + selection: rgba(0x9d6b7b3d).into(), + }, + PlayerTheme { + cursor: rgba(0xae7214ff).into(), + selection: rgba(0xae72143d).into(), + }, + PlayerTheme { + cursor: rgba(0x5f9182ff).into(), + selection: rgba(0x5f91823d).into(), + }, + PlayerTheme { + cursor: rgba(0x5a9d47ff).into(), + selection: rgba(0x5a9d473d).into(), + }, + PlayerTheme { + cursor: rgba(0xba6136ff).into(), + selection: rgba(0xba61363d).into(), + }, + PlayerTheme { + cursor: rgba(0xa5980fff).into(), + selection: rgba(0xa5980f3d).into(), + }, + ], + } +} diff --git a/crates/theme2/src/themes/atelier_estuary_light.rs b/crates/theme2/src/themes/atelier_estuary_light.rs new file mode 100644 index 0000000000000000000000000000000000000000..9e79b6bce081db17c937822ed4f1108b48ad4ca4 --- /dev/null +++ b/crates/theme2/src/themes/atelier_estuary_light.rs @@ -0,0 +1,137 @@ + +use gpui2::rgba; + +use crate::{PlayerTheme, SyntaxTheme, Theme, ThemeMetadata}; + +pub fn atelier_estuary_light() -> Theme { + Theme { + metadata: ThemeMetadata { + name: "Atelier Estuary Light".into(), + is_light: true, + }, + transparent: rgba(0x00000000).into(), + mac_os_traffic_light_red: rgba(0xec695eff).into(), + mac_os_traffic_light_yellow: rgba(0xf4bf4eff).into(), + mac_os_traffic_light_green: rgba(0x61c553ff).into(), + border: rgba(0x969585ff).into(), + border_variant: rgba(0x969585ff).into(), + border_focused: rgba(0xbbddc6ff).into(), + border_transparent: rgba(0x00000000).into(), + elevated_surface: rgba(0xc5c4b9ff).into(), + surface: rgba(0xebeae3ff).into(), + background: rgba(0xc5c4b9ff).into(), + filled_element: rgba(0xc5c4b9ff).into(), + filled_element_hover: rgba(0xffffff1e).into(), + filled_element_active: rgba(0xffffff28).into(), + filled_element_selected: rgba(0xd9ecdfff).into(), + filled_element_disabled: rgba(0x00000000).into(), + ghost_element: rgba(0x00000000).into(), + ghost_element_hover: rgba(0xffffff14).into(), + ghost_element_active: rgba(0xffffff1e).into(), + ghost_element_selected: rgba(0xd9ecdfff).into(), + ghost_element_disabled: rgba(0x00000000).into(), + text: rgba(0x22221bff).into(), + text_muted: rgba(0x61604fff).into(), + text_placeholder: rgba(0xba6336ff).into(), + text_disabled: rgba(0x767463ff).into(), + text_accent: rgba(0x37a165ff).into(), + icon_muted: rgba(0x61604fff).into(), + syntax: SyntaxTheme { + highlights: vec![ + ("string.special".into(), rgba(0x9d6b7bff).into()), + ("link_text".into(), rgba(0xae7214ff).into()), + ("emphasis.strong".into(), rgba(0x37a165ff).into()), + ("tag".into(), rgba(0x37a165ff).into()), + ("primary".into(), rgba(0x302f27ff).into()), + ("emphasis".into(), rgba(0x37a165ff).into()), + ("hint".into(), rgba(0x758961ff).into()), + ("title".into(), rgba(0x22221bff).into()), + ("string.regex".into(), rgba(0x5a9d47ff).into()), + ("attribute".into(), rgba(0x37a165ff).into()), + ("string.escape".into(), rgba(0x5f5e4eff).into()), + ("embedded".into(), rgba(0x22221bff).into()), + ("punctuation.bracket".into(), rgba(0x5f5e4eff).into()), + ( + "function.special.definition".into(), + rgba(0xa5980cff).into(), + ), + ("operator".into(), rgba(0x5f5e4eff).into()), + ("constant".into(), rgba(0x7c9728ff).into()), + ("comment.doc".into(), rgba(0x5f5e4eff).into()), + ("label".into(), rgba(0x37a165ff).into()), + ("variable".into(), rgba(0x302f27ff).into()), + ("punctuation".into(), rgba(0x302f27ff).into()), + ("punctuation.delimiter".into(), rgba(0x5f5e4eff).into()), + ("comment".into(), rgba(0x878573ff).into()), + ("punctuation.special".into(), rgba(0x9d6b7bff).into()), + ("string.special.symbol".into(), rgba(0x7c9725ff).into()), + ("enum".into(), rgba(0xae7214ff).into()), + ("variable.special".into(), rgba(0x5f9182ff).into()), + ("link_uri".into(), rgba(0x7c9728ff).into()), + ("punctuation.list_marker".into(), rgba(0x302f27ff).into()), + ("number".into(), rgba(0xae7312ff).into()), + ("function".into(), rgba(0x35a166ff).into()), + ("text.literal".into(), rgba(0xae7214ff).into()), + ("boolean".into(), rgba(0x7c9728ff).into()), + ("predictive".into(), rgba(0x879a72ff).into()), + ("type".into(), rgba(0xa5980cff).into()), + ("constructor".into(), rgba(0x37a165ff).into()), + ("property".into(), rgba(0xba6135ff).into()), + ("keyword".into(), rgba(0x5f9182ff).into()), + ("function.method".into(), rgba(0x35a166ff).into()), + ("variant".into(), rgba(0xa5980cff).into()), + ("string".into(), rgba(0x7c9725ff).into()), + ("preproc".into(), rgba(0x22221bff).into()), + ], + }, + status_bar: rgba(0xc5c4b9ff).into(), + title_bar: rgba(0xc5c4b9ff).into(), + toolbar: rgba(0xf4f3ecff).into(), + tab_bar: rgba(0xebeae3ff).into(), + editor: rgba(0xf4f3ecff).into(), + editor_subheader: rgba(0xebeae3ff).into(), + editor_active_line: rgba(0xebeae3ff).into(), + terminal: rgba(0xf4f3ecff).into(), + image_fallback_background: rgba(0xc5c4b9ff).into(), + git_created: rgba(0x7c9728ff).into(), + git_modified: rgba(0x37a165ff).into(), + git_deleted: rgba(0xba6336ff).into(), + git_conflict: rgba(0xa5980fff).into(), + git_ignored: rgba(0x767463ff).into(), + git_renamed: rgba(0xa5980fff).into(), + players: [ + PlayerTheme { + cursor: rgba(0x37a165ff).into(), + selection: rgba(0x37a1653d).into(), + }, + PlayerTheme { + cursor: rgba(0x7c9728ff).into(), + selection: rgba(0x7c97283d).into(), + }, + PlayerTheme { + cursor: rgba(0x9d6b7bff).into(), + selection: rgba(0x9d6b7b3d).into(), + }, + PlayerTheme { + cursor: rgba(0xae7214ff).into(), + selection: rgba(0xae72143d).into(), + }, + PlayerTheme { + cursor: rgba(0x5f9182ff).into(), + selection: rgba(0x5f91823d).into(), + }, + PlayerTheme { + cursor: rgba(0x5c9d49ff).into(), + selection: rgba(0x5c9d493d).into(), + }, + PlayerTheme { + cursor: rgba(0xba6336ff).into(), + selection: rgba(0xba63363d).into(), + }, + PlayerTheme { + cursor: rgba(0xa5980fff).into(), + selection: rgba(0xa5980f3d).into(), + }, + ], + } +} diff --git a/crates/theme2/src/themes/atelier_forest_dark.rs b/crates/theme2/src/themes/atelier_forest_dark.rs new file mode 100644 index 0000000000000000000000000000000000000000..2e8cef56debc6b097348006e5bdcca833b1b5c82 --- /dev/null +++ b/crates/theme2/src/themes/atelier_forest_dark.rs @@ -0,0 +1,137 @@ + +use gpui2::rgba; + +use crate::{PlayerTheme, SyntaxTheme, Theme, ThemeMetadata}; + +pub fn atelier_forest_dark() -> Theme { + Theme { + metadata: ThemeMetadata { + name: "Atelier Forest Dark".into(), + is_light: false, + }, + transparent: rgba(0x00000000).into(), + mac_os_traffic_light_red: rgba(0xec695eff).into(), + mac_os_traffic_light_yellow: rgba(0xf4bf4eff).into(), + mac_os_traffic_light_green: rgba(0x61c553ff).into(), + border: rgba(0x665f5cff).into(), + border_variant: rgba(0x665f5cff).into(), + border_focused: rgba(0x182d5bff).into(), + border_transparent: rgba(0x00000000).into(), + elevated_surface: rgba(0x443c39ff).into(), + surface: rgba(0x27211eff).into(), + background: rgba(0x443c39ff).into(), + filled_element: rgba(0x443c39ff).into(), + filled_element_hover: rgba(0xffffff1e).into(), + filled_element_active: rgba(0xffffff28).into(), + filled_element_selected: rgba(0x0f1c3dff).into(), + filled_element_disabled: rgba(0x00000000).into(), + ghost_element: rgba(0x00000000).into(), + ghost_element_hover: rgba(0xffffff14).into(), + ghost_element_active: rgba(0xffffff1e).into(), + ghost_element_selected: rgba(0x0f1c3dff).into(), + ghost_element_disabled: rgba(0x00000000).into(), + text: rgba(0xf0eeedff).into(), + text_muted: rgba(0xa79f9dff).into(), + text_placeholder: rgba(0xf22c3fff).into(), + text_disabled: rgba(0x8e8683ff).into(), + text_accent: rgba(0x407ee6ff).into(), + icon_muted: rgba(0xa79f9dff).into(), + syntax: SyntaxTheme { + highlights: vec![ + ("link_uri".into(), rgba(0x7a9726ff).into()), + ("punctuation.list_marker".into(), rgba(0xe6e2e0ff).into()), + ("type".into(), rgba(0xc38417ff).into()), + ("punctuation.bracket".into(), rgba(0xa8a19fff).into()), + ("punctuation".into(), rgba(0xe6e2e0ff).into()), + ("preproc".into(), rgba(0xf0eeedff).into()), + ("punctuation.special".into(), rgba(0xc33ff3ff).into()), + ("variable.special".into(), rgba(0x6666eaff).into()), + ("tag".into(), rgba(0x407ee6ff).into()), + ("constructor".into(), rgba(0x407ee6ff).into()), + ("title".into(), rgba(0xf0eeedff).into()), + ("hint".into(), rgba(0xa77087ff).into()), + ("constant".into(), rgba(0x7a9726ff).into()), + ("number".into(), rgba(0xdf521fff).into()), + ("emphasis.strong".into(), rgba(0x407ee6ff).into()), + ("boolean".into(), rgba(0x7a9726ff).into()), + ("comment".into(), rgba(0x766e6bff).into()), + ("string.special".into(), rgba(0xc33ff3ff).into()), + ("text.literal".into(), rgba(0xdf5321ff).into()), + ("string.regex".into(), rgba(0x3c96b8ff).into()), + ("enum".into(), rgba(0xdf5321ff).into()), + ("operator".into(), rgba(0xa8a19fff).into()), + ("embedded".into(), rgba(0xf0eeedff).into()), + ("string.special.symbol".into(), rgba(0x7a9725ff).into()), + ("predictive".into(), rgba(0x8f5b70ff).into()), + ("comment.doc".into(), rgba(0xa8a19fff).into()), + ("variant".into(), rgba(0xc38417ff).into()), + ("label".into(), rgba(0x407ee6ff).into()), + ("property".into(), rgba(0xf22c40ff).into()), + ("keyword".into(), rgba(0x6666eaff).into()), + ("function".into(), rgba(0x3f7ee7ff).into()), + ("string.escape".into(), rgba(0xa8a19fff).into()), + ("string".into(), rgba(0x7a9725ff).into()), + ("primary".into(), rgba(0xe6e2e0ff).into()), + ("function.method".into(), rgba(0x3f7ee7ff).into()), + ("link_text".into(), rgba(0xdf5321ff).into()), + ("attribute".into(), rgba(0x407ee6ff).into()), + ("emphasis".into(), rgba(0x407ee6ff).into()), + ( + "function.special.definition".into(), + rgba(0xc38417ff).into(), + ), + ("variable".into(), rgba(0xe6e2e0ff).into()), + ("punctuation.delimiter".into(), rgba(0xa8a19fff).into()), + ], + }, + status_bar: rgba(0x443c39ff).into(), + title_bar: rgba(0x443c39ff).into(), + toolbar: rgba(0x1b1918ff).into(), + tab_bar: rgba(0x27211eff).into(), + editor: rgba(0x1b1918ff).into(), + editor_subheader: rgba(0x27211eff).into(), + editor_active_line: rgba(0x27211eff).into(), + terminal: rgba(0x1b1918ff).into(), + image_fallback_background: rgba(0x443c39ff).into(), + git_created: rgba(0x7a9726ff).into(), + git_modified: rgba(0x407ee6ff).into(), + git_deleted: rgba(0xf22c3fff).into(), + git_conflict: rgba(0xc38418ff).into(), + git_ignored: rgba(0x8e8683ff).into(), + git_renamed: rgba(0xc38418ff).into(), + players: [ + PlayerTheme { + cursor: rgba(0x407ee6ff).into(), + selection: rgba(0x407ee63d).into(), + }, + PlayerTheme { + cursor: rgba(0x7a9726ff).into(), + selection: rgba(0x7a97263d).into(), + }, + PlayerTheme { + cursor: rgba(0xc340f2ff).into(), + selection: rgba(0xc340f23d).into(), + }, + PlayerTheme { + cursor: rgba(0xdf5321ff).into(), + selection: rgba(0xdf53213d).into(), + }, + PlayerTheme { + cursor: rgba(0x6565e9ff).into(), + selection: rgba(0x6565e93d).into(), + }, + PlayerTheme { + cursor: rgba(0x3d97b8ff).into(), + selection: rgba(0x3d97b83d).into(), + }, + PlayerTheme { + cursor: rgba(0xf22c3fff).into(), + selection: rgba(0xf22c3f3d).into(), + }, + PlayerTheme { + cursor: rgba(0xc38418ff).into(), + selection: rgba(0xc384183d).into(), + }, + ], + } +} diff --git a/crates/theme2/src/themes/atelier_forest_light.rs b/crates/theme2/src/themes/atelier_forest_light.rs new file mode 100644 index 0000000000000000000000000000000000000000..94d525835def208c2ad43a7e6304fd3a0fc1d991 --- /dev/null +++ b/crates/theme2/src/themes/atelier_forest_light.rs @@ -0,0 +1,137 @@ + +use gpui2::rgba; + +use crate::{PlayerTheme, SyntaxTheme, Theme, ThemeMetadata}; + +pub fn atelier_forest_light() -> Theme { + Theme { + metadata: ThemeMetadata { + name: "Atelier Forest Light".into(), + is_light: true, + }, + transparent: rgba(0x00000000).into(), + mac_os_traffic_light_red: rgba(0xec695eff).into(), + mac_os_traffic_light_yellow: rgba(0xf4bf4eff).into(), + mac_os_traffic_light_green: rgba(0x61c553ff).into(), + border: rgba(0xaaa3a1ff).into(), + border_variant: rgba(0xaaa3a1ff).into(), + border_focused: rgba(0xc6cef7ff).into(), + border_transparent: rgba(0x00000000).into(), + elevated_surface: rgba(0xccc7c5ff).into(), + surface: rgba(0xe9e6e4ff).into(), + background: rgba(0xccc7c5ff).into(), + filled_element: rgba(0xccc7c5ff).into(), + filled_element_hover: rgba(0xffffff1e).into(), + filled_element_active: rgba(0xffffff28).into(), + filled_element_selected: rgba(0xdfe3fbff).into(), + filled_element_disabled: rgba(0x00000000).into(), + ghost_element: rgba(0x00000000).into(), + ghost_element_hover: rgba(0xffffff14).into(), + ghost_element_active: rgba(0xffffff1e).into(), + ghost_element_selected: rgba(0xdfe3fbff).into(), + ghost_element_disabled: rgba(0x00000000).into(), + text: rgba(0x1b1918ff).into(), + text_muted: rgba(0x6a6360ff).into(), + text_placeholder: rgba(0xf22e40ff).into(), + text_disabled: rgba(0x837b78ff).into(), + text_accent: rgba(0x407ee6ff).into(), + icon_muted: rgba(0x6a6360ff).into(), + syntax: SyntaxTheme { + highlights: vec![ + ("punctuation.special".into(), rgba(0xc33ff3ff).into()), + ("text.literal".into(), rgba(0xdf5421ff).into()), + ("string.escape".into(), rgba(0x68615eff).into()), + ("string.regex".into(), rgba(0x3c96b8ff).into()), + ("number".into(), rgba(0xdf521fff).into()), + ("preproc".into(), rgba(0x1b1918ff).into()), + ("keyword".into(), rgba(0x6666eaff).into()), + ("variable.special".into(), rgba(0x6666eaff).into()), + ("punctuation.delimiter".into(), rgba(0x68615eff).into()), + ("emphasis.strong".into(), rgba(0x407ee6ff).into()), + ("boolean".into(), rgba(0x7a9728ff).into()), + ("variant".into(), rgba(0xc38417ff).into()), + ("predictive".into(), rgba(0xbe899eff).into()), + ("tag".into(), rgba(0x407ee6ff).into()), + ("property".into(), rgba(0xf22c40ff).into()), + ("enum".into(), rgba(0xdf5421ff).into()), + ("attribute".into(), rgba(0x407ee6ff).into()), + ("function.method".into(), rgba(0x3f7ee7ff).into()), + ("function".into(), rgba(0x3f7ee7ff).into()), + ("emphasis".into(), rgba(0x407ee6ff).into()), + ("primary".into(), rgba(0x2c2421ff).into()), + ("variable".into(), rgba(0x2c2421ff).into()), + ("constant".into(), rgba(0x7a9728ff).into()), + ("title".into(), rgba(0x1b1918ff).into()), + ("comment.doc".into(), rgba(0x68615eff).into()), + ("constructor".into(), rgba(0x407ee6ff).into()), + ("type".into(), rgba(0xc38417ff).into()), + ("punctuation.list_marker".into(), rgba(0x2c2421ff).into()), + ("punctuation".into(), rgba(0x2c2421ff).into()), + ("string".into(), rgba(0x7a9725ff).into()), + ("label".into(), rgba(0x407ee6ff).into()), + ("string.special".into(), rgba(0xc33ff3ff).into()), + ("embedded".into(), rgba(0x1b1918ff).into()), + ("link_text".into(), rgba(0xdf5421ff).into()), + ("punctuation.bracket".into(), rgba(0x68615eff).into()), + ("comment".into(), rgba(0x9c9491ff).into()), + ( + "function.special.definition".into(), + rgba(0xc38417ff).into(), + ), + ("link_uri".into(), rgba(0x7a9728ff).into()), + ("operator".into(), rgba(0x68615eff).into()), + ("hint".into(), rgba(0xa67287ff).into()), + ("string.special.symbol".into(), rgba(0x7a9725ff).into()), + ], + }, + status_bar: rgba(0xccc7c5ff).into(), + title_bar: rgba(0xccc7c5ff).into(), + toolbar: rgba(0xf0eeedff).into(), + tab_bar: rgba(0xe9e6e4ff).into(), + editor: rgba(0xf0eeedff).into(), + editor_subheader: rgba(0xe9e6e4ff).into(), + editor_active_line: rgba(0xe9e6e4ff).into(), + terminal: rgba(0xf0eeedff).into(), + image_fallback_background: rgba(0xccc7c5ff).into(), + git_created: rgba(0x7a9728ff).into(), + git_modified: rgba(0x407ee6ff).into(), + git_deleted: rgba(0xf22e40ff).into(), + git_conflict: rgba(0xc38419ff).into(), + git_ignored: rgba(0x837b78ff).into(), + git_renamed: rgba(0xc38419ff).into(), + players: [ + PlayerTheme { + cursor: rgba(0x407ee6ff).into(), + selection: rgba(0x407ee63d).into(), + }, + PlayerTheme { + cursor: rgba(0x7a9728ff).into(), + selection: rgba(0x7a97283d).into(), + }, + PlayerTheme { + cursor: rgba(0xc340f2ff).into(), + selection: rgba(0xc340f23d).into(), + }, + PlayerTheme { + cursor: rgba(0xdf5421ff).into(), + selection: rgba(0xdf54213d).into(), + }, + PlayerTheme { + cursor: rgba(0x6765e9ff).into(), + selection: rgba(0x6765e93d).into(), + }, + PlayerTheme { + cursor: rgba(0x3e96b8ff).into(), + selection: rgba(0x3e96b83d).into(), + }, + PlayerTheme { + cursor: rgba(0xf22e40ff).into(), + selection: rgba(0xf22e403d).into(), + }, + PlayerTheme { + cursor: rgba(0xc38419ff).into(), + selection: rgba(0xc384193d).into(), + }, + ], + } +} diff --git a/crates/theme2/src/themes/atelier_heath_dark.rs b/crates/theme2/src/themes/atelier_heath_dark.rs new file mode 100644 index 0000000000000000000000000000000000000000..c7e959068971003da836f7701becab863b452efe --- /dev/null +++ b/crates/theme2/src/themes/atelier_heath_dark.rs @@ -0,0 +1,137 @@ + +use gpui2::rgba; + +use crate::{PlayerTheme, SyntaxTheme, Theme, ThemeMetadata}; + +pub fn atelier_heath_dark() -> Theme { + Theme { + metadata: ThemeMetadata { + name: "Atelier Heath Dark".into(), + is_light: false, + }, + transparent: rgba(0x00000000).into(), + mac_os_traffic_light_red: rgba(0xec695eff).into(), + mac_os_traffic_light_yellow: rgba(0xf4bf4eff).into(), + mac_os_traffic_light_green: rgba(0x61c553ff).into(), + border: rgba(0x675b67ff).into(), + border_variant: rgba(0x675b67ff).into(), + border_focused: rgba(0x192961ff).into(), + border_transparent: rgba(0x00000000).into(), + elevated_surface: rgba(0x433a43ff).into(), + surface: rgba(0x252025ff).into(), + background: rgba(0x433a43ff).into(), + filled_element: rgba(0x433a43ff).into(), + filled_element_hover: rgba(0xffffff1e).into(), + filled_element_active: rgba(0xffffff28).into(), + filled_element_selected: rgba(0x0d1a43ff).into(), + filled_element_disabled: rgba(0x00000000).into(), + ghost_element: rgba(0x00000000).into(), + ghost_element_hover: rgba(0xffffff14).into(), + ghost_element_active: rgba(0xffffff1e).into(), + ghost_element_selected: rgba(0x0d1a43ff).into(), + ghost_element_disabled: rgba(0x00000000).into(), + text: rgba(0xf7f3f7ff).into(), + text_muted: rgba(0xa899a8ff).into(), + text_placeholder: rgba(0xca3f2bff).into(), + text_disabled: rgba(0x908190ff).into(), + text_accent: rgba(0x5169ebff).into(), + icon_muted: rgba(0xa899a8ff).into(), + syntax: SyntaxTheme { + highlights: vec![ + ("preproc".into(), rgba(0xf7f3f7ff).into()), + ("number".into(), rgba(0xa65825ff).into()), + ("boolean".into(), rgba(0x918b3aff).into()), + ("embedded".into(), rgba(0xf7f3f7ff).into()), + ("variable.special".into(), rgba(0x7b58bfff).into()), + ("operator".into(), rgba(0xab9babff).into()), + ("punctuation.delimiter".into(), rgba(0xab9babff).into()), + ("primary".into(), rgba(0xd8cad8ff).into()), + ("punctuation.bracket".into(), rgba(0xab9babff).into()), + ("comment.doc".into(), rgba(0xab9babff).into()), + ("variant".into(), rgba(0xbb8a34ff).into()), + ("attribute".into(), rgba(0x5169ebff).into()), + ("property".into(), rgba(0xca3f2aff).into()), + ("keyword".into(), rgba(0x7b58bfff).into()), + ("hint".into(), rgba(0x8d70a8ff).into()), + ("string.special.symbol".into(), rgba(0x918b3aff).into()), + ("punctuation.special".into(), rgba(0xcc32ccff).into()), + ("link_uri".into(), rgba(0x918b3aff).into()), + ("link_text".into(), rgba(0xa65827ff).into()), + ("enum".into(), rgba(0xa65827ff).into()), + ("function".into(), rgba(0x506aecff).into()), + ( + "function.special.definition".into(), + rgba(0xbb8a34ff).into(), + ), + ("constant".into(), rgba(0x918b3aff).into()), + ("title".into(), rgba(0xf7f3f7ff).into()), + ("string.regex".into(), rgba(0x149393ff).into()), + ("variable".into(), rgba(0xd8cad8ff).into()), + ("comment".into(), rgba(0x776977ff).into()), + ("predictive".into(), rgba(0x75588fff).into()), + ("function.method".into(), rgba(0x506aecff).into()), + ("type".into(), rgba(0xbb8a34ff).into()), + ("punctuation".into(), rgba(0xd8cad8ff).into()), + ("emphasis".into(), rgba(0x5169ebff).into()), + ("emphasis.strong".into(), rgba(0x5169ebff).into()), + ("tag".into(), rgba(0x5169ebff).into()), + ("text.literal".into(), rgba(0xa65827ff).into()), + ("string".into(), rgba(0x918b3aff).into()), + ("string.escape".into(), rgba(0xab9babff).into()), + ("constructor".into(), rgba(0x5169ebff).into()), + ("label".into(), rgba(0x5169ebff).into()), + ("punctuation.list_marker".into(), rgba(0xd8cad8ff).into()), + ("string.special".into(), rgba(0xcc32ccff).into()), + ], + }, + status_bar: rgba(0x433a43ff).into(), + title_bar: rgba(0x433a43ff).into(), + toolbar: rgba(0x1b181bff).into(), + tab_bar: rgba(0x252025ff).into(), + editor: rgba(0x1b181bff).into(), + editor_subheader: rgba(0x252025ff).into(), + editor_active_line: rgba(0x252025ff).into(), + terminal: rgba(0x1b181bff).into(), + image_fallback_background: rgba(0x433a43ff).into(), + git_created: rgba(0x918b3aff).into(), + git_modified: rgba(0x5169ebff).into(), + git_deleted: rgba(0xca3f2bff).into(), + git_conflict: rgba(0xbb8a35ff).into(), + git_ignored: rgba(0x908190ff).into(), + git_renamed: rgba(0xbb8a35ff).into(), + players: [ + PlayerTheme { + cursor: rgba(0x5169ebff).into(), + selection: rgba(0x5169eb3d).into(), + }, + PlayerTheme { + cursor: rgba(0x918b3aff).into(), + selection: rgba(0x918b3a3d).into(), + }, + PlayerTheme { + cursor: rgba(0xcc34ccff).into(), + selection: rgba(0xcc34cc3d).into(), + }, + PlayerTheme { + cursor: rgba(0xa65827ff).into(), + selection: rgba(0xa658273d).into(), + }, + PlayerTheme { + cursor: rgba(0x7b58bfff).into(), + selection: rgba(0x7b58bf3d).into(), + }, + PlayerTheme { + cursor: rgba(0x189393ff).into(), + selection: rgba(0x1893933d).into(), + }, + PlayerTheme { + cursor: rgba(0xca3f2bff).into(), + selection: rgba(0xca3f2b3d).into(), + }, + PlayerTheme { + cursor: rgba(0xbb8a35ff).into(), + selection: rgba(0xbb8a353d).into(), + }, + ], + } +} diff --git a/crates/theme2/src/themes/atelier_heath_light.rs b/crates/theme2/src/themes/atelier_heath_light.rs new file mode 100644 index 0000000000000000000000000000000000000000..540f84febfbab5e7ca9597ae7ded7182d412e915 --- /dev/null +++ b/crates/theme2/src/themes/atelier_heath_light.rs @@ -0,0 +1,137 @@ + +use gpui2::rgba; + +use crate::{PlayerTheme, SyntaxTheme, Theme, ThemeMetadata}; + +pub fn atelier_heath_light() -> Theme { + Theme { + metadata: ThemeMetadata { + name: "Atelier Heath Light".into(), + is_light: true, + }, + transparent: rgba(0x00000000).into(), + mac_os_traffic_light_red: rgba(0xec695eff).into(), + mac_os_traffic_light_yellow: rgba(0xf4bf4eff).into(), + mac_os_traffic_light_green: rgba(0x61c553ff).into(), + border: rgba(0xad9dadff).into(), + border_variant: rgba(0xad9dadff).into(), + border_focused: rgba(0xcac7faff).into(), + border_transparent: rgba(0x00000000).into(), + elevated_surface: rgba(0xc6b8c6ff).into(), + surface: rgba(0xe0d5e0ff).into(), + background: rgba(0xc6b8c6ff).into(), + filled_element: rgba(0xc6b8c6ff).into(), + filled_element_hover: rgba(0xffffff1e).into(), + filled_element_active: rgba(0xffffff28).into(), + filled_element_selected: rgba(0xe2dffcff).into(), + filled_element_disabled: rgba(0x00000000).into(), + ghost_element: rgba(0x00000000).into(), + ghost_element_hover: rgba(0xffffff14).into(), + ghost_element_active: rgba(0xffffff1e).into(), + ghost_element_selected: rgba(0xe2dffcff).into(), + ghost_element_disabled: rgba(0x00000000).into(), + text: rgba(0x1b181bff).into(), + text_muted: rgba(0x6b5e6bff).into(), + text_placeholder: rgba(0xca402bff).into(), + text_disabled: rgba(0x857785ff).into(), + text_accent: rgba(0x5169ebff).into(), + icon_muted: rgba(0x6b5e6bff).into(), + syntax: SyntaxTheme { + highlights: vec![ + ("enum".into(), rgba(0xa65927ff).into()), + ("string.escape".into(), rgba(0x695d69ff).into()), + ("link_uri".into(), rgba(0x918b3bff).into()), + ("function.method".into(), rgba(0x506aecff).into()), + ("comment.doc".into(), rgba(0x695d69ff).into()), + ("property".into(), rgba(0xca3f2aff).into()), + ("string.special".into(), rgba(0xcc32ccff).into()), + ("tag".into(), rgba(0x5169ebff).into()), + ("embedded".into(), rgba(0x1b181bff).into()), + ("primary".into(), rgba(0x292329ff).into()), + ("punctuation".into(), rgba(0x292329ff).into()), + ("punctuation.special".into(), rgba(0xcc32ccff).into()), + ("type".into(), rgba(0xbb8a34ff).into()), + ("number".into(), rgba(0xa65825ff).into()), + ("function".into(), rgba(0x506aecff).into()), + ("preproc".into(), rgba(0x1b181bff).into()), + ("punctuation.bracket".into(), rgba(0x695d69ff).into()), + ("punctuation.delimiter".into(), rgba(0x695d69ff).into()), + ("variable".into(), rgba(0x292329ff).into()), + ( + "function.special.definition".into(), + rgba(0xbb8a34ff).into(), + ), + ("label".into(), rgba(0x5169ebff).into()), + ("constructor".into(), rgba(0x5169ebff).into()), + ("emphasis.strong".into(), rgba(0x5169ebff).into()), + ("constant".into(), rgba(0x918b3bff).into()), + ("keyword".into(), rgba(0x7b58bfff).into()), + ("variable.special".into(), rgba(0x7b58bfff).into()), + ("variant".into(), rgba(0xbb8a34ff).into()), + ("title".into(), rgba(0x1b181bff).into()), + ("attribute".into(), rgba(0x5169ebff).into()), + ("comment".into(), rgba(0x9e8f9eff).into()), + ("string.special.symbol".into(), rgba(0x918b3aff).into()), + ("predictive".into(), rgba(0xa487bfff).into()), + ("link_text".into(), rgba(0xa65927ff).into()), + ("punctuation.list_marker".into(), rgba(0x292329ff).into()), + ("boolean".into(), rgba(0x918b3bff).into()), + ("text.literal".into(), rgba(0xa65927ff).into()), + ("emphasis".into(), rgba(0x5169ebff).into()), + ("string.regex".into(), rgba(0x149393ff).into()), + ("hint".into(), rgba(0x8c70a6ff).into()), + ("string".into(), rgba(0x918b3aff).into()), + ("operator".into(), rgba(0x695d69ff).into()), + ], + }, + status_bar: rgba(0xc6b8c6ff).into(), + title_bar: rgba(0xc6b8c6ff).into(), + toolbar: rgba(0xf7f3f7ff).into(), + tab_bar: rgba(0xe0d5e0ff).into(), + editor: rgba(0xf7f3f7ff).into(), + editor_subheader: rgba(0xe0d5e0ff).into(), + editor_active_line: rgba(0xe0d5e0ff).into(), + terminal: rgba(0xf7f3f7ff).into(), + image_fallback_background: rgba(0xc6b8c6ff).into(), + git_created: rgba(0x918b3bff).into(), + git_modified: rgba(0x5169ebff).into(), + git_deleted: rgba(0xca402bff).into(), + git_conflict: rgba(0xbb8a35ff).into(), + git_ignored: rgba(0x857785ff).into(), + git_renamed: rgba(0xbb8a35ff).into(), + players: [ + PlayerTheme { + cursor: rgba(0x5169ebff).into(), + selection: rgba(0x5169eb3d).into(), + }, + PlayerTheme { + cursor: rgba(0x918b3bff).into(), + selection: rgba(0x918b3b3d).into(), + }, + PlayerTheme { + cursor: rgba(0xcc34ccff).into(), + selection: rgba(0xcc34cc3d).into(), + }, + PlayerTheme { + cursor: rgba(0xa65927ff).into(), + selection: rgba(0xa659273d).into(), + }, + PlayerTheme { + cursor: rgba(0x7a5ac0ff).into(), + selection: rgba(0x7a5ac03d).into(), + }, + PlayerTheme { + cursor: rgba(0x189393ff).into(), + selection: rgba(0x1893933d).into(), + }, + PlayerTheme { + cursor: rgba(0xca402bff).into(), + selection: rgba(0xca402b3d).into(), + }, + PlayerTheme { + cursor: rgba(0xbb8a35ff).into(), + selection: rgba(0xbb8a353d).into(), + }, + ], + } +} diff --git a/crates/theme2/src/themes/atelier_lakeside_dark.rs b/crates/theme2/src/themes/atelier_lakeside_dark.rs new file mode 100644 index 0000000000000000000000000000000000000000..015a9d0751d6e0e183d72f677cba648232d5b121 --- /dev/null +++ b/crates/theme2/src/themes/atelier_lakeside_dark.rs @@ -0,0 +1,137 @@ + +use gpui2::rgba; + +use crate::{PlayerTheme, SyntaxTheme, Theme, ThemeMetadata}; + +pub fn atelier_lakeside_dark() -> Theme { + Theme { + metadata: ThemeMetadata { + name: "Atelier Lakeside Dark".into(), + is_light: false, + }, + transparent: rgba(0x00000000).into(), + mac_os_traffic_light_red: rgba(0xec695eff).into(), + mac_os_traffic_light_yellow: rgba(0xf4bf4eff).into(), + mac_os_traffic_light_green: rgba(0x61c553ff).into(), + border: rgba(0x4f6a78ff).into(), + border_variant: rgba(0x4f6a78ff).into(), + border_focused: rgba(0x1a2f3cff).into(), + border_transparent: rgba(0x00000000).into(), + elevated_surface: rgba(0x33444dff).into(), + surface: rgba(0x1c2529ff).into(), + background: rgba(0x33444dff).into(), + filled_element: rgba(0x33444dff).into(), + filled_element_hover: rgba(0xffffff1e).into(), + filled_element_active: rgba(0xffffff28).into(), + filled_element_selected: rgba(0x121c24ff).into(), + filled_element_disabled: rgba(0x00000000).into(), + ghost_element: rgba(0x00000000).into(), + ghost_element_hover: rgba(0xffffff14).into(), + ghost_element_active: rgba(0xffffff1e).into(), + ghost_element_selected: rgba(0x121c24ff).into(), + ghost_element_disabled: rgba(0x00000000).into(), + text: rgba(0xebf8ffff).into(), + text_muted: rgba(0x7c9fb3ff).into(), + text_placeholder: rgba(0xd22e72ff).into(), + text_disabled: rgba(0x688c9dff).into(), + text_accent: rgba(0x267eadff).into(), + icon_muted: rgba(0x7c9fb3ff).into(), + syntax: SyntaxTheme { + highlights: vec![ + ("punctuation.bracket".into(), rgba(0x7ea2b4ff).into()), + ("punctuation.special".into(), rgba(0xb72cd2ff).into()), + ("property".into(), rgba(0xd22c72ff).into()), + ("function.method".into(), rgba(0x247eadff).into()), + ("comment".into(), rgba(0x5a7b8cff).into()), + ("constructor".into(), rgba(0x267eadff).into()), + ("boolean".into(), rgba(0x558c3aff).into()), + ("hint".into(), rgba(0x52809aff).into()), + ("label".into(), rgba(0x267eadff).into()), + ("string.special".into(), rgba(0xb72cd2ff).into()), + ("title".into(), rgba(0xebf8ffff).into()), + ("punctuation.list_marker".into(), rgba(0xc1e4f6ff).into()), + ("emphasis.strong".into(), rgba(0x267eadff).into()), + ("enum".into(), rgba(0x935b25ff).into()), + ("type".into(), rgba(0x8a8a0eff).into()), + ("tag".into(), rgba(0x267eadff).into()), + ("punctuation.delimiter".into(), rgba(0x7ea2b4ff).into()), + ("primary".into(), rgba(0xc1e4f6ff).into()), + ("link_text".into(), rgba(0x935b25ff).into()), + ("variable".into(), rgba(0xc1e4f6ff).into()), + ("variable.special".into(), rgba(0x6a6ab7ff).into()), + ("string.special.symbol".into(), rgba(0x558c3aff).into()), + ("link_uri".into(), rgba(0x558c3aff).into()), + ("function".into(), rgba(0x247eadff).into()), + ("predictive".into(), rgba(0x426f88ff).into()), + ("punctuation".into(), rgba(0xc1e4f6ff).into()), + ("string.escape".into(), rgba(0x7ea2b4ff).into()), + ("keyword".into(), rgba(0x6a6ab7ff).into()), + ("attribute".into(), rgba(0x267eadff).into()), + ("string.regex".into(), rgba(0x2c8f6eff).into()), + ("embedded".into(), rgba(0xebf8ffff).into()), + ("emphasis".into(), rgba(0x267eadff).into()), + ("string".into(), rgba(0x558c3aff).into()), + ("operator".into(), rgba(0x7ea2b4ff).into()), + ("text.literal".into(), rgba(0x935b25ff).into()), + ("constant".into(), rgba(0x558c3aff).into()), + ("comment.doc".into(), rgba(0x7ea2b4ff).into()), + ("number".into(), rgba(0x935c24ff).into()), + ("preproc".into(), rgba(0xebf8ffff).into()), + ( + "function.special.definition".into(), + rgba(0x8a8a0eff).into(), + ), + ("variant".into(), rgba(0x8a8a0eff).into()), + ], + }, + status_bar: rgba(0x33444dff).into(), + title_bar: rgba(0x33444dff).into(), + toolbar: rgba(0x161b1dff).into(), + tab_bar: rgba(0x1c2529ff).into(), + editor: rgba(0x161b1dff).into(), + editor_subheader: rgba(0x1c2529ff).into(), + editor_active_line: rgba(0x1c2529ff).into(), + terminal: rgba(0x161b1dff).into(), + image_fallback_background: rgba(0x33444dff).into(), + git_created: rgba(0x558c3aff).into(), + git_modified: rgba(0x267eadff).into(), + git_deleted: rgba(0xd22e72ff).into(), + git_conflict: rgba(0x8a8a10ff).into(), + git_ignored: rgba(0x688c9dff).into(), + git_renamed: rgba(0x8a8a10ff).into(), + players: [ + PlayerTheme { + cursor: rgba(0x267eadff).into(), + selection: rgba(0x267ead3d).into(), + }, + PlayerTheme { + cursor: rgba(0x558c3aff).into(), + selection: rgba(0x558c3a3d).into(), + }, + PlayerTheme { + cursor: rgba(0xb72ed2ff).into(), + selection: rgba(0xb72ed23d).into(), + }, + PlayerTheme { + cursor: rgba(0x935b25ff).into(), + selection: rgba(0x935b253d).into(), + }, + PlayerTheme { + cursor: rgba(0x6a6ab7ff).into(), + selection: rgba(0x6a6ab73d).into(), + }, + PlayerTheme { + cursor: rgba(0x2d8f6fff).into(), + selection: rgba(0x2d8f6f3d).into(), + }, + PlayerTheme { + cursor: rgba(0xd22e72ff).into(), + selection: rgba(0xd22e723d).into(), + }, + PlayerTheme { + cursor: rgba(0x8a8a10ff).into(), + selection: rgba(0x8a8a103d).into(), + }, + ], + } +} diff --git a/crates/theme2/src/themes/atelier_lakeside_light.rs b/crates/theme2/src/themes/atelier_lakeside_light.rs new file mode 100644 index 0000000000000000000000000000000000000000..85d5e3d782d701ca5583086f5ba4890856a2d2aa --- /dev/null +++ b/crates/theme2/src/themes/atelier_lakeside_light.rs @@ -0,0 +1,137 @@ + +use gpui2::rgba; + +use crate::{PlayerTheme, SyntaxTheme, Theme, ThemeMetadata}; + +pub fn atelier_lakeside_light() -> Theme { + Theme { + metadata: ThemeMetadata { + name: "Atelier Lakeside Light".into(), + is_light: true, + }, + transparent: rgba(0x00000000).into(), + mac_os_traffic_light_red: rgba(0xec695eff).into(), + mac_os_traffic_light_yellow: rgba(0xf4bf4eff).into(), + mac_os_traffic_light_green: rgba(0x61c553ff).into(), + border: rgba(0x80a4b6ff).into(), + border_variant: rgba(0x80a4b6ff).into(), + border_focused: rgba(0xb9cee0ff).into(), + border_transparent: rgba(0x00000000).into(), + elevated_surface: rgba(0xa6cadcff).into(), + surface: rgba(0xcdeaf9ff).into(), + background: rgba(0xa6cadcff).into(), + filled_element: rgba(0xa6cadcff).into(), + filled_element_hover: rgba(0xffffff1e).into(), + filled_element_active: rgba(0xffffff28).into(), + filled_element_selected: rgba(0xd8e4eeff).into(), + filled_element_disabled: rgba(0x00000000).into(), + ghost_element: rgba(0x00000000).into(), + ghost_element_hover: rgba(0xffffff14).into(), + ghost_element_active: rgba(0xffffff1e).into(), + ghost_element_selected: rgba(0xd8e4eeff).into(), + ghost_element_disabled: rgba(0x00000000).into(), + text: rgba(0x161b1dff).into(), + text_muted: rgba(0x526f7dff).into(), + text_placeholder: rgba(0xd22e71ff).into(), + text_disabled: rgba(0x628496ff).into(), + text_accent: rgba(0x267eadff).into(), + icon_muted: rgba(0x526f7dff).into(), + syntax: SyntaxTheme { + highlights: vec![ + ("emphasis".into(), rgba(0x267eadff).into()), + ("number".into(), rgba(0x935c24ff).into()), + ("embedded".into(), rgba(0x161b1dff).into()), + ("link_text".into(), rgba(0x935c25ff).into()), + ("string".into(), rgba(0x558c3aff).into()), + ("constructor".into(), rgba(0x267eadff).into()), + ("punctuation.list_marker".into(), rgba(0x1f292eff).into()), + ("string.special".into(), rgba(0xb72cd2ff).into()), + ("title".into(), rgba(0x161b1dff).into()), + ("variant".into(), rgba(0x8a8a0eff).into()), + ("tag".into(), rgba(0x267eadff).into()), + ("attribute".into(), rgba(0x267eadff).into()), + ("keyword".into(), rgba(0x6a6ab7ff).into()), + ("enum".into(), rgba(0x935c25ff).into()), + ("function".into(), rgba(0x247eadff).into()), + ("string.escape".into(), rgba(0x516d7bff).into()), + ("operator".into(), rgba(0x516d7bff).into()), + ("function.method".into(), rgba(0x247eadff).into()), + ( + "function.special.definition".into(), + rgba(0x8a8a0eff).into(), + ), + ("punctuation.delimiter".into(), rgba(0x516d7bff).into()), + ("comment".into(), rgba(0x7094a7ff).into()), + ("primary".into(), rgba(0x1f292eff).into()), + ("punctuation.bracket".into(), rgba(0x516d7bff).into()), + ("variable".into(), rgba(0x1f292eff).into()), + ("emphasis.strong".into(), rgba(0x267eadff).into()), + ("predictive".into(), rgba(0x6a97b2ff).into()), + ("punctuation.special".into(), rgba(0xb72cd2ff).into()), + ("hint".into(), rgba(0x5a87a0ff).into()), + ("text.literal".into(), rgba(0x935c25ff).into()), + ("string.special.symbol".into(), rgba(0x558c3aff).into()), + ("comment.doc".into(), rgba(0x516d7bff).into()), + ("constant".into(), rgba(0x568c3bff).into()), + ("boolean".into(), rgba(0x568c3bff).into()), + ("preproc".into(), rgba(0x161b1dff).into()), + ("variable.special".into(), rgba(0x6a6ab7ff).into()), + ("link_uri".into(), rgba(0x568c3bff).into()), + ("string.regex".into(), rgba(0x2c8f6eff).into()), + ("punctuation".into(), rgba(0x1f292eff).into()), + ("property".into(), rgba(0xd22c72ff).into()), + ("label".into(), rgba(0x267eadff).into()), + ("type".into(), rgba(0x8a8a0eff).into()), + ], + }, + status_bar: rgba(0xa6cadcff).into(), + title_bar: rgba(0xa6cadcff).into(), + toolbar: rgba(0xebf8ffff).into(), + tab_bar: rgba(0xcdeaf9ff).into(), + editor: rgba(0xebf8ffff).into(), + editor_subheader: rgba(0xcdeaf9ff).into(), + editor_active_line: rgba(0xcdeaf9ff).into(), + terminal: rgba(0xebf8ffff).into(), + image_fallback_background: rgba(0xa6cadcff).into(), + git_created: rgba(0x568c3bff).into(), + git_modified: rgba(0x267eadff).into(), + git_deleted: rgba(0xd22e71ff).into(), + git_conflict: rgba(0x8a8a10ff).into(), + git_ignored: rgba(0x628496ff).into(), + git_renamed: rgba(0x8a8a10ff).into(), + players: [ + PlayerTheme { + cursor: rgba(0x267eadff).into(), + selection: rgba(0x267ead3d).into(), + }, + PlayerTheme { + cursor: rgba(0x568c3bff).into(), + selection: rgba(0x568c3b3d).into(), + }, + PlayerTheme { + cursor: rgba(0xb72ed2ff).into(), + selection: rgba(0xb72ed23d).into(), + }, + PlayerTheme { + cursor: rgba(0x935c25ff).into(), + selection: rgba(0x935c253d).into(), + }, + PlayerTheme { + cursor: rgba(0x6c6ab7ff).into(), + selection: rgba(0x6c6ab73d).into(), + }, + PlayerTheme { + cursor: rgba(0x2e8f6eff).into(), + selection: rgba(0x2e8f6e3d).into(), + }, + PlayerTheme { + cursor: rgba(0xd22e71ff).into(), + selection: rgba(0xd22e713d).into(), + }, + PlayerTheme { + cursor: rgba(0x8a8a10ff).into(), + selection: rgba(0x8a8a103d).into(), + }, + ], + } +} diff --git a/crates/theme2/src/themes/atelier_plateau_dark.rs b/crates/theme2/src/themes/atelier_plateau_dark.rs new file mode 100644 index 0000000000000000000000000000000000000000..231572ad65b3a4f4ed1676dd0fcc08419bf65fa7 --- /dev/null +++ b/crates/theme2/src/themes/atelier_plateau_dark.rs @@ -0,0 +1,137 @@ + +use gpui2::rgba; + +use crate::{PlayerTheme, SyntaxTheme, Theme, ThemeMetadata}; + +pub fn atelier_plateau_dark() -> Theme { + Theme { + metadata: ThemeMetadata { + name: "Atelier Plateau Dark".into(), + is_light: false, + }, + transparent: rgba(0x00000000).into(), + mac_os_traffic_light_red: rgba(0xec695eff).into(), + mac_os_traffic_light_yellow: rgba(0xf4bf4eff).into(), + mac_os_traffic_light_green: rgba(0x61c553ff).into(), + border: rgba(0x564e4eff).into(), + border_variant: rgba(0x564e4eff).into(), + border_focused: rgba(0x2c2b45ff).into(), + border_transparent: rgba(0x00000000).into(), + elevated_surface: rgba(0x3b3535ff).into(), + surface: rgba(0x252020ff).into(), + background: rgba(0x3b3535ff).into(), + filled_element: rgba(0x3b3535ff).into(), + filled_element_hover: rgba(0xffffff1e).into(), + filled_element_active: rgba(0xffffff28).into(), + filled_element_selected: rgba(0x1c1b29ff).into(), + filled_element_disabled: rgba(0x00000000).into(), + ghost_element: rgba(0x00000000).into(), + ghost_element_hover: rgba(0xffffff14).into(), + ghost_element_active: rgba(0xffffff1e).into(), + ghost_element_selected: rgba(0x1c1b29ff).into(), + ghost_element_disabled: rgba(0x00000000).into(), + text: rgba(0xf4ececff).into(), + text_muted: rgba(0x898383ff).into(), + text_placeholder: rgba(0xca4848ff).into(), + text_disabled: rgba(0x756e6eff).into(), + text_accent: rgba(0x7272caff).into(), + icon_muted: rgba(0x898383ff).into(), + syntax: SyntaxTheme { + highlights: vec![ + ("variant".into(), rgba(0xa06d3aff).into()), + ("label".into(), rgba(0x7272caff).into()), + ("punctuation.delimiter".into(), rgba(0x8a8585ff).into()), + ("string.regex".into(), rgba(0x5485b6ff).into()), + ("variable.special".into(), rgba(0x8464c4ff).into()), + ("string".into(), rgba(0x4b8b8bff).into()), + ("property".into(), rgba(0xca4848ff).into()), + ("hint".into(), rgba(0x8a647aff).into()), + ("comment.doc".into(), rgba(0x8a8585ff).into()), + ("attribute".into(), rgba(0x7272caff).into()), + ("tag".into(), rgba(0x7272caff).into()), + ("constructor".into(), rgba(0x7272caff).into()), + ("boolean".into(), rgba(0x4b8b8bff).into()), + ("preproc".into(), rgba(0xf4ececff).into()), + ("constant".into(), rgba(0x4b8b8bff).into()), + ("punctuation.special".into(), rgba(0xbd5187ff).into()), + ("function.method".into(), rgba(0x7272caff).into()), + ("comment".into(), rgba(0x655d5dff).into()), + ("variable".into(), rgba(0xe7dfdfff).into()), + ("primary".into(), rgba(0xe7dfdfff).into()), + ("title".into(), rgba(0xf4ececff).into()), + ("emphasis".into(), rgba(0x7272caff).into()), + ("emphasis.strong".into(), rgba(0x7272caff).into()), + ("function".into(), rgba(0x7272caff).into()), + ("type".into(), rgba(0xa06d3aff).into()), + ("operator".into(), rgba(0x8a8585ff).into()), + ("embedded".into(), rgba(0xf4ececff).into()), + ("predictive".into(), rgba(0x795369ff).into()), + ("punctuation".into(), rgba(0xe7dfdfff).into()), + ("link_text".into(), rgba(0xb4593bff).into()), + ("enum".into(), rgba(0xb4593bff).into()), + ("string.special".into(), rgba(0xbd5187ff).into()), + ("text.literal".into(), rgba(0xb4593bff).into()), + ("string.escape".into(), rgba(0x8a8585ff).into()), + ( + "function.special.definition".into(), + rgba(0xa06d3aff).into(), + ), + ("keyword".into(), rgba(0x8464c4ff).into()), + ("link_uri".into(), rgba(0x4b8b8bff).into()), + ("number".into(), rgba(0xb4593bff).into()), + ("punctuation.bracket".into(), rgba(0x8a8585ff).into()), + ("string.special.symbol".into(), rgba(0x4b8b8bff).into()), + ("punctuation.list_marker".into(), rgba(0xe7dfdfff).into()), + ], + }, + status_bar: rgba(0x3b3535ff).into(), + title_bar: rgba(0x3b3535ff).into(), + toolbar: rgba(0x1b1818ff).into(), + tab_bar: rgba(0x252020ff).into(), + editor: rgba(0x1b1818ff).into(), + editor_subheader: rgba(0x252020ff).into(), + editor_active_line: rgba(0x252020ff).into(), + terminal: rgba(0x1b1818ff).into(), + image_fallback_background: rgba(0x3b3535ff).into(), + git_created: rgba(0x4b8b8bff).into(), + git_modified: rgba(0x7272caff).into(), + git_deleted: rgba(0xca4848ff).into(), + git_conflict: rgba(0xa06d3aff).into(), + git_ignored: rgba(0x756e6eff).into(), + git_renamed: rgba(0xa06d3aff).into(), + players: [ + PlayerTheme { + cursor: rgba(0x7272caff).into(), + selection: rgba(0x7272ca3d).into(), + }, + PlayerTheme { + cursor: rgba(0x4b8b8bff).into(), + selection: rgba(0x4b8b8b3d).into(), + }, + PlayerTheme { + cursor: rgba(0xbd5187ff).into(), + selection: rgba(0xbd51873d).into(), + }, + PlayerTheme { + cursor: rgba(0xb4593bff).into(), + selection: rgba(0xb4593b3d).into(), + }, + PlayerTheme { + cursor: rgba(0x8464c4ff).into(), + selection: rgba(0x8464c43d).into(), + }, + PlayerTheme { + cursor: rgba(0x5485b6ff).into(), + selection: rgba(0x5485b63d).into(), + }, + PlayerTheme { + cursor: rgba(0xca4848ff).into(), + selection: rgba(0xca48483d).into(), + }, + PlayerTheme { + cursor: rgba(0xa06d3aff).into(), + selection: rgba(0xa06d3a3d).into(), + }, + ], + } +} diff --git a/crates/theme2/src/themes/atelier_plateau_light.rs b/crates/theme2/src/themes/atelier_plateau_light.rs new file mode 100644 index 0000000000000000000000000000000000000000..efca15d7d67578eb308281a98abad48a8b5e1e89 --- /dev/null +++ b/crates/theme2/src/themes/atelier_plateau_light.rs @@ -0,0 +1,137 @@ + +use gpui2::rgba; + +use crate::{PlayerTheme, SyntaxTheme, Theme, ThemeMetadata}; + +pub fn atelier_plateau_light() -> Theme { + Theme { + metadata: ThemeMetadata { + name: "Atelier Plateau Light".into(), + is_light: true, + }, + transparent: rgba(0x00000000).into(), + mac_os_traffic_light_red: rgba(0xec695eff).into(), + mac_os_traffic_light_yellow: rgba(0xf4bf4eff).into(), + mac_os_traffic_light_green: rgba(0x61c553ff).into(), + border: rgba(0x8e8989ff).into(), + border_variant: rgba(0x8e8989ff).into(), + border_focused: rgba(0xcecaecff).into(), + border_transparent: rgba(0x00000000).into(), + elevated_surface: rgba(0xc1bbbbff).into(), + surface: rgba(0xebe3e3ff).into(), + background: rgba(0xc1bbbbff).into(), + filled_element: rgba(0xc1bbbbff).into(), + filled_element_hover: rgba(0xffffff1e).into(), + filled_element_active: rgba(0xffffff28).into(), + filled_element_selected: rgba(0xe4e1f5ff).into(), + filled_element_disabled: rgba(0x00000000).into(), + ghost_element: rgba(0x00000000).into(), + ghost_element_hover: rgba(0xffffff14).into(), + ghost_element_active: rgba(0xffffff1e).into(), + ghost_element_selected: rgba(0xe4e1f5ff).into(), + ghost_element_disabled: rgba(0x00000000).into(), + text: rgba(0x1b1818ff).into(), + text_muted: rgba(0x5a5252ff).into(), + text_placeholder: rgba(0xca4a4aff).into(), + text_disabled: rgba(0x6e6666ff).into(), + text_accent: rgba(0x7272caff).into(), + icon_muted: rgba(0x5a5252ff).into(), + syntax: SyntaxTheme { + highlights: vec![ + ("text.literal".into(), rgba(0xb45a3cff).into()), + ("punctuation.special".into(), rgba(0xbd5187ff).into()), + ("variant".into(), rgba(0xa06d3aff).into()), + ("punctuation".into(), rgba(0x292424ff).into()), + ("string.escape".into(), rgba(0x585050ff).into()), + ("emphasis".into(), rgba(0x7272caff).into()), + ("title".into(), rgba(0x1b1818ff).into()), + ("constructor".into(), rgba(0x7272caff).into()), + ("variable".into(), rgba(0x292424ff).into()), + ("predictive".into(), rgba(0xa27a91ff).into()), + ("label".into(), rgba(0x7272caff).into()), + ("function.method".into(), rgba(0x7272caff).into()), + ("link_uri".into(), rgba(0x4c8b8bff).into()), + ("punctuation.delimiter".into(), rgba(0x585050ff).into()), + ("link_text".into(), rgba(0xb45a3cff).into()), + ("hint".into(), rgba(0x91697fff).into()), + ("emphasis.strong".into(), rgba(0x7272caff).into()), + ("attribute".into(), rgba(0x7272caff).into()), + ("boolean".into(), rgba(0x4c8b8bff).into()), + ("string.special.symbol".into(), rgba(0x4b8b8bff).into()), + ("string".into(), rgba(0x4b8b8bff).into()), + ("type".into(), rgba(0xa06d3aff).into()), + ("string.regex".into(), rgba(0x5485b6ff).into()), + ("comment.doc".into(), rgba(0x585050ff).into()), + ("string.special".into(), rgba(0xbd5187ff).into()), + ("property".into(), rgba(0xca4848ff).into()), + ("preproc".into(), rgba(0x1b1818ff).into()), + ("embedded".into(), rgba(0x1b1818ff).into()), + ("comment".into(), rgba(0x7e7777ff).into()), + ("primary".into(), rgba(0x292424ff).into()), + ("number".into(), rgba(0xb4593bff).into()), + ("function".into(), rgba(0x7272caff).into()), + ("punctuation.bracket".into(), rgba(0x585050ff).into()), + ("tag".into(), rgba(0x7272caff).into()), + ("punctuation.list_marker".into(), rgba(0x292424ff).into()), + ( + "function.special.definition".into(), + rgba(0xa06d3aff).into(), + ), + ("enum".into(), rgba(0xb45a3cff).into()), + ("keyword".into(), rgba(0x8464c4ff).into()), + ("operator".into(), rgba(0x585050ff).into()), + ("variable.special".into(), rgba(0x8464c4ff).into()), + ("constant".into(), rgba(0x4c8b8bff).into()), + ], + }, + status_bar: rgba(0xc1bbbbff).into(), + title_bar: rgba(0xc1bbbbff).into(), + toolbar: rgba(0xf4ececff).into(), + tab_bar: rgba(0xebe3e3ff).into(), + editor: rgba(0xf4ececff).into(), + editor_subheader: rgba(0xebe3e3ff).into(), + editor_active_line: rgba(0xebe3e3ff).into(), + terminal: rgba(0xf4ececff).into(), + image_fallback_background: rgba(0xc1bbbbff).into(), + git_created: rgba(0x4c8b8bff).into(), + git_modified: rgba(0x7272caff).into(), + git_deleted: rgba(0xca4a4aff).into(), + git_conflict: rgba(0xa06e3bff).into(), + git_ignored: rgba(0x6e6666ff).into(), + git_renamed: rgba(0xa06e3bff).into(), + players: [ + PlayerTheme { + cursor: rgba(0x7272caff).into(), + selection: rgba(0x7272ca3d).into(), + }, + PlayerTheme { + cursor: rgba(0x4c8b8bff).into(), + selection: rgba(0x4c8b8b3d).into(), + }, + PlayerTheme { + cursor: rgba(0xbd5186ff).into(), + selection: rgba(0xbd51863d).into(), + }, + PlayerTheme { + cursor: rgba(0xb45a3cff).into(), + selection: rgba(0xb45a3c3d).into(), + }, + PlayerTheme { + cursor: rgba(0x8464c4ff).into(), + selection: rgba(0x8464c43d).into(), + }, + PlayerTheme { + cursor: rgba(0x5485b5ff).into(), + selection: rgba(0x5485b53d).into(), + }, + PlayerTheme { + cursor: rgba(0xca4a4aff).into(), + selection: rgba(0xca4a4a3d).into(), + }, + PlayerTheme { + cursor: rgba(0xa06e3bff).into(), + selection: rgba(0xa06e3b3d).into(), + }, + ], + } +} diff --git a/crates/theme2/src/themes/atelier_savanna_dark.rs b/crates/theme2/src/themes/atelier_savanna_dark.rs new file mode 100644 index 0000000000000000000000000000000000000000..7314824f187e854a5029c8d2cdb0bee15c679593 --- /dev/null +++ b/crates/theme2/src/themes/atelier_savanna_dark.rs @@ -0,0 +1,137 @@ + +use gpui2::rgba; + +use crate::{PlayerTheme, SyntaxTheme, Theme, ThemeMetadata}; + +pub fn atelier_savanna_dark() -> Theme { + Theme { + metadata: ThemeMetadata { + name: "Atelier Savanna Dark".into(), + is_light: false, + }, + transparent: rgba(0x00000000).into(), + mac_os_traffic_light_red: rgba(0xec695eff).into(), + mac_os_traffic_light_yellow: rgba(0xf4bf4eff).into(), + mac_os_traffic_light_green: rgba(0x61c553ff).into(), + border: rgba(0x505e55ff).into(), + border_variant: rgba(0x505e55ff).into(), + border_focused: rgba(0x1f3233ff).into(), + border_transparent: rgba(0x00000000).into(), + elevated_surface: rgba(0x353f39ff).into(), + surface: rgba(0x1f2621ff).into(), + background: rgba(0x353f39ff).into(), + filled_element: rgba(0x353f39ff).into(), + filled_element_hover: rgba(0xffffff1e).into(), + filled_element_active: rgba(0xffffff28).into(), + filled_element_selected: rgba(0x151e20ff).into(), + filled_element_disabled: rgba(0x00000000).into(), + ghost_element: rgba(0x00000000).into(), + ghost_element_hover: rgba(0xffffff14).into(), + ghost_element_active: rgba(0xffffff1e).into(), + ghost_element_selected: rgba(0x151e20ff).into(), + ghost_element_disabled: rgba(0x00000000).into(), + text: rgba(0xecf4eeff).into(), + text_muted: rgba(0x859188ff).into(), + text_placeholder: rgba(0xb16038ff).into(), + text_disabled: rgba(0x6f7e74ff).into(), + text_accent: rgba(0x468b8fff).into(), + icon_muted: rgba(0x859188ff).into(), + syntax: SyntaxTheme { + highlights: vec![ + ("function.method".into(), rgba(0x468b8fff).into()), + ("title".into(), rgba(0xecf4eeff).into()), + ("label".into(), rgba(0x468b8fff).into()), + ("text.literal".into(), rgba(0x9f703bff).into()), + ("boolean".into(), rgba(0x479962ff).into()), + ("punctuation.list_marker".into(), rgba(0xdfe7e2ff).into()), + ("string.escape".into(), rgba(0x87928aff).into()), + ("string.special".into(), rgba(0x857368ff).into()), + ("punctuation.delimiter".into(), rgba(0x87928aff).into()), + ("tag".into(), rgba(0x468b8fff).into()), + ("property".into(), rgba(0xb16038ff).into()), + ("preproc".into(), rgba(0xecf4eeff).into()), + ("primary".into(), rgba(0xdfe7e2ff).into()), + ("link_uri".into(), rgba(0x479962ff).into()), + ("comment".into(), rgba(0x5f6d64ff).into()), + ("type".into(), rgba(0xa07d3aff).into()), + ("hint".into(), rgba(0x607e76ff).into()), + ("punctuation".into(), rgba(0xdfe7e2ff).into()), + ("string.special.symbol".into(), rgba(0x479962ff).into()), + ("emphasis.strong".into(), rgba(0x468b8fff).into()), + ("keyword".into(), rgba(0x55859bff).into()), + ("comment.doc".into(), rgba(0x87928aff).into()), + ("punctuation.bracket".into(), rgba(0x87928aff).into()), + ("constant".into(), rgba(0x479962ff).into()), + ("link_text".into(), rgba(0x9f703bff).into()), + ("number".into(), rgba(0x9f703bff).into()), + ("function".into(), rgba(0x468b8fff).into()), + ("variable".into(), rgba(0xdfe7e2ff).into()), + ("emphasis".into(), rgba(0x468b8fff).into()), + ("punctuation.special".into(), rgba(0x857368ff).into()), + ("constructor".into(), rgba(0x468b8fff).into()), + ("variable.special".into(), rgba(0x55859bff).into()), + ("operator".into(), rgba(0x87928aff).into()), + ("enum".into(), rgba(0x9f703bff).into()), + ("string.regex".into(), rgba(0x1b9aa0ff).into()), + ("attribute".into(), rgba(0x468b8fff).into()), + ("predictive".into(), rgba(0x506d66ff).into()), + ("string".into(), rgba(0x479962ff).into()), + ("embedded".into(), rgba(0xecf4eeff).into()), + ("variant".into(), rgba(0xa07d3aff).into()), + ( + "function.special.definition".into(), + rgba(0xa07d3aff).into(), + ), + ], + }, + status_bar: rgba(0x353f39ff).into(), + title_bar: rgba(0x353f39ff).into(), + toolbar: rgba(0x171c19ff).into(), + tab_bar: rgba(0x1f2621ff).into(), + editor: rgba(0x171c19ff).into(), + editor_subheader: rgba(0x1f2621ff).into(), + editor_active_line: rgba(0x1f2621ff).into(), + terminal: rgba(0x171c19ff).into(), + image_fallback_background: rgba(0x353f39ff).into(), + git_created: rgba(0x479962ff).into(), + git_modified: rgba(0x468b8fff).into(), + git_deleted: rgba(0xb16038ff).into(), + git_conflict: rgba(0xa07d3aff).into(), + git_ignored: rgba(0x6f7e74ff).into(), + git_renamed: rgba(0xa07d3aff).into(), + players: [ + PlayerTheme { + cursor: rgba(0x468b8fff).into(), + selection: rgba(0x468b8f3d).into(), + }, + PlayerTheme { + cursor: rgba(0x479962ff).into(), + selection: rgba(0x4799623d).into(), + }, + PlayerTheme { + cursor: rgba(0x857368ff).into(), + selection: rgba(0x8573683d).into(), + }, + PlayerTheme { + cursor: rgba(0x9f703bff).into(), + selection: rgba(0x9f703b3d).into(), + }, + PlayerTheme { + cursor: rgba(0x55859bff).into(), + selection: rgba(0x55859b3d).into(), + }, + PlayerTheme { + cursor: rgba(0x1d9aa0ff).into(), + selection: rgba(0x1d9aa03d).into(), + }, + PlayerTheme { + cursor: rgba(0xb16038ff).into(), + selection: rgba(0xb160383d).into(), + }, + PlayerTheme { + cursor: rgba(0xa07d3aff).into(), + selection: rgba(0xa07d3a3d).into(), + }, + ], + } +} diff --git a/crates/theme2/src/themes/atelier_savanna_light.rs b/crates/theme2/src/themes/atelier_savanna_light.rs new file mode 100644 index 0000000000000000000000000000000000000000..32df2e1691f8bff12c9dfeff933c455470f88326 --- /dev/null +++ b/crates/theme2/src/themes/atelier_savanna_light.rs @@ -0,0 +1,137 @@ + +use gpui2::rgba; + +use crate::{PlayerTheme, SyntaxTheme, Theme, ThemeMetadata}; + +pub fn atelier_savanna_light() -> Theme { + Theme { + metadata: ThemeMetadata { + name: "Atelier Savanna Light".into(), + is_light: true, + }, + transparent: rgba(0x00000000).into(), + mac_os_traffic_light_red: rgba(0xec695eff).into(), + mac_os_traffic_light_yellow: rgba(0xf4bf4eff).into(), + mac_os_traffic_light_green: rgba(0x61c553ff).into(), + border: rgba(0x8b968eff).into(), + border_variant: rgba(0x8b968eff).into(), + border_focused: rgba(0xbed4d6ff).into(), + border_transparent: rgba(0x00000000).into(), + elevated_surface: rgba(0xbcc5bfff).into(), + surface: rgba(0xe3ebe6ff).into(), + background: rgba(0xbcc5bfff).into(), + filled_element: rgba(0xbcc5bfff).into(), + filled_element_hover: rgba(0xffffff1e).into(), + filled_element_active: rgba(0xffffff28).into(), + filled_element_selected: rgba(0xdae7e8ff).into(), + filled_element_disabled: rgba(0x00000000).into(), + ghost_element: rgba(0x00000000).into(), + ghost_element_hover: rgba(0xffffff14).into(), + ghost_element_active: rgba(0xffffff1e).into(), + ghost_element_selected: rgba(0xdae7e8ff).into(), + ghost_element_disabled: rgba(0x00000000).into(), + text: rgba(0x171c19ff).into(), + text_muted: rgba(0x546259ff).into(), + text_placeholder: rgba(0xb16139ff).into(), + text_disabled: rgba(0x68766dff).into(), + text_accent: rgba(0x488b90ff).into(), + icon_muted: rgba(0x546259ff).into(), + syntax: SyntaxTheme { + highlights: vec![ + ("text.literal".into(), rgba(0x9f713cff).into()), + ("string".into(), rgba(0x479962ff).into()), + ("punctuation.special".into(), rgba(0x857368ff).into()), + ("type".into(), rgba(0xa07d3aff).into()), + ("enum".into(), rgba(0x9f713cff).into()), + ("title".into(), rgba(0x171c19ff).into()), + ("comment".into(), rgba(0x77877cff).into()), + ("predictive".into(), rgba(0x75958bff).into()), + ("punctuation.list_marker".into(), rgba(0x232a25ff).into()), + ("string.special.symbol".into(), rgba(0x479962ff).into()), + ("constructor".into(), rgba(0x488b90ff).into()), + ("variable".into(), rgba(0x232a25ff).into()), + ("label".into(), rgba(0x488b90ff).into()), + ("attribute".into(), rgba(0x488b90ff).into()), + ("constant".into(), rgba(0x499963ff).into()), + ("function".into(), rgba(0x468b8fff).into()), + ("variable.special".into(), rgba(0x55859bff).into()), + ("keyword".into(), rgba(0x55859bff).into()), + ("number".into(), rgba(0x9f703bff).into()), + ("boolean".into(), rgba(0x499963ff).into()), + ("embedded".into(), rgba(0x171c19ff).into()), + ("string.special".into(), rgba(0x857368ff).into()), + ("emphasis.strong".into(), rgba(0x488b90ff).into()), + ("string.regex".into(), rgba(0x1b9aa0ff).into()), + ("hint".into(), rgba(0x66847cff).into()), + ("preproc".into(), rgba(0x171c19ff).into()), + ("link_uri".into(), rgba(0x499963ff).into()), + ("variant".into(), rgba(0xa07d3aff).into()), + ("function.method".into(), rgba(0x468b8fff).into()), + ("punctuation.bracket".into(), rgba(0x526057ff).into()), + ("punctuation.delimiter".into(), rgba(0x526057ff).into()), + ("punctuation".into(), rgba(0x232a25ff).into()), + ("primary".into(), rgba(0x232a25ff).into()), + ("string.escape".into(), rgba(0x526057ff).into()), + ("property".into(), rgba(0xb16038ff).into()), + ("operator".into(), rgba(0x526057ff).into()), + ("comment.doc".into(), rgba(0x526057ff).into()), + ( + "function.special.definition".into(), + rgba(0xa07d3aff).into(), + ), + ("link_text".into(), rgba(0x9f713cff).into()), + ("tag".into(), rgba(0x488b90ff).into()), + ("emphasis".into(), rgba(0x488b90ff).into()), + ], + }, + status_bar: rgba(0xbcc5bfff).into(), + title_bar: rgba(0xbcc5bfff).into(), + toolbar: rgba(0xecf4eeff).into(), + tab_bar: rgba(0xe3ebe6ff).into(), + editor: rgba(0xecf4eeff).into(), + editor_subheader: rgba(0xe3ebe6ff).into(), + editor_active_line: rgba(0xe3ebe6ff).into(), + terminal: rgba(0xecf4eeff).into(), + image_fallback_background: rgba(0xbcc5bfff).into(), + git_created: rgba(0x499963ff).into(), + git_modified: rgba(0x488b90ff).into(), + git_deleted: rgba(0xb16139ff).into(), + git_conflict: rgba(0xa07d3bff).into(), + git_ignored: rgba(0x68766dff).into(), + git_renamed: rgba(0xa07d3bff).into(), + players: [ + PlayerTheme { + cursor: rgba(0x488b90ff).into(), + selection: rgba(0x488b903d).into(), + }, + PlayerTheme { + cursor: rgba(0x499963ff).into(), + selection: rgba(0x4999633d).into(), + }, + PlayerTheme { + cursor: rgba(0x857368ff).into(), + selection: rgba(0x8573683d).into(), + }, + PlayerTheme { + cursor: rgba(0x9f713cff).into(), + selection: rgba(0x9f713c3d).into(), + }, + PlayerTheme { + cursor: rgba(0x55859bff).into(), + selection: rgba(0x55859b3d).into(), + }, + PlayerTheme { + cursor: rgba(0x1e9aa0ff).into(), + selection: rgba(0x1e9aa03d).into(), + }, + PlayerTheme { + cursor: rgba(0xb16139ff).into(), + selection: rgba(0xb161393d).into(), + }, + PlayerTheme { + cursor: rgba(0xa07d3bff).into(), + selection: rgba(0xa07d3b3d).into(), + }, + ], + } +} diff --git a/crates/theme2/src/themes/atelier_seaside_dark.rs b/crates/theme2/src/themes/atelier_seaside_dark.rs new file mode 100644 index 0000000000000000000000000000000000000000..6597e31de6c3da713769a6797935c4fd51bed41e --- /dev/null +++ b/crates/theme2/src/themes/atelier_seaside_dark.rs @@ -0,0 +1,137 @@ + +use gpui2::rgba; + +use crate::{PlayerTheme, SyntaxTheme, Theme, ThemeMetadata}; + +pub fn atelier_seaside_dark() -> Theme { + Theme { + metadata: ThemeMetadata { + name: "Atelier Seaside Dark".into(), + is_light: false, + }, + transparent: rgba(0x00000000).into(), + mac_os_traffic_light_red: rgba(0xec695eff).into(), + mac_os_traffic_light_yellow: rgba(0xf4bf4eff).into(), + mac_os_traffic_light_green: rgba(0x61c553ff).into(), + border: rgba(0x5c6c5cff).into(), + border_variant: rgba(0x5c6c5cff).into(), + border_focused: rgba(0x102667ff).into(), + border_transparent: rgba(0x00000000).into(), + elevated_surface: rgba(0x3b453bff).into(), + surface: rgba(0x1f231fff).into(), + background: rgba(0x3b453bff).into(), + filled_element: rgba(0x3b453bff).into(), + filled_element_hover: rgba(0xffffff1e).into(), + filled_element_active: rgba(0xffffff28).into(), + filled_element_selected: rgba(0x051949ff).into(), + filled_element_disabled: rgba(0x00000000).into(), + ghost_element: rgba(0x00000000).into(), + ghost_element_hover: rgba(0xffffff14).into(), + ghost_element_active: rgba(0xffffff1e).into(), + ghost_element_selected: rgba(0x051949ff).into(), + ghost_element_disabled: rgba(0x00000000).into(), + text: rgba(0xf3faf3ff).into(), + text_muted: rgba(0x8ba48bff).into(), + text_placeholder: rgba(0xe61c3bff).into(), + text_disabled: rgba(0x778f77ff).into(), + text_accent: rgba(0x3e62f4ff).into(), + icon_muted: rgba(0x8ba48bff).into(), + syntax: SyntaxTheme { + highlights: vec![ + ("comment".into(), rgba(0x687d68ff).into()), + ("predictive".into(), rgba(0x00788bff).into()), + ("string.special".into(), rgba(0xe618c3ff).into()), + ("string.regex".into(), rgba(0x1899b3ff).into()), + ("boolean".into(), rgba(0x2aa329ff).into()), + ("string".into(), rgba(0x28a328ff).into()), + ("operator".into(), rgba(0x8ca68cff).into()), + ("primary".into(), rgba(0xcfe8cfff).into()), + ("number".into(), rgba(0x87711cff).into()), + ("punctuation.special".into(), rgba(0xe618c3ff).into()), + ("link_text".into(), rgba(0x87711dff).into()), + ("title".into(), rgba(0xf3faf3ff).into()), + ("comment.doc".into(), rgba(0x8ca68cff).into()), + ("label".into(), rgba(0x3e62f4ff).into()), + ("preproc".into(), rgba(0xf3faf3ff).into()), + ("punctuation.bracket".into(), rgba(0x8ca68cff).into()), + ("punctuation.delimiter".into(), rgba(0x8ca68cff).into()), + ("function.method".into(), rgba(0x3d62f5ff).into()), + ("tag".into(), rgba(0x3e62f4ff).into()), + ("embedded".into(), rgba(0xf3faf3ff).into()), + ("text.literal".into(), rgba(0x87711dff).into()), + ("punctuation".into(), rgba(0xcfe8cfff).into()), + ("string.special.symbol".into(), rgba(0x28a328ff).into()), + ("link_uri".into(), rgba(0x2aa329ff).into()), + ("keyword".into(), rgba(0xac2aeeff).into()), + ("function".into(), rgba(0x3d62f5ff).into()), + ("string.escape".into(), rgba(0x8ca68cff).into()), + ("variant".into(), rgba(0x98981bff).into()), + ( + "function.special.definition".into(), + rgba(0x98981bff).into(), + ), + ("constructor".into(), rgba(0x3e62f4ff).into()), + ("constant".into(), rgba(0x2aa329ff).into()), + ("hint".into(), rgba(0x008b9fff).into()), + ("type".into(), rgba(0x98981bff).into()), + ("emphasis".into(), rgba(0x3e62f4ff).into()), + ("variable".into(), rgba(0xcfe8cfff).into()), + ("emphasis.strong".into(), rgba(0x3e62f4ff).into()), + ("attribute".into(), rgba(0x3e62f4ff).into()), + ("enum".into(), rgba(0x87711dff).into()), + ("property".into(), rgba(0xe6183bff).into()), + ("punctuation.list_marker".into(), rgba(0xcfe8cfff).into()), + ("variable.special".into(), rgba(0xac2aeeff).into()), + ], + }, + status_bar: rgba(0x3b453bff).into(), + title_bar: rgba(0x3b453bff).into(), + toolbar: rgba(0x131513ff).into(), + tab_bar: rgba(0x1f231fff).into(), + editor: rgba(0x131513ff).into(), + editor_subheader: rgba(0x1f231fff).into(), + editor_active_line: rgba(0x1f231fff).into(), + terminal: rgba(0x131513ff).into(), + image_fallback_background: rgba(0x3b453bff).into(), + git_created: rgba(0x2aa329ff).into(), + git_modified: rgba(0x3e62f4ff).into(), + git_deleted: rgba(0xe61c3bff).into(), + git_conflict: rgba(0x98981bff).into(), + git_ignored: rgba(0x778f77ff).into(), + git_renamed: rgba(0x98981bff).into(), + players: [ + PlayerTheme { + cursor: rgba(0x3e62f4ff).into(), + selection: rgba(0x3e62f43d).into(), + }, + PlayerTheme { + cursor: rgba(0x2aa329ff).into(), + selection: rgba(0x2aa3293d).into(), + }, + PlayerTheme { + cursor: rgba(0xe61cc3ff).into(), + selection: rgba(0xe61cc33d).into(), + }, + PlayerTheme { + cursor: rgba(0x87711dff).into(), + selection: rgba(0x87711d3d).into(), + }, + PlayerTheme { + cursor: rgba(0xac2dedff).into(), + selection: rgba(0xac2ded3d).into(), + }, + PlayerTheme { + cursor: rgba(0x1b99b3ff).into(), + selection: rgba(0x1b99b33d).into(), + }, + PlayerTheme { + cursor: rgba(0xe61c3bff).into(), + selection: rgba(0xe61c3b3d).into(), + }, + PlayerTheme { + cursor: rgba(0x98981bff).into(), + selection: rgba(0x98981b3d).into(), + }, + ], + } +} diff --git a/crates/theme2/src/themes/atelier_seaside_light.rs b/crates/theme2/src/themes/atelier_seaside_light.rs new file mode 100644 index 0000000000000000000000000000000000000000..a515bb4a7176a50441f966c553ddce6b05605a99 --- /dev/null +++ b/crates/theme2/src/themes/atelier_seaside_light.rs @@ -0,0 +1,137 @@ + +use gpui2::rgba; + +use crate::{PlayerTheme, SyntaxTheme, Theme, ThemeMetadata}; + +pub fn atelier_seaside_light() -> Theme { + Theme { + metadata: ThemeMetadata { + name: "Atelier Seaside Light".into(), + is_light: true, + }, + transparent: rgba(0x00000000).into(), + mac_os_traffic_light_red: rgba(0xec695eff).into(), + mac_os_traffic_light_yellow: rgba(0xf4bf4eff).into(), + mac_os_traffic_light_green: rgba(0x61c553ff).into(), + border: rgba(0x8ea88eff).into(), + border_variant: rgba(0x8ea88eff).into(), + border_focused: rgba(0xc9c4fdff).into(), + border_transparent: rgba(0x00000000).into(), + elevated_surface: rgba(0xb4ceb4ff).into(), + surface: rgba(0xdaeedaff).into(), + background: rgba(0xb4ceb4ff).into(), + filled_element: rgba(0xb4ceb4ff).into(), + filled_element_hover: rgba(0xffffff1e).into(), + filled_element_active: rgba(0xffffff28).into(), + filled_element_selected: rgba(0xe1ddfeff).into(), + filled_element_disabled: rgba(0x00000000).into(), + ghost_element: rgba(0x00000000).into(), + ghost_element_hover: rgba(0xffffff14).into(), + ghost_element_active: rgba(0xffffff1e).into(), + ghost_element_selected: rgba(0xe1ddfeff).into(), + ghost_element_disabled: rgba(0x00000000).into(), + text: rgba(0x131513ff).into(), + text_muted: rgba(0x5f705fff).into(), + text_placeholder: rgba(0xe61c3dff).into(), + text_disabled: rgba(0x718771ff).into(), + text_accent: rgba(0x3e61f4ff).into(), + icon_muted: rgba(0x5f705fff).into(), + syntax: SyntaxTheme { + highlights: vec![ + ("string.escape".into(), rgba(0x5e6e5eff).into()), + ("boolean".into(), rgba(0x2aa32aff).into()), + ("string.special".into(), rgba(0xe618c3ff).into()), + ("comment".into(), rgba(0x809980ff).into()), + ("number".into(), rgba(0x87711cff).into()), + ("comment.doc".into(), rgba(0x5e6e5eff).into()), + ("tag".into(), rgba(0x3e61f4ff).into()), + ("string.special.symbol".into(), rgba(0x28a328ff).into()), + ("primary".into(), rgba(0x242924ff).into()), + ("string".into(), rgba(0x28a328ff).into()), + ("enum".into(), rgba(0x87711fff).into()), + ("operator".into(), rgba(0x5e6e5eff).into()), + ("string.regex".into(), rgba(0x1899b3ff).into()), + ("keyword".into(), rgba(0xac2aeeff).into()), + ("emphasis".into(), rgba(0x3e61f4ff).into()), + ("link_uri".into(), rgba(0x2aa32aff).into()), + ("constant".into(), rgba(0x2aa32aff).into()), + ("constructor".into(), rgba(0x3e61f4ff).into()), + ("link_text".into(), rgba(0x87711fff).into()), + ("emphasis.strong".into(), rgba(0x3e61f4ff).into()), + ("punctuation.list_marker".into(), rgba(0x242924ff).into()), + ("punctuation.delimiter".into(), rgba(0x5e6e5eff).into()), + ("punctuation.special".into(), rgba(0xe618c3ff).into()), + ("variant".into(), rgba(0x98981bff).into()), + ("predictive".into(), rgba(0x00a2b5ff).into()), + ("attribute".into(), rgba(0x3e61f4ff).into()), + ("preproc".into(), rgba(0x131513ff).into()), + ("embedded".into(), rgba(0x131513ff).into()), + ("punctuation".into(), rgba(0x242924ff).into()), + ("label".into(), rgba(0x3e61f4ff).into()), + ("function.method".into(), rgba(0x3d62f5ff).into()), + ("property".into(), rgba(0xe6183bff).into()), + ("title".into(), rgba(0x131513ff).into()), + ("variable".into(), rgba(0x242924ff).into()), + ("function".into(), rgba(0x3d62f5ff).into()), + ("variable.special".into(), rgba(0xac2aeeff).into()), + ("type".into(), rgba(0x98981bff).into()), + ("text.literal".into(), rgba(0x87711fff).into()), + ("hint".into(), rgba(0x008fa1ff).into()), + ( + "function.special.definition".into(), + rgba(0x98981bff).into(), + ), + ("punctuation.bracket".into(), rgba(0x5e6e5eff).into()), + ], + }, + status_bar: rgba(0xb4ceb4ff).into(), + title_bar: rgba(0xb4ceb4ff).into(), + toolbar: rgba(0xf3faf3ff).into(), + tab_bar: rgba(0xdaeedaff).into(), + editor: rgba(0xf3faf3ff).into(), + editor_subheader: rgba(0xdaeedaff).into(), + editor_active_line: rgba(0xdaeedaff).into(), + terminal: rgba(0xf3faf3ff).into(), + image_fallback_background: rgba(0xb4ceb4ff).into(), + git_created: rgba(0x2aa32aff).into(), + git_modified: rgba(0x3e61f4ff).into(), + git_deleted: rgba(0xe61c3dff).into(), + git_conflict: rgba(0x98981cff).into(), + git_ignored: rgba(0x718771ff).into(), + git_renamed: rgba(0x98981cff).into(), + players: [ + PlayerTheme { + cursor: rgba(0x3e61f4ff).into(), + selection: rgba(0x3e61f43d).into(), + }, + PlayerTheme { + cursor: rgba(0x2aa32aff).into(), + selection: rgba(0x2aa32a3d).into(), + }, + PlayerTheme { + cursor: rgba(0xe61cc2ff).into(), + selection: rgba(0xe61cc23d).into(), + }, + PlayerTheme { + cursor: rgba(0x87711fff).into(), + selection: rgba(0x87711f3d).into(), + }, + PlayerTheme { + cursor: rgba(0xac2dedff).into(), + selection: rgba(0xac2ded3d).into(), + }, + PlayerTheme { + cursor: rgba(0x1c99b3ff).into(), + selection: rgba(0x1c99b33d).into(), + }, + PlayerTheme { + cursor: rgba(0xe61c3dff).into(), + selection: rgba(0xe61c3d3d).into(), + }, + PlayerTheme { + cursor: rgba(0x98981cff).into(), + selection: rgba(0x98981c3d).into(), + }, + ], + } +} diff --git a/crates/theme2/src/themes/atelier_sulphurpool_dark.rs b/crates/theme2/src/themes/atelier_sulphurpool_dark.rs new file mode 100644 index 0000000000000000000000000000000000000000..0c01560f22a29741e3d20e2b5f69869b2af4449b --- /dev/null +++ b/crates/theme2/src/themes/atelier_sulphurpool_dark.rs @@ -0,0 +1,137 @@ + +use gpui2::rgba; + +use crate::{PlayerTheme, SyntaxTheme, Theme, ThemeMetadata}; + +pub fn atelier_sulphurpool_dark() -> Theme { + Theme { + metadata: ThemeMetadata { + name: "Atelier Sulphurpool Dark".into(), + is_light: false, + }, + transparent: rgba(0x00000000).into(), + mac_os_traffic_light_red: rgba(0xec695eff).into(), + mac_os_traffic_light_yellow: rgba(0xf4bf4eff).into(), + mac_os_traffic_light_green: rgba(0x61c553ff).into(), + border: rgba(0x5b6385ff).into(), + border_variant: rgba(0x5b6385ff).into(), + border_focused: rgba(0x203348ff).into(), + border_transparent: rgba(0x00000000).into(), + elevated_surface: rgba(0x3e4769ff).into(), + surface: rgba(0x262f51ff).into(), + background: rgba(0x3e4769ff).into(), + filled_element: rgba(0x3e4769ff).into(), + filled_element_hover: rgba(0xffffff1e).into(), + filled_element_active: rgba(0xffffff28).into(), + filled_element_selected: rgba(0x161f2bff).into(), + filled_element_disabled: rgba(0x00000000).into(), + ghost_element: rgba(0x00000000).into(), + ghost_element_hover: rgba(0xffffff14).into(), + ghost_element_active: rgba(0xffffff1e).into(), + ghost_element_selected: rgba(0x161f2bff).into(), + ghost_element_disabled: rgba(0x00000000).into(), + text: rgba(0xf5f7ffff).into(), + text_muted: rgba(0x959bb2ff).into(), + text_placeholder: rgba(0xc94922ff).into(), + text_disabled: rgba(0x7e849eff).into(), + text_accent: rgba(0x3e8ed0ff).into(), + icon_muted: rgba(0x959bb2ff).into(), + syntax: SyntaxTheme { + highlights: vec![ + ("title".into(), rgba(0xf5f7ffff).into()), + ("constructor".into(), rgba(0x3e8ed0ff).into()), + ("type".into(), rgba(0xc08b2fff).into()), + ("punctuation.list_marker".into(), rgba(0xdfe2f1ff).into()), + ("property".into(), rgba(0xc94821ff).into()), + ("link_uri".into(), rgba(0xac9739ff).into()), + ("string.escape".into(), rgba(0x979db4ff).into()), + ("constant".into(), rgba(0xac9739ff).into()), + ("embedded".into(), rgba(0xf5f7ffff).into()), + ("punctuation.special".into(), rgba(0x9b6279ff).into()), + ("punctuation.bracket".into(), rgba(0x979db4ff).into()), + ("preproc".into(), rgba(0xf5f7ffff).into()), + ("emphasis.strong".into(), rgba(0x3e8ed0ff).into()), + ("emphasis".into(), rgba(0x3e8ed0ff).into()), + ("enum".into(), rgba(0xc76a29ff).into()), + ("boolean".into(), rgba(0xac9739ff).into()), + ("primary".into(), rgba(0xdfe2f1ff).into()), + ("function.method".into(), rgba(0x3d8fd1ff).into()), + ( + "function.special.definition".into(), + rgba(0xc08b2fff).into(), + ), + ("comment.doc".into(), rgba(0x979db4ff).into()), + ("string".into(), rgba(0xac9738ff).into()), + ("text.literal".into(), rgba(0xc76a29ff).into()), + ("operator".into(), rgba(0x979db4ff).into()), + ("number".into(), rgba(0xc76a28ff).into()), + ("string.special".into(), rgba(0x9b6279ff).into()), + ("punctuation.delimiter".into(), rgba(0x979db4ff).into()), + ("tag".into(), rgba(0x3e8ed0ff).into()), + ("string.special.symbol".into(), rgba(0xac9738ff).into()), + ("variable".into(), rgba(0xdfe2f1ff).into()), + ("attribute".into(), rgba(0x3e8ed0ff).into()), + ("punctuation".into(), rgba(0xdfe2f1ff).into()), + ("string.regex".into(), rgba(0x21a2c9ff).into()), + ("keyword".into(), rgba(0x6679ccff).into()), + ("label".into(), rgba(0x3e8ed0ff).into()), + ("hint".into(), rgba(0x6c81a5ff).into()), + ("function".into(), rgba(0x3d8fd1ff).into()), + ("link_text".into(), rgba(0xc76a29ff).into()), + ("variant".into(), rgba(0xc08b2fff).into()), + ("variable.special".into(), rgba(0x6679ccff).into()), + ("predictive".into(), rgba(0x58709aff).into()), + ("comment".into(), rgba(0x6a7293ff).into()), + ], + }, + status_bar: rgba(0x3e4769ff).into(), + title_bar: rgba(0x3e4769ff).into(), + toolbar: rgba(0x202646ff).into(), + tab_bar: rgba(0x262f51ff).into(), + editor: rgba(0x202646ff).into(), + editor_subheader: rgba(0x262f51ff).into(), + editor_active_line: rgba(0x262f51ff).into(), + terminal: rgba(0x202646ff).into(), + image_fallback_background: rgba(0x3e4769ff).into(), + git_created: rgba(0xac9739ff).into(), + git_modified: rgba(0x3e8ed0ff).into(), + git_deleted: rgba(0xc94922ff).into(), + git_conflict: rgba(0xc08b30ff).into(), + git_ignored: rgba(0x7e849eff).into(), + git_renamed: rgba(0xc08b30ff).into(), + players: [ + PlayerTheme { + cursor: rgba(0x3e8ed0ff).into(), + selection: rgba(0x3e8ed03d).into(), + }, + PlayerTheme { + cursor: rgba(0xac9739ff).into(), + selection: rgba(0xac97393d).into(), + }, + PlayerTheme { + cursor: rgba(0x9b6279ff).into(), + selection: rgba(0x9b62793d).into(), + }, + PlayerTheme { + cursor: rgba(0xc76a29ff).into(), + selection: rgba(0xc76a293d).into(), + }, + PlayerTheme { + cursor: rgba(0x6679ccff).into(), + selection: rgba(0x6679cc3d).into(), + }, + PlayerTheme { + cursor: rgba(0x24a1c9ff).into(), + selection: rgba(0x24a1c93d).into(), + }, + PlayerTheme { + cursor: rgba(0xc94922ff).into(), + selection: rgba(0xc949223d).into(), + }, + PlayerTheme { + cursor: rgba(0xc08b30ff).into(), + selection: rgba(0xc08b303d).into(), + }, + ], + } +} diff --git a/crates/theme2/src/themes/atelier_sulphurpool_light.rs b/crates/theme2/src/themes/atelier_sulphurpool_light.rs new file mode 100644 index 0000000000000000000000000000000000000000..16b491b6ba50f9b5981a330e6e3c4f27989cc454 --- /dev/null +++ b/crates/theme2/src/themes/atelier_sulphurpool_light.rs @@ -0,0 +1,137 @@ + +use gpui2::rgba; + +use crate::{PlayerTheme, SyntaxTheme, Theme, ThemeMetadata}; + +pub fn atelier_sulphurpool_light() -> Theme { + Theme { + metadata: ThemeMetadata { + name: "Atelier Sulphurpool Light".into(), + is_light: true, + }, + transparent: rgba(0x00000000).into(), + mac_os_traffic_light_red: rgba(0xec695eff).into(), + mac_os_traffic_light_yellow: rgba(0xf4bf4eff).into(), + mac_os_traffic_light_green: rgba(0x61c553ff).into(), + border: rgba(0x9a9fb6ff).into(), + border_variant: rgba(0x9a9fb6ff).into(), + border_focused: rgba(0xc2d5efff).into(), + border_transparent: rgba(0x00000000).into(), + elevated_surface: rgba(0xc1c5d8ff).into(), + surface: rgba(0xe5e8f5ff).into(), + background: rgba(0xc1c5d8ff).into(), + filled_element: rgba(0xc1c5d8ff).into(), + filled_element_hover: rgba(0xffffff1e).into(), + filled_element_active: rgba(0xffffff28).into(), + filled_element_selected: rgba(0xdde7f6ff).into(), + filled_element_disabled: rgba(0x00000000).into(), + ghost_element: rgba(0x00000000).into(), + ghost_element_hover: rgba(0xffffff14).into(), + ghost_element_active: rgba(0xffffff1e).into(), + ghost_element_selected: rgba(0xdde7f6ff).into(), + ghost_element_disabled: rgba(0x00000000).into(), + text: rgba(0x202646ff).into(), + text_muted: rgba(0x5f6789ff).into(), + text_placeholder: rgba(0xc94922ff).into(), + text_disabled: rgba(0x767d9aff).into(), + text_accent: rgba(0x3e8fd0ff).into(), + icon_muted: rgba(0x5f6789ff).into(), + syntax: SyntaxTheme { + highlights: vec![ + ("string.special".into(), rgba(0x9b6279ff).into()), + ("string.regex".into(), rgba(0x21a2c9ff).into()), + ("embedded".into(), rgba(0x202646ff).into()), + ("string".into(), rgba(0xac9738ff).into()), + ( + "function.special.definition".into(), + rgba(0xc08b2fff).into(), + ), + ("hint".into(), rgba(0x7087b2ff).into()), + ("function.method".into(), rgba(0x3d8fd1ff).into()), + ("punctuation.list_marker".into(), rgba(0x293256ff).into()), + ("punctuation".into(), rgba(0x293256ff).into()), + ("constant".into(), rgba(0xac9739ff).into()), + ("label".into(), rgba(0x3e8fd0ff).into()), + ("comment.doc".into(), rgba(0x5d6587ff).into()), + ("property".into(), rgba(0xc94821ff).into()), + ("punctuation.bracket".into(), rgba(0x5d6587ff).into()), + ("constructor".into(), rgba(0x3e8fd0ff).into()), + ("variable.special".into(), rgba(0x6679ccff).into()), + ("emphasis".into(), rgba(0x3e8fd0ff).into()), + ("link_text".into(), rgba(0xc76a29ff).into()), + ("keyword".into(), rgba(0x6679ccff).into()), + ("primary".into(), rgba(0x293256ff).into()), + ("comment".into(), rgba(0x898ea4ff).into()), + ("title".into(), rgba(0x202646ff).into()), + ("link_uri".into(), rgba(0xac9739ff).into()), + ("text.literal".into(), rgba(0xc76a29ff).into()), + ("operator".into(), rgba(0x5d6587ff).into()), + ("number".into(), rgba(0xc76a28ff).into()), + ("preproc".into(), rgba(0x202646ff).into()), + ("attribute".into(), rgba(0x3e8fd0ff).into()), + ("emphasis.strong".into(), rgba(0x3e8fd0ff).into()), + ("string.escape".into(), rgba(0x5d6587ff).into()), + ("tag".into(), rgba(0x3e8fd0ff).into()), + ("variable".into(), rgba(0x293256ff).into()), + ("predictive".into(), rgba(0x8599beff).into()), + ("enum".into(), rgba(0xc76a29ff).into()), + ("string.special.symbol".into(), rgba(0xac9738ff).into()), + ("punctuation.delimiter".into(), rgba(0x5d6587ff).into()), + ("function".into(), rgba(0x3d8fd1ff).into()), + ("type".into(), rgba(0xc08b2fff).into()), + ("punctuation.special".into(), rgba(0x9b6279ff).into()), + ("variant".into(), rgba(0xc08b2fff).into()), + ("boolean".into(), rgba(0xac9739ff).into()), + ], + }, + status_bar: rgba(0xc1c5d8ff).into(), + title_bar: rgba(0xc1c5d8ff).into(), + toolbar: rgba(0xf5f7ffff).into(), + tab_bar: rgba(0xe5e8f5ff).into(), + editor: rgba(0xf5f7ffff).into(), + editor_subheader: rgba(0xe5e8f5ff).into(), + editor_active_line: rgba(0xe5e8f5ff).into(), + terminal: rgba(0xf5f7ffff).into(), + image_fallback_background: rgba(0xc1c5d8ff).into(), + git_created: rgba(0xac9739ff).into(), + git_modified: rgba(0x3e8fd0ff).into(), + git_deleted: rgba(0xc94922ff).into(), + git_conflict: rgba(0xc08b30ff).into(), + git_ignored: rgba(0x767d9aff).into(), + git_renamed: rgba(0xc08b30ff).into(), + players: [ + PlayerTheme { + cursor: rgba(0x3e8fd0ff).into(), + selection: rgba(0x3e8fd03d).into(), + }, + PlayerTheme { + cursor: rgba(0xac9739ff).into(), + selection: rgba(0xac97393d).into(), + }, + PlayerTheme { + cursor: rgba(0x9b6279ff).into(), + selection: rgba(0x9b62793d).into(), + }, + PlayerTheme { + cursor: rgba(0xc76a29ff).into(), + selection: rgba(0xc76a293d).into(), + }, + PlayerTheme { + cursor: rgba(0x6679cbff).into(), + selection: rgba(0x6679cb3d).into(), + }, + PlayerTheme { + cursor: rgba(0x24a1c9ff).into(), + selection: rgba(0x24a1c93d).into(), + }, + PlayerTheme { + cursor: rgba(0xc94922ff).into(), + selection: rgba(0xc949223d).into(), + }, + PlayerTheme { + cursor: rgba(0xc08b30ff).into(), + selection: rgba(0xc08b303d).into(), + }, + ], + } +} diff --git a/crates/theme2/src/themes/ayu_dark.rs b/crates/theme2/src/themes/ayu_dark.rs new file mode 100644 index 0000000000000000000000000000000000000000..88f3f93576963792387ef84c2d5dc02349370d2a --- /dev/null +++ b/crates/theme2/src/themes/ayu_dark.rs @@ -0,0 +1,131 @@ + +use gpui2::rgba; + +use crate::{PlayerTheme, SyntaxTheme, Theme, ThemeMetadata}; + +pub fn ayu_dark() -> Theme { + Theme { + metadata: ThemeMetadata { + name: "Ayu Dark".into(), + is_light: false, + }, + transparent: rgba(0x00000000).into(), + mac_os_traffic_light_red: rgba(0xec695eff).into(), + mac_os_traffic_light_yellow: rgba(0xf4bf4eff).into(), + mac_os_traffic_light_green: rgba(0x61c553ff).into(), + border: rgba(0x3f4043ff).into(), + border_variant: rgba(0x3f4043ff).into(), + border_focused: rgba(0x1b4a6eff).into(), + border_transparent: rgba(0x00000000).into(), + elevated_surface: rgba(0x313337ff).into(), + surface: rgba(0x1f2127ff).into(), + background: rgba(0x313337ff).into(), + filled_element: rgba(0x313337ff).into(), + filled_element_hover: rgba(0xffffff1e).into(), + filled_element_active: rgba(0xffffff28).into(), + filled_element_selected: rgba(0x0d2f4eff).into(), + filled_element_disabled: rgba(0x00000000).into(), + ghost_element: rgba(0x00000000).into(), + ghost_element_hover: rgba(0xffffff14).into(), + ghost_element_active: rgba(0xffffff1e).into(), + ghost_element_selected: rgba(0x0d2f4eff).into(), + ghost_element_disabled: rgba(0x00000000).into(), + text: rgba(0xbfbdb6ff).into(), + text_muted: rgba(0x8a8986ff).into(), + text_placeholder: rgba(0xef7177ff).into(), + text_disabled: rgba(0x696a6aff).into(), + text_accent: rgba(0x5ac1feff).into(), + icon_muted: rgba(0x8a8986ff).into(), + syntax: SyntaxTheme { + highlights: vec![ + ("emphasis".into(), rgba(0x5ac1feff).into()), + ("punctuation.bracket".into(), rgba(0xa6a5a0ff).into()), + ("constructor".into(), rgba(0x5ac1feff).into()), + ("predictive".into(), rgba(0x5a728bff).into()), + ("emphasis.strong".into(), rgba(0x5ac1feff).into()), + ("string.regex".into(), rgba(0x95e6cbff).into()), + ("tag".into(), rgba(0x5ac1feff).into()), + ("punctuation".into(), rgba(0xa6a5a0ff).into()), + ("number".into(), rgba(0xd2a6ffff).into()), + ("punctuation.special".into(), rgba(0xd2a6ffff).into()), + ("primary".into(), rgba(0xbfbdb6ff).into()), + ("boolean".into(), rgba(0xd2a6ffff).into()), + ("variant".into(), rgba(0x5ac1feff).into()), + ("link_uri".into(), rgba(0xaad84cff).into()), + ("comment.doc".into(), rgba(0x8c8b88ff).into()), + ("title".into(), rgba(0xbfbdb6ff).into()), + ("text.literal".into(), rgba(0xfe8f40ff).into()), + ("link_text".into(), rgba(0xfe8f40ff).into()), + ("punctuation.delimiter".into(), rgba(0xa6a5a0ff).into()), + ("string.escape".into(), rgba(0x8c8b88ff).into()), + ("hint".into(), rgba(0x628b80ff).into()), + ("type".into(), rgba(0x59c2ffff).into()), + ("variable".into(), rgba(0xbfbdb6ff).into()), + ("label".into(), rgba(0x5ac1feff).into()), + ("enum".into(), rgba(0xfe8f40ff).into()), + ("operator".into(), rgba(0xf29668ff).into()), + ("function".into(), rgba(0xffb353ff).into()), + ("preproc".into(), rgba(0xbfbdb6ff).into()), + ("embedded".into(), rgba(0xbfbdb6ff).into()), + ("string".into(), rgba(0xa9d94bff).into()), + ("attribute".into(), rgba(0x5ac1feff).into()), + ("keyword".into(), rgba(0xff8f3fff).into()), + ("string.special.symbol".into(), rgba(0xfe8f40ff).into()), + ("comment".into(), rgba(0xabb5be8c).into()), + ("property".into(), rgba(0x5ac1feff).into()), + ("punctuation.list_marker".into(), rgba(0xa6a5a0ff).into()), + ("constant".into(), rgba(0xd2a6ffff).into()), + ("string.special".into(), rgba(0xe5b572ff).into()), + ], + }, + status_bar: rgba(0x313337ff).into(), + title_bar: rgba(0x313337ff).into(), + toolbar: rgba(0x0d1016ff).into(), + tab_bar: rgba(0x1f2127ff).into(), + editor: rgba(0x0d1016ff).into(), + editor_subheader: rgba(0x1f2127ff).into(), + editor_active_line: rgba(0x1f2127ff).into(), + terminal: rgba(0x0d1016ff).into(), + image_fallback_background: rgba(0x313337ff).into(), + git_created: rgba(0xaad84cff).into(), + git_modified: rgba(0x5ac1feff).into(), + git_deleted: rgba(0xef7177ff).into(), + git_conflict: rgba(0xfeb454ff).into(), + git_ignored: rgba(0x696a6aff).into(), + git_renamed: rgba(0xfeb454ff).into(), + players: [ + PlayerTheme { + cursor: rgba(0x5ac1feff).into(), + selection: rgba(0x5ac1fe3d).into(), + }, + PlayerTheme { + cursor: rgba(0xaad84cff).into(), + selection: rgba(0xaad84c3d).into(), + }, + PlayerTheme { + cursor: rgba(0x39bae5ff).into(), + selection: rgba(0x39bae53d).into(), + }, + PlayerTheme { + cursor: rgba(0xfe8f40ff).into(), + selection: rgba(0xfe8f403d).into(), + }, + PlayerTheme { + cursor: rgba(0xd2a6feff).into(), + selection: rgba(0xd2a6fe3d).into(), + }, + PlayerTheme { + cursor: rgba(0x95e5cbff).into(), + selection: rgba(0x95e5cb3d).into(), + }, + PlayerTheme { + cursor: rgba(0xef7177ff).into(), + selection: rgba(0xef71773d).into(), + }, + PlayerTheme { + cursor: rgba(0xfeb454ff).into(), + selection: rgba(0xfeb4543d).into(), + }, + ], + } +} diff --git a/crates/theme2/src/themes/ayu_light.rs b/crates/theme2/src/themes/ayu_light.rs new file mode 100644 index 0000000000000000000000000000000000000000..761eece82a58aa4d90cba400d1897089a31f0d48 --- /dev/null +++ b/crates/theme2/src/themes/ayu_light.rs @@ -0,0 +1,131 @@ + +use gpui2::rgba; + +use crate::{PlayerTheme, SyntaxTheme, Theme, ThemeMetadata}; + +pub fn ayu_light() -> Theme { + Theme { + metadata: ThemeMetadata { + name: "Ayu Light".into(), + is_light: true, + }, + transparent: rgba(0x00000000).into(), + mac_os_traffic_light_red: rgba(0xec695eff).into(), + mac_os_traffic_light_yellow: rgba(0xf4bf4eff).into(), + mac_os_traffic_light_green: rgba(0x61c553ff).into(), + border: rgba(0xcfd1d2ff).into(), + border_variant: rgba(0xcfd1d2ff).into(), + border_focused: rgba(0xc4daf6ff).into(), + border_transparent: rgba(0x00000000).into(), + elevated_surface: rgba(0xdcdddeff).into(), + surface: rgba(0xececedff).into(), + background: rgba(0xdcdddeff).into(), + filled_element: rgba(0xdcdddeff).into(), + filled_element_hover: rgba(0xffffff1e).into(), + filled_element_active: rgba(0xffffff28).into(), + filled_element_selected: rgba(0xdeebfaff).into(), + filled_element_disabled: rgba(0x00000000).into(), + ghost_element: rgba(0x00000000).into(), + ghost_element_hover: rgba(0xffffff14).into(), + ghost_element_active: rgba(0xffffff1e).into(), + ghost_element_selected: rgba(0xdeebfaff).into(), + ghost_element_disabled: rgba(0x00000000).into(), + text: rgba(0x5c6166ff).into(), + text_muted: rgba(0x8b8e92ff).into(), + text_placeholder: rgba(0xef7271ff).into(), + text_disabled: rgba(0xa9acaeff).into(), + text_accent: rgba(0x3b9ee5ff).into(), + icon_muted: rgba(0x8b8e92ff).into(), + syntax: SyntaxTheme { + highlights: vec![ + ("string".into(), rgba(0x86b300ff).into()), + ("enum".into(), rgba(0xf98d3fff).into()), + ("comment".into(), rgba(0x787b8099).into()), + ("comment.doc".into(), rgba(0x898d90ff).into()), + ("emphasis".into(), rgba(0x3b9ee5ff).into()), + ("keyword".into(), rgba(0xfa8d3eff).into()), + ("string.regex".into(), rgba(0x4bbf98ff).into()), + ("text.literal".into(), rgba(0xf98d3fff).into()), + ("string.escape".into(), rgba(0x898d90ff).into()), + ("link_text".into(), rgba(0xf98d3fff).into()), + ("punctuation".into(), rgba(0x73777bff).into()), + ("constructor".into(), rgba(0x3b9ee5ff).into()), + ("constant".into(), rgba(0xa37accff).into()), + ("variable".into(), rgba(0x5c6166ff).into()), + ("primary".into(), rgba(0x5c6166ff).into()), + ("emphasis.strong".into(), rgba(0x3b9ee5ff).into()), + ("string.special".into(), rgba(0xe6ba7eff).into()), + ("number".into(), rgba(0xa37accff).into()), + ("preproc".into(), rgba(0x5c6166ff).into()), + ("punctuation.delimiter".into(), rgba(0x73777bff).into()), + ("string.special.symbol".into(), rgba(0xf98d3fff).into()), + ("boolean".into(), rgba(0xa37accff).into()), + ("property".into(), rgba(0x3b9ee5ff).into()), + ("title".into(), rgba(0x5c6166ff).into()), + ("hint".into(), rgba(0x8ca7c2ff).into()), + ("predictive".into(), rgba(0x9eb9d3ff).into()), + ("operator".into(), rgba(0xed9365ff).into()), + ("type".into(), rgba(0x389ee6ff).into()), + ("function".into(), rgba(0xf2ad48ff).into()), + ("variant".into(), rgba(0x3b9ee5ff).into()), + ("label".into(), rgba(0x3b9ee5ff).into()), + ("punctuation.list_marker".into(), rgba(0x73777bff).into()), + ("punctuation.bracket".into(), rgba(0x73777bff).into()), + ("embedded".into(), rgba(0x5c6166ff).into()), + ("punctuation.special".into(), rgba(0xa37accff).into()), + ("attribute".into(), rgba(0x3b9ee5ff).into()), + ("tag".into(), rgba(0x3b9ee5ff).into()), + ("link_uri".into(), rgba(0x85b304ff).into()), + ], + }, + status_bar: rgba(0xdcdddeff).into(), + title_bar: rgba(0xdcdddeff).into(), + toolbar: rgba(0xfcfcfcff).into(), + tab_bar: rgba(0xececedff).into(), + editor: rgba(0xfcfcfcff).into(), + editor_subheader: rgba(0xececedff).into(), + editor_active_line: rgba(0xececedff).into(), + terminal: rgba(0xfcfcfcff).into(), + image_fallback_background: rgba(0xdcdddeff).into(), + git_created: rgba(0x85b304ff).into(), + git_modified: rgba(0x3b9ee5ff).into(), + git_deleted: rgba(0xef7271ff).into(), + git_conflict: rgba(0xf1ad49ff).into(), + git_ignored: rgba(0xa9acaeff).into(), + git_renamed: rgba(0xf1ad49ff).into(), + players: [ + PlayerTheme { + cursor: rgba(0x3b9ee5ff).into(), + selection: rgba(0x3b9ee53d).into(), + }, + PlayerTheme { + cursor: rgba(0x85b304ff).into(), + selection: rgba(0x85b3043d).into(), + }, + PlayerTheme { + cursor: rgba(0x55b4d3ff).into(), + selection: rgba(0x55b4d33d).into(), + }, + PlayerTheme { + cursor: rgba(0xf98d3fff).into(), + selection: rgba(0xf98d3f3d).into(), + }, + PlayerTheme { + cursor: rgba(0xa37accff).into(), + selection: rgba(0xa37acc3d).into(), + }, + PlayerTheme { + cursor: rgba(0x4dbf99ff).into(), + selection: rgba(0x4dbf993d).into(), + }, + PlayerTheme { + cursor: rgba(0xef7271ff).into(), + selection: rgba(0xef72713d).into(), + }, + PlayerTheme { + cursor: rgba(0xf1ad49ff).into(), + selection: rgba(0xf1ad493d).into(), + }, + ], + } +} diff --git a/crates/theme2/src/themes/ayu_mirage.rs b/crates/theme2/src/themes/ayu_mirage.rs new file mode 100644 index 0000000000000000000000000000000000000000..cd74529713cdc8d84b0a70eee63a1f4c1608da3b --- /dev/null +++ b/crates/theme2/src/themes/ayu_mirage.rs @@ -0,0 +1,131 @@ + +use gpui2::rgba; + +use crate::{PlayerTheme, SyntaxTheme, Theme, ThemeMetadata}; + +pub fn ayu_mirage() -> Theme { + Theme { + metadata: ThemeMetadata { + name: "Ayu Mirage".into(), + is_light: false, + }, + transparent: rgba(0x00000000).into(), + mac_os_traffic_light_red: rgba(0xec695eff).into(), + mac_os_traffic_light_yellow: rgba(0xf4bf4eff).into(), + mac_os_traffic_light_green: rgba(0x61c553ff).into(), + border: rgba(0x53565dff).into(), + border_variant: rgba(0x53565dff).into(), + border_focused: rgba(0x24556fff).into(), + border_transparent: rgba(0x00000000).into(), + elevated_surface: rgba(0x464a52ff).into(), + surface: rgba(0x353944ff).into(), + background: rgba(0x464a52ff).into(), + filled_element: rgba(0x464a52ff).into(), + filled_element_hover: rgba(0xffffff1e).into(), + filled_element_active: rgba(0xffffff28).into(), + filled_element_selected: rgba(0x123950ff).into(), + filled_element_disabled: rgba(0x00000000).into(), + ghost_element: rgba(0x00000000).into(), + ghost_element_hover: rgba(0xffffff14).into(), + ghost_element_active: rgba(0xffffff1e).into(), + ghost_element_selected: rgba(0x123950ff).into(), + ghost_element_disabled: rgba(0x00000000).into(), + text: rgba(0xcccac2ff).into(), + text_muted: rgba(0x9a9a98ff).into(), + text_placeholder: rgba(0xf18779ff).into(), + text_disabled: rgba(0x7b7d7fff).into(), + text_accent: rgba(0x72cffeff).into(), + icon_muted: rgba(0x9a9a98ff).into(), + syntax: SyntaxTheme { + highlights: vec![ + ("text.literal".into(), rgba(0xfead66ff).into()), + ("link_text".into(), rgba(0xfead66ff).into()), + ("function".into(), rgba(0xffd173ff).into()), + ("punctuation.delimiter".into(), rgba(0xb4b3aeff).into()), + ("property".into(), rgba(0x72cffeff).into()), + ("title".into(), rgba(0xcccac2ff).into()), + ("boolean".into(), rgba(0xdfbfffff).into()), + ("link_uri".into(), rgba(0xd5fe80ff).into()), + ("label".into(), rgba(0x72cffeff).into()), + ("primary".into(), rgba(0xcccac2ff).into()), + ("number".into(), rgba(0xdfbfffff).into()), + ("variant".into(), rgba(0x72cffeff).into()), + ("enum".into(), rgba(0xfead66ff).into()), + ("string.special.symbol".into(), rgba(0xfead66ff).into()), + ("operator".into(), rgba(0xf29e74ff).into()), + ("punctuation.special".into(), rgba(0xdfbfffff).into()), + ("constructor".into(), rgba(0x72cffeff).into()), + ("type".into(), rgba(0x73cfffff).into()), + ("emphasis.strong".into(), rgba(0x72cffeff).into()), + ("embedded".into(), rgba(0xcccac2ff).into()), + ("comment".into(), rgba(0xb8cfe680).into()), + ("tag".into(), rgba(0x72cffeff).into()), + ("keyword".into(), rgba(0xffad65ff).into()), + ("punctuation".into(), rgba(0xb4b3aeff).into()), + ("preproc".into(), rgba(0xcccac2ff).into()), + ("hint".into(), rgba(0x7399a3ff).into()), + ("string.special".into(), rgba(0xffdfb3ff).into()), + ("attribute".into(), rgba(0x72cffeff).into()), + ("string.regex".into(), rgba(0x95e6cbff).into()), + ("predictive".into(), rgba(0x6d839bff).into()), + ("comment.doc".into(), rgba(0x9b9b99ff).into()), + ("emphasis".into(), rgba(0x72cffeff).into()), + ("string".into(), rgba(0xd4fe7fff).into()), + ("constant".into(), rgba(0xdfbfffff).into()), + ("string.escape".into(), rgba(0x9b9b99ff).into()), + ("variable".into(), rgba(0xcccac2ff).into()), + ("punctuation.bracket".into(), rgba(0xb4b3aeff).into()), + ("punctuation.list_marker".into(), rgba(0xb4b3aeff).into()), + ], + }, + status_bar: rgba(0x464a52ff).into(), + title_bar: rgba(0x464a52ff).into(), + toolbar: rgba(0x242835ff).into(), + tab_bar: rgba(0x353944ff).into(), + editor: rgba(0x242835ff).into(), + editor_subheader: rgba(0x353944ff).into(), + editor_active_line: rgba(0x353944ff).into(), + terminal: rgba(0x242835ff).into(), + image_fallback_background: rgba(0x464a52ff).into(), + git_created: rgba(0xd5fe80ff).into(), + git_modified: rgba(0x72cffeff).into(), + git_deleted: rgba(0xf18779ff).into(), + git_conflict: rgba(0xfecf72ff).into(), + git_ignored: rgba(0x7b7d7fff).into(), + git_renamed: rgba(0xfecf72ff).into(), + players: [ + PlayerTheme { + cursor: rgba(0x72cffeff).into(), + selection: rgba(0x72cffe3d).into(), + }, + PlayerTheme { + cursor: rgba(0xd5fe80ff).into(), + selection: rgba(0xd5fe803d).into(), + }, + PlayerTheme { + cursor: rgba(0x5bcde5ff).into(), + selection: rgba(0x5bcde53d).into(), + }, + PlayerTheme { + cursor: rgba(0xfead66ff).into(), + selection: rgba(0xfead663d).into(), + }, + PlayerTheme { + cursor: rgba(0xdebffeff).into(), + selection: rgba(0xdebffe3d).into(), + }, + PlayerTheme { + cursor: rgba(0x95e5cbff).into(), + selection: rgba(0x95e5cb3d).into(), + }, + PlayerTheme { + cursor: rgba(0xf18779ff).into(), + selection: rgba(0xf187793d).into(), + }, + PlayerTheme { + cursor: rgba(0xfecf72ff).into(), + selection: rgba(0xfecf723d).into(), + }, + ], + } +} diff --git a/crates/theme2/src/themes/gruvbox_dark.rs b/crates/theme2/src/themes/gruvbox_dark.rs new file mode 100644 index 0000000000000000000000000000000000000000..1f32e820c95d45fe6ea91e0b1549424a394f3a95 --- /dev/null +++ b/crates/theme2/src/themes/gruvbox_dark.rs @@ -0,0 +1,132 @@ + +use gpui2::rgba; + +use crate::{PlayerTheme, SyntaxTheme, Theme, ThemeMetadata}; + +pub fn gruvbox_dark() -> Theme { + Theme { + metadata: ThemeMetadata { + name: "Gruvbox Dark".into(), + is_light: false, + }, + transparent: rgba(0x00000000).into(), + mac_os_traffic_light_red: rgba(0xec695eff).into(), + mac_os_traffic_light_yellow: rgba(0xf4bf4eff).into(), + mac_os_traffic_light_green: rgba(0x61c553ff).into(), + border: rgba(0x5b534dff).into(), + border_variant: rgba(0x5b534dff).into(), + border_focused: rgba(0x303a36ff).into(), + border_transparent: rgba(0x00000000).into(), + elevated_surface: rgba(0x4c4642ff).into(), + surface: rgba(0x3a3735ff).into(), + background: rgba(0x4c4642ff).into(), + filled_element: rgba(0x4c4642ff).into(), + filled_element_hover: rgba(0xffffff1e).into(), + filled_element_active: rgba(0xffffff28).into(), + filled_element_selected: rgba(0x1e2321ff).into(), + filled_element_disabled: rgba(0x00000000).into(), + ghost_element: rgba(0x00000000).into(), + ghost_element_hover: rgba(0xffffff14).into(), + ghost_element_active: rgba(0xffffff1e).into(), + ghost_element_selected: rgba(0x1e2321ff).into(), + ghost_element_disabled: rgba(0x00000000).into(), + text: rgba(0xfbf1c7ff).into(), + text_muted: rgba(0xc5b597ff).into(), + text_placeholder: rgba(0xfb4a35ff).into(), + text_disabled: rgba(0x998b78ff).into(), + text_accent: rgba(0x83a598ff).into(), + icon_muted: rgba(0xc5b597ff).into(), + syntax: SyntaxTheme { + highlights: vec![ + ("operator".into(), rgba(0x8ec07cff).into()), + ("string.special.symbol".into(), rgba(0x8ec07cff).into()), + ("emphasis.strong".into(), rgba(0x83a598ff).into()), + ("attribute".into(), rgba(0x83a598ff).into()), + ("property".into(), rgba(0xebdbb2ff).into()), + ("comment.doc".into(), rgba(0xc6b697ff).into()), + ("emphasis".into(), rgba(0x83a598ff).into()), + ("variant".into(), rgba(0x83a598ff).into()), + ("text.literal".into(), rgba(0x83a598ff).into()), + ("keyword".into(), rgba(0xfb4833ff).into()), + ("primary".into(), rgba(0xebdbb2ff).into()), + ("variable".into(), rgba(0x83a598ff).into()), + ("enum".into(), rgba(0xfe7f18ff).into()), + ("constructor".into(), rgba(0x83a598ff).into()), + ("punctuation".into(), rgba(0xd5c4a1ff).into()), + ("link_uri".into(), rgba(0xd3869bff).into()), + ("hint".into(), rgba(0x8c957dff).into()), + ("string.regex".into(), rgba(0xfe7f18ff).into()), + ("punctuation.delimiter".into(), rgba(0xe5d5adff).into()), + ("string".into(), rgba(0xb8bb25ff).into()), + ("punctuation.special".into(), rgba(0xe5d5adff).into()), + ("link_text".into(), rgba(0x8ec07cff).into()), + ("tag".into(), rgba(0x8ec07cff).into()), + ("string.escape".into(), rgba(0xc6b697ff).into()), + ("label".into(), rgba(0x83a598ff).into()), + ("constant".into(), rgba(0xfabd2eff).into()), + ("type".into(), rgba(0xfabd2eff).into()), + ("number".into(), rgba(0xd3869bff).into()), + ("string.special".into(), rgba(0xd3869bff).into()), + ("function.builtin".into(), rgba(0xfb4833ff).into()), + ("boolean".into(), rgba(0xd3869bff).into()), + ("embedded".into(), rgba(0x8ec07cff).into()), + ("title".into(), rgba(0xb8bb25ff).into()), + ("function".into(), rgba(0xb8bb25ff).into()), + ("punctuation.bracket".into(), rgba(0xa89984ff).into()), + ("comment".into(), rgba(0xa89984ff).into()), + ("preproc".into(), rgba(0xfbf1c7ff).into()), + ("predictive".into(), rgba(0x717363ff).into()), + ("punctuation.list_marker".into(), rgba(0xebdbb2ff).into()), + ], + }, + status_bar: rgba(0x4c4642ff).into(), + title_bar: rgba(0x4c4642ff).into(), + toolbar: rgba(0x282828ff).into(), + tab_bar: rgba(0x3a3735ff).into(), + editor: rgba(0x282828ff).into(), + editor_subheader: rgba(0x3a3735ff).into(), + editor_active_line: rgba(0x3a3735ff).into(), + terminal: rgba(0x282828ff).into(), + image_fallback_background: rgba(0x4c4642ff).into(), + git_created: rgba(0xb7bb26ff).into(), + git_modified: rgba(0x83a598ff).into(), + git_deleted: rgba(0xfb4a35ff).into(), + git_conflict: rgba(0xf9bd2fff).into(), + git_ignored: rgba(0x998b78ff).into(), + git_renamed: rgba(0xf9bd2fff).into(), + players: [ + PlayerTheme { + cursor: rgba(0x83a598ff).into(), + selection: rgba(0x83a5983d).into(), + }, + PlayerTheme { + cursor: rgba(0xb7bb26ff).into(), + selection: rgba(0xb7bb263d).into(), + }, + PlayerTheme { + cursor: rgba(0xa89984ff).into(), + selection: rgba(0xa899843d).into(), + }, + PlayerTheme { + cursor: rgba(0xfd801bff).into(), + selection: rgba(0xfd801b3d).into(), + }, + PlayerTheme { + cursor: rgba(0xd3869bff).into(), + selection: rgba(0xd3869b3d).into(), + }, + PlayerTheme { + cursor: rgba(0x8ec07cff).into(), + selection: rgba(0x8ec07c3d).into(), + }, + PlayerTheme { + cursor: rgba(0xfb4a35ff).into(), + selection: rgba(0xfb4a353d).into(), + }, + PlayerTheme { + cursor: rgba(0xf9bd2fff).into(), + selection: rgba(0xf9bd2f3d).into(), + }, + ], + } +} diff --git a/crates/theme2/src/themes/gruvbox_dark_hard.rs b/crates/theme2/src/themes/gruvbox_dark_hard.rs new file mode 100644 index 0000000000000000000000000000000000000000..cf7875b33e6e08c7f082fb36b5f305ea21b3d318 --- /dev/null +++ b/crates/theme2/src/themes/gruvbox_dark_hard.rs @@ -0,0 +1,132 @@ + +use gpui2::rgba; + +use crate::{PlayerTheme, SyntaxTheme, Theme, ThemeMetadata}; + +pub fn gruvbox_dark_hard() -> Theme { + Theme { + metadata: ThemeMetadata { + name: "Gruvbox Dark Hard".into(), + is_light: false, + }, + transparent: rgba(0x00000000).into(), + mac_os_traffic_light_red: rgba(0xec695eff).into(), + mac_os_traffic_light_yellow: rgba(0xf4bf4eff).into(), + mac_os_traffic_light_green: rgba(0x61c553ff).into(), + border: rgba(0x5b534dff).into(), + border_variant: rgba(0x5b534dff).into(), + border_focused: rgba(0x303a36ff).into(), + border_transparent: rgba(0x00000000).into(), + elevated_surface: rgba(0x4c4642ff).into(), + surface: rgba(0x393634ff).into(), + background: rgba(0x4c4642ff).into(), + filled_element: rgba(0x4c4642ff).into(), + filled_element_hover: rgba(0xffffff1e).into(), + filled_element_active: rgba(0xffffff28).into(), + filled_element_selected: rgba(0x1e2321ff).into(), + filled_element_disabled: rgba(0x00000000).into(), + ghost_element: rgba(0x00000000).into(), + ghost_element_hover: rgba(0xffffff14).into(), + ghost_element_active: rgba(0xffffff1e).into(), + ghost_element_selected: rgba(0x1e2321ff).into(), + ghost_element_disabled: rgba(0x00000000).into(), + text: rgba(0xfbf1c7ff).into(), + text_muted: rgba(0xc5b597ff).into(), + text_placeholder: rgba(0xfb4a35ff).into(), + text_disabled: rgba(0x998b78ff).into(), + text_accent: rgba(0x83a598ff).into(), + icon_muted: rgba(0xc5b597ff).into(), + syntax: SyntaxTheme { + highlights: vec![ + ("primary".into(), rgba(0xebdbb2ff).into()), + ("label".into(), rgba(0x83a598ff).into()), + ("punctuation.delimiter".into(), rgba(0xe5d5adff).into()), + ("variant".into(), rgba(0x83a598ff).into()), + ("type".into(), rgba(0xfabd2eff).into()), + ("string.regex".into(), rgba(0xfe7f18ff).into()), + ("function.builtin".into(), rgba(0xfb4833ff).into()), + ("title".into(), rgba(0xb8bb25ff).into()), + ("string".into(), rgba(0xb8bb25ff).into()), + ("operator".into(), rgba(0x8ec07cff).into()), + ("embedded".into(), rgba(0x8ec07cff).into()), + ("punctuation.bracket".into(), rgba(0xa89984ff).into()), + ("string.special".into(), rgba(0xd3869bff).into()), + ("attribute".into(), rgba(0x83a598ff).into()), + ("comment".into(), rgba(0xa89984ff).into()), + ("link_text".into(), rgba(0x8ec07cff).into()), + ("punctuation.special".into(), rgba(0xe5d5adff).into()), + ("punctuation.list_marker".into(), rgba(0xebdbb2ff).into()), + ("comment.doc".into(), rgba(0xc6b697ff).into()), + ("preproc".into(), rgba(0xfbf1c7ff).into()), + ("text.literal".into(), rgba(0x83a598ff).into()), + ("function".into(), rgba(0xb8bb25ff).into()), + ("predictive".into(), rgba(0x717363ff).into()), + ("emphasis.strong".into(), rgba(0x83a598ff).into()), + ("punctuation".into(), rgba(0xd5c4a1ff).into()), + ("string.special.symbol".into(), rgba(0x8ec07cff).into()), + ("property".into(), rgba(0xebdbb2ff).into()), + ("keyword".into(), rgba(0xfb4833ff).into()), + ("constructor".into(), rgba(0x83a598ff).into()), + ("tag".into(), rgba(0x8ec07cff).into()), + ("variable".into(), rgba(0x83a598ff).into()), + ("enum".into(), rgba(0xfe7f18ff).into()), + ("hint".into(), rgba(0x8c957dff).into()), + ("number".into(), rgba(0xd3869bff).into()), + ("constant".into(), rgba(0xfabd2eff).into()), + ("boolean".into(), rgba(0xd3869bff).into()), + ("link_uri".into(), rgba(0xd3869bff).into()), + ("string.escape".into(), rgba(0xc6b697ff).into()), + ("emphasis".into(), rgba(0x83a598ff).into()), + ], + }, + status_bar: rgba(0x4c4642ff).into(), + title_bar: rgba(0x4c4642ff).into(), + toolbar: rgba(0x1d2021ff).into(), + tab_bar: rgba(0x393634ff).into(), + editor: rgba(0x1d2021ff).into(), + editor_subheader: rgba(0x393634ff).into(), + editor_active_line: rgba(0x393634ff).into(), + terminal: rgba(0x1d2021ff).into(), + image_fallback_background: rgba(0x4c4642ff).into(), + git_created: rgba(0xb7bb26ff).into(), + git_modified: rgba(0x83a598ff).into(), + git_deleted: rgba(0xfb4a35ff).into(), + git_conflict: rgba(0xf9bd2fff).into(), + git_ignored: rgba(0x998b78ff).into(), + git_renamed: rgba(0xf9bd2fff).into(), + players: [ + PlayerTheme { + cursor: rgba(0x83a598ff).into(), + selection: rgba(0x83a5983d).into(), + }, + PlayerTheme { + cursor: rgba(0xb7bb26ff).into(), + selection: rgba(0xb7bb263d).into(), + }, + PlayerTheme { + cursor: rgba(0xa89984ff).into(), + selection: rgba(0xa899843d).into(), + }, + PlayerTheme { + cursor: rgba(0xfd801bff).into(), + selection: rgba(0xfd801b3d).into(), + }, + PlayerTheme { + cursor: rgba(0xd3869bff).into(), + selection: rgba(0xd3869b3d).into(), + }, + PlayerTheme { + cursor: rgba(0x8ec07cff).into(), + selection: rgba(0x8ec07c3d).into(), + }, + PlayerTheme { + cursor: rgba(0xfb4a35ff).into(), + selection: rgba(0xfb4a353d).into(), + }, + PlayerTheme { + cursor: rgba(0xf9bd2fff).into(), + selection: rgba(0xf9bd2f3d).into(), + }, + ], + } +} diff --git a/crates/theme2/src/themes/gruvbox_dark_soft.rs b/crates/theme2/src/themes/gruvbox_dark_soft.rs new file mode 100644 index 0000000000000000000000000000000000000000..f0e1c44e3070714e3c6a271ae8190c8d757c46db --- /dev/null +++ b/crates/theme2/src/themes/gruvbox_dark_soft.rs @@ -0,0 +1,132 @@ + +use gpui2::rgba; + +use crate::{PlayerTheme, SyntaxTheme, Theme, ThemeMetadata}; + +pub fn gruvbox_dark_soft() -> Theme { + Theme { + metadata: ThemeMetadata { + name: "Gruvbox Dark Soft".into(), + is_light: false, + }, + transparent: rgba(0x00000000).into(), + mac_os_traffic_light_red: rgba(0xec695eff).into(), + mac_os_traffic_light_yellow: rgba(0xf4bf4eff).into(), + mac_os_traffic_light_green: rgba(0x61c553ff).into(), + border: rgba(0x5b534dff).into(), + border_variant: rgba(0x5b534dff).into(), + border_focused: rgba(0x303a36ff).into(), + border_transparent: rgba(0x00000000).into(), + elevated_surface: rgba(0x4c4642ff).into(), + surface: rgba(0x3b3735ff).into(), + background: rgba(0x4c4642ff).into(), + filled_element: rgba(0x4c4642ff).into(), + filled_element_hover: rgba(0xffffff1e).into(), + filled_element_active: rgba(0xffffff28).into(), + filled_element_selected: rgba(0x1e2321ff).into(), + filled_element_disabled: rgba(0x00000000).into(), + ghost_element: rgba(0x00000000).into(), + ghost_element_hover: rgba(0xffffff14).into(), + ghost_element_active: rgba(0xffffff1e).into(), + ghost_element_selected: rgba(0x1e2321ff).into(), + ghost_element_disabled: rgba(0x00000000).into(), + text: rgba(0xfbf1c7ff).into(), + text_muted: rgba(0xc5b597ff).into(), + text_placeholder: rgba(0xfb4a35ff).into(), + text_disabled: rgba(0x998b78ff).into(), + text_accent: rgba(0x83a598ff).into(), + icon_muted: rgba(0xc5b597ff).into(), + syntax: SyntaxTheme { + highlights: vec![ + ("punctuation.special".into(), rgba(0xe5d5adff).into()), + ("attribute".into(), rgba(0x83a598ff).into()), + ("preproc".into(), rgba(0xfbf1c7ff).into()), + ("keyword".into(), rgba(0xfb4833ff).into()), + ("emphasis".into(), rgba(0x83a598ff).into()), + ("punctuation.delimiter".into(), rgba(0xe5d5adff).into()), + ("punctuation.bracket".into(), rgba(0xa89984ff).into()), + ("comment".into(), rgba(0xa89984ff).into()), + ("text.literal".into(), rgba(0x83a598ff).into()), + ("predictive".into(), rgba(0x717363ff).into()), + ("link_text".into(), rgba(0x8ec07cff).into()), + ("variant".into(), rgba(0x83a598ff).into()), + ("label".into(), rgba(0x83a598ff).into()), + ("function".into(), rgba(0xb8bb25ff).into()), + ("string.regex".into(), rgba(0xfe7f18ff).into()), + ("boolean".into(), rgba(0xd3869bff).into()), + ("number".into(), rgba(0xd3869bff).into()), + ("string.escape".into(), rgba(0xc6b697ff).into()), + ("constructor".into(), rgba(0x83a598ff).into()), + ("link_uri".into(), rgba(0xd3869bff).into()), + ("string.special.symbol".into(), rgba(0x8ec07cff).into()), + ("type".into(), rgba(0xfabd2eff).into()), + ("function.builtin".into(), rgba(0xfb4833ff).into()), + ("title".into(), rgba(0xb8bb25ff).into()), + ("primary".into(), rgba(0xebdbb2ff).into()), + ("tag".into(), rgba(0x8ec07cff).into()), + ("constant".into(), rgba(0xfabd2eff).into()), + ("emphasis.strong".into(), rgba(0x83a598ff).into()), + ("string.special".into(), rgba(0xd3869bff).into()), + ("hint".into(), rgba(0x8c957dff).into()), + ("comment.doc".into(), rgba(0xc6b697ff).into()), + ("property".into(), rgba(0xebdbb2ff).into()), + ("embedded".into(), rgba(0x8ec07cff).into()), + ("operator".into(), rgba(0x8ec07cff).into()), + ("punctuation".into(), rgba(0xd5c4a1ff).into()), + ("variable".into(), rgba(0x83a598ff).into()), + ("enum".into(), rgba(0xfe7f18ff).into()), + ("punctuation.list_marker".into(), rgba(0xebdbb2ff).into()), + ("string".into(), rgba(0xb8bb25ff).into()), + ], + }, + status_bar: rgba(0x4c4642ff).into(), + title_bar: rgba(0x4c4642ff).into(), + toolbar: rgba(0x32302fff).into(), + tab_bar: rgba(0x3b3735ff).into(), + editor: rgba(0x32302fff).into(), + editor_subheader: rgba(0x3b3735ff).into(), + editor_active_line: rgba(0x3b3735ff).into(), + terminal: rgba(0x32302fff).into(), + image_fallback_background: rgba(0x4c4642ff).into(), + git_created: rgba(0xb7bb26ff).into(), + git_modified: rgba(0x83a598ff).into(), + git_deleted: rgba(0xfb4a35ff).into(), + git_conflict: rgba(0xf9bd2fff).into(), + git_ignored: rgba(0x998b78ff).into(), + git_renamed: rgba(0xf9bd2fff).into(), + players: [ + PlayerTheme { + cursor: rgba(0x83a598ff).into(), + selection: rgba(0x83a5983d).into(), + }, + PlayerTheme { + cursor: rgba(0xb7bb26ff).into(), + selection: rgba(0xb7bb263d).into(), + }, + PlayerTheme { + cursor: rgba(0xa89984ff).into(), + selection: rgba(0xa899843d).into(), + }, + PlayerTheme { + cursor: rgba(0xfd801bff).into(), + selection: rgba(0xfd801b3d).into(), + }, + PlayerTheme { + cursor: rgba(0xd3869bff).into(), + selection: rgba(0xd3869b3d).into(), + }, + PlayerTheme { + cursor: rgba(0x8ec07cff).into(), + selection: rgba(0x8ec07c3d).into(), + }, + PlayerTheme { + cursor: rgba(0xfb4a35ff).into(), + selection: rgba(0xfb4a353d).into(), + }, + PlayerTheme { + cursor: rgba(0xf9bd2fff).into(), + selection: rgba(0xf9bd2f3d).into(), + }, + ], + } +} diff --git a/crates/theme2/src/themes/gruvbox_light.rs b/crates/theme2/src/themes/gruvbox_light.rs new file mode 100644 index 0000000000000000000000000000000000000000..76e35bd0b69edc754ec4342e711071db4a69106a --- /dev/null +++ b/crates/theme2/src/themes/gruvbox_light.rs @@ -0,0 +1,132 @@ + +use gpui2::rgba; + +use crate::{PlayerTheme, SyntaxTheme, Theme, ThemeMetadata}; + +pub fn gruvbox_light() -> Theme { + Theme { + metadata: ThemeMetadata { + name: "Gruvbox Light".into(), + is_light: true, + }, + transparent: rgba(0x00000000).into(), + mac_os_traffic_light_red: rgba(0xec695eff).into(), + mac_os_traffic_light_yellow: rgba(0xf4bf4eff).into(), + mac_os_traffic_light_green: rgba(0x61c553ff).into(), + border: rgba(0xc8b899ff).into(), + border_variant: rgba(0xc8b899ff).into(), + border_focused: rgba(0xadc5ccff).into(), + border_transparent: rgba(0x00000000).into(), + elevated_surface: rgba(0xd9c8a4ff).into(), + surface: rgba(0xecddb4ff).into(), + background: rgba(0xd9c8a4ff).into(), + filled_element: rgba(0xd9c8a4ff).into(), + filled_element_hover: rgba(0xffffff1e).into(), + filled_element_active: rgba(0xffffff28).into(), + filled_element_selected: rgba(0xd2dee2ff).into(), + filled_element_disabled: rgba(0x00000000).into(), + ghost_element: rgba(0x00000000).into(), + ghost_element_hover: rgba(0xffffff14).into(), + ghost_element_active: rgba(0xffffff1e).into(), + ghost_element_selected: rgba(0xd2dee2ff).into(), + ghost_element_disabled: rgba(0x00000000).into(), + text: rgba(0x282828ff).into(), + text_muted: rgba(0x5f5650ff).into(), + text_placeholder: rgba(0x9d0308ff).into(), + text_disabled: rgba(0x897b6eff).into(), + text_accent: rgba(0x0b6678ff).into(), + icon_muted: rgba(0x5f5650ff).into(), + syntax: SyntaxTheme { + highlights: vec![ + ("number".into(), rgba(0x8f3e71ff).into()), + ("link_text".into(), rgba(0x427b58ff).into()), + ("string.special".into(), rgba(0x8f3e71ff).into()), + ("string.special.symbol".into(), rgba(0x427b58ff).into()), + ("function".into(), rgba(0x79740eff).into()), + ("title".into(), rgba(0x79740eff).into()), + ("emphasis".into(), rgba(0x0b6678ff).into()), + ("punctuation".into(), rgba(0x3c3836ff).into()), + ("string.escape".into(), rgba(0x5d544eff).into()), + ("type".into(), rgba(0xb57613ff).into()), + ("string".into(), rgba(0x79740eff).into()), + ("keyword".into(), rgba(0x9d0006ff).into()), + ("tag".into(), rgba(0x427b58ff).into()), + ("primary".into(), rgba(0x282828ff).into()), + ("link_uri".into(), rgba(0x8f3e71ff).into()), + ("comment.doc".into(), rgba(0x5d544eff).into()), + ("boolean".into(), rgba(0x8f3e71ff).into()), + ("embedded".into(), rgba(0x427b58ff).into()), + ("hint".into(), rgba(0x677562ff).into()), + ("emphasis.strong".into(), rgba(0x0b6678ff).into()), + ("operator".into(), rgba(0x427b58ff).into()), + ("label".into(), rgba(0x0b6678ff).into()), + ("comment".into(), rgba(0x7c6f64ff).into()), + ("function.builtin".into(), rgba(0x9d0006ff).into()), + ("punctuation.bracket".into(), rgba(0x665c54ff).into()), + ("text.literal".into(), rgba(0x066578ff).into()), + ("string.regex".into(), rgba(0xaf3a02ff).into()), + ("property".into(), rgba(0x282828ff).into()), + ("attribute".into(), rgba(0x0b6678ff).into()), + ("punctuation.delimiter".into(), rgba(0x413d3aff).into()), + ("constructor".into(), rgba(0x0b6678ff).into()), + ("variable".into(), rgba(0x066578ff).into()), + ("constant".into(), rgba(0xb57613ff).into()), + ("preproc".into(), rgba(0x282828ff).into()), + ("punctuation.special".into(), rgba(0x413d3aff).into()), + ("punctuation.list_marker".into(), rgba(0x282828ff).into()), + ("variant".into(), rgba(0x0b6678ff).into()), + ("predictive".into(), rgba(0x7c9780ff).into()), + ("enum".into(), rgba(0xaf3a02ff).into()), + ], + }, + status_bar: rgba(0xd9c8a4ff).into(), + title_bar: rgba(0xd9c8a4ff).into(), + toolbar: rgba(0xfbf1c7ff).into(), + tab_bar: rgba(0xecddb4ff).into(), + editor: rgba(0xfbf1c7ff).into(), + editor_subheader: rgba(0xecddb4ff).into(), + editor_active_line: rgba(0xecddb4ff).into(), + terminal: rgba(0xfbf1c7ff).into(), + image_fallback_background: rgba(0xd9c8a4ff).into(), + git_created: rgba(0x797410ff).into(), + git_modified: rgba(0x0b6678ff).into(), + git_deleted: rgba(0x9d0308ff).into(), + git_conflict: rgba(0xb57615ff).into(), + git_ignored: rgba(0x897b6eff).into(), + git_renamed: rgba(0xb57615ff).into(), + players: [ + PlayerTheme { + cursor: rgba(0x0b6678ff).into(), + selection: rgba(0x0b66783d).into(), + }, + PlayerTheme { + cursor: rgba(0x797410ff).into(), + selection: rgba(0x7974103d).into(), + }, + PlayerTheme { + cursor: rgba(0x7c6f64ff).into(), + selection: rgba(0x7c6f643d).into(), + }, + PlayerTheme { + cursor: rgba(0xaf3a04ff).into(), + selection: rgba(0xaf3a043d).into(), + }, + PlayerTheme { + cursor: rgba(0x8f3f70ff).into(), + selection: rgba(0x8f3f703d).into(), + }, + PlayerTheme { + cursor: rgba(0x437b59ff).into(), + selection: rgba(0x437b593d).into(), + }, + PlayerTheme { + cursor: rgba(0x9d0308ff).into(), + selection: rgba(0x9d03083d).into(), + }, + PlayerTheme { + cursor: rgba(0xb57615ff).into(), + selection: rgba(0xb576153d).into(), + }, + ], + } +} diff --git a/crates/theme2/src/themes/gruvbox_light_hard.rs b/crates/theme2/src/themes/gruvbox_light_hard.rs new file mode 100644 index 0000000000000000000000000000000000000000..8438e0f893c525d6695dbfe3bc7d31b9ce6a8aa5 --- /dev/null +++ b/crates/theme2/src/themes/gruvbox_light_hard.rs @@ -0,0 +1,132 @@ + +use gpui2::rgba; + +use crate::{PlayerTheme, SyntaxTheme, Theme, ThemeMetadata}; + +pub fn gruvbox_light_hard() -> Theme { + Theme { + metadata: ThemeMetadata { + name: "Gruvbox Light Hard".into(), + is_light: true, + }, + transparent: rgba(0x00000000).into(), + mac_os_traffic_light_red: rgba(0xec695eff).into(), + mac_os_traffic_light_yellow: rgba(0xf4bf4eff).into(), + mac_os_traffic_light_green: rgba(0x61c553ff).into(), + border: rgba(0xc8b899ff).into(), + border_variant: rgba(0xc8b899ff).into(), + border_focused: rgba(0xadc5ccff).into(), + border_transparent: rgba(0x00000000).into(), + elevated_surface: rgba(0xd9c8a4ff).into(), + surface: rgba(0xecddb5ff).into(), + background: rgba(0xd9c8a4ff).into(), + filled_element: rgba(0xd9c8a4ff).into(), + filled_element_hover: rgba(0xffffff1e).into(), + filled_element_active: rgba(0xffffff28).into(), + filled_element_selected: rgba(0xd2dee2ff).into(), + filled_element_disabled: rgba(0x00000000).into(), + ghost_element: rgba(0x00000000).into(), + ghost_element_hover: rgba(0xffffff14).into(), + ghost_element_active: rgba(0xffffff1e).into(), + ghost_element_selected: rgba(0xd2dee2ff).into(), + ghost_element_disabled: rgba(0x00000000).into(), + text: rgba(0x282828ff).into(), + text_muted: rgba(0x5f5650ff).into(), + text_placeholder: rgba(0x9d0308ff).into(), + text_disabled: rgba(0x897b6eff).into(), + text_accent: rgba(0x0b6678ff).into(), + icon_muted: rgba(0x5f5650ff).into(), + syntax: SyntaxTheme { + highlights: vec![ + ("label".into(), rgba(0x0b6678ff).into()), + ("hint".into(), rgba(0x677562ff).into()), + ("boolean".into(), rgba(0x8f3e71ff).into()), + ("function.builtin".into(), rgba(0x9d0006ff).into()), + ("constant".into(), rgba(0xb57613ff).into()), + ("preproc".into(), rgba(0x282828ff).into()), + ("predictive".into(), rgba(0x7c9780ff).into()), + ("string".into(), rgba(0x79740eff).into()), + ("comment.doc".into(), rgba(0x5d544eff).into()), + ("function".into(), rgba(0x79740eff).into()), + ("title".into(), rgba(0x79740eff).into()), + ("text.literal".into(), rgba(0x066578ff).into()), + ("punctuation.bracket".into(), rgba(0x665c54ff).into()), + ("string.escape".into(), rgba(0x5d544eff).into()), + ("punctuation.delimiter".into(), rgba(0x413d3aff).into()), + ("string.special.symbol".into(), rgba(0x427b58ff).into()), + ("type".into(), rgba(0xb57613ff).into()), + ("constructor".into(), rgba(0x0b6678ff).into()), + ("property".into(), rgba(0x282828ff).into()), + ("comment".into(), rgba(0x7c6f64ff).into()), + ("enum".into(), rgba(0xaf3a02ff).into()), + ("emphasis".into(), rgba(0x0b6678ff).into()), + ("embedded".into(), rgba(0x427b58ff).into()), + ("operator".into(), rgba(0x427b58ff).into()), + ("attribute".into(), rgba(0x0b6678ff).into()), + ("emphasis.strong".into(), rgba(0x0b6678ff).into()), + ("link_text".into(), rgba(0x427b58ff).into()), + ("punctuation.special".into(), rgba(0x413d3aff).into()), + ("punctuation.list_marker".into(), rgba(0x282828ff).into()), + ("variant".into(), rgba(0x0b6678ff).into()), + ("primary".into(), rgba(0x282828ff).into()), + ("number".into(), rgba(0x8f3e71ff).into()), + ("tag".into(), rgba(0x427b58ff).into()), + ("keyword".into(), rgba(0x9d0006ff).into()), + ("link_uri".into(), rgba(0x8f3e71ff).into()), + ("string.regex".into(), rgba(0xaf3a02ff).into()), + ("variable".into(), rgba(0x066578ff).into()), + ("string.special".into(), rgba(0x8f3e71ff).into()), + ("punctuation".into(), rgba(0x3c3836ff).into()), + ], + }, + status_bar: rgba(0xd9c8a4ff).into(), + title_bar: rgba(0xd9c8a4ff).into(), + toolbar: rgba(0xf9f5d7ff).into(), + tab_bar: rgba(0xecddb5ff).into(), + editor: rgba(0xf9f5d7ff).into(), + editor_subheader: rgba(0xecddb5ff).into(), + editor_active_line: rgba(0xecddb5ff).into(), + terminal: rgba(0xf9f5d7ff).into(), + image_fallback_background: rgba(0xd9c8a4ff).into(), + git_created: rgba(0x797410ff).into(), + git_modified: rgba(0x0b6678ff).into(), + git_deleted: rgba(0x9d0308ff).into(), + git_conflict: rgba(0xb57615ff).into(), + git_ignored: rgba(0x897b6eff).into(), + git_renamed: rgba(0xb57615ff).into(), + players: [ + PlayerTheme { + cursor: rgba(0x0b6678ff).into(), + selection: rgba(0x0b66783d).into(), + }, + PlayerTheme { + cursor: rgba(0x797410ff).into(), + selection: rgba(0x7974103d).into(), + }, + PlayerTheme { + cursor: rgba(0x7c6f64ff).into(), + selection: rgba(0x7c6f643d).into(), + }, + PlayerTheme { + cursor: rgba(0xaf3a04ff).into(), + selection: rgba(0xaf3a043d).into(), + }, + PlayerTheme { + cursor: rgba(0x8f3f70ff).into(), + selection: rgba(0x8f3f703d).into(), + }, + PlayerTheme { + cursor: rgba(0x437b59ff).into(), + selection: rgba(0x437b593d).into(), + }, + PlayerTheme { + cursor: rgba(0x9d0308ff).into(), + selection: rgba(0x9d03083d).into(), + }, + PlayerTheme { + cursor: rgba(0xb57615ff).into(), + selection: rgba(0xb576153d).into(), + }, + ], + } +} diff --git a/crates/theme2/src/themes/gruvbox_light_soft.rs b/crates/theme2/src/themes/gruvbox_light_soft.rs new file mode 100644 index 0000000000000000000000000000000000000000..d420b580f8e2104862c8fec84670efcfce65ae92 --- /dev/null +++ b/crates/theme2/src/themes/gruvbox_light_soft.rs @@ -0,0 +1,132 @@ + +use gpui2::rgba; + +use crate::{PlayerTheme, SyntaxTheme, Theme, ThemeMetadata}; + +pub fn gruvbox_light_soft() -> Theme { + Theme { + metadata: ThemeMetadata { + name: "Gruvbox Light Soft".into(), + is_light: true, + }, + transparent: rgba(0x00000000).into(), + mac_os_traffic_light_red: rgba(0xec695eff).into(), + mac_os_traffic_light_yellow: rgba(0xf4bf4eff).into(), + mac_os_traffic_light_green: rgba(0x61c553ff).into(), + border: rgba(0xc8b899ff).into(), + border_variant: rgba(0xc8b899ff).into(), + border_focused: rgba(0xadc5ccff).into(), + border_transparent: rgba(0x00000000).into(), + elevated_surface: rgba(0xd9c8a4ff).into(), + surface: rgba(0xecdcb3ff).into(), + background: rgba(0xd9c8a4ff).into(), + filled_element: rgba(0xd9c8a4ff).into(), + filled_element_hover: rgba(0xffffff1e).into(), + filled_element_active: rgba(0xffffff28).into(), + filled_element_selected: rgba(0xd2dee2ff).into(), + filled_element_disabled: rgba(0x00000000).into(), + ghost_element: rgba(0x00000000).into(), + ghost_element_hover: rgba(0xffffff14).into(), + ghost_element_active: rgba(0xffffff1e).into(), + ghost_element_selected: rgba(0xd2dee2ff).into(), + ghost_element_disabled: rgba(0x00000000).into(), + text: rgba(0x282828ff).into(), + text_muted: rgba(0x5f5650ff).into(), + text_placeholder: rgba(0x9d0308ff).into(), + text_disabled: rgba(0x897b6eff).into(), + text_accent: rgba(0x0b6678ff).into(), + icon_muted: rgba(0x5f5650ff).into(), + syntax: SyntaxTheme { + highlights: vec![ + ("preproc".into(), rgba(0x282828ff).into()), + ("punctuation.list_marker".into(), rgba(0x282828ff).into()), + ("string".into(), rgba(0x79740eff).into()), + ("constant".into(), rgba(0xb57613ff).into()), + ("keyword".into(), rgba(0x9d0006ff).into()), + ("string.special.symbol".into(), rgba(0x427b58ff).into()), + ("comment.doc".into(), rgba(0x5d544eff).into()), + ("hint".into(), rgba(0x677562ff).into()), + ("number".into(), rgba(0x8f3e71ff).into()), + ("enum".into(), rgba(0xaf3a02ff).into()), + ("emphasis".into(), rgba(0x0b6678ff).into()), + ("operator".into(), rgba(0x427b58ff).into()), + ("comment".into(), rgba(0x7c6f64ff).into()), + ("embedded".into(), rgba(0x427b58ff).into()), + ("type".into(), rgba(0xb57613ff).into()), + ("title".into(), rgba(0x79740eff).into()), + ("constructor".into(), rgba(0x0b6678ff).into()), + ("punctuation.delimiter".into(), rgba(0x413d3aff).into()), + ("function".into(), rgba(0x79740eff).into()), + ("link_uri".into(), rgba(0x8f3e71ff).into()), + ("emphasis.strong".into(), rgba(0x0b6678ff).into()), + ("boolean".into(), rgba(0x8f3e71ff).into()), + ("function.builtin".into(), rgba(0x9d0006ff).into()), + ("predictive".into(), rgba(0x7c9780ff).into()), + ("string.regex".into(), rgba(0xaf3a02ff).into()), + ("tag".into(), rgba(0x427b58ff).into()), + ("text.literal".into(), rgba(0x066578ff).into()), + ("punctuation".into(), rgba(0x3c3836ff).into()), + ("punctuation.bracket".into(), rgba(0x665c54ff).into()), + ("variable".into(), rgba(0x066578ff).into()), + ("attribute".into(), rgba(0x0b6678ff).into()), + ("string.special".into(), rgba(0x8f3e71ff).into()), + ("label".into(), rgba(0x0b6678ff).into()), + ("string.escape".into(), rgba(0x5d544eff).into()), + ("link_text".into(), rgba(0x427b58ff).into()), + ("punctuation.special".into(), rgba(0x413d3aff).into()), + ("property".into(), rgba(0x282828ff).into()), + ("variant".into(), rgba(0x0b6678ff).into()), + ("primary".into(), rgba(0x282828ff).into()), + ], + }, + status_bar: rgba(0xd9c8a4ff).into(), + title_bar: rgba(0xd9c8a4ff).into(), + toolbar: rgba(0xf2e5bcff).into(), + tab_bar: rgba(0xecdcb3ff).into(), + editor: rgba(0xf2e5bcff).into(), + editor_subheader: rgba(0xecdcb3ff).into(), + editor_active_line: rgba(0xecdcb3ff).into(), + terminal: rgba(0xf2e5bcff).into(), + image_fallback_background: rgba(0xd9c8a4ff).into(), + git_created: rgba(0x797410ff).into(), + git_modified: rgba(0x0b6678ff).into(), + git_deleted: rgba(0x9d0308ff).into(), + git_conflict: rgba(0xb57615ff).into(), + git_ignored: rgba(0x897b6eff).into(), + git_renamed: rgba(0xb57615ff).into(), + players: [ + PlayerTheme { + cursor: rgba(0x0b6678ff).into(), + selection: rgba(0x0b66783d).into(), + }, + PlayerTheme { + cursor: rgba(0x797410ff).into(), + selection: rgba(0x7974103d).into(), + }, + PlayerTheme { + cursor: rgba(0x7c6f64ff).into(), + selection: rgba(0x7c6f643d).into(), + }, + PlayerTheme { + cursor: rgba(0xaf3a04ff).into(), + selection: rgba(0xaf3a043d).into(), + }, + PlayerTheme { + cursor: rgba(0x8f3f70ff).into(), + selection: rgba(0x8f3f703d).into(), + }, + PlayerTheme { + cursor: rgba(0x437b59ff).into(), + selection: rgba(0x437b593d).into(), + }, + PlayerTheme { + cursor: rgba(0x9d0308ff).into(), + selection: rgba(0x9d03083d).into(), + }, + PlayerTheme { + cursor: rgba(0xb57615ff).into(), + selection: rgba(0xb576153d).into(), + }, + ], + } +} diff --git a/crates/theme2/src/themes/mod.rs b/crates/theme2/src/themes/mod.rs index 63a895c98c1da132a2016a5fbd1ec577aa24f10d..018ec7c93948809111d766203fd192b9c20ef755 100644 --- a/crates/theme2/src/themes/mod.rs +++ b/crates/theme2/src/themes/mod.rs @@ -1,7 +1,80 @@ + +mod andromeda; +mod atelier_cave_dark; +mod atelier_cave_light; +mod atelier_dune_dark; +mod atelier_dune_light; +mod atelier_estuary_dark; +mod atelier_estuary_light; +mod atelier_forest_dark; +mod atelier_forest_light; +mod atelier_heath_dark; +mod atelier_heath_light; +mod atelier_lakeside_dark; +mod atelier_lakeside_light; +mod atelier_plateau_dark; +mod atelier_plateau_light; +mod atelier_savanna_dark; +mod atelier_savanna_light; +mod atelier_seaside_dark; +mod atelier_seaside_light; +mod atelier_sulphurpool_dark; +mod atelier_sulphurpool_light; +mod ayu_dark; +mod ayu_light; +mod ayu_mirage; +mod gruvbox_dark; +mod gruvbox_dark_hard; +mod gruvbox_dark_soft; +mod gruvbox_light; +mod gruvbox_light_hard; +mod gruvbox_light_soft; mod one_dark; +mod one_light; mod rose_pine; +mod rose_pine_dawn; +mod rose_pine_moon; mod sandcastle; +mod solarized_dark; +mod solarized_light; +mod summercamp; +pub use andromeda::*; +pub use atelier_cave_dark::*; +pub use atelier_cave_light::*; +pub use atelier_dune_dark::*; +pub use atelier_dune_light::*; +pub use atelier_estuary_dark::*; +pub use atelier_estuary_light::*; +pub use atelier_forest_dark::*; +pub use atelier_forest_light::*; +pub use atelier_heath_dark::*; +pub use atelier_heath_light::*; +pub use atelier_lakeside_dark::*; +pub use atelier_lakeside_light::*; +pub use atelier_plateau_dark::*; +pub use atelier_plateau_light::*; +pub use atelier_savanna_dark::*; +pub use atelier_savanna_light::*; +pub use atelier_seaside_dark::*; +pub use atelier_seaside_light::*; +pub use atelier_sulphurpool_dark::*; +pub use atelier_sulphurpool_light::*; +pub use ayu_dark::*; +pub use ayu_light::*; +pub use ayu_mirage::*; +pub use gruvbox_dark::*; +pub use gruvbox_dark_hard::*; +pub use gruvbox_dark_soft::*; +pub use gruvbox_light::*; +pub use gruvbox_light_hard::*; +pub use gruvbox_light_soft::*; pub use one_dark::*; +pub use one_light::*; pub use rose_pine::*; +pub use rose_pine_dawn::*; +pub use rose_pine_moon::*; pub use sandcastle::*; +pub use solarized_dark::*; +pub use solarized_light::*; +pub use summercamp::*; diff --git a/crates/theme2/src/themes/one_dark.rs b/crates/theme2/src/themes/one_dark.rs index c59f4da16ad85d114af57f529cac28baaeb92a34..e81082a2d810ced7087fa7c7e5cf56dae8512759 100644 --- a/crates/theme2/src/themes/one_dark.rs +++ b/crates/theme2/src/themes/one_dark.rs @@ -1,3 +1,4 @@ + use gpui2::rgba; use crate::{PlayerTheme, SyntaxTheme, Theme, ThemeMetadata}; @@ -37,45 +38,45 @@ pub fn one_dark() -> Theme { icon_muted: rgba(0x838994ff).into(), syntax: SyntaxTheme { highlights: vec![ - ("link_uri".into(), rgba(0x6eb4bfff).into()), - ("number".into(), rgba(0xbf956aff).into()), - ("property".into(), rgba(0xd07277ff).into()), - ("boolean".into(), rgba(0xbf956aff).into()), - ("label".into(), rgba(0x74ade8ff).into()), - ("punctuation.list_marker".into(), rgba(0xd07277ff).into()), ("keyword".into(), rgba(0xb477cfff).into()), - ("punctuation.delimiter".into(), rgba(0xb2b9c6ff).into()), - ("string.special".into(), rgba(0xbf956aff).into()), - ("constant".into(), rgba(0xdfc184ff).into()), - ("punctuation".into(), rgba(0xacb2beff).into()), - ("variable.special".into(), rgba(0xbf956aff).into()), - ("preproc".into(), rgba(0xc8ccd4ff).into()), - ("enum".into(), rgba(0xd07277ff).into()), - ("attribute".into(), rgba(0x74ade8ff).into()), - ("emphasis.strong".into(), rgba(0xbf956aff).into()), - ("title".into(), rgba(0xd07277ff).into()), - ("hint".into(), rgba(0x5a6f89ff).into()), - ("emphasis".into(), rgba(0x74ade8ff).into()), - ("string.regex".into(), rgba(0xbf956aff).into()), - ("link_text".into(), rgba(0x73ade9ff).into()), - ("string".into(), rgba(0xa1c181ff).into()), ("comment.doc".into(), rgba(0x878e98ff).into()), - ("punctuation.special".into(), rgba(0xb1574bff).into()), - ("primary".into(), rgba(0xacb2beff).into()), - ("operator".into(), rgba(0x6eb4bfff).into()), + ("variant".into(), rgba(0x73ade9ff).into()), + ("property".into(), rgba(0xd07277ff).into()), ("function".into(), rgba(0x73ade9ff).into()), - ("string.special.symbol".into(), rgba(0xbf956aff).into()), ("type".into(), rgba(0x6eb4bfff).into()), - ("variant".into(), rgba(0x73ade9ff).into()), ("tag".into(), rgba(0x74ade8ff).into()), - ("punctuation.bracket".into(), rgba(0xb2b9c6ff).into()), - ("embedded".into(), rgba(0xc8ccd4ff).into()), ("string.escape".into(), rgba(0x878e98ff).into()), - ("variable".into(), rgba(0xc8ccd4ff).into()), - ("predictive".into(), rgba(0x5a6a87ff).into()), + ("punctuation.bracket".into(), rgba(0xb2b9c6ff).into()), + ("hint".into(), rgba(0x5a6f89ff).into()), + ("punctuation".into(), rgba(0xacb2beff).into()), ("comment".into(), rgba(0x5d636fff).into()), - ("text.literal".into(), rgba(0xa1c181ff).into()), + ("emphasis".into(), rgba(0x74ade8ff).into()), + ("punctuation.special".into(), rgba(0xb1574bff).into()), + ("link_uri".into(), rgba(0x6eb4bfff).into()), + ("string.regex".into(), rgba(0xbf956aff).into()), ("constructor".into(), rgba(0x73ade9ff).into()), + ("operator".into(), rgba(0x6eb4bfff).into()), + ("constant".into(), rgba(0xdfc184ff).into()), + ("string.special".into(), rgba(0xbf956aff).into()), + ("emphasis.strong".into(), rgba(0xbf956aff).into()), + ("string.special.symbol".into(), rgba(0xbf956aff).into()), + ("primary".into(), rgba(0xacb2beff).into()), + ("preproc".into(), rgba(0xc8ccd4ff).into()), + ("string".into(), rgba(0xa1c181ff).into()), + ("punctuation.delimiter".into(), rgba(0xb2b9c6ff).into()), + ("embedded".into(), rgba(0xc8ccd4ff).into()), + ("enum".into(), rgba(0xd07277ff).into()), + ("variable.special".into(), rgba(0xbf956aff).into()), + ("text.literal".into(), rgba(0xa1c181ff).into()), + ("attribute".into(), rgba(0x74ade8ff).into()), + ("link_text".into(), rgba(0x73ade9ff).into()), + ("title".into(), rgba(0xd07277ff).into()), + ("predictive".into(), rgba(0x5a6a87ff).into()), + ("number".into(), rgba(0xbf956aff).into()), + ("label".into(), rgba(0x74ade8ff).into()), + ("variable".into(), rgba(0xc8ccd4ff).into()), + ("boolean".into(), rgba(0xbf956aff).into()), + ("punctuation.list_marker".into(), rgba(0xd07277ff).into()), ], }, status_bar: rgba(0x3b414dff).into(), diff --git a/crates/theme2/src/themes/one_light.rs b/crates/theme2/src/themes/one_light.rs new file mode 100644 index 0000000000000000000000000000000000000000..05528d6a559bf4db5adbdd51af15373257611c83 --- /dev/null +++ b/crates/theme2/src/themes/one_light.rs @@ -0,0 +1,132 @@ + +use gpui2::rgba; + +use crate::{PlayerTheme, SyntaxTheme, Theme, ThemeMetadata}; + +pub fn one_light() -> Theme { + Theme { + metadata: ThemeMetadata { + name: "One Light".into(), + is_light: true, + }, + transparent: rgba(0x00000000).into(), + mac_os_traffic_light_red: rgba(0xec695eff).into(), + mac_os_traffic_light_yellow: rgba(0xf4bf4eff).into(), + mac_os_traffic_light_green: rgba(0x61c553ff).into(), + border: rgba(0xc9c9caff).into(), + border_variant: rgba(0xc9c9caff).into(), + border_focused: rgba(0xcbcdf6ff).into(), + border_transparent: rgba(0x00000000).into(), + elevated_surface: rgba(0xdcdcddff).into(), + surface: rgba(0xebebecff).into(), + background: rgba(0xdcdcddff).into(), + filled_element: rgba(0xdcdcddff).into(), + filled_element_hover: rgba(0xffffff1e).into(), + filled_element_active: rgba(0xffffff28).into(), + filled_element_selected: rgba(0xe2e2faff).into(), + filled_element_disabled: rgba(0x00000000).into(), + ghost_element: rgba(0x00000000).into(), + ghost_element_hover: rgba(0xffffff14).into(), + ghost_element_active: rgba(0xffffff1e).into(), + ghost_element_selected: rgba(0xe2e2faff).into(), + ghost_element_disabled: rgba(0x00000000).into(), + text: rgba(0x383a41ff).into(), + text_muted: rgba(0x7e8087ff).into(), + text_placeholder: rgba(0xd36151ff).into(), + text_disabled: rgba(0xa1a1a3ff).into(), + text_accent: rgba(0x5c78e2ff).into(), + icon_muted: rgba(0x7e8087ff).into(), + syntax: SyntaxTheme { + highlights: vec![ + ("string.special.symbol".into(), rgba(0xad6e26ff).into()), + ("hint".into(), rgba(0x9294beff).into()), + ("link_uri".into(), rgba(0x3882b7ff).into()), + ("type".into(), rgba(0x3882b7ff).into()), + ("string.regex".into(), rgba(0xad6e26ff).into()), + ("constant".into(), rgba(0x669f59ff).into()), + ("function".into(), rgba(0x5b79e3ff).into()), + ("string.special".into(), rgba(0xad6e26ff).into()), + ("punctuation.bracket".into(), rgba(0x4d4f52ff).into()), + ("variable".into(), rgba(0x383a41ff).into()), + ("punctuation".into(), rgba(0x383a41ff).into()), + ("property".into(), rgba(0xd3604fff).into()), + ("string".into(), rgba(0x649f57ff).into()), + ("predictive".into(), rgba(0x9b9ec6ff).into()), + ("attribute".into(), rgba(0x5c78e2ff).into()), + ("number".into(), rgba(0xad6e25ff).into()), + ("constructor".into(), rgba(0x5c78e2ff).into()), + ("embedded".into(), rgba(0x383a41ff).into()), + ("title".into(), rgba(0xd3604fff).into()), + ("tag".into(), rgba(0x5c78e2ff).into()), + ("boolean".into(), rgba(0xad6e25ff).into()), + ("punctuation.list_marker".into(), rgba(0xd3604fff).into()), + ("variant".into(), rgba(0x5b79e3ff).into()), + ("emphasis".into(), rgba(0x5c78e2ff).into()), + ("link_text".into(), rgba(0x5b79e3ff).into()), + ("comment".into(), rgba(0xa2a3a7ff).into()), + ("punctuation.special".into(), rgba(0xb92b46ff).into()), + ("emphasis.strong".into(), rgba(0xad6e25ff).into()), + ("primary".into(), rgba(0x383a41ff).into()), + ("punctuation.delimiter".into(), rgba(0x4d4f52ff).into()), + ("label".into(), rgba(0x5c78e2ff).into()), + ("keyword".into(), rgba(0xa449abff).into()), + ("string.escape".into(), rgba(0x7c7e86ff).into()), + ("text.literal".into(), rgba(0x649f57ff).into()), + ("variable.special".into(), rgba(0xad6e25ff).into()), + ("comment.doc".into(), rgba(0x7c7e86ff).into()), + ("enum".into(), rgba(0xd3604fff).into()), + ("operator".into(), rgba(0x3882b7ff).into()), + ("preproc".into(), rgba(0x383a41ff).into()), + ], + }, + status_bar: rgba(0xdcdcddff).into(), + title_bar: rgba(0xdcdcddff).into(), + toolbar: rgba(0xfafafaff).into(), + tab_bar: rgba(0xebebecff).into(), + editor: rgba(0xfafafaff).into(), + editor_subheader: rgba(0xebebecff).into(), + editor_active_line: rgba(0xebebecff).into(), + terminal: rgba(0xfafafaff).into(), + image_fallback_background: rgba(0xdcdcddff).into(), + git_created: rgba(0x669f59ff).into(), + git_modified: rgba(0x5c78e2ff).into(), + git_deleted: rgba(0xd36151ff).into(), + git_conflict: rgba(0xdec184ff).into(), + git_ignored: rgba(0xa1a1a3ff).into(), + git_renamed: rgba(0xdec184ff).into(), + players: [ + PlayerTheme { + cursor: rgba(0x5c78e2ff).into(), + selection: rgba(0x5c78e23d).into(), + }, + PlayerTheme { + cursor: rgba(0x669f59ff).into(), + selection: rgba(0x669f593d).into(), + }, + PlayerTheme { + cursor: rgba(0x984ea5ff).into(), + selection: rgba(0x984ea53d).into(), + }, + PlayerTheme { + cursor: rgba(0xad6e26ff).into(), + selection: rgba(0xad6e263d).into(), + }, + PlayerTheme { + cursor: rgba(0xa349abff).into(), + selection: rgba(0xa349ab3d).into(), + }, + PlayerTheme { + cursor: rgba(0x3a82b7ff).into(), + selection: rgba(0x3a82b73d).into(), + }, + PlayerTheme { + cursor: rgba(0xd36151ff).into(), + selection: rgba(0xd361513d).into(), + }, + PlayerTheme { + cursor: rgba(0xdec184ff).into(), + selection: rgba(0xdec1843d).into(), + }, + ], + } +} diff --git a/crates/theme2/src/themes/rose_pine.rs b/crates/theme2/src/themes/rose_pine.rs index 674422c4088480567d3cf07854917eaf7227f31e..cbe88144ed80399e1866d780a55f0649b3d0396f 100644 --- a/crates/theme2/src/themes/rose_pine.rs +++ b/crates/theme2/src/themes/rose_pine.rs @@ -1,3 +1,4 @@ + use gpui2::rgba; use crate::{PlayerTheme, SyntaxTheme, Theme, ThemeMetadata}; @@ -37,46 +38,46 @@ pub fn rose_pine() -> Theme { icon_muted: rgba(0x74708dff).into(), syntax: SyntaxTheme { highlights: vec![ - ("text.literal".into(), rgba(0xc4a7e6ff).into()), - ("string".into(), rgba(0xf5c177ff).into()), - ("enum".into(), rgba(0xc4a7e6ff).into()), - ("number".into(), rgba(0x5cc1a3ff).into()), - ("attribute".into(), rgba(0x9bced6ff).into()), - ("property".into(), rgba(0x9bced6ff).into()), - ("function".into(), rgba(0xebbcbaff).into()), - ("embedded".into(), rgba(0xe0def4ff).into()), ("punctuation.delimiter".into(), rgba(0x9d99b6ff).into()), - ("variant".into(), rgba(0x9bced6ff).into()), - ("operator".into(), rgba(0x30738fff).into()), - ("comment".into(), rgba(0x6e6a86ff).into()), - ("type.builtin".into(), rgba(0x9ccfd8ff).into()), - ("label".into(), rgba(0x9bced6ff).into()), + ("number".into(), rgba(0x5cc1a3ff).into()), + ("punctuation.special".into(), rgba(0x9d99b6ff).into()), ("string.escape".into(), rgba(0x76728fff).into()), - ("type".into(), rgba(0x9ccfd8ff).into()), - ("constructor".into(), rgba(0x9bced6ff).into()), - ("punctuation.bracket".into(), rgba(0x9d99b6ff).into()), - ("function.method".into(), rgba(0xebbcbaff).into()), - ("tag".into(), rgba(0x9ccfd8ff).into()), - ("link_text".into(), rgba(0x9ccfd8ff).into()), - ("string.special".into(), rgba(0xc4a7e6ff).into()), + ("title".into(), rgba(0xf5c177ff).into()), + ("constant".into(), rgba(0x5cc1a3ff).into()), ("string.regex".into(), rgba(0xc4a7e6ff).into()), - ("preproc".into(), rgba(0xe0def4ff).into()), - ("emphasis.strong".into(), rgba(0x9bced6ff).into()), - ("emphasis".into(), rgba(0x9bced6ff).into()), + ("type.builtin".into(), rgba(0x9ccfd8ff).into()), ("comment.doc".into(), rgba(0x76728fff).into()), - ("boolean".into(), rgba(0xebbcbaff).into()), - ("punctuation.list_marker".into(), rgba(0x9d99b6ff).into()), - ("hint".into(), rgba(0x5e768cff).into()), - ("title".into(), rgba(0xf5c177ff).into()), - ("variable".into(), rgba(0xe0def4ff).into()), - ("string.special.symbol".into(), rgba(0xc4a7e6ff).into()), ("primary".into(), rgba(0xe0def4ff).into()), - ("predictive".into(), rgba(0x556b81ff).into()), + ("string.special".into(), rgba(0xc4a7e6ff).into()), ("punctuation".into(), rgba(0x908caaff).into()), - ("constant".into(), rgba(0x5cc1a3ff).into()), - ("punctuation.special".into(), rgba(0x9d99b6ff).into()), + ("string.special.symbol".into(), rgba(0xc4a7e6ff).into()), + ("variant".into(), rgba(0x9bced6ff).into()), + ("function.method".into(), rgba(0xebbcbaff).into()), + ("comment".into(), rgba(0x6e6a86ff).into()), + ("boolean".into(), rgba(0xebbcbaff).into()), + ("preproc".into(), rgba(0xe0def4ff).into()), ("link_uri".into(), rgba(0xebbcbaff).into()), + ("hint".into(), rgba(0x5e768cff).into()), + ("attribute".into(), rgba(0x9bced6ff).into()), + ("text.literal".into(), rgba(0xc4a7e6ff).into()), + ("punctuation.list_marker".into(), rgba(0x9d99b6ff).into()), + ("operator".into(), rgba(0x30738fff).into()), + ("emphasis.strong".into(), rgba(0x9bced6ff).into()), ("keyword".into(), rgba(0x30738fff).into()), + ("enum".into(), rgba(0xc4a7e6ff).into()), + ("tag".into(), rgba(0x9ccfd8ff).into()), + ("constructor".into(), rgba(0x9bced6ff).into()), + ("function".into(), rgba(0xebbcbaff).into()), + ("string".into(), rgba(0xf5c177ff).into()), + ("type".into(), rgba(0x9ccfd8ff).into()), + ("emphasis".into(), rgba(0x9bced6ff).into()), + ("link_text".into(), rgba(0x9ccfd8ff).into()), + ("property".into(), rgba(0x9bced6ff).into()), + ("predictive".into(), rgba(0x556b81ff).into()), + ("punctuation.bracket".into(), rgba(0x9d99b6ff).into()), + ("embedded".into(), rgba(0xe0def4ff).into()), + ("variable".into(), rgba(0xe0def4ff).into()), + ("label".into(), rgba(0x9bced6ff).into()), ], }, status_bar: rgba(0x292738ff).into(), @@ -130,261 +131,3 @@ pub fn rose_pine() -> Theme { ], } } - -pub fn rose_pine_dawn() -> Theme { - Theme { - metadata: ThemeMetadata { - name: "Rosé Pine Dawn".into(), - is_light: true, - }, - transparent: rgba(0x00000000).into(), - mac_os_traffic_light_red: rgba(0xec695eff).into(), - mac_os_traffic_light_yellow: rgba(0xf4bf4eff).into(), - mac_os_traffic_light_green: rgba(0x61c553ff).into(), - border: rgba(0xdcd6d5ff).into(), - border_variant: rgba(0xdcd6d5ff).into(), - border_focused: rgba(0xc3d7dbff).into(), - border_transparent: rgba(0x00000000).into(), - elevated_surface: rgba(0xdcd8d8ff).into(), - surface: rgba(0xfef9f2ff).into(), - background: rgba(0xdcd8d8ff).into(), - filled_element: rgba(0xdcd8d8ff).into(), - filled_element_hover: rgba(0xffffff1e).into(), - filled_element_active: rgba(0xffffff28).into(), - filled_element_selected: rgba(0xdde9ebff).into(), - filled_element_disabled: rgba(0x00000000).into(), - ghost_element: rgba(0x00000000).into(), - ghost_element_hover: rgba(0xffffff14).into(), - ghost_element_active: rgba(0xffffff1e).into(), - ghost_element_selected: rgba(0xdde9ebff).into(), - ghost_element_disabled: rgba(0x00000000).into(), - text: rgba(0x575279ff).into(), - text_muted: rgba(0x706c8cff).into(), - text_placeholder: rgba(0xb4647aff).into(), - text_disabled: rgba(0x938fa3ff).into(), - text_accent: rgba(0x57949fff).into(), - icon_muted: rgba(0x706c8cff).into(), - syntax: SyntaxTheme { - highlights: vec![ - ("type".into(), rgba(0x55949fff).into()), - ("keyword".into(), rgba(0x276983ff).into()), - ("link_text".into(), rgba(0x55949fff).into()), - ("embedded".into(), rgba(0x575279ff).into()), - ("type.builtin".into(), rgba(0x55949fff).into()), - ("punctuation.delimiter".into(), rgba(0x635e82ff).into()), - ("text.literal".into(), rgba(0x9079a9ff).into()), - ("variant".into(), rgba(0x57949fff).into()), - ("string".into(), rgba(0xea9d34ff).into()), - ("hint".into(), rgba(0x7a92aaff).into()), - ("punctuation.special".into(), rgba(0x635e82ff).into()), - ("string.special".into(), rgba(0x9079a9ff).into()), - ("string.regex".into(), rgba(0x9079a9ff).into()), - ("operator".into(), rgba(0x276983ff).into()), - ("boolean".into(), rgba(0xd7827dff).into()), - ("constructor".into(), rgba(0x57949fff).into()), - ("punctuation".into(), rgba(0x797593ff).into()), - ("label".into(), rgba(0x57949fff).into()), - ("variable".into(), rgba(0x575279ff).into()), - ("tag".into(), rgba(0x55949fff).into()), - ("primary".into(), rgba(0x575279ff).into()), - ("link_uri".into(), rgba(0xd7827dff).into()), - ("punctuation.list_marker".into(), rgba(0x635e82ff).into()), - ("string.escape".into(), rgba(0x6e6a8bff).into()), - ("punctuation.bracket".into(), rgba(0x635e82ff).into()), - ("function".into(), rgba(0xd7827dff).into()), - ("preproc".into(), rgba(0x575279ff).into()), - ("function.method".into(), rgba(0xd7827dff).into()), - ("predictive".into(), rgba(0xa2acbeff).into()), - ("comment.doc".into(), rgba(0x6e6a8bff).into()), - ("comment".into(), rgba(0x9893a5ff).into()), - ("number".into(), rgba(0x3daa8eff).into()), - ("emphasis".into(), rgba(0x57949fff).into()), - ("title".into(), rgba(0xea9d34ff).into()), - ("enum".into(), rgba(0x9079a9ff).into()), - ("string.special.symbol".into(), rgba(0x9079a9ff).into()), - ("constant".into(), rgba(0x3daa8eff).into()), - ("emphasis.strong".into(), rgba(0x57949fff).into()), - ("property".into(), rgba(0x57949fff).into()), - ("attribute".into(), rgba(0x57949fff).into()), - ], - }, - status_bar: rgba(0xdcd8d8ff).into(), - title_bar: rgba(0xdcd8d8ff).into(), - toolbar: rgba(0xfaf4edff).into(), - tab_bar: rgba(0xfef9f2ff).into(), - editor: rgba(0xfaf4edff).into(), - editor_subheader: rgba(0xfef9f2ff).into(), - editor_active_line: rgba(0xfef9f2ff).into(), - terminal: rgba(0xfaf4edff).into(), - image_fallback_background: rgba(0xdcd8d8ff).into(), - git_created: rgba(0x3daa8eff).into(), - git_modified: rgba(0x57949fff).into(), - git_deleted: rgba(0xb4647aff).into(), - git_conflict: rgba(0xe99d35ff).into(), - git_ignored: rgba(0x938fa3ff).into(), - git_renamed: rgba(0xe99d35ff).into(), - players: [ - PlayerTheme { - cursor: rgba(0x57949fff).into(), - selection: rgba(0x57949f3d).into(), - }, - PlayerTheme { - cursor: rgba(0x3daa8eff).into(), - selection: rgba(0x3daa8e3d).into(), - }, - PlayerTheme { - cursor: rgba(0x7c697fff).into(), - selection: rgba(0x7c697f3d).into(), - }, - PlayerTheme { - cursor: rgba(0x9079a9ff).into(), - selection: rgba(0x9079a93d).into(), - }, - PlayerTheme { - cursor: rgba(0x9079a9ff).into(), - selection: rgba(0x9079a93d).into(), - }, - PlayerTheme { - cursor: rgba(0x296983ff).into(), - selection: rgba(0x2969833d).into(), - }, - PlayerTheme { - cursor: rgba(0xb4647aff).into(), - selection: rgba(0xb4647a3d).into(), - }, - PlayerTheme { - cursor: rgba(0xe99d35ff).into(), - selection: rgba(0xe99d353d).into(), - }, - ], - } -} - -pub fn rose_pine_moon() -> Theme { - Theme { - metadata: ThemeMetadata { - name: "Rosé Pine Moon".into(), - is_light: false, - }, - transparent: rgba(0x00000000).into(), - mac_os_traffic_light_red: rgba(0xec695eff).into(), - mac_os_traffic_light_yellow: rgba(0xf4bf4eff).into(), - mac_os_traffic_light_green: rgba(0x61c553ff).into(), - border: rgba(0x504c68ff).into(), - border_variant: rgba(0x504c68ff).into(), - border_focused: rgba(0x435255ff).into(), - border_transparent: rgba(0x00000000).into(), - elevated_surface: rgba(0x38354eff).into(), - surface: rgba(0x28253cff).into(), - background: rgba(0x38354eff).into(), - filled_element: rgba(0x38354eff).into(), - filled_element_hover: rgba(0xffffff1e).into(), - filled_element_active: rgba(0xffffff28).into(), - filled_element_selected: rgba(0x2f3639ff).into(), - filled_element_disabled: rgba(0x00000000).into(), - ghost_element: rgba(0x00000000).into(), - ghost_element_hover: rgba(0xffffff14).into(), - ghost_element_active: rgba(0xffffff1e).into(), - ghost_element_selected: rgba(0x2f3639ff).into(), - ghost_element_disabled: rgba(0x00000000).into(), - text: rgba(0xe0def4ff).into(), - text_muted: rgba(0x85819eff).into(), - text_placeholder: rgba(0xea6e92ff).into(), - text_disabled: rgba(0x605d7aff).into(), - text_accent: rgba(0x9bced6ff).into(), - icon_muted: rgba(0x85819eff).into(), - syntax: SyntaxTheme { - highlights: vec![ - ("embedded".into(), rgba(0xe0def4ff).into()), - ("link_uri".into(), rgba(0xea9a97ff).into()), - ("primary".into(), rgba(0xe0def4ff).into()), - ("punctuation.delimiter".into(), rgba(0xaeabc6ff).into()), - ("string.escape".into(), rgba(0x8682a0ff).into()), - ("attribute".into(), rgba(0x9bced6ff).into()), - ("constant".into(), rgba(0x5cc1a3ff).into()), - ("keyword".into(), rgba(0x3d8fb0ff).into()), - ("predictive".into(), rgba(0x516b83ff).into()), - ("label".into(), rgba(0x9bced6ff).into()), - ("comment.doc".into(), rgba(0x8682a0ff).into()), - ("emphasis".into(), rgba(0x9bced6ff).into()), - ("string".into(), rgba(0xf5c177ff).into()), - ("type".into(), rgba(0x9ccfd8ff).into()), - ("string.special".into(), rgba(0xc4a7e6ff).into()), - ("function".into(), rgba(0xea9a97ff).into()), - ("constructor".into(), rgba(0x9bced6ff).into()), - ("comment".into(), rgba(0x6e6a86ff).into()), - ("preproc".into(), rgba(0xe0def4ff).into()), - ("enum".into(), rgba(0xc4a7e6ff).into()), - ("punctuation.bracket".into(), rgba(0xaeabc6ff).into()), - ("number".into(), rgba(0x5cc1a3ff).into()), - ("hint".into(), rgba(0x728aa2ff).into()), - ("variant".into(), rgba(0x9bced6ff).into()), - ("link_text".into(), rgba(0x9ccfd8ff).into()), - ("property".into(), rgba(0x9bced6ff).into()), - ("punctuation.list_marker".into(), rgba(0xaeabc6ff).into()), - ("operator".into(), rgba(0x3d8fb0ff).into()), - ("title".into(), rgba(0xf5c177ff).into()), - ("punctuation".into(), rgba(0x908caaff).into()), - ("string.regex".into(), rgba(0xc4a7e6ff).into()), - ("tag".into(), rgba(0x9ccfd8ff).into()), - ("emphasis.strong".into(), rgba(0x9bced6ff).into()), - ("text.literal".into(), rgba(0xc4a7e6ff).into()), - ("punctuation.special".into(), rgba(0xaeabc6ff).into()), - ("boolean".into(), rgba(0xea9a97ff).into()), - ("type.builtin".into(), rgba(0x9ccfd8ff).into()), - ("function.method".into(), rgba(0xea9a97ff).into()), - ("variable".into(), rgba(0xe0def4ff).into()), - ("string.special.symbol".into(), rgba(0xc4a7e6ff).into()), - ], - }, - status_bar: rgba(0x38354eff).into(), - title_bar: rgba(0x38354eff).into(), - toolbar: rgba(0x232136ff).into(), - tab_bar: rgba(0x28253cff).into(), - editor: rgba(0x232136ff).into(), - editor_subheader: rgba(0x28253cff).into(), - editor_active_line: rgba(0x28253cff).into(), - terminal: rgba(0x232136ff).into(), - image_fallback_background: rgba(0x38354eff).into(), - git_created: rgba(0x5cc1a3ff).into(), - git_modified: rgba(0x9bced6ff).into(), - git_deleted: rgba(0xea6e92ff).into(), - git_conflict: rgba(0xf5c177ff).into(), - git_ignored: rgba(0x605d7aff).into(), - git_renamed: rgba(0xf5c177ff).into(), - players: [ - PlayerTheme { - cursor: rgba(0x9bced6ff).into(), - selection: rgba(0x9bced63d).into(), - }, - PlayerTheme { - cursor: rgba(0x5cc1a3ff).into(), - selection: rgba(0x5cc1a33d).into(), - }, - PlayerTheme { - cursor: rgba(0xa683a0ff).into(), - selection: rgba(0xa683a03d).into(), - }, - PlayerTheme { - cursor: rgba(0xc4a7e6ff).into(), - selection: rgba(0xc4a7e63d).into(), - }, - PlayerTheme { - cursor: rgba(0xc4a7e6ff).into(), - selection: rgba(0xc4a7e63d).into(), - }, - PlayerTheme { - cursor: rgba(0x3e8fb0ff).into(), - selection: rgba(0x3e8fb03d).into(), - }, - PlayerTheme { - cursor: rgba(0xea6e92ff).into(), - selection: rgba(0xea6e923d).into(), - }, - PlayerTheme { - cursor: rgba(0xf5c177ff).into(), - selection: rgba(0xf5c1773d).into(), - }, - ], - } -} diff --git a/crates/theme2/src/themes/rose_pine_dawn.rs b/crates/theme2/src/themes/rose_pine_dawn.rs new file mode 100644 index 0000000000000000000000000000000000000000..66dde6730f0a4bce2a800bb2ef7cc6b5e06d3ad3 --- /dev/null +++ b/crates/theme2/src/themes/rose_pine_dawn.rs @@ -0,0 +1,133 @@ + +use gpui2::rgba; + +use crate::{PlayerTheme, SyntaxTheme, Theme, ThemeMetadata}; + +pub fn rose_pine_dawn() -> Theme { + Theme { + metadata: ThemeMetadata { + name: "Rosé Pine Dawn".into(), + is_light: true, + }, + transparent: rgba(0x00000000).into(), + mac_os_traffic_light_red: rgba(0xec695eff).into(), + mac_os_traffic_light_yellow: rgba(0xf4bf4eff).into(), + mac_os_traffic_light_green: rgba(0x61c553ff).into(), + border: rgba(0xdcd6d5ff).into(), + border_variant: rgba(0xdcd6d5ff).into(), + border_focused: rgba(0xc3d7dbff).into(), + border_transparent: rgba(0x00000000).into(), + elevated_surface: rgba(0xdcd8d8ff).into(), + surface: rgba(0xfef9f2ff).into(), + background: rgba(0xdcd8d8ff).into(), + filled_element: rgba(0xdcd8d8ff).into(), + filled_element_hover: rgba(0xffffff1e).into(), + filled_element_active: rgba(0xffffff28).into(), + filled_element_selected: rgba(0xdde9ebff).into(), + filled_element_disabled: rgba(0x00000000).into(), + ghost_element: rgba(0x00000000).into(), + ghost_element_hover: rgba(0xffffff14).into(), + ghost_element_active: rgba(0xffffff1e).into(), + ghost_element_selected: rgba(0xdde9ebff).into(), + ghost_element_disabled: rgba(0x00000000).into(), + text: rgba(0x575279ff).into(), + text_muted: rgba(0x706c8cff).into(), + text_placeholder: rgba(0xb4647aff).into(), + text_disabled: rgba(0x938fa3ff).into(), + text_accent: rgba(0x57949fff).into(), + icon_muted: rgba(0x706c8cff).into(), + syntax: SyntaxTheme { + highlights: vec![ + ("primary".into(), rgba(0x575279ff).into()), + ("attribute".into(), rgba(0x57949fff).into()), + ("operator".into(), rgba(0x276983ff).into()), + ("boolean".into(), rgba(0xd7827dff).into()), + ("tag".into(), rgba(0x55949fff).into()), + ("enum".into(), rgba(0x9079a9ff).into()), + ("embedded".into(), rgba(0x575279ff).into()), + ("label".into(), rgba(0x57949fff).into()), + ("function.method".into(), rgba(0xd7827dff).into()), + ("punctuation.list_marker".into(), rgba(0x635e82ff).into()), + ("punctuation.delimiter".into(), rgba(0x635e82ff).into()), + ("string".into(), rgba(0xea9d34ff).into()), + ("type".into(), rgba(0x55949fff).into()), + ("string.regex".into(), rgba(0x9079a9ff).into()), + ("variable".into(), rgba(0x575279ff).into()), + ("constructor".into(), rgba(0x57949fff).into()), + ("punctuation.bracket".into(), rgba(0x635e82ff).into()), + ("emphasis".into(), rgba(0x57949fff).into()), + ("comment.doc".into(), rgba(0x6e6a8bff).into()), + ("comment".into(), rgba(0x9893a5ff).into()), + ("keyword".into(), rgba(0x276983ff).into()), + ("preproc".into(), rgba(0x575279ff).into()), + ("string.special".into(), rgba(0x9079a9ff).into()), + ("string.escape".into(), rgba(0x6e6a8bff).into()), + ("constant".into(), rgba(0x3daa8eff).into()), + ("property".into(), rgba(0x57949fff).into()), + ("punctuation.special".into(), rgba(0x635e82ff).into()), + ("text.literal".into(), rgba(0x9079a9ff).into()), + ("type.builtin".into(), rgba(0x55949fff).into()), + ("string.special.symbol".into(), rgba(0x9079a9ff).into()), + ("link_uri".into(), rgba(0xd7827dff).into()), + ("number".into(), rgba(0x3daa8eff).into()), + ("emphasis.strong".into(), rgba(0x57949fff).into()), + ("function".into(), rgba(0xd7827dff).into()), + ("title".into(), rgba(0xea9d34ff).into()), + ("punctuation".into(), rgba(0x797593ff).into()), + ("link_text".into(), rgba(0x55949fff).into()), + ("variant".into(), rgba(0x57949fff).into()), + ("predictive".into(), rgba(0xa2acbeff).into()), + ("hint".into(), rgba(0x7a92aaff).into()), + ], + }, + status_bar: rgba(0xdcd8d8ff).into(), + title_bar: rgba(0xdcd8d8ff).into(), + toolbar: rgba(0xfaf4edff).into(), + tab_bar: rgba(0xfef9f2ff).into(), + editor: rgba(0xfaf4edff).into(), + editor_subheader: rgba(0xfef9f2ff).into(), + editor_active_line: rgba(0xfef9f2ff).into(), + terminal: rgba(0xfaf4edff).into(), + image_fallback_background: rgba(0xdcd8d8ff).into(), + git_created: rgba(0x3daa8eff).into(), + git_modified: rgba(0x57949fff).into(), + git_deleted: rgba(0xb4647aff).into(), + git_conflict: rgba(0xe99d35ff).into(), + git_ignored: rgba(0x938fa3ff).into(), + git_renamed: rgba(0xe99d35ff).into(), + players: [ + PlayerTheme { + cursor: rgba(0x57949fff).into(), + selection: rgba(0x57949f3d).into(), + }, + PlayerTheme { + cursor: rgba(0x3daa8eff).into(), + selection: rgba(0x3daa8e3d).into(), + }, + PlayerTheme { + cursor: rgba(0x7c697fff).into(), + selection: rgba(0x7c697f3d).into(), + }, + PlayerTheme { + cursor: rgba(0x9079a9ff).into(), + selection: rgba(0x9079a93d).into(), + }, + PlayerTheme { + cursor: rgba(0x9079a9ff).into(), + selection: rgba(0x9079a93d).into(), + }, + PlayerTheme { + cursor: rgba(0x296983ff).into(), + selection: rgba(0x2969833d).into(), + }, + PlayerTheme { + cursor: rgba(0xb4647aff).into(), + selection: rgba(0xb4647a3d).into(), + }, + PlayerTheme { + cursor: rgba(0xe99d35ff).into(), + selection: rgba(0xe99d353d).into(), + }, + ], + } +} diff --git a/crates/theme2/src/themes/rose_pine_moon.rs b/crates/theme2/src/themes/rose_pine_moon.rs new file mode 100644 index 0000000000000000000000000000000000000000..ce96003705aab572654cc4d5462579d945c54291 --- /dev/null +++ b/crates/theme2/src/themes/rose_pine_moon.rs @@ -0,0 +1,133 @@ + +use gpui2::rgba; + +use crate::{PlayerTheme, SyntaxTheme, Theme, ThemeMetadata}; + +pub fn rose_pine_moon() -> Theme { + Theme { + metadata: ThemeMetadata { + name: "Rosé Pine Moon".into(), + is_light: false, + }, + transparent: rgba(0x00000000).into(), + mac_os_traffic_light_red: rgba(0xec695eff).into(), + mac_os_traffic_light_yellow: rgba(0xf4bf4eff).into(), + mac_os_traffic_light_green: rgba(0x61c553ff).into(), + border: rgba(0x504c68ff).into(), + border_variant: rgba(0x504c68ff).into(), + border_focused: rgba(0x435255ff).into(), + border_transparent: rgba(0x00000000).into(), + elevated_surface: rgba(0x38354eff).into(), + surface: rgba(0x28253cff).into(), + background: rgba(0x38354eff).into(), + filled_element: rgba(0x38354eff).into(), + filled_element_hover: rgba(0xffffff1e).into(), + filled_element_active: rgba(0xffffff28).into(), + filled_element_selected: rgba(0x2f3639ff).into(), + filled_element_disabled: rgba(0x00000000).into(), + ghost_element: rgba(0x00000000).into(), + ghost_element_hover: rgba(0xffffff14).into(), + ghost_element_active: rgba(0xffffff1e).into(), + ghost_element_selected: rgba(0x2f3639ff).into(), + ghost_element_disabled: rgba(0x00000000).into(), + text: rgba(0xe0def4ff).into(), + text_muted: rgba(0x85819eff).into(), + text_placeholder: rgba(0xea6e92ff).into(), + text_disabled: rgba(0x605d7aff).into(), + text_accent: rgba(0x9bced6ff).into(), + icon_muted: rgba(0x85819eff).into(), + syntax: SyntaxTheme { + highlights: vec![ + ("type.builtin".into(), rgba(0x9ccfd8ff).into()), + ("variable".into(), rgba(0xe0def4ff).into()), + ("punctuation".into(), rgba(0x908caaff).into()), + ("number".into(), rgba(0x5cc1a3ff).into()), + ("comment".into(), rgba(0x6e6a86ff).into()), + ("string.special".into(), rgba(0xc4a7e6ff).into()), + ("string.escape".into(), rgba(0x8682a0ff).into()), + ("function.method".into(), rgba(0xea9a97ff).into()), + ("predictive".into(), rgba(0x516b83ff).into()), + ("punctuation.delimiter".into(), rgba(0xaeabc6ff).into()), + ("primary".into(), rgba(0xe0def4ff).into()), + ("link_text".into(), rgba(0x9ccfd8ff).into()), + ("string.regex".into(), rgba(0xc4a7e6ff).into()), + ("constructor".into(), rgba(0x9bced6ff).into()), + ("constant".into(), rgba(0x5cc1a3ff).into()), + ("emphasis.strong".into(), rgba(0x9bced6ff).into()), + ("function".into(), rgba(0xea9a97ff).into()), + ("hint".into(), rgba(0x728aa2ff).into()), + ("preproc".into(), rgba(0xe0def4ff).into()), + ("property".into(), rgba(0x9bced6ff).into()), + ("punctuation.list_marker".into(), rgba(0xaeabc6ff).into()), + ("emphasis".into(), rgba(0x9bced6ff).into()), + ("attribute".into(), rgba(0x9bced6ff).into()), + ("title".into(), rgba(0xf5c177ff).into()), + ("keyword".into(), rgba(0x3d8fb0ff).into()), + ("string".into(), rgba(0xf5c177ff).into()), + ("text.literal".into(), rgba(0xc4a7e6ff).into()), + ("embedded".into(), rgba(0xe0def4ff).into()), + ("comment.doc".into(), rgba(0x8682a0ff).into()), + ("variant".into(), rgba(0x9bced6ff).into()), + ("label".into(), rgba(0x9bced6ff).into()), + ("punctuation.special".into(), rgba(0xaeabc6ff).into()), + ("string.special.symbol".into(), rgba(0xc4a7e6ff).into()), + ("tag".into(), rgba(0x9ccfd8ff).into()), + ("enum".into(), rgba(0xc4a7e6ff).into()), + ("boolean".into(), rgba(0xea9a97ff).into()), + ("punctuation.bracket".into(), rgba(0xaeabc6ff).into()), + ("operator".into(), rgba(0x3d8fb0ff).into()), + ("type".into(), rgba(0x9ccfd8ff).into()), + ("link_uri".into(), rgba(0xea9a97ff).into()), + ], + }, + status_bar: rgba(0x38354eff).into(), + title_bar: rgba(0x38354eff).into(), + toolbar: rgba(0x232136ff).into(), + tab_bar: rgba(0x28253cff).into(), + editor: rgba(0x232136ff).into(), + editor_subheader: rgba(0x28253cff).into(), + editor_active_line: rgba(0x28253cff).into(), + terminal: rgba(0x232136ff).into(), + image_fallback_background: rgba(0x38354eff).into(), + git_created: rgba(0x5cc1a3ff).into(), + git_modified: rgba(0x9bced6ff).into(), + git_deleted: rgba(0xea6e92ff).into(), + git_conflict: rgba(0xf5c177ff).into(), + git_ignored: rgba(0x605d7aff).into(), + git_renamed: rgba(0xf5c177ff).into(), + players: [ + PlayerTheme { + cursor: rgba(0x9bced6ff).into(), + selection: rgba(0x9bced63d).into(), + }, + PlayerTheme { + cursor: rgba(0x5cc1a3ff).into(), + selection: rgba(0x5cc1a33d).into(), + }, + PlayerTheme { + cursor: rgba(0xa683a0ff).into(), + selection: rgba(0xa683a03d).into(), + }, + PlayerTheme { + cursor: rgba(0xc4a7e6ff).into(), + selection: rgba(0xc4a7e63d).into(), + }, + PlayerTheme { + cursor: rgba(0xc4a7e6ff).into(), + selection: rgba(0xc4a7e63d).into(), + }, + PlayerTheme { + cursor: rgba(0x3e8fb0ff).into(), + selection: rgba(0x3e8fb03d).into(), + }, + PlayerTheme { + cursor: rgba(0xea6e92ff).into(), + selection: rgba(0xea6e923d).into(), + }, + PlayerTheme { + cursor: rgba(0xf5c177ff).into(), + selection: rgba(0xf5c1773d).into(), + }, + ], + } +} diff --git a/crates/theme2/src/themes/sandcastle.rs b/crates/theme2/src/themes/sandcastle.rs index 4e87c427f0692062be2f05538515f966fb6925b5..2004033239cdc0c4d133f4ced3e833e56dcab953 100644 --- a/crates/theme2/src/themes/sandcastle.rs +++ b/crates/theme2/src/themes/sandcastle.rs @@ -1,3 +1,4 @@ + use gpui2::rgba; use crate::{PlayerTheme, SyntaxTheme, Theme, ThemeMetadata}; @@ -37,44 +38,44 @@ pub fn sandcastle() -> Theme { icon_muted: rgba(0xa69782ff).into(), syntax: SyntaxTheme { highlights: vec![ - ("string.special.symbol".into(), rgba(0xa07d3aff).into()), - ("enum".into(), rgba(0xa07d3aff).into()), + ("comment".into(), rgba(0xa89984ff).into()), + ("type".into(), rgba(0x83a598ff).into()), + ("preproc".into(), rgba(0xfdf4c1ff).into()), ("punctuation.bracket".into(), rgba(0xd5c5a1ff).into()), ("hint".into(), rgba(0x727d68ff).into()), - ("punctuation.delimiter".into(), rgba(0xd5c5a1ff).into()), - ("comment".into(), rgba(0xa89984ff).into()), - ("embedded".into(), rgba(0xfdf4c1ff).into()), + ("link_uri".into(), rgba(0x83a598ff).into()), + ("text.literal".into(), rgba(0xa07d3aff).into()), + ("enum".into(), rgba(0xa07d3aff).into()), + ("string.special".into(), rgba(0xa07d3aff).into()), ("string".into(), rgba(0xa07d3aff).into()), - ("string.escape".into(), rgba(0xa89984ff).into()), - ("comment.doc".into(), rgba(0xa89984ff).into()), - ("variant".into(), rgba(0x518b8bff).into()), + ("punctuation.special".into(), rgba(0xd5c5a1ff).into()), + ("keyword".into(), rgba(0x518b8bff).into()), + ("constructor".into(), rgba(0x518b8bff).into()), ("predictive".into(), rgba(0x5c6152ff).into()), - ("link_text".into(), rgba(0xa07d3aff).into()), - ("attribute".into(), rgba(0x518b8bff).into()), ("title".into(), rgba(0xfdf4c1ff).into()), + ("variable".into(), rgba(0xfdf4c1ff).into()), ("emphasis.strong".into(), rgba(0x518b8bff).into()), ("primary".into(), rgba(0xfdf4c1ff).into()), + ("emphasis".into(), rgba(0x518b8bff).into()), + ("punctuation".into(), rgba(0xd5c5a1ff).into()), + ("constant".into(), rgba(0x83a598ff).into()), + ("link_text".into(), rgba(0xa07d3aff).into()), + ("punctuation.delimiter".into(), rgba(0xd5c5a1ff).into()), + ("embedded".into(), rgba(0xfdf4c1ff).into()), + ("string.special.symbol".into(), rgba(0xa07d3aff).into()), + ("tag".into(), rgba(0x518b8bff).into()), ("punctuation.list_marker".into(), rgba(0xd5c5a1ff).into()), + ("operator".into(), rgba(0xa07d3aff).into()), ("boolean".into(), rgba(0x83a598ff).into()), ("function".into(), rgba(0xa07d3aff).into()), - ("punctuation.special".into(), rgba(0xd5c5a1ff).into()), - ("string.special".into(), rgba(0xa07d3aff).into()), - ("string.regex".into(), rgba(0xa07d3aff).into()), - ("tag".into(), rgba(0x518b8bff).into()), - ("keyword".into(), rgba(0x518b8bff).into()), - ("type".into(), rgba(0x83a598ff).into()), - ("text.literal".into(), rgba(0xa07d3aff).into()), - ("link_uri".into(), rgba(0x83a598ff).into()), + ("attribute".into(), rgba(0x518b8bff).into()), + ("number".into(), rgba(0x83a598ff).into()), + ("string.escape".into(), rgba(0xa89984ff).into()), + ("comment.doc".into(), rgba(0xa89984ff).into()), ("label".into(), rgba(0x518b8bff).into()), + ("string.regex".into(), rgba(0xa07d3aff).into()), ("property".into(), rgba(0x518b8bff).into()), - ("number".into(), rgba(0x83a598ff).into()), - ("constructor".into(), rgba(0x518b8bff).into()), - ("preproc".into(), rgba(0xfdf4c1ff).into()), - ("emphasis".into(), rgba(0x518b8bff).into()), - ("variable".into(), rgba(0xfdf4c1ff).into()), - ("operator".into(), rgba(0xa07d3aff).into()), - ("punctuation".into(), rgba(0xd5c5a1ff).into()), - ("constant".into(), rgba(0x83a598ff).into()), + ("variant".into(), rgba(0x518b8bff).into()), ], }, status_bar: rgba(0x333944ff).into(), diff --git a/crates/theme2/src/themes/solarized_dark.rs b/crates/theme2/src/themes/solarized_dark.rs new file mode 100644 index 0000000000000000000000000000000000000000..1c58ef600880ac2cdd4f89710e781a4ef433790d --- /dev/null +++ b/crates/theme2/src/themes/solarized_dark.rs @@ -0,0 +1,131 @@ + +use gpui2::rgba; + +use crate::{PlayerTheme, SyntaxTheme, Theme, ThemeMetadata}; + +pub fn solarized_dark() -> Theme { + Theme { + metadata: ThemeMetadata { + name: "Solarized Dark".into(), + is_light: false, + }, + transparent: rgba(0x00000000).into(), + mac_os_traffic_light_red: rgba(0xec695eff).into(), + mac_os_traffic_light_yellow: rgba(0xf4bf4eff).into(), + mac_os_traffic_light_green: rgba(0x61c553ff).into(), + border: rgba(0x2b4e58ff).into(), + border_variant: rgba(0x2b4e58ff).into(), + border_focused: rgba(0x1b3149ff).into(), + border_transparent: rgba(0x00000000).into(), + elevated_surface: rgba(0x073743ff).into(), + surface: rgba(0x04313bff).into(), + background: rgba(0x073743ff).into(), + filled_element: rgba(0x073743ff).into(), + filled_element_hover: rgba(0xffffff1e).into(), + filled_element_active: rgba(0xffffff28).into(), + filled_element_selected: rgba(0x141f2cff).into(), + filled_element_disabled: rgba(0x00000000).into(), + ghost_element: rgba(0x00000000).into(), + ghost_element_hover: rgba(0xffffff14).into(), + ghost_element_active: rgba(0xffffff1e).into(), + ghost_element_selected: rgba(0x141f2cff).into(), + ghost_element_disabled: rgba(0x00000000).into(), + text: rgba(0xfdf6e3ff).into(), + text_muted: rgba(0x93a1a1ff).into(), + text_placeholder: rgba(0xdc3330ff).into(), + text_disabled: rgba(0x6f8389ff).into(), + text_accent: rgba(0x278ad1ff).into(), + icon_muted: rgba(0x93a1a1ff).into(), + syntax: SyntaxTheme { + highlights: vec![ + ("punctuation.special".into(), rgba(0xefe9d6ff).into()), + ("string".into(), rgba(0xcb4b16ff).into()), + ("variant".into(), rgba(0x278ad1ff).into()), + ("variable".into(), rgba(0xfdf6e3ff).into()), + ("string.special.symbol".into(), rgba(0xcb4b16ff).into()), + ("primary".into(), rgba(0xfdf6e3ff).into()), + ("type".into(), rgba(0x2ba198ff).into()), + ("boolean".into(), rgba(0x849903ff).into()), + ("string.special".into(), rgba(0xcb4b16ff).into()), + ("label".into(), rgba(0x278ad1ff).into()), + ("link_uri".into(), rgba(0x849903ff).into()), + ("constructor".into(), rgba(0x278ad1ff).into()), + ("hint".into(), rgba(0x4f8297ff).into()), + ("preproc".into(), rgba(0xfdf6e3ff).into()), + ("text.literal".into(), rgba(0xcb4b16ff).into()), + ("string.escape".into(), rgba(0x99a5a4ff).into()), + ("link_text".into(), rgba(0xcb4b16ff).into()), + ("comment".into(), rgba(0x99a5a4ff).into()), + ("enum".into(), rgba(0xcb4b16ff).into()), + ("constant".into(), rgba(0x849903ff).into()), + ("comment.doc".into(), rgba(0x99a5a4ff).into()), + ("emphasis".into(), rgba(0x278ad1ff).into()), + ("predictive".into(), rgba(0x3f718bff).into()), + ("attribute".into(), rgba(0x278ad1ff).into()), + ("punctuation.delimiter".into(), rgba(0xefe9d6ff).into()), + ("function".into(), rgba(0xb58902ff).into()), + ("emphasis.strong".into(), rgba(0x278ad1ff).into()), + ("tag".into(), rgba(0x278ad1ff).into()), + ("string.regex".into(), rgba(0xcb4b16ff).into()), + ("property".into(), rgba(0x278ad1ff).into()), + ("keyword".into(), rgba(0x278ad1ff).into()), + ("number".into(), rgba(0x849903ff).into()), + ("embedded".into(), rgba(0xfdf6e3ff).into()), + ("operator".into(), rgba(0xcb4b16ff).into()), + ("punctuation".into(), rgba(0xefe9d6ff).into()), + ("punctuation.bracket".into(), rgba(0xefe9d6ff).into()), + ("title".into(), rgba(0xfdf6e3ff).into()), + ("punctuation.list_marker".into(), rgba(0xefe9d6ff).into()), + ], + }, + status_bar: rgba(0x073743ff).into(), + title_bar: rgba(0x073743ff).into(), + toolbar: rgba(0x002a35ff).into(), + tab_bar: rgba(0x04313bff).into(), + editor: rgba(0x002a35ff).into(), + editor_subheader: rgba(0x04313bff).into(), + editor_active_line: rgba(0x04313bff).into(), + terminal: rgba(0x002a35ff).into(), + image_fallback_background: rgba(0x073743ff).into(), + git_created: rgba(0x849903ff).into(), + git_modified: rgba(0x278ad1ff).into(), + git_deleted: rgba(0xdc3330ff).into(), + git_conflict: rgba(0xb58902ff).into(), + git_ignored: rgba(0x6f8389ff).into(), + git_renamed: rgba(0xb58902ff).into(), + players: [ + PlayerTheme { + cursor: rgba(0x278ad1ff).into(), + selection: rgba(0x278ad13d).into(), + }, + PlayerTheme { + cursor: rgba(0x849903ff).into(), + selection: rgba(0x8499033d).into(), + }, + PlayerTheme { + cursor: rgba(0xd33781ff).into(), + selection: rgba(0xd337813d).into(), + }, + PlayerTheme { + cursor: rgba(0xcb4b16ff).into(), + selection: rgba(0xcb4b163d).into(), + }, + PlayerTheme { + cursor: rgba(0x6c71c4ff).into(), + selection: rgba(0x6c71c43d).into(), + }, + PlayerTheme { + cursor: rgba(0x2ba198ff).into(), + selection: rgba(0x2ba1983d).into(), + }, + PlayerTheme { + cursor: rgba(0xdc3330ff).into(), + selection: rgba(0xdc33303d).into(), + }, + PlayerTheme { + cursor: rgba(0xb58902ff).into(), + selection: rgba(0xb589023d).into(), + }, + ], + } +} diff --git a/crates/theme2/src/themes/solarized_light.rs b/crates/theme2/src/themes/solarized_light.rs new file mode 100644 index 0000000000000000000000000000000000000000..5c1b732a3cef6f66e82ca18f0d0a5986c485f750 --- /dev/null +++ b/crates/theme2/src/themes/solarized_light.rs @@ -0,0 +1,131 @@ + +use gpui2::rgba; + +use crate::{PlayerTheme, SyntaxTheme, Theme, ThemeMetadata}; + +pub fn solarized_light() -> Theme { + Theme { + metadata: ThemeMetadata { + name: "Solarized Light".into(), + is_light: true, + }, + transparent: rgba(0x00000000).into(), + mac_os_traffic_light_red: rgba(0xec695eff).into(), + mac_os_traffic_light_yellow: rgba(0xf4bf4eff).into(), + mac_os_traffic_light_green: rgba(0x61c553ff).into(), + border: rgba(0x9faaa8ff).into(), + border_variant: rgba(0x9faaa8ff).into(), + border_focused: rgba(0xbfd3efff).into(), + border_transparent: rgba(0x00000000).into(), + elevated_surface: rgba(0xcfd0c4ff).into(), + surface: rgba(0xf3eddaff).into(), + background: rgba(0xcfd0c4ff).into(), + filled_element: rgba(0xcfd0c4ff).into(), + filled_element_hover: rgba(0xffffff1e).into(), + filled_element_active: rgba(0xffffff28).into(), + filled_element_selected: rgba(0xdbe6f6ff).into(), + filled_element_disabled: rgba(0x00000000).into(), + ghost_element: rgba(0x00000000).into(), + ghost_element_hover: rgba(0xffffff14).into(), + ghost_element_active: rgba(0xffffff1e).into(), + ghost_element_selected: rgba(0xdbe6f6ff).into(), + ghost_element_disabled: rgba(0x00000000).into(), + text: rgba(0x002a35ff).into(), + text_muted: rgba(0x34555eff).into(), + text_placeholder: rgba(0xdc3330ff).into(), + text_disabled: rgba(0x6a7f86ff).into(), + text_accent: rgba(0x288bd1ff).into(), + icon_muted: rgba(0x34555eff).into(), + syntax: SyntaxTheme { + highlights: vec![ + ("string.escape".into(), rgba(0x30525bff).into()), + ("boolean".into(), rgba(0x849903ff).into()), + ("comment.doc".into(), rgba(0x30525bff).into()), + ("string.special".into(), rgba(0xcb4b17ff).into()), + ("punctuation".into(), rgba(0x04333eff).into()), + ("emphasis".into(), rgba(0x288bd1ff).into()), + ("type".into(), rgba(0x2ba198ff).into()), + ("preproc".into(), rgba(0x002a35ff).into()), + ("emphasis.strong".into(), rgba(0x288bd1ff).into()), + ("constant".into(), rgba(0x849903ff).into()), + ("title".into(), rgba(0x002a35ff).into()), + ("operator".into(), rgba(0xcb4b17ff).into()), + ("punctuation.bracket".into(), rgba(0x04333eff).into()), + ("link_uri".into(), rgba(0x849903ff).into()), + ("label".into(), rgba(0x288bd1ff).into()), + ("enum".into(), rgba(0xcb4b17ff).into()), + ("property".into(), rgba(0x288bd1ff).into()), + ("predictive".into(), rgba(0x679aafff).into()), + ("punctuation.special".into(), rgba(0x04333eff).into()), + ("text.literal".into(), rgba(0xcb4b17ff).into()), + ("string".into(), rgba(0xcb4b17ff).into()), + ("string.regex".into(), rgba(0xcb4b17ff).into()), + ("variable".into(), rgba(0x002a35ff).into()), + ("tag".into(), rgba(0x288bd1ff).into()), + ("string.special.symbol".into(), rgba(0xcb4b17ff).into()), + ("link_text".into(), rgba(0xcb4b17ff).into()), + ("punctuation.list_marker".into(), rgba(0x04333eff).into()), + ("keyword".into(), rgba(0x288bd1ff).into()), + ("constructor".into(), rgba(0x288bd1ff).into()), + ("attribute".into(), rgba(0x288bd1ff).into()), + ("variant".into(), rgba(0x288bd1ff).into()), + ("function".into(), rgba(0xb58903ff).into()), + ("primary".into(), rgba(0x002a35ff).into()), + ("hint".into(), rgba(0x5789a3ff).into()), + ("comment".into(), rgba(0x30525bff).into()), + ("number".into(), rgba(0x849903ff).into()), + ("punctuation.delimiter".into(), rgba(0x04333eff).into()), + ("embedded".into(), rgba(0x002a35ff).into()), + ], + }, + status_bar: rgba(0xcfd0c4ff).into(), + title_bar: rgba(0xcfd0c4ff).into(), + toolbar: rgba(0xfdf6e3ff).into(), + tab_bar: rgba(0xf3eddaff).into(), + editor: rgba(0xfdf6e3ff).into(), + editor_subheader: rgba(0xf3eddaff).into(), + editor_active_line: rgba(0xf3eddaff).into(), + terminal: rgba(0xfdf6e3ff).into(), + image_fallback_background: rgba(0xcfd0c4ff).into(), + git_created: rgba(0x849903ff).into(), + git_modified: rgba(0x288bd1ff).into(), + git_deleted: rgba(0xdc3330ff).into(), + git_conflict: rgba(0xb58903ff).into(), + git_ignored: rgba(0x6a7f86ff).into(), + git_renamed: rgba(0xb58903ff).into(), + players: [ + PlayerTheme { + cursor: rgba(0x288bd1ff).into(), + selection: rgba(0x288bd13d).into(), + }, + PlayerTheme { + cursor: rgba(0x849903ff).into(), + selection: rgba(0x8499033d).into(), + }, + PlayerTheme { + cursor: rgba(0xd33781ff).into(), + selection: rgba(0xd337813d).into(), + }, + PlayerTheme { + cursor: rgba(0xcb4b17ff).into(), + selection: rgba(0xcb4b173d).into(), + }, + PlayerTheme { + cursor: rgba(0x6c71c3ff).into(), + selection: rgba(0x6c71c33d).into(), + }, + PlayerTheme { + cursor: rgba(0x2ba198ff).into(), + selection: rgba(0x2ba1983d).into(), + }, + PlayerTheme { + cursor: rgba(0xdc3330ff).into(), + selection: rgba(0xdc33303d).into(), + }, + PlayerTheme { + cursor: rgba(0xb58903ff).into(), + selection: rgba(0xb589033d).into(), + }, + ], + } +} diff --git a/crates/theme2/src/themes/summercamp.rs b/crates/theme2/src/themes/summercamp.rs new file mode 100644 index 0000000000000000000000000000000000000000..6eb6bc408aacd64981d973b7113e50aa9dbbd38c --- /dev/null +++ b/crates/theme2/src/themes/summercamp.rs @@ -0,0 +1,131 @@ + +use gpui2::rgba; + +use crate::{PlayerTheme, SyntaxTheme, Theme, ThemeMetadata}; + +pub fn summercamp() -> Theme { + Theme { + metadata: ThemeMetadata { + name: "Summercamp".into(), + is_light: false, + }, + transparent: rgba(0x00000000).into(), + mac_os_traffic_light_red: rgba(0xec695eff).into(), + mac_os_traffic_light_yellow: rgba(0xf4bf4eff).into(), + mac_os_traffic_light_green: rgba(0x61c553ff).into(), + border: rgba(0x302c21ff).into(), + border_variant: rgba(0x302c21ff).into(), + border_focused: rgba(0x193760ff).into(), + border_transparent: rgba(0x00000000).into(), + elevated_surface: rgba(0x2a261cff).into(), + surface: rgba(0x231f16ff).into(), + background: rgba(0x2a261cff).into(), + filled_element: rgba(0x2a261cff).into(), + filled_element_hover: rgba(0xffffff1e).into(), + filled_element_active: rgba(0xffffff28).into(), + filled_element_selected: rgba(0x0e2242ff).into(), + filled_element_disabled: rgba(0x00000000).into(), + ghost_element: rgba(0x00000000).into(), + ghost_element_hover: rgba(0xffffff14).into(), + ghost_element_active: rgba(0xffffff1e).into(), + ghost_element_selected: rgba(0x0e2242ff).into(), + ghost_element_disabled: rgba(0x00000000).into(), + text: rgba(0xf8f5deff).into(), + text_muted: rgba(0x736e55ff).into(), + text_placeholder: rgba(0xe35041ff).into(), + text_disabled: rgba(0x4c4735ff).into(), + text_accent: rgba(0x499befff).into(), + icon_muted: rgba(0x736e55ff).into(), + syntax: SyntaxTheme { + highlights: vec![ + ("predictive".into(), rgba(0x78434aff).into()), + ("title".into(), rgba(0xf8f5deff).into()), + ("primary".into(), rgba(0xf8f5deff).into()), + ("punctuation.special".into(), rgba(0xbfbb9bff).into()), + ("constant".into(), rgba(0x5dea5aff).into()), + ("string.regex".into(), rgba(0xfaa11cff).into()), + ("tag".into(), rgba(0x499befff).into()), + ("preproc".into(), rgba(0xf8f5deff).into()), + ("comment".into(), rgba(0x777159ff).into()), + ("punctuation.bracket".into(), rgba(0xbfbb9bff).into()), + ("constructor".into(), rgba(0x499befff).into()), + ("type".into(), rgba(0x5aeabbff).into()), + ("variable".into(), rgba(0xf8f5deff).into()), + ("operator".into(), rgba(0xfaa11cff).into()), + ("boolean".into(), rgba(0x5dea5aff).into()), + ("attribute".into(), rgba(0x499befff).into()), + ("link_text".into(), rgba(0xfaa11cff).into()), + ("string.escape".into(), rgba(0x777159ff).into()), + ("string.special".into(), rgba(0xfaa11cff).into()), + ("string.special.symbol".into(), rgba(0xfaa11cff).into()), + ("hint".into(), rgba(0x246e61ff).into()), + ("link_uri".into(), rgba(0x5dea5aff).into()), + ("comment.doc".into(), rgba(0x777159ff).into()), + ("emphasis".into(), rgba(0x499befff).into()), + ("punctuation".into(), rgba(0xbfbb9bff).into()), + ("text.literal".into(), rgba(0xfaa11cff).into()), + ("number".into(), rgba(0x5dea5aff).into()), + ("punctuation.delimiter".into(), rgba(0xbfbb9bff).into()), + ("label".into(), rgba(0x499befff).into()), + ("function".into(), rgba(0xf1fe28ff).into()), + ("property".into(), rgba(0x499befff).into()), + ("keyword".into(), rgba(0x499befff).into()), + ("embedded".into(), rgba(0xf8f5deff).into()), + ("string".into(), rgba(0xfaa11cff).into()), + ("punctuation.list_marker".into(), rgba(0xbfbb9bff).into()), + ("enum".into(), rgba(0xfaa11cff).into()), + ("emphasis.strong".into(), rgba(0x499befff).into()), + ("variant".into(), rgba(0x499befff).into()), + ], + }, + status_bar: rgba(0x2a261cff).into(), + title_bar: rgba(0x2a261cff).into(), + toolbar: rgba(0x1b1810ff).into(), + tab_bar: rgba(0x231f16ff).into(), + editor: rgba(0x1b1810ff).into(), + editor_subheader: rgba(0x231f16ff).into(), + editor_active_line: rgba(0x231f16ff).into(), + terminal: rgba(0x1b1810ff).into(), + image_fallback_background: rgba(0x2a261cff).into(), + git_created: rgba(0x5dea5aff).into(), + git_modified: rgba(0x499befff).into(), + git_deleted: rgba(0xe35041ff).into(), + git_conflict: rgba(0xf1fe28ff).into(), + git_ignored: rgba(0x4c4735ff).into(), + git_renamed: rgba(0xf1fe28ff).into(), + players: [ + PlayerTheme { + cursor: rgba(0x499befff).into(), + selection: rgba(0x499bef3d).into(), + }, + PlayerTheme { + cursor: rgba(0x5dea5aff).into(), + selection: rgba(0x5dea5a3d).into(), + }, + PlayerTheme { + cursor: rgba(0xf59be6ff).into(), + selection: rgba(0xf59be63d).into(), + }, + PlayerTheme { + cursor: rgba(0xfaa11cff).into(), + selection: rgba(0xfaa11c3d).into(), + }, + PlayerTheme { + cursor: rgba(0xfe8080ff).into(), + selection: rgba(0xfe80803d).into(), + }, + PlayerTheme { + cursor: rgba(0x5aeabbff).into(), + selection: rgba(0x5aeabb3d).into(), + }, + PlayerTheme { + cursor: rgba(0xe35041ff).into(), + selection: rgba(0xe350413d).into(), + }, + PlayerTheme { + cursor: rgba(0xf1fe28ff).into(), + selection: rgba(0xf1fe283d).into(), + }, + ], + } +}