Skip to content

Conversation

@ChakornK
Copy link

🎉 Theme for Codeforces 🎉

Codeforces is a website that hosts competitive programming contests.

🌻 Latte
🪴 Frappé
🌺 Macchiato
🌿 Mocha

🗒 Checklist 🗒

  • I have read and followed Catppuccin's submission guidelines.
  • I have made a new directory underneath /styles/<name-of-website> containing the contents of the /template directory.
    • I have ensured that the new directory is in lower-kebab-case.
    • I have followed the template and kept the preprocessor as LESS.
  • I have made sure to update the userstyles.yml file with information about the new userstyle.
  • I have included the following files:
    • catppuccin.user.less - all the CSS for the userstyle, based on the template.

@ChakornK ChakornK requested a review from uncenter as a code owner November 23, 2025 09:14
@WalkQuackBack WalkQuackBack added the 0.kind: init A new userstyle label Nov 27, 2025
@uncenter uncenter added the 5.needs: staff-review A review by a staff member is required/needed label Nov 27, 2025
@WalkQuackBack WalkQuackBack added 2.status: pending Pending until internal discussion, planned updates, etc. 4.topic: tints/shades Relating to the tints and shades palette labels Nov 30, 2025
@WalkQuackBack
Copy link
Member

Marking this as pending, since tints and shades are not yet adopted and fading, lightening and darkening colours isn't standardized. Thanks for taking the time to work on this.

@ChakornK
Copy link
Author

fading, lightening and darkening colours isn't standardized

I have removed the use of lightening and darkening as they are not necessary. However, fading cannot be removed as it is used to theme elements on the website that already have faded colors.

@WalkQuackBack
Copy link
Member

Due to fading amounts not being standardized, things like the 20% fade on https://github.com/catppuccin/userstyles/pull/2001/files#diff-97f27cb299e39122d175d160679ab75e205eda13a7c341004633efb681432260R61 may be inconsistent with other userstyles. I think we’re holding off on userstyles that do that for now, so we can standardize it first then use it, instead of later down the line going back and migrating everything.

Comment on lines 414 to 435
* when not(@flavor = latte) {
img[src*="codeforces-sponsored-by-ton"] {
filter: invert(1) sepia(1) hue-rotate(hue(@accent) - 39deg) saturate(2);
}

img[src*="votedown-"],
img[src*="voteup-"] {
opacity: 1 !important;
}

img[src*="tablesorter-"] {
filter: invert(1);
}

img[src*="icons/user"] {
filter: brightness(1.6) contrast(0.8);
}

img.tex-formula {
filter: invert(1);
}
}
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 use our official filters palette instead of customs/inversions: https://userstyles.catppuccin.com/contributing/guides/images-and-svgs/#monochrome-img-elements.

Copy link
Author

Choose a reason for hiding this comment

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

The official filter does not work well when the image is non-transparent. It turns the logo into one single color, as shown below:
{0501A852-4734-43BE-9EA6-5FDB58F17F75}

The filter that I currently have for reference:
{5A6E5025-DA9F-4EF9-BB3A-F6B085FC98C1}

Original logo
{BC72619E-C1BD-426C-AF53-392B3BE9997E}

@ChakornK ChakornK requested a review from uncenter December 22, 2025 18:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

0.kind: init A new userstyle 2.status: pending Pending until internal discussion, planned updates, etc. 4.topic: tints/shades Relating to the tints and shades palette 5.needs: staff-review A review by a staff member is required/needed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants