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(gitlab): init #1337

Draft
wants to merge 63 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 3 commits
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
15aea8e
init gitlab
Sep 24, 2024
f511c5c
add preview
Sep 24, 2024
8f09115
add userstyles infos
Sep 24, 2024
c23335d
fix
Sep 24, 2024
c1f9e81
fix
Sep 24, 2024
a98fcb4
fix
Sep 24, 2024
e0931ed
styled a couple of things unstyled
Sep 25, 2024
9da22c8
revert github README
Sep 25, 2024
88bae1f
theme chip and popup menu on repo search bar
Sep 25, 2024
2bc0fd6
theme things that breaks when choosing latte on dark theme
Sep 26, 2024
2dd53f9
avoid breaking sidebar on mobile
Sep 26, 2024
4a17139
Merge branch 'catppuccin:main' into feat/gitlab
Thomas-Philippot Sep 27, 2024
ee27b1e
fix(gitlab): Style background and profile page
thelooter Sep 27, 2024
4f2bd7f
Merge pull request #2 from Thomas-Philippot/feat/gitlab-patch-1
Thomas-Philippot Sep 27, 2024
2e06e7a
merge request page work in progress
Sep 27, 2024
9ce0755
format file
Sep 27, 2024
7b8c9f8
Merge pull request #3 from Thomas-Philippot/feat/gitlab-patch-1
Thomas-Philippot Sep 27, 2024
9971264
fix: action cards
somerand0mcat Sep 28, 2024
7ef31b9
fix: text
somerand0mcat Sep 28, 2024
6ba4721
merge request page themed
Sep 28, 2024
cf9c2b9
add control background color
Sep 28, 2024
7cacab6
Merge pull request #4 from somerand0mcatt/patch-2
Thomas-Philippot Sep 28, 2024
3941040
test signed commit
Sep 28, 2024
572cbdf
changed email for signed commit
Thomas-Philippot Sep 28, 2024
6c47e9d
right sidebar and merge blocks
Thomas-Philippot Sep 30, 2024
434346d
Merge branch 'catppuccin:main' into feat/gitlab
Thomas-Philippot Oct 1, 2024
10e02ef
add code styling
Thomas-Philippot Oct 1, 2024
e5d261b
revert
Thomas-Philippot Oct 1, 2024
ed7352f
feat(gitlab): style pipeline pages
thelooter Oct 2, 2024
0879646
Merge pull request #5 from Thomas-Philippot/feat/gitlab-pipelines
Thomas-Philippot Oct 3, 2024
012491c
sidebar accent color
Thomas-Philippot Oct 3, 2024
e065053
Merge branch 'catppuccin:main' into feat/gitlab
Thomas-Philippot Oct 8, 2024
907d0ac
status page
Thomas-Philippot Oct 8, 2024
b2fefbf
style code diffs
Thomas-Philippot Oct 8, 2024
e2fbb61
style promo banner
Thomas-Philippot Oct 8, 2024
b9678d9
revert .deno.lock
Thomas-Philippot Oct 8, 2024
7f2142e
Merge branch 'catppuccin:main' into feat/gitlab
Thomas-Philippot Oct 15, 2024
a9f7172
wip
Thomas-Philippot Oct 23, 2024
239af7f
Merge branch 'feat/gitlab' of github.com:Thomas-Philippot/userstyles …
Thomas-Philippot Oct 23, 2024
d1410dd
Merge branch 'catppuccin:main' into feat/gitlab
Thomas-Philippot Oct 24, 2024
9fea72b
Merge branch 'feat/gitlab' of github.com:Thomas-Philippot/userstyles …
Thomas-Philippot Oct 24, 2024
3a47954
style search modal
Thomas-Philippot Oct 24, 2024
5d8c20b
fixes braces error
Thomas-Philippot Oct 24, 2024
0d280be
Merge branch 'main' into feat/gitlab
Thomas-Philippot Dec 24, 2024
0149327
Rename catppuccin.user.less to catppuccin.user.css
uncenter Dec 24, 2024
7e0a158
fixes kbd and badges with new catwalk
Thomas-Philippot Dec 27, 2024
4354bde
Merge branch 'main' into feat/gitlab
Thomas-Philippot Dec 27, 2024
6d22bc6
fixes badges
Thomas-Philippot Dec 27, 2024
d719b2e
Merge branch 'main' into feat/gitlab
Thomas-Philippot Dec 30, 2024
03c60b4
added mixins for ci-icons
Thomas-Philippot Dec 30, 2024
2697eec
renamed mixins name
Thomas-Philippot Dec 30, 2024
7b5e2ec
new deno version
Thomas-Philippot Dec 30, 2024
6820bfb
revert changes to other userstyles due to an old deno version
Thomas-Philippot Dec 30, 2024
4a18164
fixes hover on repo list and graph background
Thomas-Philippot Dec 30, 2024
1db1837
remove custom gitlab-url
Thomas-Philippot Dec 31, 2024
4082a01
Merge branch 'main' into feat/gitlab
Thomas-Philippot Jan 4, 2025
a254aa4
fixed merge request approval widget
Thomas-Philippot Jan 6, 2025
5aea1e5
Merge branch 'main' into feat/gitlab
Thomas-Philippot Jan 7, 2025
fffb892
fix the table and badges
Thomas-Philippot Jan 9, 2025
4b23622
Merge branch 'main' into feat/gitlab
Thomas-Philippot Jan 9, 2025
d9e7b30
revert unwanted change
Thomas-Philippot Jan 9, 2025
5e73d59
default button border
Thomas-Philippot Jan 9, 2025
0095181
Merge branch 'main' into feat/gitlab
Thomas-Philippot Jan 12, 2025
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
9 changes: 9 additions & 0 deletions scripts/userstyles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,15 @@ userstyles:
app-link: "https://github.com"
current-maintainers: [*uncenter]
past-maintainers: [*unseen-ninja, *pocco81, *glowingumbreon]
gitlab:
name: Gitlab
categories: [ development, productivity ]
Thomas-Philippot marked this conversation as resolved.
Show resolved Hide resolved
icon: gitlab
color: text
Thomas-Philippot marked this conversation as resolved.
Show resolved Hide resolved
readme:
usage: "Switch to a default Gitlab light/dark theme via **Preferences** > **Appearance** for the best experience!"
app-link: "https://github.com"
Thomas-Philippot marked this conversation as resolved.
Show resolved Hide resolved
current-maintainers: [ *thomas-philippot ]
Thomas-Philippot marked this conversation as resolved.
Show resolved Hide resolved
gmail:
name: Gmail
categories: [email_client, productivity]
Expand Down
42 changes: 0 additions & 42 deletions styles/github/README.md
Thomas-Philippot marked this conversation as resolved.
Show resolved Hide resolved

