Skip to content

Commit ee53827

Browse files
committed
feat: add Noto Sans Javanese web font for cross-platform script support
1 parent 0e8009b commit ee53827

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

web/index.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@
1313
<meta name="author" content="honsda" />
1414
<link rel="canonical" href="https://honsda.github.io/Hanacaraka/" />
1515

16+
<!-- Google Fonts for Javanese Script Support -->
17+
<link rel="preconnect" href="https://fonts.googleapis.com">
18+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
19+
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;700;900&family=Noto+Sans+Javanese:wght@400;700&display=swap" rel="stylesheet">
20+
1621
<!-- Structured Data (JSON-LD) for SEO -->
1722
<script type="application/ld+json">
1823
{

web/src/App.svelte

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -533,6 +533,10 @@
533533
width: 100%;
534534
}
535535
536+
.javanese-text, [translate="no"], .p-jav, .feature-icon, .step-jav, .sand-sect li span, .rekan-item span, .ex-header span, .alphabet-grid span {
537+
font-family: 'Noto Sans Javanese', 'Inter', serif;
538+
}
539+
536540
.navbar {
537541
position: sticky;
538542
top: 1rem;

0 commit comments

Comments
 (0)