feat(hoppscotch): less contrast, selection colors, surface elements (#2013)
This commit is contained in:
1 parent
042bfbce93
commit
7292eefa77
1 file changed
+18
-13
@@ -29,27 +29,23 @@
|
||||
#catppuccin(@flavor) {
|
||||
#lib.palette();
|
||||
#lib.defaults();
|
||||
// TODO: Do we need to set the selection color in the defaults? Why is it necessary here but not elsewhere?
|
||||
::selection {
|
||||
color: @text !important;
|
||||
}
|
||||
|
||||
@accent-light-alpha: 1.1;
|
||||
@accent-dark-alpha: 0.9;
|
||||
@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: @surface1;
|
||||
--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: @overlay0;
|
||||
--divider-light-color: @overlay1;
|
||||
--divider-dark-color: @surface2;
|
||||
--divider-color: @surface0;
|
||||
--divider-light-color: @surface0;
|
||||
--divider-dark-color: @surface0;
|
||||
--error-color: @red;
|
||||
--tooltip-color: @text;
|
||||
--popover-color: @crust;
|
||||
@@ -73,17 +69,26 @@
|
||||
--gradient-to-color: fade(@accent, @accent-gradient-to-color);
|
||||
|
||||
--editor-process-color: @text;
|
||||
--banner-info-color: fade(@blue, 20%);
|
||||
|
||||
.ͼ1 .cm-placeholder {
|
||||
color: @text;
|
||||
.cm-editor {
|
||||
background: @mantle;
|
||||
|
||||
.cm-placeholder {
|
||||
color: @text;
|
||||
}
|
||||
}
|
||||
|
||||
.cm-focused .cm-activeLine {
|
||||
background-color: @surface0;
|
||||
background-color: @base;
|
||||
}
|
||||
|
||||
.cm-focused .cm-activeLineGutter {
|
||||
background-color: @surface2;
|
||||
background-color: @surface0;
|
||||
}
|
||||
|
||||
.cm-selectionBackground {
|
||||
background: fade(@accent, 30%) !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user