Skip to content
This repository has been archived by the owner on Feb 3, 2020. It is now read-only.

Latest commit

 

History

History
59 lines (40 loc) · 1.12 KB

README.md

File metadata and controls

59 lines (40 loc) · 1.12 KB

DFDS colors

Unofficial library for DFDS

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/