Skip to content

Web

Etesian for the web.

The design language is a set of web packages, so anything on the web can look and work like Etesian. This website and Cloud Companion’s web app are both built from them.

The packages

  • @etesian-design/tokensThe design tokens (colours, type, spacing, radii, motion) as CSS custom properties, TypeScript and JSON, and the open fonts used in place of the N9’s.
  • @etesian-design/vueThe Vue 3 components (HdButton, HdSwitch, HdToolBar, HdFastScroll and the rest), composables and the squircle geometry.
  • @etesian-design/quasarA theme and integration for Quasar 2: brand colours, the icon set, the squircle spinner and the colour modes, so Quasar’s own components look Etesian.
  • @etesian-design/shellThe shell parts: the desktop (menu bar, dock, windows, Events, snapping, Overview), the mini apps and the Belle home-screen widgets.

Installing the packages

The packages are published to GitHub Packages. npm needs a GitHub token with read:packages in ~/.npmrc, even for public packages.

  1. Point the @etesian-design scope at GitHub: echo "@etesian-design:registry=https://npm.pkg.github.com" >> .npmrc.
  2. Install what you need: npm install @etesian-design/vue @etesian-design/tokens, and @etesian-design/quasar or @etesian-design/shell if you use them.
  3. In a Quasar app, install the theme from a boot file: app.use(EtesianQuasar, { mode: 'hybrid' }).

Quasar, themed

Quasar is a Vue 3 framework. With the @etesian-design/quasar theme its own components (left) sit next to the library’s (right). Both columns are live.

Quasar, Etesian theme
@etesian-design/vue
Quasar and Hd* side by side. QBtn, QToggle and QInput with the Etesian theme, next to HdButton, HdSwitch and HdTextField.

The Storybook

Storybook is a workshop for UI components: each component, and whole screens built from them, rendered on their own with their measurements and notes. It is the visual reference for every component, built from the design repository and published with GitHub Pages at language.etesian-design.com. A few of its stories:

Storybook rendering of a messaging conversation
A conversation, from the Messaging example (Storybook rendering).
Storybook rendering of a conversation with the N9-style keyboard open
The same, typing with the N9-style keyboard (Storybook rendering).
Storybook rendering of the Events feed
The Events feed (Storybook rendering).

How this site is built

This site is a Quasar (Vue 3) app, built as static pages (Quasar’s SSG mode) and published with GitHub Pages at etesian-design.com. It uses the four packages: the pages, the /try desktop and the phone are the library’s own components.

Each page is a JSON file of content blocks (text, features, pictures, live demos, release cards), checked when the site builds. Version numbers and dates are never typed into the text: they come from each project’s latest GitHub release, read when the site is built and again in your browser.

What Cloud Companion does

  • A browser in the cloudOptional: Firefox runs on your server and its page is shown in the web app, or sent to phones too old for a modern web page.
  • A messaging gatewaySMS, Matrix, XMPP, IRC, Nextcloud Talk, Signal and Telegram, reachable from a SIP or XMPP phone or the web app.
  • Mail, calendar and contactsIn the web app, and through an optional hub that speaks Exchange ActiveSync, CalDAV and CardDAV for older phones.
  • Android in a browser tabOptional: an Android system on your server, streamed to a web page with touch, keyboard, sound and clipboard.

Cloud Companion is a Phorepoc project, experimental, licensed AGPL-3.0. Its server is written in Go and runs with Docker; its web app is Vue 3 with Quasar, and imports the tokens, vue and shell packages with its own Quasar theme.