Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(claude): init #1579

Open
wants to merge 20 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions styles/claude/catppuccin.user.less
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,10 @@
--accent-main-100: #hslify(@accent) [];
--accent-main-200: #hslify(@accent) [];
--accent-main-900: #hslify(lighten(@accent, 10%)) [];
--accent-pro-000: #hslify(darken(@accent, 5%)) [];
--accent-pro-000: #hslify(lighten(@accent, 5%)) [];
--accent-pro-100: #hslify(@accent) [];
--accent-pro-200: #hslify(@accent) [];
--accent-pro-900: #hslify(lighten(@accent, 10%)) [];
--accent-pro-900: #hslify(darken(@accent, 25%)) [];
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should avoid darkening colors by more than 10% if possible.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was hoping to create more contrast for elements like this one, where the background color is accent-pro-900. If I change the darken ratio to 10%, the text becomes very hard to read:

image

What's a good approach to make it more readable without too much darkening?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Invert the text color to base/mantle/crust.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added a special rule so I didn't have to change the color for text-300.

--accent-secondary-000: #hslify(@overlay0) [];
--accent-secondary-100: #hslify(@overlay1) [];
--accent-secondary-200: #hslify(@overlay1) [];
Expand Down
Loading