Skip to content

YouTube Sans or custom font by BlueYoshi1938

Screenshot of YouTube Sans or custom font

Details

AuthorBlueYoshi1938

LicenseNo License

Categoryyoutube

Created

Updated

Size866 B

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

YouTube Sans font

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name YouTube Sans or custom font 
@namespace github.com/V1vidExplorer
@version 1.0
@description "YouTube Sans font"
@author VividExplorer
@preprocessor less
@var select fontFace "Font Face" {
        "YouTube Sans": "YouTube Sans",
        "Default": "Roboto",
}
@var checkbox useCustomFont "Custom Font" 0
@advanced text customFontName "Custom Font Name" "Archivo"
@advanced text fontUrl "Custom Font Url (ttf)" "'https://fonts.gstatic.com/s/archivo/v18/k3k6o8UDI-1M0wlSV9XAw6'"
==/UserStyle== */
@-moz-document domain('youtube.com') {

	@font-face {
		font-family: @customFontName;
		font-style: normal;
		font-weight: 500;
		src: url(@fontUrl) format('truetype');
	}

	body,
	a,
	span,
	::placeholder,
	yt-formatted-string {
		font-family: if((@useCustomFont =1), @customFontName, @fontFace), "Arial", "Helvetica", "sans-serif" !important;
	}
}

Reviews

No reviews yet.