Commit c8881c8181
Unregistered key
Layout: unified · split
PACKAGING.md +1
| @@ -34,6 +34,7 @@ you'll want to install as part of a package: | ||
| 34 | 34 | | /iamb.desktop | /usr/share/applications/iamb.desktop | |
| 35 | 35 | | /config.example.toml | /usr/share/iamb/config.example.toml | |
| 36 | 36 | | /config.full.toml | /usr/share/iamb/config.full.toml | |
| 37 | | /themes/ | /usr/share/iamb/themes/ | | |
| 37 | 38 | | /docs/iamb-256x256.png | /usr/share/icons/hicolor/256x256/apps/iamb.png | |
| 38 | 39 | | /docs/iamb-512x512.png | /usr/share/icons/hicolor/512x512/apps/iamb.png | |
| 39 | 40 | | /docs/iamb.svg | /usr/share/icons/hicolor/scalable/apps/iamb.svg | |
docs/iamb.1 +2
| @@ -75,6 +75,8 @@ Mark all rooms as read. | ||
| 75 | 75 | View a list of rooms with mentions of the current user. |
| 76 | 76 | .It Sy ":invites" |
| 77 | 77 | View a list of rooms you are invited to. |
| 78 | .It Sy ":theme [name]" | |
| 79 | Change the current theme. | |
| 78 | 80 | .It Sy ":welcome" |
| 79 | 81 | View the startup Welcome window. |
| 80 | 82 | .It Sy ":forget" |
docs/iamb.5 +4
| @@ -322,6 +322,10 @@ Defines whether the state events like joined or left are shown. | ||
| 322 | 322 | .It Sy sync_delay_ms |
| 323 | 323 | How long to wait after a sync completes before doing the next one. |
| 324 | 324 | Defaults to 250 milliseconds. |
| 325 | .It Sy theme | |
| 326 | Configure which theme to use at startup. | |
| 327 | Defaults to | |
| 328 | .Dq Sy "default" . | |
| 325 | 329 | .It Sy terminal |
| 326 | 330 | Subsection for configuring how specific terminal features are used (or not used). |
| 327 | 331 | See |
src/base.rs +7
| @@ -745,6 +745,9 @@ pub enum IambAction { | ||
| 745 | 745 | /// Toggle the focus within the focused room. |
| 746 | 746 | ToggleScrollbackFocus, |
| 747 | 747 | |
| 748 | /// Change the current theme. | |
| 749 | ChangeTheme(String), | |
| 750 | ||
| 748 | 751 | /// Clear all unread messages. |
| 749 | 752 | ClearUnreads, |
| 750 | 753 | } |
| @@ -801,6 +804,7 @@ impl From<TimelineAction> for IambAction { | ||
| 801 | 804 | impl ApplicationAction for IambAction { |
| 802 | 805 | fn is_edit_sequence(&self, _: &EditContext) -> SequenceStatus { |
| 803 | 806 | match self { |
| 807 | IambAction::ChangeTheme(..) => SequenceStatus::Break, | |
| 804 | 808 | IambAction::ClearUnreads => SequenceStatus::Break, |
| 805 | 809 | IambAction::Homeserver(..) => SequenceStatus::Break, |
| 806 | 810 | IambAction::Keys(..) => SequenceStatus::Break, |
| @@ -820,6 +824,7 @@ impl ApplicationAction for IambAction { | ||
| 820 | 824 | |
| 821 | 825 | fn is_last_action(&self, _: &EditContext) -> SequenceStatus { |
| 822 | 826 | match self { |
| 827 | IambAction::ChangeTheme(..) => SequenceStatus::Atom, | |
| 823 | 828 | IambAction::ClearUnreads => SequenceStatus::Atom, |
| 824 | 829 | IambAction::Homeserver(..) => SequenceStatus::Atom, |
| 825 | 830 | IambAction::Keys(..) => SequenceStatus::Atom, |
| @@ -839,6 +844,7 @@ impl ApplicationAction for IambAction { | ||
| 839 | 844 | |
| 840 | 845 | fn is_last_selection(&self, _: &EditContext) -> SequenceStatus { |
| 841 | 846 | match self { |
| 847 | IambAction::ChangeTheme(..) => SequenceStatus::Ignore, | |
| 842 | 848 | IambAction::ClearUnreads => SequenceStatus::Ignore, |
| 843 | 849 | IambAction::Homeserver(..) => SequenceStatus::Ignore, |
| 844 | 850 | IambAction::Keys(..) => SequenceStatus::Ignore, |
| @@ -858,6 +864,7 @@ impl ApplicationAction for IambAction { | ||
| 858 | 864 | |
| 859 | 865 | fn is_switchable(&self, _: &EditContext) -> bool { |
| 860 | 866 | match self { |
| 867 | IambAction::ChangeTheme(..) => false, | |
| 861 | 868 | IambAction::ClearUnreads => false, |
| 862 | 869 | IambAction::Homeserver(..) => false, |
| 863 | 870 | IambAction::Message(..) => false, |
src/commands.rs +21
| @@ -654,6 +654,22 @@ fn iamb_spaces(desc: CommandDescription, ctx: &mut ProgContext) -> ProgResult { | ||
| 654 | 654 | } |
| 655 | 655 | } |
| 656 | 656 | |
| 657 | fn iamb_theme(desc: CommandDescription, ctx: &mut ProgContext) -> ProgResult { | |
| 658 | let mut args = desc.arg.strings()?; | |
| 659 | ||
| 660 | if args.len() > 1 { | |
| 661 | return Result::Err(CommandError::InvalidArgument); | |
| 662 | } | |
| 663 | ||
| 664 | if let Some(theme) = args.pop() { | |
| 665 | let theme = IambAction::ChangeTheme(theme); | |
| 666 | let step = CommandStep::Continue(theme.into(), ctx.context.clone()); | |
| 667 | return Ok(step); | |
| 668 | } else { | |
| 669 | return Result::Err(CommandError::InvalidArgument); | |
| 670 | } | |
| 671 | } | |
| 672 | ||
| 657 | 673 | fn iamb_welcome(desc: CommandDescription, ctx: &mut ProgContext) -> ProgResult { |
| 658 | 674 | if !desc.arg.text.is_empty() { |
| 659 | 675 | return Result::Err(CommandError::InvalidArgument); |
| @@ -1256,6 +1272,11 @@ pub fn add_iamb_commands(cmds: &mut ProgramCommands) { | ||
| 1256 | 1272 | f: iamb_invites, |
| 1257 | 1273 | }); |
| 1258 | 1274 | cmds.add_command(ProgramCommand { name: "self".into(), aliases: vec![], f: iamb_self }); |
| 1275 | cmds.add_command(ProgramCommand { | |
| 1276 | name: "theme".into(), | |
| 1277 | aliases: vec![], | |
| 1278 | f: iamb_theme, | |
| 1279 | }); | |
| 1259 | 1280 | cmds.add_command(ProgramCommand { |
| 1260 | 1281 | name: "unreact".into(), |
| 1261 | 1282 | aliases: vec![], |
src/completions.rs +11
| @@ -542,6 +542,15 @@ fn complete_iamb_space(args: Vec<String>, store: &ChatStore) -> Vec<String> { | ||
| 542 | 542 | } |
| 543 | 543 | } |
| 544 | 544 | |
| 545 | /// Tab completion for `:theme` | |
| 546 | fn complete_iamb_theme(args: Vec<String>, store: &ChatStore) -> Vec<String> { | |
| 547 | if args.len() == 1 { | |
| 548 | store.settings.themes.complete(&args[0]) | |
| 549 | } else { | |
| 550 | vec![] | |
| 551 | } | |
| 552 | } | |
| 553 | ||
| 545 | 554 | /// Tab completion for `:spaces` |
| 546 | 555 | fn complete_iamb_spaces(args: Vec<String>) -> Vec<String> { |
| 547 | 556 | match args.len() { |
| @@ -621,6 +630,8 @@ fn complete_cmdarg( | ||
| 621 | 630 | |
| 622 | 631 | "spaces" => complete_iamb_spaces(args), |
| 623 | 632 | |
| 633 | "theme" => complete_iamb_theme(args, store), | |
| 634 | ||
| 624 | 635 | // XXX: Check whether we can get the id of the focused message to improve completion |
| 625 | 636 | "unreact" if args.len() == 1 => complete_emoji(&args[0], store), |
| 626 | 637 | "unreact" => vec![], |
src/config/mod.rs +41 −3
| @@ -6,6 +6,7 @@ use std::io::{BufReader, BufWriter, Write as _}; | ||
| 6 | 6 | use std::process; |
| 7 | 7 | use std::sync::Arc; |
| 8 | 8 | |
| 9 | use anyhow::anyhow; | |
| 9 | 10 | use clap::Parser; |
| 10 | 11 | use indexmap::IndexMap; |
| 11 | 12 | use lazy_static::lazy_static; |
| @@ -16,6 +17,7 @@ use matrix_sdk::reqwest::header::{HeaderMap, HeaderValue}; | ||
| 16 | 17 | use matrix_sdk::ruma::{DeviceId, OwnedDeviceId, owned_server_name}; |
| 17 | 18 | use matrix_sdk::{AuthSession, EncryptionState, SessionMeta, SessionTokens}; |
| 18 | 19 | use modalkit::crossterm; |
| 20 | use modalkit::editing::completion::CompletionMap; | |
| 19 | 21 | use modalkit::env::vim::VimMode; |
| 20 | 22 | use modalkit::keybindings::InputKey; |
| 21 | 23 | use ratatui_image::FilterType; |
| @@ -168,6 +170,25 @@ where | ||
| 168 | 170 | Ok(Some(r)) |
| 169 | 171 | } |
| 170 | 172 | |
| 173 | /// Load themes from disk, and merge in the configured overrides. | |
| 174 | fn load_themes( | |
| 175 | themes_dir: &Path, | |
| 176 | theme_overrides: theme::Theme, | |
| 177 | ) -> anyhow::Result<CompletionMap<String, theme::Theme>> { | |
| 178 | let mut themes = CompletionMap::default(); | |
| 179 | ||
| 180 | // Load from the `themes` directory in the user's configuration directory: | |
| 181 | theme::find_themes(themes_dir)?.into_iter().for_each(|(n, t)| { | |
| 182 | let theme = theme_overrides.clone().merge(t).merge(theme::default_theme()); | |
| 183 | themes.insert(n, theme); | |
| 184 | }); | |
| 185 | ||
| 186 | // Insert a default theme that defaults to using terminal colors: | |
| 187 | let default_theme = theme_overrides.clone().merge(theme::default_theme()); | |
| 188 | themes.insert("default".into(), default_theme); | |
| 189 | Ok(themes) | |
| 190 | } | |
| 191 | ||
| 171 | 192 | const VERSION: &str = match option_env!("VERGEN_GIT_SHA") { |
| 172 | 193 | None => env!("CARGO_PKG_VERSION"), |
| 173 | 194 | Some(_) => concat!(env!("CARGO_PKG_VERSION"), " (", env!("VERGEN_GIT_SHA"), ")"), |
| @@ -898,6 +919,7 @@ pub struct TunableValues { | ||
| 898 | 919 | pub sort: SortValues, |
| 899 | 920 | pub state_event_display: bool, |
| 900 | 921 | pub sync_delay_ms: u64, |
| 922 | pub theme: String, | |
| 901 | 923 | pub typing_notice_send: bool, |
| 902 | 924 | pub typing_notice_display: bool, |
| 903 | 925 | pub users: UserOverrides, |
| @@ -958,6 +980,7 @@ pub struct Tunables { | ||
| 958 | 980 | pub request_timeout: Option<u64>, |
| 959 | 981 | pub state_event_display: Option<bool>, |
| 960 | 982 | pub sync_delay_ms: Option<u64>, |
| 983 | pub theme: Option<String>, | |
| 961 | 984 | pub typing_notice_send: Option<bool>, |
| 962 | 985 | pub typing_notice_display: Option<bool>, |
| 963 | 986 | pub username_display: Option<UserDisplayStyle>, |
| @@ -1016,6 +1039,7 @@ impl Tunables { | ||
| 1016 | 1039 | request_timeout: self.request_timeout.or(other.request_timeout), |
| 1017 | 1040 | state_event_display: self.state_event_display.or(other.state_event_display), |
| 1018 | 1041 | sync_delay_ms: self.sync_delay_ms.or(other.sync_delay_ms), |
| 1042 | theme: self.theme.or(other.theme), | |
| 1019 | 1043 | typing_notice_send: self.typing_notice_send.or(other.typing_notice_send), |
| 1020 | 1044 | typing_notice_display: self.typing_notice_display.or(other.typing_notice_display), |
| 1021 | 1045 | username_display: self.username_display.or(other.username_display), |
| @@ -1065,6 +1089,7 @@ impl Tunables { | ||
| 1065 | 1089 | request_timeout: self.request_timeout.unwrap_or(DEFAULT_REQ_TIMEOUT), |
| 1066 | 1090 | state_event_display: self.state_event_display.unwrap_or(true), |
| 1067 | 1091 | sync_delay_ms: self.sync_delay_ms.unwrap_or(DEFAULT_SYNC_FREQUENCY), |
| 1092 | theme: self.theme.unwrap_or_else(|| "default".to_string()), | |
| 1068 | 1093 | typing_notice_send: self.typing_notice_send.unwrap_or(true), |
| 1069 | 1094 | typing_notice_display: self.typing_notice_display.unwrap_or(true), |
| 1070 | 1095 | username_display: self.username_display.unwrap_or_default(), |
| @@ -1313,6 +1338,7 @@ pub struct ApplicationSettings { | ||
| 1313 | 1338 | pub profile_name: String, |
| 1314 | 1339 | pub profile: ProfileConfig, |
| 1315 | 1340 | pub theme: Arc<theme::ThemeValues>, |
| 1341 | pub themes: Arc<CompletionMap<String, theme::Theme>>, | |
| 1316 | 1342 | pub tunables: TunableValues, |
| 1317 | 1343 | pub dirs: DirectoryValues, |
| 1318 | 1344 | pub layout: Layout, |
| @@ -1421,9 +1447,20 @@ impl ApplicationSettings { | ||
| 1421 | 1447 | let dirs = profile.dirs.take().unwrap_or_default().merge(dirs); |
| 1422 | 1448 | let dirs = dirs.values(); |
| 1423 | 1449 | |
| 1424 | let theme = theme.unwrap_or_default().merge(theme::default_theme()); | |
| 1425 | let theme = profile.theme.take().unwrap_or_default().merge(theme); | |
| 1426 | let theme = Arc::new(theme.values()); | |
| 1450 | let themes_dir = config_dir.join("themes"); | |
| 1451 | let overrides = profile.theme.clone().unwrap_or_default().merge(theme.unwrap_or_default()); | |
| 1452 | let themes = Arc::new(load_themes(&themes_dir, overrides)?); | |
| 1453 | ||
| 1454 | let theme = if let Some(theme) = themes.get(&tunables.theme) { | |
| 1455 | Arc::new(theme.clone().values()) | |
| 1456 | } else { | |
| 1457 | let err = anyhow!( | |
| 1458 | "Could not find the {:?} theme; check {}?", | |
| 1459 | tunables.theme, | |
| 1460 | themes_dir.display() | |
| 1461 | ); | |
| 1462 | return Err(err.into_boxed_dyn_error()); | |
| 1463 | }; | |
| 1427 | 1464 | |
| 1428 | 1465 | // Create directories |
| 1429 | 1466 | dirs.create_dir_all()?; |
| @@ -1473,6 +1510,7 @@ impl ApplicationSettings { | ||
| 1473 | 1510 | sqlite_cache_dir, |
| 1474 | 1511 | profile_name, |
| 1475 | 1512 | profile, |
| 1513 | themes, | |
| 1476 | 1514 | theme, |
| 1477 | 1515 | tunables, |
| 1478 | 1516 | dirs, |
src/config/theme.rs +55
| @@ -2,6 +2,7 @@ | ||
| 2 | 2 | use std::collections::hash_map::DefaultHasher; |
| 3 | 3 | use std::hash::{Hash, Hasher}; |
| 4 | 4 | |
| 5 | use anyhow::Context; | |
| 5 | 6 | use ratatui::widgets::BorderType; |
| 6 | 7 | use serde::de::Error as SerdeError; |
| 7 | 8 | use serde::de::Visitor; |
| @@ -107,6 +108,60 @@ pub fn default_theme() -> Theme { | ||
| 107 | 108 | } |
| 108 | 109 | } |
| 109 | 110 | |
| 111 | pub fn find_themes(dir: &Path) -> anyhow::Result<Vec<(String, Theme)>> { | |
| 112 | let entries = std::fs::read_dir(dir) | |
| 113 | .with_context(|| format!("Cannot list {} contents", dir.display()))?; | |
| 114 | let mut themes = vec![]; | |
| 115 | ||
| 116 | for res in entries { | |
| 117 | let Ok(entry) = res else { | |
| 118 | continue; | |
| 119 | }; | |
| 120 | ||
| 121 | let path = entry.path(); | |
| 122 | ||
| 123 | if !path.is_file() { | |
| 124 | // Skip non-files. | |
| 125 | continue; | |
| 126 | } | |
| 127 | ||
| 128 | if path.extension().is_none_or(|ext| ext != "toml") { | |
| 129 | // Skip non-`.toml` files. | |
| 130 | continue; | |
| 131 | } | |
| 132 | ||
| 133 | let Some(name) = path.file_stem() else { | |
| 134 | continue; | |
| 135 | }; | |
| 136 | ||
| 137 | let file = ThemeFile::load(&path)?; | |
| 138 | let name = name.to_string_lossy().into_owned(); | |
| 139 | themes.push((name, file.theme)); | |
| 140 | } | |
| 141 | ||
| 142 | Ok(themes) | |
| 143 | } | |
| 144 | ||
| 145 | /// A restricted subset of `config.toml` that only allows specifying themes. | |
| 146 | /// | |
| 147 | /// This exists mainly to prevent people from thinking that values they put | |
| 148 | /// into the theme files are taking effect when they aren't: theme files are | |
| 149 | /// only used for sourcing theme information to prevent any weirdness around | |
| 150 | /// what happens when changing the theme with `:theme`. | |
| 151 | #[derive(Clone, Debug, Default, Deserialize)] | |
| 152 | #[serde(deny_unknown_fields)] | |
| 153 | pub struct ThemeFile { | |
| 154 | pub theme: Theme, | |
| 155 | } | |
| 156 | ||
| 157 | impl ThemeFile { | |
| 158 | pub fn load(path: &Path) -> anyhow::Result<Self> { | |
| 159 | let input = std::fs::read_to_string(path) | |
| 160 | .with_context(|| format!("failed to read {}", path.display()))?; | |
| 161 | toml::de::from_str(&input).with_context(|| format!("failed to read {}", path.display())) | |
| 162 | } | |
| 163 | } | |
| 164 | ||
| 110 | 165 | /// Internal variant to get lowercase, hyphenated config options. |
| 111 | 166 | #[derive(Clone, Debug, Default, Deserialize, Eq, PartialEq)] |
| 112 | 167 | #[serde(rename_all = "kebab-case")] |
src/main.rs +9
| @@ -577,6 +577,15 @@ impl Application { | ||
| 577 | 577 | } |
| 578 | 578 | |
| 579 | 579 | let info = match action { |
| 580 | IambAction::ChangeTheme(theme) => { | |
| 581 | let Some(theme) = store.application.settings.themes.get(&theme) else { | |
| 582 | let err = format!("Unknown theme: {theme:?}"); | |
| 583 | return Err(UIError::Failure(err.to_string())); | |
| 584 | }; | |
| 585 | ||
| 586 | store.application.settings.theme = Arc::new(theme.clone().values()); | |
| 587 | None | |
| 588 | }, | |
| 580 | 589 | IambAction::ClearUnreads => { |
| 581 | 590 | // Clear any notifications we displayed: |
| 582 | 591 | store.application.open_notifications.clear(); |
src/tests.rs +2
| @@ -173,6 +173,7 @@ pub fn mock_tunables() -> TunableValues { | ||
| 173 | 173 | state_event_display: true, |
| 174 | 174 | sync_delay_ms: 1000, |
| 175 | 175 | terminal: Terminal::default().values(), |
| 176 | theme: "default".into(), | |
| 176 | 177 | typing_notice_send: true, |
| 177 | 178 | typing_notice_display: true, |
| 178 | 179 | users: vec![(TEST_USER5.clone(), UserDisplayTunables { |
| @@ -231,6 +232,7 @@ pub fn mock_settings() -> ApplicationSettings { | ||
| 231 | 232 | macros: HashMap::default(), |
| 232 | 233 | aliases: Aliases::default(), |
| 233 | 234 | theme: crate::config::theme::default_theme().values().into(), |
| 235 | themes: Default::default(), | |
| 234 | 236 | enable_enhanced_keys: false, |
| 235 | 237 | } |
| 236 | 238 | } |
themes/ayu-dark.toml added +77
| @@ -0,0 +1,77 @@ | ||
| 1 | # ayu-dark theme for iamb | |
| 2 | # | |
| 3 | # You can place this directly in your `~/.config/iamb/themes` directory to make it | |
| 4 | # discoverable, or copy its contents directly into your `config.toml`. | |
| 5 | ||
| 6 | # | |
| 7 | # If you are looking to remix this file to make a derived theme, the colors were | |
| 8 | # picked and assigned as: | |
| 9 | # | |
| 10 | # COLOR_BG1 => Primary background (#0F1419) | |
| 11 | # COLOR_BG2 => Alternate background (#151A1E) | |
| 12 | # COLOR_BG3 => Completion menu selected item background (#14191F) | |
| 13 | # | |
| 14 | # COLOR_UI1 => Window border color, text completion menu (#5C6773) | |
| 15 | # COLOR_UI2 => Window title color (#E6E1CF) | |
| 16 | # | |
| 17 | # COLOR_WARN1 => Errors, unencrypted, etc. - typically a red (#FF7733) | |
| 18 | # COLOR_WARN2 => Redacted messages - typically a red or light orange (#F29718) | |
| 19 | # COLOR_WARN3 => Unknown encryption status - typically a yellow (#E7C547) | |
| 20 | # | |
| 21 | # COLOR_GOOD1 => Encrypted indicator - typically a green (#B8CC52) | |
| 22 | # | |
| 23 | # COLOR_TEXT1 => Primary text color (#FFEE99) | |
| 24 | # COLOR_TEXT2 => Contrast text color, should differ from COLOR_TEXT1 (#E0E2EA) | |
| 25 | # COLOR_TEXT3 => Alternate text color (#FFB454) | |
| 26 | # COLOR_TEXT4 => Alternate text color (#E6B673) | |
| 27 | # COLOR_TEXT5 => Alternate text color (#36A3D9) | |
| 28 | # | |
| 29 | # COLOR_PLUS => Extra user colors used for users: "#2D3640" | |
| 30 | [theme.users] | |
| 31 | colors = [ | |
| 32 | "#FF7733", | |
| 33 | "#F29718", | |
| 34 | "#E7C547", | |
| 35 | "#B8CC52", | |
| 36 | "#E0E2EA", | |
| 37 | "#FFB454", | |
| 38 | "#E6B673", | |
| 39 | "#36A3D9", | |
| 40 | "#2D3640" | |
| 41 | ] | |
| 42 | ||
| 43 | [theme.default] | |
| 44 | color = "#FFEE99" | |
| 45 | background = "#0F1419" | |
| 46 | ||
| 47 | [theme.completion] | |
| 48 | default.background = "#14191F" | |
| 49 | default.color = "#5C6773" | |
| 50 | selected.background = "#151A1E" | |
| 51 | selected.color = "#FFEE99" | |
| 52 | ||
| 53 | [theme.timeline] | |
| 54 | redacted.color = "#F29718" | |
| 55 | ||
| 56 | [theme.messages] | |
| 57 | code.color = "#E0E2EA" | |
| 58 | code.background = "#151A1E" | |
| 59 | emphasis.color = "#E6B673" | |
| 60 | strong.color = "#FFB454" | |
| 61 | ||
| 62 | [theme.rooms] | |
| 63 | default.color = "#36A3D9" | |
| 64 | unread.color = "#E0E2EA" | |
| 65 | labels.color = "#E6B673" | |
| 66 | ||
| 67 | [theme.windows] | |
| 68 | border.color = "#5C6773" | |
| 69 | title.color = "#E6E1CF" | |
| 70 | ||
| 71 | [theme.encryption] | |
| 72 | icon_encrypted.color = "#B8CC52" | |
| 73 | icon_unencrypted.color = "#FF7733" | |
| 74 | icon_unknown.color = "#E7C547" | |
| 75 | ||
| 76 | [theme.cmdbar] | |
| 77 | error.color = "#FF7733" | |
themes/ayu-light.toml added +77
| @@ -0,0 +1,77 @@ | ||
| 1 | # doom-ayu-light-light theme for iamb | |
| 2 | # | |
| 3 | # You can place this directly in your `~/.config/iamb/themes` directory to make it | |
| 4 | # discoverable, or copy its contents directly into your `config.toml`. | |
| 5 | ||
| 6 | # | |
| 7 | # If you are looking to remix this file to make a derived theme, the colors were | |
| 8 | # picked and assigned as: | |
| 9 | # | |
| 10 | # COLOR_BG1 => Primary background (#FFFFFF) | |
| 11 | # COLOR_BG2 => Alternate background (#FAFAFA) | |
| 12 | # COLOR_BG3 => Completion menu selected item background (#F3F3F3) | |
| 13 | # | |
| 14 | # COLOR_UI1 => Window border color, text completion menu (#ABB0B6) | |
| 15 | # COLOR_UI2 => Window title color (#5C6773) | |
| 16 | # | |
| 17 | # COLOR_WARN1 => Errors, unencrypted, etc. - typically a red (#FF6A00) | |
| 18 | # COLOR_WARN2 => Redacted messages - typically a red or light orange (#FF7733) | |
| 19 | # COLOR_WARN3 => Unknown encryption status - typically a yellow (#E7C547) | |
| 20 | # | |
| 21 | # COLOR_GOOD1 => Encrypted indicator - typically a green (#86B300) | |
| 22 | # | |
| 23 | # COLOR_TEXT1 => Primary text color (#14161B) | |
| 24 | # COLOR_TEXT2 => Contrast text color, should differ from COLOR_TEXT1 (#A37ACC) | |
| 25 | # COLOR_TEXT3 => Alternate text color (#F29718) | |
| 26 | # COLOR_TEXT4 => Alternate text color (#36A3D9) | |
| 27 | # COLOR_TEXT5 => Alternate text color (#E6B673) | |
| 28 | # | |
| 29 | # COLOR_PLUS => Extra user colors used for users: "#D9D8D7" | |
| 30 | [theme.users] | |
| 31 | colors = [ | |
| 32 | "#FF6A00", | |
| 33 | "#FF7733", | |
| 34 | "#E7C547", | |
| 35 | "#86B300", | |
| 36 | "#A37ACC", | |
| 37 | "#F29718", | |
| 38 | "#36A3D9", | |
| 39 | "#E6B673", | |
| 40 | "#D9D8D7" | |
| 41 | ] | |
| 42 | ||
| 43 | [theme.default] | |
| 44 | color = "#14161B" | |
| 45 | background = "#FFFFFF" | |
| 46 | ||
| 47 | [theme.completion] | |
| 48 | default.background = "#F3F3F3" | |
| 49 | default.color = "#ABB0B6" | |
| 50 | selected.background = "#FAFAFA" | |
| 51 | selected.color = "#14161B" | |
| 52 | ||
| 53 | [theme.timeline] | |
| 54 | redacted.color = "#FF7733" | |
| 55 | ||
| 56 | [theme.messages] | |
| 57 | code.color = "#A37ACC" | |
| 58 | code.background = "#FAFAFA" | |
| 59 | emphasis.color = "#36A3D9" | |
| 60 | strong.color = "#F29718" | |
| 61 | ||
| 62 | [theme.rooms] | |
| 63 | default.color = "#E6B673" | |
| 64 | unread.color = "#A37ACC" | |
| 65 | labels.color = "#36A3D9" | |
| 66 | ||
| 67 | [theme.windows] | |
| 68 | border.color = "#ABB0B6" | |
| 69 | title.color = "#5C6773" | |
| 70 | ||
| 71 | [theme.encryption] | |
| 72 | icon_encrypted.color = "#86B300" | |
| 73 | icon_unencrypted.color = "#FF6A00" | |
| 74 | icon_unknown.color = "#E7C547" | |
| 75 | ||
| 76 | [theme.cmdbar] | |
| 77 | error.color = "#FF6A00" | |
themes/ayu-mirage.toml added +77
| @@ -0,0 +1,77 @@ | ||
| 1 | # doom-ayu-mirage-light theme for iamb | |
| 2 | # | |
| 3 | # You can place this directly in your `~/.config/iamb/themes` directory to make it | |
| 4 | # discoverable, or copy its contents directly into your `config.toml`. | |
| 5 | ||
| 6 | # | |
| 7 | # If you are looking to remix this file to make a derived theme, the colors were | |
| 8 | # picked and assigned as: | |
| 9 | # | |
| 10 | # COLOR_BG1 => Primary background (#D9D7CE) | |
| 11 | # COLOR_BG2 => Alternate background (#272D38) | |
| 12 | # COLOR_BG3 => Completion menu selected item background (#242B38) | |
| 13 | # | |
| 14 | # COLOR_UI1 => Window border color, text completion menu (#FFD57F) | |
| 15 | # COLOR_UI2 => Window title color (#3D4751) | |
| 16 | # | |
| 17 | # COLOR_WARN1 => Errors, unencrypted, etc. - typically a red (#FFAE57) | |
| 18 | # COLOR_WARN2 => Redacted messages - typically a red or light orange (#5C6773) | |
| 19 | # COLOR_WARN3 => Unknown encryption status - typically a yellow (#FFC44C) | |
| 20 | # | |
| 21 | # COLOR_GOOD1 => Encrypted indicator - typically a green (#BBE67E) | |
| 22 | # | |
| 23 | # COLOR_TEXT1 => Primary text color (#14161B) | |
| 24 | # COLOR_TEXT2 => Contrast text color, should differ from COLOR_TEXT1 (#D4BFFF) | |
| 25 | # COLOR_TEXT3 => Alternate text color (#5CCFE6) | |
| 26 | # COLOR_TEXT4 => Alternate text color (#80D4FF) | |
| 27 | # COLOR_TEXT5 => Alternate text color (#FFCC66) | |
| 28 | # | |
| 29 | # COLOR_PLUS => Extra user colors used for users: | |
| 30 | [theme.users] | |
| 31 | colors = [ | |
| 32 | "#FFAE57", | |
| 33 | "#5C6773", | |
| 34 | "#FFC44C", | |
| 35 | "#BBE67E", | |
| 36 | "#D4BFFF", | |
| 37 | "#5CCFE6", | |
| 38 | "#80D4FF", | |
| 39 | "#FFCC66", | |
| 40 | ||
| 41 | ] | |
| 42 | ||
| 43 | [theme.default] | |
| 44 | color = "#14161B" | |
| 45 | background = "#D9D7CE" | |
| 46 | ||
| 47 | [theme.completion] | |
| 48 | default.background = "#242B38" | |
| 49 | default.color = "#FFD57F" | |
| 50 | selected.background = "#272D38" | |
| 51 | selected.color = "#14161B" | |
| 52 | ||
| 53 | [theme.timeline] | |
| 54 | redacted.color = "#5C6773" | |
| 55 | ||
| 56 | [theme.messages] | |
| 57 | code.color = "#D4BFFF" | |
| 58 | code.background = "#272D38" | |
| 59 | emphasis.color = "#80D4FF" | |
| 60 | strong.color = "#5CCFE6" | |
| 61 | ||
| 62 | [theme.rooms] | |
| 63 | default.color = "#FFCC66" | |
| 64 | unread.color = "#D4BFFF" | |
| 65 | labels.color = "#80D4FF" | |
| 66 | ||
| 67 | [theme.windows] | |
| 68 | border.color = "#FFD57F" | |
| 69 | title.color = "#3D4751" | |
| 70 | ||
| 71 | [theme.encryption] | |
| 72 | icon_encrypted.color = "#BBE67E" | |
| 73 | icon_unencrypted.color = "#FFAE57" | |
| 74 | icon_unknown.color = "#FFC44C" | |
| 75 | ||
| 76 | [theme.cmdbar] | |
| 77 | error.color = "#FFAE57" | |
themes/gruvbox-material-light.toml added +77
| @@ -0,0 +1,77 @@ | ||
| 1 | # gruvbox-material-light theme for iamb | |
| 2 | # | |
| 3 | # You can place this directly in your `~/.config/iamb/themes` directory to make it | |
| 4 | # discoverable, or copy its contents directly into your `config.toml`. | |
| 5 | ||
| 6 | # | |
| 7 | # If you are looking to remix this file to make a derived theme, the colors were | |
| 8 | # picked and assigned as: | |
| 9 | # | |
| 10 | # COLOR_BG1 => Primary background (#FBF1C7) | |
| 11 | # COLOR_BG2 => Alternate background (#F4E8BE) | |
| 12 | # COLOR_BG3 => Completion menu selected item background (#F2E5BC) | |
| 13 | # | |
| 14 | # COLOR_UI1 => Window border color, text completion menu (#DDCCAB) | |
| 15 | # COLOR_UI2 => Window title color (#654735) | |
| 16 | # | |
| 17 | # COLOR_WARN1 => Errors, unencrypted, etc. - typically a red (#C14A4A) | |
| 18 | # COLOR_WARN2 => Redacted messages - typically a red or light orange (#C35E0A) | |
| 19 | # COLOR_WARN3 => Unknown encryption status - typically a yellow (#B47109) | |
| 20 | # | |
| 21 | # COLOR_GOOD1 => Encrypted indicator - typically a green (#6C782E) | |
| 22 | # | |
| 23 | # COLOR_TEXT1 => Primary text color (#4F3829) | |
| 24 | # COLOR_TEXT2 => Contrast text color, should differ from COLOR_TEXT1 (#945E80) | |
| 25 | # COLOR_TEXT3 => Alternate text color (#45707A) | |
| 26 | # COLOR_TEXT4 => Alternate text color (#4C7A5D) | |
| 27 | # COLOR_TEXT5 => Alternate text color (#928374) | |
| 28 | # | |
| 29 | # COLOR_PLUS => Extra user colors used for users: | |
| 30 | [theme.users] | |
| 31 | colors = [ | |
| 32 | "#C14A4A", | |
| 33 | "#C35E0A", | |
| 34 | "#B47109", | |
| 35 | "#6C782E", | |
| 36 | "#945E80", | |
| 37 | "#45707A", | |
| 38 | "#4C7A5D", | |
| 39 | "#928374", | |
| 40 | ||
| 41 | ] | |
| 42 | ||
| 43 | [theme.default] | |
| 44 | color = "#4F3829" | |
| 45 | background = "#FBF1C7" | |
| 46 | ||
| 47 | [theme.completion] | |
| 48 | default.background = "#F2E5BC" | |
| 49 | default.color = "#DDCCAB" | |
| 50 | selected.background = "#F4E8BE" | |
| 51 | selected.color = "#4F3829" | |
| 52 | ||
| 53 | [theme.timeline] | |
| 54 | redacted.color = "#C35E0A" | |
| 55 | ||
| 56 | [theme.messages] | |
| 57 | code.color = "#945E80" | |
| 58 | code.background = "#F4E8BE" | |
| 59 | emphasis.color = "#4C7A5D" | |
| 60 | strong.color = "#45707A" | |
| 61 | ||
| 62 | [theme.rooms] | |
| 63 | default.color = "#928374" | |
| 64 | unread.color = "#945E80" | |
| 65 | labels.color = "#4C7A5D" | |
| 66 | ||
| 67 | [theme.windows] | |
| 68 | border.color = "#DDCCAB" | |
| 69 | title.color = "#654735" | |
| 70 | ||
| 71 | [theme.encryption] | |
| 72 | icon_encrypted.color = "#6C782E" | |
| 73 | icon_unencrypted.color = "#C14A4A" | |
| 74 | icon_unknown.color = "#B47109" | |
| 75 | ||
| 76 | [theme.cmdbar] | |
| 77 | error.color = "#C14A4A" | |
themes/jellybeans-dark.toml added +77
| @@ -0,0 +1,77 @@ | ||
| 1 | # jellybeans-muted-dark theme for iamb | |
| 2 | # | |
| 3 | # You can place this directly in your `~/.config/iamb/themes` directory to make it | |
| 4 | # discoverable, or copy its contents directly into your `config.toml`. | |
| 5 | ||
| 6 | # | |
| 7 | # If you are looking to remix this file to make a derived theme, the colors were | |
| 8 | # picked and assigned as: | |
| 9 | # | |
| 10 | # COLOR_BG1 => Primary background (#101010) | |
| 11 | # COLOR_BG2 => Alternate background (#1C1C1C) | |
| 12 | # COLOR_BG3 => Completion menu selected item background (#1E1E1C) | |
| 13 | # | |
| 14 | # COLOR_UI1 => Window border color, text completion menu (#83ADC3) | |
| 15 | # COLOR_UI2 => Window title color (#DAD6C8) | |
| 16 | # | |
| 17 | # COLOR_WARN1 => Errors, unencrypted, etc. - typically a red (#C88A77) | |
| 18 | # COLOR_WARN2 => Redacted messages - typically a red or light orange (#7A7A7A) | |
| 19 | # COLOR_WARN3 => Unknown encryption status - typically a yellow (#58534F) | |
| 20 | # | |
| 21 | # COLOR_GOOD1 => Encrypted indicator - typically a green (#909C6E) | |
| 22 | # | |
| 23 | # COLOR_TEXT1 => Primary text color (#F9F5EC) | |
| 24 | # COLOR_TEXT2 => Contrast text color, should differ from COLOR_TEXT1 (#EACE98) | |
| 25 | # COLOR_TEXT3 => Alternate text color (#A6C3D9) | |
| 26 | # COLOR_TEXT4 => Alternate text color (#C2BDB8) | |
| 27 | # COLOR_TEXT5 => Alternate text color (#B8AED3) | |
| 28 | # | |
| 29 | # COLOR_PLUS => Extra user colors used for users: "#617B87" | |
| 30 | [theme.users] | |
| 31 | colors = [ | |
| 32 | "#C88A77", | |
| 33 | "#7A7A7A", | |
| 34 | "#58534F", | |
| 35 | "#909C6E", | |
| 36 | "#EACE98", | |
| 37 | "#A6C3D9", | |
| 38 | "#C2BDB8", | |
| 39 | "#B8AED3", | |
| 40 | "#617B87" | |
| 41 | ] | |
| 42 | ||
| 43 | [theme.default] | |
| 44 | color = "#F9F5EC" | |
| 45 | background = "#101010" | |
| 46 | ||
| 47 | [theme.completion] | |
| 48 | default.background = "#1E1E1C" | |
| 49 | default.color = "#83ADC3" | |
| 50 | selected.background = "#1C1C1C" | |
| 51 | selected.color = "#F9F5EC" | |
| 52 | ||
| 53 | [theme.timeline] | |
| 54 | redacted.color = "#7A7A7A" | |
| 55 | ||
| 56 | [theme.messages] | |
| 57 | code.color = "#EACE98" | |
| 58 | code.background = "#1C1C1C" | |
| 59 | emphasis.color = "#C2BDB8" | |
| 60 | strong.color = "#A6C3D9" | |
| 61 | ||
| 62 | [theme.rooms] | |
| 63 | default.color = "#B8AED3" | |
| 64 | unread.color = "#EACE98" | |
| 65 | labels.color = "#C2BDB8" | |
| 66 | ||
| 67 | [theme.windows] | |
| 68 | border.color = "#83ADC3" | |
| 69 | title.color = "#DAD6C8" | |
| 70 | ||
| 71 | [theme.encryption] | |
| 72 | icon_encrypted.color = "#909C6E" | |
| 73 | icon_unencrypted.color = "#C88A77" | |
| 74 | icon_unknown.color = "#58534F" | |
| 75 | ||
| 76 | [theme.cmdbar] | |
| 77 | error.color = "#C88A77" | |
themes/jellybeans-light.toml added +77
| @@ -0,0 +1,77 @@ | ||
| 1 | # jellybeans-muted-light-light theme for iamb | |
| 2 | # | |
| 3 | # You can place this directly in your `~/.config/iamb/themes` directory to make it | |
| 4 | # discoverable, or copy its contents directly into your `config.toml`. | |
| 5 | ||
| 6 | # | |
| 7 | # If you are looking to remix this file to make a derived theme, the colors were | |
| 8 | # picked and assigned as: | |
| 9 | # | |
| 10 | # COLOR_BG1 => Primary background (#F7F3EB) | |
| 11 | # COLOR_BG2 => Alternate background (#EBE7DF) | |
| 12 | # COLOR_BG3 => Completion menu selected item background (#47463F) | |
| 13 | # | |
| 14 | # COLOR_UI1 => Window border color, text completion menu (#475B68) | |
| 15 | # COLOR_UI2 => Window title color (#222120) | |
| 16 | # | |
| 17 | # COLOR_WARN1 => Errors, unencrypted, etc. - typically a red (#8C594A) | |
| 18 | # COLOR_WARN2 => Redacted messages - typically a red or light orange (#787775) | |
| 19 | # COLOR_WARN3 => Unknown encryption status - typically a yellow (#A28853) | |
| 20 | # | |
| 21 | # COLOR_GOOD1 => Encrypted indicator - typically a green (#6D7F59) | |
| 22 | # | |
| 23 | # COLOR_TEXT1 => Primary text color (#0F0E0D) | |
| 24 | # COLOR_TEXT2 => Contrast text color, should differ from COLOR_TEXT1 (#2D2C2A) | |
| 25 | # COLOR_TEXT3 => Alternate text color (#334A84) | |
| 26 | # COLOR_TEXT4 => Alternate text color (#3C5971) | |
| 27 | # COLOR_TEXT5 => Alternate text color (#655683) | |
| 28 | # | |
| 29 | # COLOR_PLUS => Extra user colors used for users: "#5C5650" | |
| 30 | [theme.users] | |
| 31 | colors = [ | |
| 32 | "#8C594A", | |
| 33 | "#787775", | |
| 34 | "#A28853", | |
| 35 | "#6D7F59", | |
| 36 | "#2D2C2A", | |
| 37 | "#334A84", | |
| 38 | "#3C5971", | |
| 39 | "#655683", | |
| 40 | "#5C5650" | |
| 41 | ] | |
| 42 | ||
| 43 | [theme.default] | |
| 44 | color = "#0F0E0D" | |
| 45 | background = "#F7F3EB" | |
| 46 | ||
| 47 | [theme.completion] | |
| 48 | default.background = "#47463F" | |
| 49 | default.color = "#475B68" | |
| 50 | selected.background = "#EBE7DF" | |
| 51 | selected.color = "#0F0E0D" | |
| 52 | ||
| 53 | [theme.timeline] | |
| 54 | redacted.color = "#787775" | |
| 55 | ||
| 56 | [theme.messages] | |
| 57 | code.color = "#2D2C2A" | |
| 58 | code.background = "#EBE7DF" | |
| 59 | emphasis.color = "#3C5971" | |
| 60 | strong.color = "#334A84" | |
| 61 | ||
| 62 | [theme.rooms] | |
| 63 | default.color = "#655683" | |
| 64 | unread.color = "#2D2C2A" | |
| 65 | labels.color = "#3C5971" | |
| 66 | ||
| 67 | [theme.windows] | |
| 68 | border.color = "#475B68" | |
| 69 | title.color = "#222120" | |
| 70 | ||
| 71 | [theme.encryption] | |
| 72 | icon_encrypted.color = "#6D7F59" | |
| 73 | icon_unencrypted.color = "#8C594A" | |
| 74 | icon_unknown.color = "#A28853" | |
| 75 | ||
| 76 | [theme.cmdbar] | |
| 77 | error.color = "#8C594A" | |
themes/kanagawa-dark.toml added +77
| @@ -0,0 +1,77 @@ | ||
| 1 | # kanagawa-wave-dark theme for iamb | |
| 2 | # | |
| 3 | # You can place this directly in your `~/.config/iamb/themes` directory to make it | |
| 4 | # discoverable, or copy its contents directly into your `config.toml`. | |
| 5 | ||
| 6 | # | |
| 7 | # If you are looking to remix this file to make a derived theme, the colors were | |
| 8 | # picked and assigned as: | |
| 9 | # | |
| 10 | # COLOR_BG1 => Primary background (#16161D) | |
| 11 | # COLOR_BG2 => Alternate background (#1F1F28) | |
| 12 | # COLOR_BG3 => Completion menu selected item background (#2A2A37) | |
| 13 | # | |
| 14 | # COLOR_UI1 => Window border color, text completion menu (#957FB8) | |
| 15 | # COLOR_UI2 => Window title color (#E6C384) | |
| 16 | # | |
| 17 | # COLOR_WARN1 => Errors, unencrypted, etc. - typically a red (#D27E99) | |
| 18 | # COLOR_WARN2 => Redacted messages - typically a red or light orange (#FF9E3B) | |
| 19 | # COLOR_WARN3 => Unknown encryption status - typically a yellow (#C0A36E) | |
| 20 | # | |
| 21 | # COLOR_GOOD1 => Encrypted indicator - typically a green (#98BB6C) | |
| 22 | # | |
| 23 | # COLOR_TEXT1 => Primary text color (#DCD7BA) | |
| 24 | # COLOR_TEXT2 => Contrast text color, should differ from COLOR_TEXT1 (#C8C093) | |
| 25 | # COLOR_TEXT3 => Alternate text color (#7FB4CA) | |
| 26 | # COLOR_TEXT4 => Alternate text color (#9CABCA) | |
| 27 | # COLOR_TEXT5 => Alternate text color (#7E9CD8) | |
| 28 | # | |
| 29 | # COLOR_PLUS => Extra user colors used for users: "#54546D", "#727169" | |
| 30 | [theme.users] | |
| 31 | colors = [ | |
| 32 | "#D27E99", | |
| 33 | "#FF9E3B", | |
| 34 | "#C0A36E", | |
| 35 | "#98BB6C", | |
| 36 | "#C8C093", | |
| 37 | "#7FB4CA", | |
| 38 | "#9CABCA", | |
| 39 | "#7E9CD8", | |
| 40 | "#54546D", "#727169" | |
| 41 | ] | |
| 42 | ||
| 43 | [theme.default] | |
| 44 | color = "#DCD7BA" | |
| 45 | background = "#16161D" | |
| 46 | ||
| 47 | [theme.completion] | |
| 48 | default.background = "#2A2A37" | |
| 49 | default.color = "#957FB8" | |
| 50 | selected.background = "#1F1F28" | |
| 51 | selected.color = "#DCD7BA" | |
| 52 | ||
| 53 | [theme.timeline] | |
| 54 | redacted.color = "#FF9E3B" | |
| 55 | ||
| 56 | [theme.messages] | |
| 57 | code.color = "#C8C093" | |
| 58 | code.background = "#1F1F28" | |
| 59 | emphasis.color = "#9CABCA" | |
| 60 | strong.color = "#7FB4CA" | |
| 61 | ||
| 62 | [theme.rooms] | |
| 63 | default.color = "#7E9CD8" | |
| 64 | unread.color = "#C8C093" | |
| 65 | labels.color = "#9CABCA" | |
| 66 | ||
| 67 | [theme.windows] | |
| 68 | border.color = "#957FB8" | |
| 69 | title.color = "#E6C384" | |
| 70 | ||
| 71 | [theme.encryption] | |
| 72 | icon_encrypted.color = "#98BB6C" | |
| 73 | icon_unencrypted.color = "#D27E99" | |
| 74 | icon_unknown.color = "#C0A36E" | |
| 75 | ||
| 76 | [theme.cmdbar] | |
| 77 | error.color = "#D27E99" | |
themes/kanagawa-light.toml added +77
| @@ -0,0 +1,77 @@ | ||
| 1 | # kanagawa-light theme for iamb | |
| 2 | # | |
| 3 | # You can place this directly in your `~/.config/iamb/themes` directory to make it | |
| 4 | # discoverable, or copy its contents directly into your `config.toml`. | |
| 5 | ||
| 6 | # | |
| 7 | # If you are looking to remix this file to make a derived theme, the colors were | |
| 8 | # picked and assigned as: | |
| 9 | # | |
| 10 | # COLOR_BG1 => Primary background (#F2ECBC) | |
| 11 | # COLOR_BG2 => Alternate background (#D5CEA3) | |
| 12 | # COLOR_BG3 => Completion menu selected item background (#E7DBA0) | |
| 13 | # | |
| 14 | # COLOR_UI1 => Window border color, text completion menu (#836F4A) | |
| 15 | # COLOR_UI2 => Window title color (#624C83) | |
| 16 | # | |
| 17 | # COLOR_WARN1 => Errors, unencrypted, etc. - typically a red (#B35B79) | |
| 18 | # COLOR_WARN2 => Redacted messages - typically a red or light orange (#E98A00) | |
| 19 | # COLOR_WARN3 => Unknown encryption status - typically a yellow (#77713F) | |
| 20 | # | |
| 21 | # COLOR_GOOD1 => Encrypted indicator - typically a green (#6F894E) | |
| 22 | # | |
| 23 | # COLOR_TEXT1 => Primary text color (#43436C) | |
| 24 | # COLOR_TEXT2 => Contrast text color, should differ from COLOR_TEXT1 (#4D699B) | |
| 25 | # COLOR_TEXT3 => Alternate text color (#545464) | |
| 26 | # COLOR_TEXT4 => Alternate text color (#6693BF) | |
| 27 | # COLOR_TEXT5 => Alternate text color (#4E8CA2) | |
| 28 | # | |
| 29 | # COLOR_PLUS => Extra user colors used for users: "#8A8980", "#A09CAC" | |
| 30 | [theme.users] | |
| 31 | colors = [ | |
| 32 | "#B35B79", | |
| 33 | "#E98A00", | |
| 34 | "#77713F", | |
| 35 | "#6F894E", | |
| 36 | "#4D699B", | |
| 37 | "#545464", | |
| 38 | "#6693BF", | |
| 39 | "#4E8CA2", | |
| 40 | "#8A8980", "#A09CAC" | |
| 41 | ] | |
| 42 | ||
| 43 | [theme.default] | |
| 44 | color = "#43436C" | |
| 45 | background = "#F2ECBC" | |
| 46 | ||
| 47 | [theme.completion] | |
| 48 | default.background = "#E7DBA0" | |
| 49 | default.color = "#836F4A" | |
| 50 | selected.background = "#D5CEA3" | |
| 51 | selected.color = "#43436C" | |
| 52 | ||
| 53 | [theme.timeline] | |
| 54 | redacted.color = "#E98A00" | |
| 55 | ||
| 56 | [theme.messages] | |
| 57 | code.color = "#4D699B" | |
| 58 | code.background = "#D5CEA3" | |
| 59 | emphasis.color = "#6693BF" | |
| 60 | strong.color = "#545464" | |
| 61 | ||
| 62 | [theme.rooms] | |
| 63 | default.color = "#4E8CA2" | |
| 64 | unread.color = "#4D699B" | |
| 65 | labels.color = "#6693BF" | |
| 66 | ||
| 67 | [theme.windows] | |
| 68 | border.color = "#836F4A" | |
| 69 | title.color = "#624C83" | |
| 70 | ||
| 71 | [theme.encryption] | |
| 72 | icon_encrypted.color = "#6F894E" | |
| 73 | icon_unencrypted.color = "#B35B79" | |
| 74 | icon_unknown.color = "#77713F" | |
| 75 | ||
| 76 | [theme.cmdbar] | |
| 77 | error.color = "#B35B79" | |
themes/molokai-dark.toml added +77
| @@ -0,0 +1,77 @@ | ||
| 1 | # oh-my-monokai-dark theme for iamb | |
| 2 | # | |
| 3 | # You can place this directly in your `~/.config/iamb/themes` directory to make it | |
| 4 | # discoverable, or copy its contents directly into your `config.toml`. | |
| 5 | ||
| 6 | # | |
| 7 | # If you are looking to remix this file to make a derived theme, the colors were | |
| 8 | # picked and assigned as: | |
| 9 | # | |
| 10 | # COLOR_BG1 => Primary background (#19181A) | |
| 11 | # COLOR_BG2 => Alternate background (#1E1E1E) | |
| 12 | # COLOR_BG3 => Completion menu selected item background (#282828) | |
| 13 | # | |
| 14 | # COLOR_UI1 => Window border color, text completion menu (#E373CE) | |
| 15 | # COLOR_UI2 => Window title color (#F6F6F6) | |
| 16 | # | |
| 17 | # COLOR_WARN1 => Errors, unencrypted, etc. - typically a red (#FF3F4F) | |
| 18 | # COLOR_WARN2 => Redacted messages - typically a red or light orange (#5C6370) | |
| 19 | # COLOR_WARN3 => Unknown encryption status - typically a yellow (#E5A422) | |
| 20 | # | |
| 21 | # COLOR_GOOD1 => Encrypted indicator - typically a green (#727072) | |
| 22 | # | |
| 23 | # COLOR_TEXT1 => Primary text color (#FCFCFA) | |
| 24 | # COLOR_TEXT2 => Contrast text color, should differ from COLOR_TEXT1 (#81F900) | |
| 25 | # COLOR_TEXT3 => Alternate text color (#FFD945) | |
| 26 | # COLOR_TEXT4 => Alternate text color (#00DFFF) | |
| 27 | # COLOR_TEXT5 => Alternate text color (#C1C0C0) | |
| 28 | # | |
| 29 | # COLOR_PLUS => Extra user colors used for users: | |
| 30 | [theme.users] | |
| 31 | colors = [ | |
| 32 | "#FF3F4F", | |
| 33 | "#5C6370", | |
| 34 | "#E5A422", | |
| 35 | "#727072", | |
| 36 | "#81F900", | |
| 37 | "#FFD945", | |
| 38 | "#00DFFF", | |
| 39 | "#C1C0C0", | |
| 40 | ||
| 41 | ] | |
| 42 | ||
| 43 | [theme.default] | |
| 44 | color = "#FCFCFA" | |
| 45 | background = "#19181A" | |
| 46 | ||
| 47 | [theme.completion] | |
| 48 | default.background = "#282828" | |
| 49 | default.color = "#E373CE" | |
| 50 | selected.background = "#1E1E1E" | |
| 51 | selected.color = "#FCFCFA" | |
| 52 | ||
| 53 | [theme.timeline] | |
| 54 | redacted.color = "#5C6370" | |
| 55 | ||
| 56 | [theme.messages] | |
| 57 | code.color = "#81F900" | |
| 58 | code.background = "#1E1E1E" | |
| 59 | emphasis.color = "#00DFFF" | |
| 60 | strong.color = "#FFD945" | |
| 61 | ||
| 62 | [theme.rooms] | |
| 63 | default.color = "#C1C0C0" | |
| 64 | unread.color = "#81F900" | |
| 65 | labels.color = "#00DFFF" | |
| 66 | ||
| 67 | [theme.windows] | |
| 68 | border.color = "#E373CE" | |
| 69 | title.color = "#F6F6F6" | |
| 70 | ||
| 71 | [theme.encryption] | |
| 72 | icon_encrypted.color = "#727072" | |
| 73 | icon_unencrypted.color = "#FF3F4F" | |
| 74 | icon_unknown.color = "#E5A422" | |
| 75 | ||
| 76 | [theme.cmdbar] | |
| 77 | error.color = "#FF3F4F" | |
themes/tokyonight-dark.toml added +77
| @@ -0,0 +1,77 @@ | ||
| 1 | # tokyonight-dark theme for iamb | |
| 2 | # | |
| 3 | # You can place this directly in your `~/.config/iamb/themes` directory to make it | |
| 4 | # discoverable, or copy its contents directly into your `config.toml`. | |
| 5 | ||
| 6 | # | |
| 7 | # If you are looking to remix this file to make a derived theme, the colors were | |
| 8 | # picked and assigned as: | |
| 9 | # | |
| 10 | # COLOR_BG1 => Primary background (#1F2335) | |
| 11 | # COLOR_BG2 => Alternate background (#24283B) | |
| 12 | # COLOR_BG3 => Completion menu selected item background (#292E42) | |
| 13 | # | |
| 14 | # COLOR_UI1 => Window border color, text completion menu (#3B4261) | |
| 15 | # COLOR_UI2 => Window title color (#C0CAF5) | |
| 16 | # | |
| 17 | # COLOR_WARN1 => Errors, unencrypted, etc. - typically a red (#FF8349) | |
| 18 | # COLOR_WARN2 => Redacted messages - typically a red or light orange (#737AA2) | |
| 19 | # COLOR_WARN3 => Unknown encryption status - typically a yellow (#2AC3DE) | |
| 20 | # | |
| 21 | # COLOR_GOOD1 => Encrypted indicator - typically a green (#9ECE6A) | |
| 22 | # | |
| 23 | # COLOR_TEXT1 => Primary text color (#89DDFF) | |
| 24 | # COLOR_TEXT2 => Contrast text color, should differ from COLOR_TEXT1 (#A9B1D6) | |
| 25 | # COLOR_TEXT3 => Alternate text color (#BB9AF7) | |
| 26 | # COLOR_TEXT4 => Alternate text color (#7AA2F7) | |
| 27 | # COLOR_TEXT5 => Alternate text color (#565F89) | |
| 28 | # | |
| 29 | # COLOR_PLUS => Extra user colors used for users: | |
| 30 | [theme.users] | |
| 31 | colors = [ | |
| 32 | "#FF8349", | |
| 33 | "#737AA2", | |
| 34 | "#2AC3DE", | |
| 35 | "#9ECE6A", | |
| 36 | "#A9B1D6", | |
| 37 | "#BB9AF7", | |
| 38 | "#7AA2F7", | |
| 39 | "#565F89", | |
| 40 | ||
| 41 | ] | |
| 42 | ||
| 43 | [theme.default] | |
| 44 | color = "#89DDFF" | |
| 45 | background = "#1F2335" | |
| 46 | ||
| 47 | [theme.completion] | |
| 48 | default.background = "#292E42" | |
| 49 | default.color = "#3B4261" | |
| 50 | selected.background = "#24283B" | |
| 51 | selected.color = "#89DDFF" | |
| 52 | ||
| 53 | [theme.timeline] | |
| 54 | redacted.color = "#737AA2" | |
| 55 | ||
| 56 | [theme.messages] | |
| 57 | code.color = "#A9B1D6" | |
| 58 | code.background = "#24283B" | |
| 59 | emphasis.color = "#7AA2F7" | |
| 60 | strong.color = "#BB9AF7" | |
| 61 | ||
| 62 | [theme.rooms] | |
| 63 | default.color = "#565F89" | |
| 64 | unread.color = "#A9B1D6" | |
| 65 | labels.color = "#7AA2F7" | |
| 66 | ||
| 67 | [theme.windows] | |
| 68 | border.color = "#3B4261" | |
| 69 | title.color = "#C0CAF5" | |
| 70 | ||
| 71 | [theme.encryption] | |
| 72 | icon_encrypted.color = "#9ECE6A" | |
| 73 | icon_unencrypted.color = "#FF8349" | |
| 74 | icon_unknown.color = "#2AC3DE" | |
| 75 | ||
| 76 | [theme.cmdbar] | |
| 77 | error.color = "#FF8349" | |
themes/tokyonight-light.toml added +77
| @@ -0,0 +1,77 @@ | ||
| 1 | # tokyonight-light theme for iamb | |
| 2 | # | |
| 3 | # You can place this directly in your `~/.config/iamb/themes` directory to make it | |
| 4 | # discoverable, or copy its contents directly into your `config.toml`. | |
| 5 | ||
| 6 | # | |
| 7 | # If you are looking to remix this file to make a derived theme, the colors were | |
| 8 | # picked and assigned as: | |
| 9 | # | |
| 10 | # COLOR_BG1 => Primary background (#E9E9EC) | |
| 11 | # COLOR_BG2 => Alternate background (#E1E2E7) | |
| 12 | # COLOR_BG3 => Completion menu selected item background (#C4C8DA) | |
| 13 | # | |
| 14 | # COLOR_UI1 => Window border color, text completion menu (#848CB5) | |
| 15 | # COLOR_UI2 => Window title color (#3760BF) | |
| 16 | # | |
| 17 | # COLOR_WARN1 => Errors, unencrypted, etc. - typically a red (#B15C00) | |
| 18 | # COLOR_WARN2 => Redacted messages - typically a red or light orange (#68709A) | |
| 19 | # COLOR_WARN3 => Unknown encryption status - typically a yellow (#188092) | |
| 20 | # | |
| 21 | # COLOR_GOOD1 => Encrypted indicator - typically a green (#587539) | |
| 22 | # | |
| 23 | # COLOR_TEXT1 => Primary text color (#14161B) | |
| 24 | # COLOR_TEXT2 => Contrast text color, should differ from COLOR_TEXT1 (#006A83) | |
| 25 | # COLOR_TEXT3 => Alternate text color (#9854F1) | |
| 26 | # COLOR_TEXT4 => Alternate text color (#2E7DE9) | |
| 27 | # COLOR_TEXT5 => Alternate text color (#6172B0) | |
| 28 | # | |
| 29 | # COLOR_PLUS => Extra user colors used for users: "#A8AECB" | |
| 30 | [theme.users] | |
| 31 | colors = [ | |
| 32 | "#B15C00", | |
| 33 | "#68709A", | |
| 34 | "#188092", | |
| 35 | "#587539", | |
| 36 | "#006A83", | |
| 37 | "#9854F1", | |
| 38 | "#2E7DE9", | |
| 39 | "#6172B0", | |
| 40 | "#A8AECB" | |
| 41 | ] | |
| 42 | ||
| 43 | [theme.default] | |
| 44 | color = "#14161B" | |
| 45 | background = "#E9E9EC" | |
| 46 | ||
| 47 | [theme.completion] | |
| 48 | default.background = "#C4C8DA" | |
| 49 | default.color = "#848CB5" | |
| 50 | selected.background = "#E1E2E7" | |
| 51 | selected.color = "#14161B" | |
| 52 | ||
| 53 | [theme.timeline] | |
| 54 | redacted.color = "#68709A" | |
| 55 | ||
| 56 | [theme.messages] | |
| 57 | code.color = "#006A83" | |
| 58 | code.background = "#E1E2E7" | |
| 59 | emphasis.color = "#2E7DE9" | |
| 60 | strong.color = "#9854F1" | |
| 61 | ||
| 62 | [theme.rooms] | |
| 63 | default.color = "#6172B0" | |
| 64 | unread.color = "#006A83" | |
| 65 | labels.color = "#2E7DE9" | |
| 66 | ||
| 67 | [theme.windows] | |
| 68 | border.color = "#848CB5" | |
| 69 | title.color = "#3760BF" | |
| 70 | ||
| 71 | [theme.encryption] | |
| 72 | icon_encrypted.color = "#587539" | |
| 73 | icon_unencrypted.color = "#B15C00" | |
| 74 | icon_unknown.color = "#188092" | |
| 75 | ||
| 76 | [theme.cmdbar] | |
| 77 | error.color = "#B15C00" | |