@draftit-ui/core
v4.31.15
Published
[![Publish to NPM](https://github.com/Visma-Draftit/unified-design/actions/workflows/publish.yml/badge.svg)](https://github.com/Visma-Draftit/unified-design/actions/workflows/publish.yml)
Downloads
1,223
Readme
Draftit Unified Design
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.