Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@dfds-frontend/colors

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

@dfds-frontend/colors

colors

unpublished
latest
Source
npmnpm
Version
0.0.1
Version published
Maintainers
1
Created
Source

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

  • https://codepen.io/kunukn/full/67da1197b74e4030606a79c18e638e0c/ cdn js, color list
  • https://codepen.io/kunukn/pen/f30321d67af72011cf1b87dd64ea0070 cdn css var usage
  • https://codesandbox.io/s/6yq09864k3 npm, color list

more

To see all the available CDN files go to

https://unpkg.com/@dfds-frontend/colors/

FAQs

Package last updated on 12 Oct 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts