@dfds-frontend/colors

0.0.1 • Public • Published

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/

Readme

Keywords

none

Package Sidebar

Install

npm i @dfds-frontend/colors

Weekly Downloads

11

Version

0.0.1

License

ISC

Unpacked Size

12.9 kB

Total Files

7

Last publish

Collaborators

  • kunukn
  • kdichev
  • kunyk-dfds