feat(hoppscotch): less contrast, selection colors, surface elements - #2010
Closed
feraxhp wants to merge 4 commits into
Closed
feat(hoppscotch): less contrast, selection colors, surface elements#2010feraxhp wants to merge 4 commits into
feraxhp wants to merge 4 commits into
Conversation
uncenter
reviewed
Dec 2, 2025
Contributor
Author
Contributor
Author
feraxhp
commented
Dec 2, 2025
feraxhp
commented
Dec 2, 2025
Contributor
Author
|
Well i think that's all. all solved for now. |
I also change accent-dark-alpha, to improve the visibility of the buttons hover.
Member
|
Would love to be able to push some changes to this branch but I can't since your pull request is off of your fork's main branch. In the future, please make sure to create a new topic branch for each set of changes as per https://userstyles.catppuccin.com/contributing/#pull-requests :) Here is what edits I would make to this userstyle: /* ==UserStyle==
@name Hoppscotch Catppuccin
@namespace github.com/catppuccin/userstyles/styles/hoppscotch
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/hoppscotch
@version 2025.09.06
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/hoppscotch/catppuccin.user.less
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Ahoppscotch
@description Soothing pastel theme for Hoppscotch
@author Catppuccin
@license MIT
@preprocessor less
@var select lightFlavor "Light Flavor" ["latte:Latte*", "frappe:Frapp茅", "macchiato:Macchiato", "mocha:Mocha"]
@var select darkFlavor "Dark Flavor" ["latte:Latte", "frappe:Frapp茅", "macchiato:Macchiato", "mocha:Mocha*"]
@var select accentColor "Accent" ["rosewater:Rosewater", "flamingo:Flamingo", "pink:Pink", "mauve:Mauve*", "red:Red", "maroon:Maroon", "peach:Peach", "yellow:Yellow", "green:Green", "teal:Teal", "blue:Blue", "sapphire:Sapphire", "sky:Sky", "lavender:Lavender", "subtext0:Gray"]
==/UserStyle== */
@import "https://userstyles.catppuccin.com/lib/lib.less";
@-moz-document domain("hoppscotch.io") {
:root.dark {
#catppuccin(@darkFlavor);
}
:root.light {
#catppuccin(@lightFlavor);
}
#catppuccin(@flavor) {
#lib.palette();
#lib.defaults();
@accent-light-alpha: 1.1;
@accent-dark-alpha: 80%;
@accent-gradient-from-color: 1.05;
@accent-gradient-via-color: 1.2;
@accent-gradient-to-color: 0.85;
--primary-color: @base;
--primary-light-color: @mantle;
--primary-dark-color: @crust;
--primary-contrast-color: @mantle;
--secondary-color: @subtext0;
--secondary-light-color: @subtext0;
--secondary-dark-color: @subtext1;
--divider-color: @surface0;
--divider-light-color: @surface0;
--divider-dark-color: @surface0;
--error-color: @red;
--tooltip-color: @text;
--popover-color: @crust;
--editor-theme: "vscode-esque";
--editor-type-color: fade(@mauve, 90%);
--editor-name-color: @blue;
--editor-operator-color: @mauve;
--editor-invalid-color: @maroon;
--editor-separator-color: @overlay0;
--editor-meta-color: @overlay0;
--editor-variable-color: @green;
--editor-link-color: @sapphire;
--editor-constant-color: fade(@lavender, 1.2%);
--editor-keyword-color: @red;
--accent-color: @accent;
--accent-light-color: fade(@accent, @accent-light-alpha);
--accent-dark-color: fade(@accent, @accent-dark-alpha);
--accent-contrast-color: @crust;
--gradient-from-color: fade(@accent, @accent-gradient-from-color);
--gradient-via-color: fade(@accent, @accent-gradient-via-color);
--gradient-to-color: fade(@accent, @accent-gradient-to-color);
--editor-process-color: @text;
--banner-info-color: fade(@blue, 20%);
.cm-editor {
background: @mantle;
.cm-placeholder {
color: @text;
}
}
.cm-focused .cm-activeLine {
background-color: @base;
}
.cm-focused .cm-activeLineGutter {
background-color: @surface0;
}
.cm-selectionBackground {
background: fade(@accent, 30%) !important;
}
}
} |
uncenter
reviewed
Dec 5, 2025
Comment on lines
+92
to
+93
| .cm-selectionBackground, | ||
| .autocomplete-wrapper .cm-editor ::selection { |
Member
There was a problem hiding this comment.
Suggested change
| .cm-selectionBackground, | |
| .autocomplete-wrapper .cm-editor ::selection { | |
| .cm-selectionBackground { |
re; above
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



馃敡 What does this fix? 馃敡
Improve theming for hoppscotch.
Before
After
馃棐 Checklist 馃棐