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

fix(vercel): update variables and classes #122

Merged
merged 1 commit into from
Jul 23, 2023
Merged
Changes from all commits
Commits
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
50 changes: 19 additions & 31 deletions styles/vercel/catppuccin.user.css
Original file line number Diff line number Diff line change
@@ -1,20 +1,16 @@
/* ==UserStyle==
@name Vercel Catppuccin
@namespace github.com/catppuccin/userstyles/styles/vercel
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/vercel
@version 0.0.4
@description Soothing pastel theme for Vercel
@author Catppuccin
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/vercel/catppuccin.user.css
@license MIT

@preprocessor less
@var select flavor "Flavor" ["latte:Latte", "frappe:Frappe", "macchiato:Macchiato", "mocha:Mocha*"]
@preprocessor less
@var select Theme "Theme" ["latte:Latte", "frappe:Frappe", "macchiato:Macchiato", "mocha:Mocha*"]
==/UserStyle== */
@-moz-document domain("vercel.com") {

:root {
#catppuccin(@flavor);
#catppuccin(@Theme);
}

@catppuccin: {
Expand Down Expand Up @@ -45,7 +41,7 @@
@base: #eff1f5;
@mantle: #e6e9ef;
@crust: #dce0e8;
}
};
@frappe: {
@rosewater: #f2d5cf;
@flamingo: #eebebe;
Expand Down Expand Up @@ -73,7 +69,7 @@
@base: #303446;
@mantle: #292c3c;
@crust: #232634;
}
};
@macchiato: {
@rosewater: #f4dbd6;
@flamingo: #f0c6c6;
Expand Down Expand Up @@ -101,7 +97,7 @@
@base: #24273a;
@mantle: #1e2030;
@crust: #181926;
}
};
@mocha: {
@rosewater: #f5e0dc;
@flamingo: #f2cdcd;
Expand Down Expand Up @@ -129,8 +125,8 @@
@base: #1e1e2e;
@mantle: #181825;
@crust: #11111b;
}
}
};
};

#catppuccin(@lookup) {
@rosewater: @catppuccin[@@lookup][@rosewater];
Expand Down Expand Up @@ -175,29 +171,21 @@
--geist-success: @blue;
--geist-error: @red;
--geist-cyan: @teal;
--_1psdadq8: @overlay0;
--_1psdadq1n: @maroon;

& when (Theme = "Latte") {
div.jsx-138561840.menu > div.item.hover:hover {
background-color: var(--accents-2) !important;
}
--ds-background-100: @base;
--ds-background-200: @surface0;
--ds-gray-100: @base;
--ds-gray-200: @surface0;
--ds-gray-300: @surface1;
--ds-gray-1000: @text;
--ds-gray-900: @subtext0;
--ds-gray-800: @subtext1;

div.jsx-138561840.menu > div.item.active {
background-color: transparent !important;
}
}
--ds-red-800: @red;
--ds-red-900: lighten(@red, 5%);

svg {
--geist-stroke: var(--geist-background) !important;
}

.button_ghost__sBWMh {
--lighten-color: transparent !important;
}

.feedback-input_geist-feedback-input__PxEnJ:hover .feedback-input_feedback-wrapper__mCwSO .feedback-input_placeholder__ZKdJ6 {
color: var(--geist-foreground);
}
}
}
}