npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

ethio-telecom-typography-kit

v1.0.7

Published

Official responsive typography system and design tokens for Ethio Telecom digital products.

Downloads

612

Readme

Ethio Telecom Typography Kit

The Ethio Telecom Typography Kit is a high-performance, fluid typography system that enforces a consistent typographic identity

It is purpose-built to solve a critical challenge in Ethiopian digital experiences: accurate vertical rhythm and glyph safety for Amharic (Ethiopic) scripts, while maintaining clean, dense, and responsive typography for English and other Latin-based languages.


🏛 Design Principles

1. Fluid by Default

All font sizes scale using CSS clamp() — eliminating fixed breakpoints and ensuring optimal readability from 320px mobile screens to 4K displays.

2. Multilingual Intelligence

The engine is script-aware and automatically adjusts line height when Amharic is detected, preventing glyph clipping and preserving accessibility.

Detection works via:

  • lang="am" attribute
  • .eth-amharic utility class
  • Nested Amharic contexts

3. Semantic-First Architecture

Typography is defined by semantic role, not pixel size. This ensures long-term consistency, faster development, and predictable UI behavior.

📐 Full Semantic Class Reference

The typography system is semantic-first. Classes are named by role and intent, not fixed size. All font sizes scale fluidly between mobile (320px) and desktop (1280px+) using CSS clamp().

| Class Name | Mobile → Desktop | Weight | LH (EN / AM) | Role | | -------------------------- | ---------------- | ------- | ------------- | -------------------------------- | | .eth-text-display | 48px → 72px | 700 | 1.1 / 1.4 | Large landing page headlines | | .eth-text-hero | 32px → 48px | 700 | 1.2 / 1.5 | Marketing & hero banners | | .eth-text-title-lg | 28px → 36px | 600 | 1.3 / 1.6 | Primary page headers | | .eth-text-title | 24px → 32px | 600 | 1.3 / 1.6 | Section titles | | .eth-text-heading | 18px → 22px | 600 | 1.4 / 1.6 | Card & module headers | | .eth-text-heading-sm | 16px → 18px | 600 | 1.4 / 1.6 | Compact UI headers & labels | | .eth-text-subtitle-lg | 16px → 18px | 400 | 1.5 / 1.7 | Lead paragraphs | | .eth-text-subtitle-md | 14px → 16px | 600 | 1.4 / 1.6 | Emphasized sub-labels | | .eth-text-body-lg | 15px → 16px | 400 | 1.5 / 1.8 | Primary reading content | | .eth-text-body-md | 13px → 14px | 400 | 1.5 / 1.7 | Standard UI text (default) | | .eth-text-body-sm | 11px → 12px | 400 | 1.4 / 1.6 | Metadata & captions |


🚀 Installation

# npm
npm install ethio-telecom-typography-kit

# yarn
yarn add ethio-telecom-typography-kit

🔌 Integration

Next.js

Import the compiled CSS once at the application root.

import 'ethio-telecom-typography-kit/dist/ethio-telecom-typography.css';

export default function RootLayout({ children }) {
  return (
    <html lang="en">
      <body className="eth-text-body-md">
        {children}
      </body>
    </html>
  );
}

Standard React (Vite / CRA)

import 'ethio-telecom-typography-kit/dist/ethio-telecom-typography.css';
import App from './App';

ReactDOM.createRoot(
  document.getElementById('root')!
).render(<App />);

🌍 Multilingual Usage

The typography engine adapts automatically based on the detected script.

// English (Latin script)
<p className="eth-text-body-md">
  Your balance is 50 ETB.
</p>

// Amharic (Ethiopic script)
<p className="eth-text-body-md" lang="am">
  ቀሪ ሂሳብዎ 50 ብር ነው።
</p>


💡 Best Practices

  • **Use .eth-text-display** for landing page "Wow" factors.
  • **Use .eth-text-title-lg** for primary SharePoint page headings.
  • **Always set lang="am"** when the text is in Amharic to activate the 1.6 - 1.8 line-heights.

⌨️ Design Tokens (Developer API)

For advanced use cases (Tailwind CSS, CSS-in-JS, Material UI, custom engines), the kit exports TypeScript Design Tokens.

Design Tokens are the single source of truth. SCSS mixins and compiled CSS utilities are generated from these values to guarantee consistency.

Token Reference Table

| Category | Token Name | Description | | --------------------------- | ------------------ | ---------------------------------------------------------------------------- | | Font Family | family.base | Primary font stack with Ethiopic fallback (Segoe UI, Noto Sans Ethiopic) | | Font Weights | weights.regular | Regular text weight (400) | | | weights.semibold | Emphasized and structural text (600) | | | weights.bold | High-impact display and hero text (700) | | Font Sizes | sizes.display | Extra-large display typography (landing pages, hero sections) | | | sizes.hero | Hero banners and marketing headlines | | | sizes.titleLg | Primary page titles | | | sizes.title | Section and content titles | | | sizes.heading | Card and module headings | | | sizes.headingSm | Compact UI headings and labels | | | sizes.subtitleLg | Lead paragraphs and emphasized descriptions | | | sizes.subtitleMd | Secondary subtitles and bold sub-labels | | | sizes.bodyLg | Main reading content | | | sizes.bodyMd | Default UI body text | | | sizes.bodySm | Metadata, helper text, and captions | | Line Heights (Latin) | lineHeights.en.* | Optimized line heights for English and Latin scripts | | Line Heights (Ethiopic) | lineHeights.am.* | Expanded line heights for Amharic to prevent glyph clipping |


Token Usage Example

import { EthTypographyTokens } from 'ethio-telecom-typography-kit';

const style = {
  fontFamily: EthTypographyTokens.family.base,
  fontSize: EthTypographyTokens.sizes.heading,
  fontWeight: EthTypographyTokens.weights.semibold,
  lineHeight: EthTypographyTokens.lineHeights.am.heading,
};

🎨 Weight Usage Guidelines

  • Bold (700): High-impact hero and promotional messaging
  • Semibold (600): Navigation, labels, and structural hierarchy
  • Regular (400): Body content and informational text

📄 License & Ownership

© Ethio Telecom — In-House Solution Development

This package is strictly intended for internal use. Unauthorized distribution outside Ethio Telecom is prohibited.

Principal Author Yonas In-House Solution Development Specialist, Ethio Telecom