Skip to content

Enable sitelen pona fonts in discord.com by dev_urandom

Details

Authordev_urandom

LicenseCC Zero

Categorydiscord

Created

Updated

Size2.7 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name         Enable sitelen pona fonts in discord.com
@version      20220217.08.37
@namespace    userstyles.world/user/dev_urandom
@description  This is a simple userstyle that adds a few "[sitelen pona](https://devurandom.xyz/tokipona/sitelen_pona.html)" fonts to Discord's stylesheet, so that they can be used.

"sitelen pona" is a writing system for the constructed language "[toki pona](https://tokipona.org/)". The [Under-ConScript Unicode Registry](https://www.kreativekorp.com/ucsur/), an unofficial Unicode standard for constructed languages not yet in Unicode proper, [assigns the Private Use range from F1900 to F19FF to sitelen pona](https://www.kreativekorp.com/ucsur/charts/sitelen.html). Several fonts have decided to use that range, like "[Fairfax](https://www.kreativekorp.com/software/fonts/fairfax.shtml)", "[Fairfax HD](https://www.kreativekorp.com/software/fonts/fairfaxhd.shtml)" and "[insa pi supa lape](https://devurandom.xyz/tokipona/supalape.html)".
@author       dev_urandom
@license      CC Zero
==/UserStyle== */

@-moz-document domain("discord.com") {
:root {
    --font-primary: Whitney, "Helvetica Neue", Helvetica, Arial, sans-serif, "Fairfax HD", "Fairfax", "insa pi supa lape";
    --font-display: Ginto, "Helvetica Neue", Helvetica, Arial, sans-serif, "Fairfax HD", "Fairfax", "insa pi supa lape";
    --font-code: Consolas, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", Monaco, "Courier New", Courier, monospace, "Fairfax HD", "Fairfax", "insa pi supa lape";
    --font-headline: Ginto Nord, Ginto, "Helvetica Neue", Helvetica, Arial, sans-serif, "Fairfax HD", "Fairfax", "insa pi supa lape";
    --font-korean: Whitney, "Apple SD Gothic Neo", "NanumBarunGothic", "\B9D1\C740 \ACE0\B515", "Malgun Gothic", Gulim, 굴림, Dotum, 돋움, "Helvetica Neue", Helvetica, Arial, sans-serif, "Fairfax HD", "Fairfax", "insa pi supa lape";
    --font-japanese: Whitney, Hiragino Sans, "\30D2\30E9\30AE\30CE\89D2\30B4 ProN W3", "Hiragino Kaku Gothic ProN", "\30E1\30A4\30EA\30AA", Meiryo, Osaka, "MS PGothic", "Helvetica Neue", Helvetica, Arial, sans-serif, "Fairfax HD", "Fairfax", "insa pi supa lape";
    --font-chinese-simplified: Whitney, "Microsoft YaHei New", 微软雅黑, "Microsoft Yahei", "Microsoft JhengHei", 宋体, SimSun, "Helvetica Neue", Helvetica, Arial, sans-serif, "Fairfax HD", "Fairfax", "insa pi supa lape";
    --font-chinese-traditional: Whitney, "Microsoft JhengHei", 微軟正黑體, "Microsoft JhengHei UI", "Microsoft YaHei", 微軟雅黑, 宋体, SimSun, "Helvetica Neue", Helvetica, Arial, sans-serif, "Fairfax HD", "Fairfax", "insa pi supa lape";
}
}

Reviews

No reviews yet.