VectoredAtmosphere

Atmosphere v0.3.7

GitHub npm

Vectored's design system: brand tokens, components, the page shell, maps and email. Plain HTML and CSS, no framework. Everything on this page is made with the package itself.

npm install @vectored-network/atmosphere

Colours

Every colour is a token in tokens.css, with a dark value for each light one. Switch your system theme to see dark mode.

--atm-night
--atm-amber
--atm-radar
--atm-bg
--atm-surface
--atm-surface-2
--atm-border
--atm-text
--atm-text-muted
--atm-link
--atm-on-accent
--atm-ok
--atm-warn
--atm-danger
--atm-info

Stats

142
pilots online
18
ATC positions open
3:25
hours this week (a link card)

Buttons and badges

PrimaryDefaultDanger S2PREPassedFailed

Alerts

Saved.
Check this.
Something failed.
For your information.

Table

CallsignTypeRouteAlt
VEC123A320EGLL → LFPG35000
VEC77B738EGKK → LEMD37000

Forms

Your ICAO callsign.
Notify me

Inline form and field sizes

Widths: atm-w-xs 90px, atm-w-sm 130px, atm-w-md 220px, atm-w-lg 320px.

Label / value list

ICAO
EGLL
Name
London Heathrow
Transition altitude
6000 ft

Map

From map(): an airspace area (polygon) and a flight track (line).

Email

Every Vectored email is made with email(). See an example email.

Use it

import { h, page } from '@vectored-network/atmosphere';

const html = page({
  title: 'Home', app: 'Training',
  body: h`<h1>Hello ${name}</h1>`,   // every value is escaped
}).value;

Only want the look? import '@vectored-network/atmosphere/atmosphere.css' or link dist/atmosphere.css, and use the atm- classes.