@draftit-ui/core
TypeScript icon, indicating that this package has built-in type declarations

4.27.8 • Public • Published

Draftit Unified Design

Publish to NPM

Draftit Unified Design (DUD) is Draftits own implementation of Vismas Unified Design system.

fonts

It is required that you use Ubuntu and Open Sans as fonts. The font family is:

Open Sans :  300,400,600,700,800
Ubuntu    :  200,300,400,600,700
const CDN_URL = "https://cdn.draftit.se";
WebFont.load({
  active: () => {
    setTimeout(() => {
      // Need to tell the test when the font had been rendered.
      document.body.setAttribute("data-testid", "ready-for-test");
    }, 250);
  },
  custom: {
    families: ["Open Sans:300,400,600,700,800", "Ubuntu:200,300,400,600,700"],
    urls: [`${CDN_URL}/fonts/nova/unified-design/v1.0.0/ud.css`],
  },
});

discover

You can see the designs at https://victorious-coast-01a9e6403.3.azurestaticapps.net.

Package Sidebar

Install

npm i @draftit-ui/core

Weekly Downloads

2,965

Version

4.27.8

License

MIT

Unpacked Size

1.05 MB

Total Files

561

Last publish

Collaborators

  • draftitbot
  • yoohahn