-
Notifications
You must be signed in to change notification settings - Fork 2
Pecha.org String Grouping
- String grouping is mainly applied on webfont.
- For string size and colors there is no need to apply grouping as these css can be directly applied on the string classname.
-
In css, first it checks whether the language is Tibetan or English
* { --tibetan-font-conditional: var(--is-tibetan) var(--tibetan-font); font-family: var(--tibetan-font-conditional), var(--english-font)); }
-
First it will check if a string has
--tibetan-font-conditional
variable, if doesn't, then--english-font
variable will be applied. -
In
var(--is-tibetan)
variable, there are all the list of classname that should be applied for tibetan strings -
In
var(--tibetan-font)
variable, there are eithervar(--tibetan-serif-font-family)
orvar(--tibetan-sans-serif-font-family)
-
In
var(--tibetan-serif-font-family)
variable, right now we have pass "Monlam Uni OuChan2" -
In
var(--tibetan-sans-serif-font-family)
variable, right now we have pass "Monlam-bodyig Regular"