Draftit Unified Design (DUD) is Draftits own implementation of Vismas Unified Design system.
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`],
},
});
You can see the designs at https://victorious-coast-01a9e6403.3.azurestaticapps.net.