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

dfds-frontend/colors-alpha

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/

Releases

No releases published

Packages

No packages published