@gsti/alan-sans
v1.0.3
Published
Modern sans-serif font package for web applications, Laravel, Vite and Tailwind CSS.
Maintainers
Readme
@gsti/alan-sans
Official Alan Sans font package for gsti applications.
This package provides:
- WOFF support
- WOFF2 support
- Latin character set
- Latin Extended character set
- CSS entrypoint
- SCSS entrypoint
- Tailwind CSS 4 compatibility
- Vite compatibility
- Laravel compatibility
- Modern browser optimization
font-display: swap
Features
- Multiple font weights
- Unicode range optimization
- Fast loading
- Self-hosted fonts
- No external CDN dependency
- Production ready
Supported weights:
| Weight | Description | |----------|----------| | 300 | Light | | 400 | Regular | | 500 | Medium | | 600 | SemiBold | | 700 | Bold | | 800 | ExtraBold | | 900 | Black |
Installation
NPM
npm install @gsti/alan-sansYarn
yarn add @gsti/alan-sansPNPM
pnpm add @gsti/alan-sansBasic Usage
CSS
@import "@gsti/alan-sans";
body {
font-family: "Alan Sans", sans-serif;
}SCSS
@use "@gsti/alan-sans";
body {
font-family: "Alan Sans", sans-serif;
}Laravel 13 + Vite
resources/css/app.css
@import "@gsti/alan-sans";
body {
font-family: "Alan Sans", sans-serif;
}Compile assets:
npm run buildor
npm run devTailwind CSS 4
@import "@gsti/alan-sans";
@theme {
--alan-sans: "Alan Sans", sans-serif;
}CDN Usage
This package can be loaded directly from popular npm CDNs.
jsDelivr
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/@gsti/alan-sans@latest/index.css">UNPKG
<link
rel="stylesheet"
href="https://unpkg.com/@gsti/alan-sans/index.css">Usage
<body style="font-family:'Alan Sans',sans-serif;">
Hello World
</body>Available Files
fonts/
css/
scss/
index.css
index.scssBrowser Support
| Browser | Supported | |----------|----------| | Chrome | Yes | | Edge | Yes | | Firefox | Yes | | Safari | Yes | | Opera | Yes |
Package Structure
fonts/
├── *.woff
└── *.woff2
css/
└── alan-sans.css
scss/
└── alan-sans.scss
index.css
index.scssPerformance
This package uses:
- font-display: swap
- unicode-range subsets
- WOFF2 preferred loading
- WOFF fallback
for optimal loading performance.
Security
No JavaScript is included in this package.
Only static font files and stylesheet definitions are distributed.
License
This package is distributed under a proprietary license.
See the LICENSE file for details.
Support
Groupe Solutions TI Inc.
Website: https://groupesti.com
Email: [email protected]
Author
Groupe Solutions TI Inc.
All rights reserved.
