Skip to content

Codeberg dark unavailable by 0ko

Imported and mirrored from https://codeberg.org/0ko/UserStyles/raw/main/Codeberg/DarkUnavailable/CBDarkUnavailable.user.css

Screenshot of Codeberg dark unavailable

Details

Author0ko

LicenseMIT

Categorycodeberg

Created

Updated

Size929 B

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Dark theme for Codeberg unavailability screen, using colors from Forgejo dark theme.

Notes

Source code

/* ==UserStyle==
@name          Codeberg dark unavailable
@author        0ko (https://userstyles.world/~0ko)
@description   Dark theme for Codeberg unavailability screen, using colors from Forgejo dark theme.
@version       1.0.0
@license       MIT
@preprocessor  stylus

@namespace     0ko userstyles
@homepageURL   https://codeberg.org/0ko/UserStyles
@supportURL    https://codeberg.org/0ko/UserStyles/issues

@var checkbox  forceDark "Force dark theme" 0

==/UserStyle== */

imp = !important

ApplyTheme()
	:root
		--color-primary: #fb923c

		--steel-800: #171e26
		--steel-100: #d2e0f0

		--lm-base-body-bg-color: var(--steel-800)
		--lm-base-text-color: var(--steel-100)

		--lm-link-text-color: var(--color-primary)
		--lm-link-text-color-hover: var(--color-primary)

@-moz-document domain("codeberg.org")
	@media (prefers-color-scheme: dark)
		ApplyTheme()
	if forceDark
		ApplyTheme()

Reviews

No reviews yet.