Skip to content

Commit

Permalink
refactor(ui): use crust instead of base for latte borders
Browse files Browse the repository at this point in the history
  • Loading branch information
sgoudham committed Oct 21, 2023
1 parent 667a7e5 commit 32387bd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
### Changed

- (UI): Highlight text in accented buttons as `crust` instead of `surface1` for increased contrast
- (UI)(Latte): Use `crust` instead of `base` for darker borders and increased contrast.
- (SDL, Logcat, Jade): Improve syntax highlighting

### Deprecated
Expand Down
1 change: 1 addition & 0 deletions generateFlavours/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ Deno.readTextFile(uiPath).then((data) => {
name: `Catppuccin ${capitalize(key)}`,
editorScheme: `/themes/${key}.xml`,
isDark: isDark,
isLatte: !isDark,
...hexValues,
};

Expand Down
2 changes: 1 addition & 1 deletion generateFlavours/ui.theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"hoverBackground": "{{surface0}}",
"selectionBackground": "{{surface0}}",
"selectionInactiveBackground": "{{base}}",
"borderColor": "{{base}}",
"borderColor": "{{isLatte crust base}}",
"separatorColor": "{{surface0}}"
},
"ui": {
Expand Down

0 comments on commit 32387bd

Please sign in to comment.