Skip to content

Commit

Permalink
fix: change inline codeblocks from peach to text (#139)
Browse files Browse the repository at this point in the history
* docs(README): remove incorrect command

* fix: change inline codeblocks from `peach` to `text`
  • Loading branch information
sgoudham authored Nov 15, 2024
1 parent bd287ed commit 45da623
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,6 @@ in step `4.` of the [Usage](#usage) section.
2. Generate the CSS files:

```shell
cd palette
pnpm install
pnpm run build
```
Expand Down
13 changes: 12 additions & 1 deletion src/catppuccin.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,17 @@
@each $flavor, $colors in catppuccin.$palette {
.#{$flavor} {
@include hljs.highlights($flavor);

// Each heading is technically a link but
// we don't want to highlight it as `blue`
:is(h1, h2, h3, h4, h5, h6) {
a code {
color: map.get($colors, "text");
}
}
a code {
color: map.get($colors, "blue");
}
code {
color: map.get($colors, "text");
background: map.get($colors, "mantle");
Expand Down Expand Up @@ -50,7 +61,7 @@
--icons: #{map.get($colors, "overlay0")};
--icons-hover: #{map.get($colors, "overlay1")};
--links: #{map.get($colors, "blue")};
--inline-code-color: #{map.get($colors, "peach")};
--inline-code-color: #{map.get($colors, "text")};
--theme-popup-bg: #{map.get($colors, "mantle")};
--theme-popup-border: #{map.get($colors, "overlay0")};
--theme-hover: #{map.get($colors, "surface0")};
Expand Down

0 comments on commit 45da623

Please sign in to comment.