Versions
Usage
Component classes (any project)
<link rel="stylesheet" href="https://style.illanes00.cl/v5/illanes.min.css">
<script src="https://style.illanes00.cl/v5/theme.js" defer></script>
Tailwind utilities (Next.js)
// tailwind.config.ts
import illanesPreset from '@illanes00/design-system/preset'
export default {
presets: [illanesPreset],
// ...
}
Color Tokens
Base
Borders
Grays
Semantic
Typography
Heading 1 — IBM Plex Sans 800
Heading 2 — IBM Plex Sans 800
Heading 3 — IBM Plex Sans 700
Heading 4 — IBM Plex Sans 700
Heading 5 — IBM Plex Sans 600
Heading 6 — IBM Plex Sans 600
Body text at --fs-base (16px) with line-height 1.62. This is bold text, this is italic text, and this is a link.
Small text at --fs-sm (13px) for secondary content.
Scale
| Token | Size | Sample |
|---|---|---|
--fs-xs | 0.75rem (12px) | Extra small text |
--fs-sm | 0.8125rem (13px) | Small text |
--fs-base | 1rem (16px) | Base text |
--fs-lg | 1.125rem (18px) | Large text |
--fs-xl | 1.25rem (20px) | Extra large text |
--fs-2xl | 1.5rem (24px) | 2XL text |
--fs-3xl | 1.875rem (30px) | 3XL text |
Code
Inline code with JetBrains Mono.
// Code block
const greeting = 'hello, illanes00';
console.log(greeting);
Spacing
--space-14px
--space-28px
--space-312px
--space-416px
--space-624px
--space-832px
--space-1248px
--space-1664px
Buttons
Cards
Card body content with a link. Cards use --paper background and --line borders.
With reduced padding via .card-compact.
Tables
| Service | VPS | Port | Status |
|---|---|---|---|
| illanes00-admin | vps-dev | 8101 |
OK |
| illanes00-monitor | vps-control | 5100 |
OK |
| illanes00-api | vps-deploy | 5000 |
DEGRADED |
| illanes00-backup | vps-deploy | 5001 |
DOWN |
Forms
Alerts
Badges & Pills
Pills (Status)
Dots (Indicators)
VPS Badges
Data Badges
Tabs (CSS)
Tabs (Web Component)
Selecciona un tab. Evento illanes:tab:change se despacha al cambiar.
Stat Cards
Tooltips
CSS-only, accesibles con :focus-within.
Tooltip de ayuda con texto informativo
Tooltip con comando: Verificar con systemctl status caddy
Loading States
Spinners
Skeleton
Empty State
Alert Banners
Shell Components
Web Components compartidos, registrados automáticamente por shell.min.js.
Este es un modal genérico del design system. Soporta tamaños sm, md, y lg.
Se cierra con Escape, click en overlay, o el botón de cerrar.
Este es un drawer que se desliza desde el costado.
Soporta side="left" o side="right" (default).