Skip to content

Commit

Permalink
add title_bar.inactive_background styles (#26)
Browse files Browse the repository at this point in the history
* add `title_bar.inactive_background` styles

* crust color. 80% transparent. blur?

* bump version

* 85% opacity; tad less transparent

---------

Co-authored-by: Andrew Tec <21319730+tecandrew@users.noreply.github.com>
  • Loading branch information
tepavcevic and tecandrew authored Jul 26, 2024
1 parent 3c124ff commit d4990b9
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 1 deletion.
2 changes: 1 addition & 1 deletion extension.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
id = "catppuccin"
name = "Catppuccin Themes"
schema_version = 1
version = "0.2.8"
version = "0.2.9"
authors = ["Andrew Tec <andrewtec@enjoi.dev>"]
description = "🦀 Soothing pastel theme for Zed"
repository = "https://github.com/catppuccin/zed"
8 changes: 8 additions & 0 deletions themes/catppuccin-mauve.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"name": "Catppuccin Latte",
"appearance": "light",
"style": {
"background.appearance": "blurred",

This comment has been minimized.

Copy link
@Congyuwang

Congyuwang Jul 28, 2024

This is but making the window shadow disappearing from macOS Zed.

"border": "#ccd0da",
"border.variant": "#9658eb",
"border.focused": "#7287fd",
Expand Down Expand Up @@ -39,6 +40,7 @@
"icon.accent": "#8839ef",
"status_bar.background": "#dce0e8",
"title_bar.background": "#dce0e8",
"title_bar.inactive_background": "#dce0e8d9",
"toolbar.background": "#eff1f5",
"tab_bar.background": "#dce0e8",
"tab.inactive_background": "#e6e9ef",
Expand Down Expand Up @@ -401,6 +403,7 @@
"name": "Catppuccin Frappé",
"appearance": "dark",
"style": {
"background.appearance": "blurred",
"border": "#414559",
"border.variant": "#af8cca",
"border.focused": "#babbf1",
Expand Down Expand Up @@ -433,6 +436,7 @@
"icon.accent": "#ca9ee6",
"status_bar.background": "#232634",
"title_bar.background": "#232634",
"title_bar.inactive_background": "#232634d9",
"toolbar.background": "#303446",
"tab_bar.background": "#232634",
"tab.inactive_background": "#292c3c",
Expand Down Expand Up @@ -795,6 +799,7 @@
"name": "Catppuccin Macchiato",
"appearance": "dark",
"style": {
"background.appearance": "blurred",
"border": "#363a4f",
"border.variant": "#a98cd5",
"border.focused": "#b7bdf8",
Expand Down Expand Up @@ -827,6 +832,7 @@
"icon.accent": "#c6a0f6",
"status_bar.background": "#181926",
"title_bar.background": "#181926",
"title_bar.inactive_background": "#181926d9",
"toolbar.background": "#24273a",
"tab_bar.background": "#181926",
"tab.inactive_background": "#1e2030",
Expand Down Expand Up @@ -1189,6 +1195,7 @@
"name": "Catppuccin Mocha",
"appearance": "dark",
"style": {
"background.appearance": "blurred",
"border": "#313244",
"border.variant": "#ac8fd4",
"border.focused": "#b4befe",
Expand Down Expand Up @@ -1221,6 +1228,7 @@
"icon.accent": "#cba6f7",
"status_bar.background": "#11111b",
"title_bar.background": "#11111b",
"title_bar.inactive_background": "#11111bd9",
"toolbar.background": "#1e1e2e",
"tab_bar.background": "#11111b",
"tab.inactive_background": "#181825",
Expand Down
8 changes: 8 additions & 0 deletions themes/catppuccin-no-italics-mauve.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"name": "Catppuccin Latte - No Italics",
"appearance": "light",
"style": {
"background.appearance": "blurred",
"border": "#ccd0da",
"border.variant": "#9658eb",
"border.focused": "#7287fd",
Expand Down Expand Up @@ -39,6 +40,7 @@
"icon.accent": "#8839ef",
"status_bar.background": "#dce0e8",
"title_bar.background": "#dce0e8",
"title_bar.inactive_background": "#dce0e8d9",
"toolbar.background": "#eff1f5",
"tab_bar.background": "#dce0e8",
"tab.inactive_background": "#e6e9ef",
Expand Down Expand Up @@ -401,6 +403,7 @@
"name": "Catppuccin Frappé - No Italics",
"appearance": "dark",
"style": {
"background.appearance": "blurred",
"border": "#414559",
"border.variant": "#af8cca",
"border.focused": "#babbf1",
Expand Down Expand Up @@ -433,6 +436,7 @@
"icon.accent": "#ca9ee6",
"status_bar.background": "#232634",
"title_bar.background": "#232634",
"title_bar.inactive_background": "#232634d9",
"toolbar.background": "#303446",
"tab_bar.background": "#232634",
"tab.inactive_background": "#292c3c",
Expand Down Expand Up @@ -795,6 +799,7 @@
"name": "Catppuccin Macchiato - No Italics",
"appearance": "dark",
"style": {
"background.appearance": "blurred",
"border": "#363a4f",
"border.variant": "#a98cd5",
"border.focused": "#b7bdf8",
Expand Down Expand Up @@ -827,6 +832,7 @@
"icon.accent": "#c6a0f6",
"status_bar.background": "#181926",
"title_bar.background": "#181926",
"title_bar.inactive_background": "#181926d9",
"toolbar.background": "#24273a",
"tab_bar.background": "#181926",
"tab.inactive_background": "#1e2030",
Expand Down Expand Up @@ -1189,6 +1195,7 @@
"name": "Catppuccin Mocha - No Italics",
"appearance": "dark",
"style": {
"background.appearance": "blurred",
"border": "#313244",
"border.variant": "#ac8fd4",
"border.focused": "#b4befe",
Expand Down Expand Up @@ -1221,6 +1228,7 @@
"icon.accent": "#cba6f7",
"status_bar.background": "#11111b",
"title_bar.background": "#11111b",
"title_bar.inactive_background": "#11111bd9",
"toolbar.background": "#1e1e2e",
"tab_bar.background": "#11111b",
"tab.inactive_background": "#181825",
Expand Down
2 changes: 2 additions & 0 deletions zed.tera
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ whiskers:
"name": "Catppuccin {{flavor.name}} {%- if accentName != 'mauve' %} ({{accentName}}) {%- endif -%} {%- if variant == "-no-italics" %} - No Italics {%- endif -%}",
"appearance": {% if flavor.dark %}"dark"{% else %}"light"{% endif %},
"style": {
"background.appearance": "blurred",
"border": "#{{c.surface0.hex}}",
"border.variant": "#{{ c[accent] | mix(color=c.surface0, amount=0.8) | get(key="hex") }}",
"border.focused": "#{{c.lavender.hex}}",
Expand Down Expand Up @@ -60,6 +61,7 @@ whiskers:
"icon.accent": "#{{c[accent].hex}}",
"status_bar.background": "#{{c.crust.hex}}",
"title_bar.background": "#{{c.crust.hex}}",
"title_bar.inactive_background": "#{{ c.crust | mod(opacity=0.85) | get(key="hex") }}",
"toolbar.background": "#{{c.base.hex}}",
"tab_bar.background": "#{{c.crust.hex}}",
"tab.inactive_background": "#{{c.mantle.hex}}",
Expand Down

0 comments on commit d4990b9

Please sign in to comment.