This file was deleted.

196 changes: 196 additions & 0 deletions styles/gitlab/catppuccin.user.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,196 @@
/* ==UserStyle==
@name Gitlab Catppuccin
@namespace github.com/catppuccin/userstyles/styles/example.org

Check failure on line 3 in styles/gitlab/catppuccin.user.css

View workflow job for this annotation

GitHub Actions / Lint Userstyles

UserCSS metadata property `@namespace` should be "github.com/catppuccin/userstyles/styles/gitlab" but is "github.com/catppuccin/userstyles/styles/example.org"
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/example.org

Check failure on line 4 in styles/gitlab/catppuccin.user.css

View workflow job for this annotation

GitHub Actions / Lint Userstyles

@version 0.0.1
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/example.org/catppuccin.user.css

Check failure on line 6 in styles/gitlab/catppuccin.user.css

View workflow job for this annotation

GitHub Actions / Lint Userstyles

@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Aexample.org

Check failure on line 7 in styles/gitlab/catppuccin.user.css

View workflow job for this annotation

GitHub Actions / Lint Userstyles

@description Soothing pastel theme for gitlab

Check failure on line 8 in styles/gitlab/catppuccin.user.css

View workflow job for this annotation

GitHub Actions / Lint Userstyles

UserCSS metadata property `@description` should be "Soothing pastel theme for Gitlab" but is "Soothing pastel theme for gitlab"
@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"]

Check failure on line 15 in styles/gitlab/catppuccin.user.css

View workflow job for this annotation

GitHub Actions / Lint Userstyles

Options for metadata variable `accentColor` should be `["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== */
@-moz-document domain('gitlab.com') {
:root:not(.gl-dark) {
#catppuccin(@lightFlavor, @accentColor);
}
:root.gl-dark {
#catppuccin(@darkFlavor, @accentColor);
}

#catppuccin(@lookup, @accent) {
@rosewater: @catppuccin[@@lookup][@rosewater];
@flamingo: @catppuccin[@@lookup][@flamingo];
@pink: @catppuccin[@@lookup][@pink];
@mauve: @catppuccin[@@lookup][@mauve];
@red: @catppuccin[@@lookup][@red];
@maroon: @catppuccin[@@lookup][@maroon];
@peach: @catppuccin[@@lookup][@peach];
@yellow: @catppuccin[@@lookup][@yellow];
@green: @catppuccin[@@lookup][@green];
@teal: @catppuccin[@@lookup][@teal];
@sky: @catppuccin[@@lookup][@sky];
@sapphire: @catppuccin[@@lookup][@sapphire];
@blue: @catppuccin[@@lookup][@blue];
@lavender: @catppuccin[@@lookup][@lavender];
@text: @catppuccin[@@lookup][@text];
@subtext1: @catppuccin[@@lookup][@subtext1];
@subtext0: @catppuccin[@@lookup][@subtext0];
@overlay2: @catppuccin[@@lookup][@overlay2];
@overlay1: @catppuccin[@@lookup][@overlay1];
@overlay0: @catppuccin[@@lookup][@overlay0];
@surface2: @catppuccin[@@lookup][@surface2];
@surface1: @catppuccin[@@lookup][@surface1];
@surface0: @catppuccin[@@lookup][@surface0];
@base: @catppuccin[@@lookup][@base];
@mantle: @catppuccin[@@lookup][@mantle];
@crust: @catppuccin[@@lookup][@crust];
@accent-color: @catppuccin[@@lookup][@@accent];

@black: if(@lookup = latte, @text, @base);
@white: if(@lookup = latte, @base, @surface0);
@gray10: if(@lookup = latte, @surface0, @subtext1);
@gray9: if(@lookup = latte, @text, @subtext0);
@gray8: if(@lookup = latte, @subtext1, @overlay2);
@gray7: if(@lookup = latte, @subtext0, @overlay1);
@gray6: if(@lookup = latte, @overlay2, @overlay0);
@gray5: if(@lookup = latte, @overlay1, @surface2);
@gray4: if(@lookup = latte, @overlay0, @surface1);
@gray3: if(@lookup = latte, @surface0, @surface0);
@gray2: if(@lookup = latte, @mantle, @mantle);
@gray1: if(@lookup = latte, @crust, @crust);

@neutral10: if(@lookup = latte, @subtext1, @crust);
@neutral9: if(@lookup = latte, @subtext0, @mantle);
@neutral8: if(@lookup = latte, @overlay2, @base);
@neutral7: if(@lookup = latte, @overlay1, @surface0);
@neutral6: if(@lookup = latte, @overlay0, @surface1);
@neutral5: if(@lookup = latte, @surface2, @surface2);
@neutral4: if(@lookup = latte, @surface1, @overlay0);
@neutral3: if(@lookup = latte, @surface0, @overlay1);
@neutral2: if(@lookup = latte, @base, @overlay2);
@neutral1: if(@lookup = latte, @mantle, @subtext0);
@neutral0: if(@lookup = latte, @crust, @subtext1);

color-scheme: if(@lookup = latte, light, dark);

::selection {
background-color: fade(@accent-color, 30%);
}

--blue: @blue;
--indigo: @mauve;
--purple: @mauve;
--pink: @pink;
--red: @red;
--orange: @peach;
--yellow: @yellow;
--green: @green;
--teal: @teal;
--cyan: @sky;
--white: @white;
--primary: @accent-color;
--secondary: @base;
--success: @green;
--info: @sapphire;
--warning: @peach;
--danger: @red;

--brand-gray-05: @gray10;
--brand-gray-04: @gray8;
--brand-gray-03: @gray6;
--brand-gray-02: @gray4;
--brand-gray-01: @gray1;
--brand-charcoal: @black;
--red-950: @red;
--green-700: @green;
--green-300: @green;
--gray-950: @gray10;
--gray-900: @gray9;
--gray-800: @gray8;
--gray-700: @gray7;
--gray-600: @gray6;
--gray-500: @gray5;
--gray-400: @gray4;
--gray-300: @gray3;
--gray-200: @gray2;
--gray-100: @gray1;
--gray-50: @black;
--gray-10: @gray10;

--gl-color-neutral-1000: @neutral10;
--gl-color-neutral-950: @neutral9;
--gl-color-neutral-900: @neutral8;
--gl-color-neutral-800: @neutral7;
--gl-color-neutral-700: @neutral6;
--gl-color-neutral-600: @neutral5;
--gl-color-neutral-500: @neutral4;
--gl-color-neutral-400: @neutral3;
--gl-color-neutral-300: @neutral2;
--gl-color-neutral-200: @neutral1;
--gl-color-neutral-100: @neutral0;
--gl-color-neutral-50: @neutral0;
--gl-color-neutral-10: @neutral0;
--gl-color-neutral-0: @neutral0;

input,
textarea {
&::placeholder {
color: @subtext0 !important;
}
}

body {
color: @text !important;
--gl-background-color-default: @base;
--gl-text-color-default: @text;
--gl-text-color-link: @text;

/* Primary button */
--gl-button-default-primary-foreground-color-default: @text;
--gl-button-default-primary-background-color-default: @surface0;
--gl-button-default-primary-border-color-default: @overlay0;

--gl-button-confirm-primary-foreground-color-default: @text;
--gl-button-confirm-primary-background-color-default: @accent-color;
--gl-button-confirm-primary-border-color-default: @accent-color;

--gl-button-confirm-primary-foreground-color-active: @text;
--gl-button-confirm-primary-background-color-active: @accent-color;
--gl-button-confirm-primary-border-color-active: @accent-color;

--gl-button-confirm-primary-foreground-color-hover: @text;
--gl-button-confirm-primary-background-color-hover: @accent-color;
--gl-button-confirm-primary-border-color-hover: @accent-color;

--gl-button-confirm-primary-foreground-color-focus: @text;
--gl-button-confirm-primary-background-color-focus: @accent-color;
--gl-button-confirm-primary-border-color-focus: @accent-color;

--gl-background-color-subtle: @surface0;
--gl-focus-ring-outer-color: @accent-color;
}

.top-bar-fixed,
.info-well,
.gl-bg-gray-10,
.merge-request-tabs-holder,
.row-content-block {
background-color: @base;
}
}
}

/* prettier-ignore */
@catppuccin: {
@latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; };
@frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; };
@macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; };
@mocha: { @rosewater: #f5e0dc; @flamingo: #f2cdcd; @pink: #f5c2e7; @mauve: #cba6f7; @red: #f38ba8; @maroon: #eba0ac; @peach: #fab387; @yellow: #f9e2af; @green: #a6e3a1; @teal: #94e2d5; @sky: #89dceb; @sapphire: #74c7ec; @blue: #89b4fa; @lavender: #b4befe; @text: #cdd6f4; @subtext1: #bac2de; @subtext0: #a6adc8; @overlay2: #9399b2; @overlay1: #7f849c; @overlay0: #6c7086; @surface2: #585b70; @surface1: #45475a; @surface0: #313244; @base: #1e1e2e; @mantle: #181825; @crust: #11111b; };
}

// vim:ft=less
Binary file added styles/gitlab/preview.webp
uncenter marked this conversation as resolved.
Show resolved Hide resolved
Binary file not shown.
Loading