Skip to content

Commit bf46330

Browse files
committed
feat(StravaAutoDarkTheme): update version to 8.4 and add gray7 color variable
1 parent 393aa0a commit bf46330

1 file changed

Lines changed: 10 additions & 6 deletions

File tree

StravaAutoDarkTheme.user.css

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
@homepageURL https://github.com/Nick2bad4u/UserStyles
55
@supportURL https://github.com/Nick2bad4u/UserStyles/issues
66
@description Updated Dark Mode for Strava for users who use Sauce for Strava.
7-
@version 8.3
7+
@version 8.4
88
@author ATX (Updated by Nick2bad4u)
99
@license CC-BY-SA-4.0
1010
@updateURL https://github.com/Nick2bad4u/UserStyles/raw/refs/heads/main/StravaAutoDarkTheme.user.css
@@ -25,6 +25,7 @@
2525
@var color gray4 "Gray 4" #1c1c1c
2626
@var color gray5 "Gray 5" #3c3c3c
2727
@var color gray6 "Gray 6" #6c6c6c
28+
@var color gray7 "Gray 7" #161616
2829
==/UserStyle== */
2930
@-moz-document regexp("https:\\/\\/(?:www\\.)?strava\\.com.*"),
3031
domain("labs.strava.com") {
@@ -45,6 +46,7 @@ domain("labs.strava.com") {
4546
--gray4: var(gray4);
4647
--gray5: var(gray5);
4748
--gray6: var(gray6);
49+
--gray7: var(gray7);
4850
}
4951

5052
/* Simplified background color rules */
@@ -65,8 +67,9 @@ domain("labs.strava.com") {
6567
.container-wrapper,
6668
[class*='Card-module__card'],
6769
.CPCcl,
68-
.PostPageContainer_mainContentArea__eq4w4 {
69-
background-color: #161616 !important;
70+
.PostPageContainer_mainContentArea__eq4w4,
71+
.U7AEj .csriM {
72+
background-color: var(--gray7) !important;
7073
}
7174

7275
/* Simplified hover color rules */
@@ -315,7 +318,8 @@ domain("labs.strava.com") {
315318
[class*='DropdownSelect'] > .react-select__control,
316319
[id*='listbox'][class*='react-select__menu'],
317320
.Popup--contents--Ej052,
318-
.No9rk {
321+
.No9rk,
322+
.U7AEj a:hover {
319323
background-color: var(--gray2) !important;
320324
}
321325

@@ -991,8 +995,8 @@ domain("labs.strava.com") {
991995
}
992996

993997
[class*='Spinner_spinner'] > [class*='Spinner_graphic'],
994-
.PopupContents--popup-button-list--OU7Sn
995-
> li:first-child {
998+
.PopupContents--popup-button-list--OU7Sn > li:first-child,
999+
.U7AEj .csriM {
9961000
border-color: var(--gray3) var(--gray6) var(--gray6) !important;
9971001
}
9981002

0 commit comments

Comments
 (0)