myworkoutcompanion.net - Dark Mode

Dark theme for MyWorkoutCompanion

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

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

/* ==UserStyle==
@name           myworkoutcompanion.net - Dark Mode
@namespace      typpi.online
@version        1.0.1
@description    Dark theme for MyWorkoutCompanion
@author         Nick2bad4u
@license        UnLicense
@homepageURL    https://github.com/Nick2bad4u/UserStyles
==/UserStyle== */
@-moz-document domain("myworkoutcompanion.net") {
	/* Invert colors except images and videos */
	:is(
		html:not([stylus-iframe]),
		img,
		svg,
		video
	) {
		filter: invert(1) hue-rotate(180deg) !important;
	}

	option {
		background: black;
		color: white;
	}

	.custom-select:focus,
	.form-control:focus {
		outline: 0;
		box-shadow: 0 0 0 0.2rem rgb(124 57 0 / 25%);
		border-color: #7c3900;
	}

	.fc .fc-button-primary,
	.fc .fc-button {
		opacity: 100% !important;
		border-color: white !important;
		background-color: darkgray !important;
		color: #7c3900 !important;
	}

	.fc-direction-ltr
		.fc-daygrid-event.fc-event-end,
	.fc-direction-rtl
		.fc-daygrid-event.fc-event-start {
		background-color: #7c3900 !important;
	}
}