Garmin Connect Dark Mode (Updated)

Garmin Connect Dark Dashboard

当前为 2025-01-01 提交的版本,查看 最新版本

/* ==UserStyle==
@name         Garmin Connect Dark Mode (Updated)
@version      2.5
@namespace    typpi.online
@homepageURL  https://github.com/Nick2bad4u/UserStyles
@description  Garmin Connect Dark Dashboard
@author       Nick2bad4u
@license      UnLicense
==/UserStyle== */
@-moz-document domain("connect.garmin.com") {
	:is(.connect-container) {
		filter: invert(1) hue-rotate(180deg);
	}

	.main-nav,
	.leaflet-zoom-animated,
	html img,
	.modal-backdrop,
	.modal:not(
			.modal.fullscreen.fullscreen,
			.modal-wide.metrics-edit-modal.in
		),
	.edit-carousel-content .edit-image-div,
	iframe,
	.Notification_notification__189UW,
	.connect-map-view .leaflet-container {
		-webkit-filter: invert(1) hue-rotate(180deg) !important;
		filter: invert(1) hue-rotate(180deg) !important;
	}

	h1,
	.h1,
	h2,
	.h2,
	h3,
	.h3,
	h4,
	.h4,
	h5,
	.h5,
	h6,
	.h6 {
		font-weight: 600;
	}

	th.weekly-totals.weekly-totals-header,
	td.weekly-totals.weekly-totals-data,
	#defaultActivityOptionsGroup
		> div.row-fluid.page-top
		> div.span8.page-intro
		> div
		> h3
		> div
		> div
		> button
		> i,
	.photo-carousel-modal .icon-arrow-left,
	.photo-carousel-modal .icon-arrow-right,
	.modal-body > select {
		filter: invert(1) hue-rotate(180deg);
		background-color: black !important;
		color: #fff !important;
	}

	.in.fade.modal-backdrop {
		display: table !important;
	}

	[class*='modal']:not(
			#pageContainer
				> div
				> div.modal.hide.fade.modal-wide.metrics-edit-modal.in
				> div.modal-header
				> h3,
			#pageContainer
				> div
				> div
				> div.row-fluid.list-items.flexItemAutoHeight
				> ul
				> li:nth-child(n)
				> div
				> div.pull-left.activity-name-type.title-col
				> div.activity-name-edit.inline-edit.inline-edit-text-field
				> button,
			#activityIntroViewPlaceholder
				> div.page-header-content
				> h3
				> div
				> div
				> button,
			.inline-edit-trigger,
			.modal.fade.in,
			.modal-header h3,
			.fade,
			:not(.help-icon)
		) {
		/*Manipulations stuff*/
		filter: invert(1) hue-rotate(180deg);
		/*Box model stuff*/
		border-color: #5971c6f0;
		background-color: #fff !important;
		/*Typography stuff*/
		color: #000 !important;
	}

	.photo-carousel {
		background-color: #fff !important;
	}

	.photo-carousel-modal .close {
		color: black !important;
	}

	.btn-small {
		z-index: 9999;
	}

	.react-global-modal
		.Dialog_dialogFooter__W9xGT
		> a {
		background-color: #fff !important;
		color: black;
	}

	/* For WebKit browsers (e.g., Chrome, Safari) */
	::-webkit-scrollbar {
		width: 12px;
	}

	::-webkit-scrollbar-thumb {
		border: 3px solid #30acfd;
		border-radius: 6px;
		background-color: #fff;
	}

	/* For Edge, IE */
	body {
		-ms-overflow-style: -ms-autohiding-scrollbar;
	}
}

@-moz-document domain("forums.garmin.com"),
regexp("^https?:\\/\\/(www\\.)?garmin\\.com(\\/[^\\s]*)?$") {
	:is(
		html:not([stylus-iframe]),
		#app,
		.ugc-gallery-image__figure__img,
		.app__headline--dark,
		img:not(.avatar > a > img),
		svg,
		video
	),
	.content-author .avatar img,
	.gf__footer,
	.g__email-signup,
	.g__tile .g__tile__content-text > .g__heading p,
	.css-karl3g div,
	.app__color__picker__item,
	.app__tabs__content__wrap img,
	.app__tabs__content__main,
	.app__product__card,
	.app__related__card__inner {
		filter: invert(1) hue-rotate(180deg);
	}

	.g__email-signup,
	.g__email-signup__copy__disclaimer,
	.g__email-signup__copy__disclaimer a,
	.app__sidebar__full {
		background-color: black;
		color: white;
	}

	.app__feature__card__image {
		filter: unset !important;
	}
}

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址