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 🙏

© 2024 – Pkg Stats / Ryan Hefner

@haiku/shibui

v10.0.8

Published

Shibui is the design language driving [Haiku's](https://haikuforteams.com) apps & websites. Browse the design language in our up-to-the-moment [docs](https://haikuforteams.com/shibui).

Downloads

36

Readme

Shibui 渋い

Shibui is the design language driving Haiku's apps & websites. Browse the design language in our up-to-the-moment docs.

image

The Shibui codebase is a collection of design files, code, scripts, compilers, and documentation — created to help the Haiku team deliver better UIs faster.

Changes made to Shibui via this repo will propagate across Haiku websites native apps.

This project is powered by the open source project Diez. Diez enables this whole project to be maintained in a single TypeScript codebase. Diez is built & maintained by the Haiku team and the Diez community.

Why a design language?

Shibui helps our team in these ways:

  • Consistency - integrating with any codebase means more visually consistent UIs
  • Efficiency - make changes once and propagate everywhere
  • Creativity - design & dev teams explore new frontiers instead of pushing pixels

Where are your UI components?

We don't yet have any open-source UI component libraries.

We started our design system "language-first," but UI components are coming soon.

Getting started

Developers

Developers can consume this package via pre-built SDKs for each platform or by cloning and compiling this source with Diez.

Pre-built SDKs

Web

First, install Shibui as a dependency:

$ yarn add @haiku/shibui

Then consume the design language via JavaScript/TypeScript or CSS/SCSS:

JavaScript/Typescript:

import {Diez, DesignLanguage} from '@haiku/shibui';

new Diez(DesignLanguage).attach((tokens) => {
  // ...
});

CSS/SCSS:

@import '@haiku/shibui/styles.scss';

h1 {
  @include shibui-typography-heading1();
}

iOS

Coming soon, in the meantime you can compile from the source.

Android

Coming soon, in the meantime you can compile from the source.

Compiling from the source

First, clone and set-up the repo:

$ git clone [email protected]:HaikuTeam/shibui.git
$ cd shibui
$ yarn install

Then, compile the design language to your desired SDK:

$ yarn diez compile -t [web|ios|android]

Look for the SDK files in build/diez-haiku-shibui-[web|ios|android], and consume accordingly depending on your target platform.

If you need more info, check out the Diez guides.

Designers

image

/designs/shibui.sketch is the living source of truth for many of Shibui's design tokens.

Simply open /designs/shibui.sketch in Sketch and make some changes. Once saved, you can run yarn diez exact from the terminal and the changes will propagate to the design language in TypeScript.

Feel free to fork this repo and explore. You can easily create your own theme or brand on this chassis — or feel free to make contributions back to our own design language! Your changes may ship to prod.