forge
Explore
Log in

Don't you dare go Hollow

Dark theme is slate matcha, a cool slate background with a yellow-green button, instead of green-tinted sage

Browse files at this commit

d2d2dd330815a4e53a13d06443ac39d8a19c5a5eAhmet Kaan GümüşParent: c2d290a
  • style
    • dark theme is slate matcha, a cool slate background with a yellow-green button, instead of green-tinted sage
Show full message
💄 style: dark theme is slate matcha, a cool slate background with a yellow-green button, instead of green-tinted sage
crates/forge-web/src/accent.rsmodified+1 -1
@@ -383,7 +383,7 @@ mod tests {
383 #[test]383 #[test]
384 fn swatches_show_the_accent_and_the_base_for_presets_and_hues() {384 fn swatches_show_the_accent_and_the_base_for_presets_and_hues() {
385 assert_eq!(swatch("sage", false), "#5E7D63");385 assert_eq!(swatch("sage", false), "#5E7D63");
386- assert_eq!(swatch("sage", true), "#9DBEA2");386+ assert_eq!(swatch("sage", true), "#93A663");
387 assert_eq!(387 assert_eq!(
388 swatch("hue-215", false),388 swatch("hue-215", false),
389 accent_tokens(215, 50, false).accent389 accent_tokens(215, 50, false).accent
crates/forge-web/src/accent_palette.rsmodified+26 -23
@@ -98,17 +98,19 @@ pub const PALETTES: &[Palette] = &[
98 hunk_bg: "#EDF1EB",98 hunk_bg: "#EDF1EB",
99 hunk_text: "#3F5F46",99 hunk_text: "#3F5F46",
100 },100 },
101+ // Dark is matcha: a yellow-green fill with dark text, which reads cleaner on slate than
102+ // the grey-green sage did.
101 dark: Tokens {103 dark: Tokens {
102- accent: "#9DBEA2",104+ accent: "#93A663",
103- accent_ink: "#B5D2B9",105+ accent_ink: "#BCCB8F",
104- accent_soft: "#233026",106+ accent_soft: "#283020",
105- accent_text: "#0F1510",107+ accent_text: "#151A0B",
106- focus: "#9DBEA2",108+ focus: "#BCCB8F",
107- public_bg: "#233026",109+ public_bg: "#283020",
108- public_text: "#B5D2B9",110+ public_text: "#D3DDB4",
109- note: "#B5D2B9",111+ note: "#BCCB8F",
110- hunk_bg: "#1E2620",112+ hunk_bg: "#1D2219",
111- hunk_text: "#9DBEA2",113+ hunk_text: "#B3C385",
112 },114 },
113 },115 },
114 // Flare orange: a bright, clean orange on plain neutral greys.116 // Flare orange: a bright, clean orange on plain neutral greys.
@@ -343,7 +345,7 @@ pub const BASE_TOKEN_VARS: &[BaseTokenVar] = &[
343 /// Every base on offer, in the order the picker lists them. `fern` is the original forge345 /// Every base on offer, in the order the picker lists them. `fern` is the original forge
344 /// neutral set.346 /// neutral set.
345 pub const BASES: &[Base] = &[347 pub const BASES: &[Base] = &[
346- // Fern: the original forge neutrals, green-tinted.348+ // Fern: the original forge neutrals, green-tinted in light and slate in dark.
347 Base {349 Base {
348 id: "fern",350 id: "fern",
349 light: BaseTokens {351 light: BaseTokens {
@@ -360,19 +362,20 @@ pub const BASES: &[Base] = &[
360 private_text: "#3A433D",362 private_text: "#3A433D",
361 ln_text: "#646D65",363 ln_text: "#646D65",
362 },364 },
365+ // Dark is cool slate: a green-tinted near-black looked swampy.
363 dark: BaseTokens {366 dark: BaseTokens {
364- bg: "#121613",367+ bg: "#131618",
365- surface: "#191E1A",368+ surface: "#191D20",
366- surface_2: "#1F261F",369+ surface_2: "#20252A",
367- text: "#E3E8E2",370+ text: "#E3E8EA",
368- text_2: "#C4CCC3",371+ text_2: "#C3CACD",
369- muted: "#97A198",372+ muted: "#96A0A5",
370- border: "#2A322C",373+ border: "#283035",
371- border_strong: "#3A443C",374+ border_strong: "#384146",
372- code_bg: "#1F261F",375+ code_bg: "#1C2125",
373- private_bg: "#1F261F",376+ private_bg: "#20252A",
374- private_text: "#C4CCC3",377+ private_text: "#C3CACD",
375- ln_text: "#97A198",378+ ln_text: "#8A959A",
376 },379 },
377 },380 },
378 // Spark: plain neutral greys, barely warm.381 // Spark: plain neutral greys, barely warm.