Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Metro420yt committed Oct 23, 2024
1 parent 65af396 commit c261497
Show file tree
Hide file tree
Showing 5 changed files with 48 additions and 67 deletions.
20 changes: 10 additions & 10 deletions stuff/_channel-bar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

.children_fc4f04::after {
background: linear-gradient(
90deg,
rgba(54, 57, 63, 0) 0,
var(--background-secondary)
90deg,
rgba(54, 57, 63, 0) 0,
var(--background-secondary)
);
}

Expand Down Expand Up @@ -76,16 +76,16 @@

&::after {
background: linear-gradient(
90deg,
rgba(54, 57, 63, 0),
var(--background-secondary-alt) 80%
90deg,
rgba(54, 57, 63, 0),
var(--background-secondary-alt) 80%
);
}
&.selected-rZcOL- {
background: linear-gradient(
90deg,
rgba(54, 57, 63, 0),
var(--background-secondary) 80%
90deg,
rgba(54, 57, 63, 0),
var(--background-secondary) 80%
);
}
}
Expand All @@ -101,4 +101,4 @@
}
}
}
}
}
2 changes: 1 addition & 1 deletion stuff/_channel-list.scss
Original file line number Diff line number Diff line change
Expand Up @@ -379,4 +379,4 @@
.innerWrapper_aecbd6 {
border-radius: 5px;
}
}
}
59 changes: 23 additions & 36 deletions stuff/_other.scss
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@
width: 200px;
height: 200px;
background: url("https://comfy-themes.github.io/Discord/assets/bonfire.gif")
center/80% no-repeat;
center/80% no-repeat;
}
}

Expand Down Expand Up @@ -295,42 +295,28 @@
}

