Skip to content

About

Super simple CSS package for when you want to use branded Transport for London colour coded information.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

45 Commits

Folders and files

Repository files navigation

TFL Colours

A simple snippet of CSS which can brighten up your website when giving complex travel instructions or direction when using public transport in London.

Installation

Via a CDN

Just add this line of code into your <head>.

<link rel="stylesheet" href="//cdn.jsdelivr.net/gh/fredbradley/tfl-colours/build/css/style.css" />

Via NPM

npm install @fredbradley/tfl-colours

Then in your main JS: require('@fredbradley/tfl-colours') This method is still a work in progress. See Issue #1 for more info.

Copy the code

Alternatively you can just copy the contents of build/css/style.css (it's only small). However, you won't have the benefit of any updates being automatically applied.

Usage / Examples

<span class="tfl tfl-jubilee">Jubilee Line</span>

For example, please checkout the examples page.

example

License

MIT

Queries, comments, suggestions

I'm open to ideas, and improvements. You can find me on @fredbradley on Twitter and GitHub.

About

Super simple CSS package for when you want to use branded Transport for London colour coded information.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages