ngx-pk-ui 1.1.5 → 1.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/styles/pk-font.css +53 -0
package/package.json
CHANGED
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* pk-font — Thai & Lao Google Fonts helper classes for ngx-pk-ui
|
|
3
|
+
*
|
|
4
|
+
* All fonts are served from Google Fonts CDN (SIL Open Font License 1.1).
|
|
5
|
+
* Note: "Google Sans" is a proprietary Google typeface — not on Google Fonts.
|
|
6
|
+
*
|
|
7
|
+
* ── Thai ──────────────────────────────────────────────────────────────
|
|
8
|
+
* Bai Jamjuree · Chakra Petch · Charm · Charmonman · Kanit · Mitr
|
|
9
|
+
* Noto Sans Thai · Pattaya · Prompt · Sarabun · Sriracha · Srisakdi
|
|
10
|
+
* Thasadith · Trirong
|
|
11
|
+
*
|
|
12
|
+
* ── Lao ───────────────────────────────────────────────────────────────
|
|
13
|
+
* Noto Sans Lao · Noto Sans Lao Looped · Noto Serif Lao · Phetsarath
|
|
14
|
+
*
|
|
15
|
+
* Usage:
|
|
16
|
+
* <p class="pk-font-sarabun">ข้อความภาษาไทย</p>
|
|
17
|
+
* <p class="pk-font-noto-sans-lao">ຂໍ້ຄວາມພາສາລາວ</p>
|
|
18
|
+
*
|
|
19
|
+
* Import (opt-in — not included in pk-ui.css by default):
|
|
20
|
+
* @import 'ngx-pk-ui/styles/pk-font.css';
|
|
21
|
+
*/
|
|
22
|
+
|
|
23
|
+
/* ─── Thai fonts ──────────────────────────────────────────────────── */
|
|
24
|
+
|
|
25
|
+
@import url('https://fonts.googleapis.com/css2?family=Bai+Jamjuree:wght@300;400;500;600;700&family=Chakra+Petch:wght@300;400;500;600;700&family=Charm:wght@400;700&family=Charmonman:wght@400;700&family=Kanit:wght@300;400;500;600;700&family=Mitr:wght@300;400;500;600;700&family=Noto+Sans+Thai:wght@300;400;500;600;700&family=Pattaya&family=Prompt:wght@300;400;500;600;700&family=Sarabun:wght@300;400;500;600;700&family=Sriracha&family=Srisakdi:wght@400;700&family=Thasadith:wght@400;700&family=Trirong:wght@300;400;500;600;700&display=swap');
|
|
26
|
+
|
|
27
|
+
/* ─── Lao fonts ───────────────────────────────────────────────────── */
|
|
28
|
+
|
|
29
|
+
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Lao:wght@300;400;500;600;700&family=Noto+Sans+Lao+Looped:wght@300;400;500;600;700&family=Noto+Serif+Lao:wght@300;400;500;600;700&family=Phetsarath:wght@400;700&display=swap');
|
|
30
|
+
|
|
31
|
+
/* ─── Thai class map ──────────────────────────────────────────────── */
|
|
32
|
+
|
|
33
|
+
.pk-font-bai-jamjuree { font-family: 'Bai Jamjuree', sans-serif; }
|
|
34
|
+
.pk-font-chakra-petch { font-family: 'Chakra Petch', sans-serif; }
|
|
35
|
+
.pk-font-charm { font-family: 'Charm', cursive; }
|
|
36
|
+
.pk-font-charmonman { font-family: 'Charmonman', cursive; }
|
|
37
|
+
.pk-font-kanit { font-family: 'Kanit', sans-serif; }
|
|
38
|
+
.pk-font-mitr { font-family: 'Mitr', sans-serif; }
|
|
39
|
+
.pk-font-noto-sans-thai { font-family: 'Noto Sans Thai', sans-serif; }
|
|
40
|
+
.pk-font-pattaya { font-family: 'Pattaya', sans-serif; }
|
|
41
|
+
.pk-font-prompt { font-family: 'Prompt', sans-serif; }
|
|
42
|
+
.pk-font-sarabun { font-family: 'Sarabun', sans-serif; }
|
|
43
|
+
.pk-font-sriracha { font-family: 'Sriracha', cursive; }
|
|
44
|
+
.pk-font-srisakdi { font-family: 'Srisakdi', cursive; }
|
|
45
|
+
.pk-font-thasadith { font-family: 'Thasadith', sans-serif; }
|
|
46
|
+
.pk-font-trirong { font-family: 'Trirong', serif; }
|
|
47
|
+
|
|
48
|
+
/* ─── Lao class map ───────────────────────────────────────────────── */
|
|
49
|
+
|
|
50
|
+
.pk-font-noto-sans-lao { font-family: 'Noto Sans Lao', sans-serif; }
|
|
51
|
+
.pk-font-noto-sans-lao-looped { font-family: 'Noto Sans Lao Looped', sans-serif; }
|
|
52
|
+
.pk-font-noto-serif-lao { font-family: 'Noto Serif Lao', serif; }
|
|
53
|
+
.pk-font-phetsarath { font-family: 'Phetsarath', sans-serif; }
|