// All masks except mobile and typing masks in DM, user and member part
.channel_c91bad
.pointerEvents_c51b4e[width="10"]:not(
[mask="url(#svg-mask-status-online-mobile)"]
),
.members_cbd271
.pointerEvents_c51b4e[width="10"]:not(
[mask="url(#svg-mask-status-online-mobile)"]
),
// prettier-ignore
.channel_c91bad .pointerEvents_c51b4e[width="10"]:not([mask="url(#svg-mask-status-online-mobile)"]),
.members_cbd271 .pointerEvents_c51b4e[width="10"]:not([mask="url(#svg-mask-status-online-mobile)"]),
.avatarWrapper_b2ca13 .pointerEvents_c51b4e,
.peopleListItem_d51464
.pointerEvents_c51b4e[width="10"]:not(
[mask="url(#svg-mask-status-online-mobile)"]
),
.nowPlayingColumn_c2739c
.pointerEvents_c51b4e[width="10"]:not(
[mask="url(#svg-mask-status-online-mobile)"]
) {
.peopleListItem_d51464 .pointerEvents_c51b4e[width="10"]:not([mask="url(#svg-mask-status-online-mobile)"]),
.nowPlayingColumn_c2739c .pointerEvents_c51b4e[width="10"]:not([mask="url(#svg-mask-status-online-mobile)"]) {
width: 12px;
x: 24;
}

// All mobile masks in DM and member part
.channel_c91bad
.pointerEvents_c51b4e[mask="url(#svg-mask-status-online-mobile)"],
.members_cbd271
.pointerEvents_c51b4e[mask="url(#svg-mask-status-online-mobile)"],
.peopleListItem_d51464
.pointerEvents_c51b4e[mask="url(#svg-mask-status-online-mobile)"],
.nowPlayingColumn_c2739c
.pointerEvents_c51b4e[mask="url(#svg-mask-status-online-mobile)"],
.menu_d90b3d
.pointerEvents_c51b4e[mask="url(#svg-mask-status-online-mobile)"] {
width: 12px;
height: 16px;
x: 24;
y: 20;
.channel_c91bad,
.members_cbd271,
.peopleListItem_d51464,
.nowPlayingColumn_c2739c,
.menu_d90b3d {
& .pointerEvents_c51b4e[mask="url(#svg-mask-status-online-mobile)"] {
width: 12px;
height: 16px;
x: 24;
y: 20;
}
}

// Mask in the status picker
Expand All @@ -351,8 +337,8 @@
}

// Status in menu
.menu_d90b3d
.pointerEvents_c51b4e:not([mask="url(#svg-mask-status-online-mobile)"]) {
// prettier-ignore
.menu_d90b3d .pointerEvents_c51b4e:not([mask="url(#svg-mask-status-online-mobile)"]) {
width: 10px;
height: 10px;
stroke-width: 2.5px;
Expand Down Expand Up @@ -563,7 +549,7 @@

.homeIcon__560eb > path {
d: path(
"M 20.6644 20 C 20.6644 20 19.8014 18.9762 19.0822 18.0714 C 22.2226 17.1905 23.4212 15.2381 23.4212 15.2381 C 22.4384 15.881 21.5034 16.3334 20.6644 16.6429 C 19.4658 17.1429 18.3151 17.4762 17.1884 17.6667 C 14.887 18.0953 12.7774 17.9762 10.9795 17.6429 C 9.61301 17.381 8.43836 17 7.45548 16.6191 C 6.90411 16.4048 6.30479 16.1429 5.70548 15.8096 C 5.63356 15.7619 5.56164 15.7381 5.48973 15.6905 C 5.44178 15.6667 5.41781 15.6429 5.39384 15.6191 C 4.96233 15.381 4.7226 15.2143 4.7226 15.2143 C 4.7226 15.2143 5.87329 17.1191 8.91781 18.0238 C 8.19863 18.9286 7.31164 20 7.31164 20 C 2.0137 19.8333 0 16.381 0 16.381 C 0 8.7144 3.45205 2.50017 3.45205 2.50017 C 6.90411 -0.07123 10.1884 0.000197861 10.1884 0.000197861 L 10.4281 0.285909 C 6.11301 1.52399 4.12329 3.40493 4.12329 3.40493 C 4.12329 3.40493 4.65068 3.11921 5.53767 2.71446 C 8.10274 1.59542 10.1404 1.2859 10.9795 1.21447 C 11.1233 1.19066 11.2432 1.16685 11.387 1.16685 C 12.8493 0.976379 14.5034 0.92876 16.2295 1.11923 C 18.5068 1.38114 20.9521 2.0478 23.4452 3.40493 C 23.4452 3.40493 21.5514 1.61923 17.476 0.381146 L 17.8116 0.000197861 C 17.8116 0.000197861 21.0959 -0.07123 24.5479 2.50017 C 24.5479 2.50017 28 8.7144 28 16.381 C 28 16.381 25.9623 19.8333 20.6644 20 Z M 9.51712 8.88106 C 8.15068 8.88106 7.07192 10.0715 7.07192 11.5239 C 7.07192 12.9763 8.17466 14.1667 9.51712 14.1667 C 10.8836 14.1667 11.9623 12.9763 11.9623 11.5239 C 11.9863 10.0715 10.8836 8.88106 9.51712 8.88106 Z M 18.2671 8.88106 C 16.9007 8.88106 15.8219 10.0715 15.8219 11.5239 C 15.8219 12.9763 16.9247 14.1667 18.2671 14.1667 C 19.6336 14.1667 20.7123 12.9763 20.7123 11.5239 C 20.7123 10.0715 19.6336 8.88106 18.2671 8.88106 Z"
"M 20.6644 20 C 20.6644 20 19.8014 18.9762 19.0822 18.0714 C 22.2226 17.1905 23.4212 15.2381 23.4212 15.2381 C 22.4384 15.881 21.5034 16.3334 20.6644 16.6429 C 19.4658 17.1429 18.3151 17.4762 17.1884 17.6667 C 14.887 18.0953 12.7774 17.9762 10.9795 17.6429 C 9.61301 17.381 8.43836 17 7.45548 16.6191 C 6.90411 16.4048 6.30479 16.1429 5.70548 15.8096 C 5.63356 15.7619 5.56164 15.7381 5.48973 15.6905 C 5.44178 15.6667 5.41781 15.6429 5.39384 15.6191 C 4.96233 15.381 4.7226 15.2143 4.7226 15.2143 C 4.7226 15.2143 5.87329 17.1191 8.91781 18.0238 C 8.19863 18.9286 7.31164 20 7.31164 20 C 2.0137 19.8333 0 16.381 0 16.381 C 0 8.7144 3.45205 2.50017 3.45205 2.50017 C 6.90411 -0.07123 10.1884 0.000197861 10.1884 0.000197861 L 10.4281 0.285909 C 6.11301 1.52399 4.12329 3.40493 4.12329 3.40493 C 4.12329 3.40493 4.65068 3.11921 5.53767 2.71446 C 8.10274 1.59542 10.1404 1.2859 10.9795 1.21447 C 11.1233 1.19066 11.2432 1.16685 11.387 1.16685 C 12.8493 0.976379 14.5034 0.92876 16.2295 1.11923 C 18.5068 1.38114 20.9521 2.0478 23.4452 3.40493 C 23.4452 3.40493 21.5514 1.61923 17.476 0.381146 L 17.8116 0.000197861 C 17.8116 0.000197861 21.0959 -0.07123 24.5479 2.50017 C 24.5479 2.50017 28 8.7144 28 16.381 C 28 16.381 25.9623 19.8333 20.6644 20 Z M 9.51712 8.88106 C 8.15068 8.88106 7.07192 10.0715 7.07192 11.5239 C 7.07192 12.9763 8.17466 14.1667 9.51712 14.1667 C 10.8836 14.1667 11.9623 12.9763 11.9623 11.5239 C 11.9863 10.0715 10.8836 8.88106 9.51712 8.88106 Z M 18.2671 8.88106 C 16.9007 8.88106 15.8219 10.0715 15.8219 11.5239 C 15.8219 12.9763 16.9247 14.1667 18.2671 14.1667 C 19.6336 14.1667 20.7123 12.9763 20.7123 11.5239 C 20.7123 10.0715 19.6336 8.88106 18.2671 8.88106 Z"
);
}

Expand Down Expand Up @@ -611,7 +597,8 @@
background-color: var(--background-primary) !important;
}

.homeContent_e85cee .row_b53f4f, .channelRow_f04d06 {
.homeContent_e85cee .row_b53f4f,
.channelRow_f04d06 {
background-color: var(--background-secondary);
}

Expand All @@ -634,5 +621,5 @@
--bg-base-secondary: var(--background-secondary);
--bg-base-tertiary: var(--background-tertiary);

--bg-surface-raised: var(--background-tertiary);
--bg-surface-raised: var(--background-secondary-alt);
}
32 changes: 13 additions & 19 deletions stuff/_plugins_support.scss
Original file line number Diff line number Diff line change
Expand Up @@ -40,33 +40,27 @@

// BetterDiscord Server folder
.guilds_a4d4d9.content-Pph8t6
+ .base_a4d4d9
.panels_a4d4d9
> .container_b2ca13
> .avatarWrapper_b2ca13 {
+ .base_a4d4d9
.panels_a4d4d9
> .container_b2ca13
> .avatarWrapper_b2ca13 {
transition: margin-left 300ms linear;
}
.guilds_a4d4d9.content-Pph8t6:not(.closed-j55_T-)
+ .base_a4d4d9
.panels_a4d4d9
> .container_b2ca13
> .avatarWrapper_b2ca13 {
+ .base_a4d4d9
.panels_a4d4d9
> .container_b2ca13
> .avatarWrapper_b2ca13 {
margin-left: 72px;
}

// Vencord Sever folder
.vc-bf-folder-sidebar
+ .base_a4d4d9
.panels_a4d4d9
> .container_b2ca13
> .avatarWrapper_b2ca13 {
+ .base_a4d4d9
.panels_a4d4d9
> .container_b2ca13
> .avatarWrapper_b2ca13 {
transition: margin-left 300ms linear;
}
.vc-bf-folder-sidebar
+ .base_a4d4d9
.panels_a4d4d9
> .container_b2ca13
> .avatarWrapper_b2ca13 {
margin-left: 72px;
}

Expand All @@ -87,4 +81,4 @@
right: 50px;
}
}
}
}
2 changes: 1 addition & 1 deletion stuff/_server-list.scss
Original file line number Diff line number Diff line change
Expand Up @@ -224,4 +224,4 @@
transform: scale(1.75);
opacity: 0;
}
}
}

0 comments on commit c261497

Please sign in to comment.