DFDS colors
main colors from CDN
load the font by inluding this in html
<link rel="stylesheet"
href="https://unpkg.com/@dfds-frontend/colors/dist/colors.css">
or import it from css
<style>
@import "https://unpkg.com/@dfds-frontend/colors/dist/colors.css";
</style>
use the colors in css
.button--primary {
color: var(--color-white);
background-color: var(--color-primary-orange);
}
use the styling
<button class="button button--primary">Click here</button>
main colors from npm
- npm install @dfds-frontend/colors
- the files are in node_modules/@dfds-frontend/colors/dist
load it inluding this in html
<link rel="stylesheet"
href="node_modules/@dfds-frontend/colors/dist/colors.css">
demo
more
To see all the available CDN files go to
https://unpkg.com/@dfds-frontend/colors/