2.1.55 • Published 1 month ago

language-colors v2.1.55

Weekly downloads
100
License
MIT
Repository
github
Last release
1 month ago

language-colors.css

Travis (.org) npm GitHub repo size GitHub contributors Twitter Follow

The colors are auto updated weekly from Travis CI. All the colors can be viewed here.


Table of content

Installation

CSS

Add the style-sheet from the repository page.

<link rel="stylesheet" href="https://kujitegemea.github.io/language-colors/language-colors.css"> 

Load the style-sheet from within another css file

@import url("https://kujitegemea.github.io/language-colors/language-colors.css");

NodeJS

Using npm:

npm install language-colors

Using bower:

bower install language-colors

Using yarn:

yarn add language-colors

Browser

Add the script from the repository website.

<script src="https://kujitegemea.github.io/language-colors/language-colors.js"></script>

Usage

CSS

Set as foreground color

<span class="color-c">this is the color of C</span>

Set as background color

<span class="bg-color-c">this is the background color of C</span>

NodeJS

All the colors are exported in lowercase and some invalid characters is changed to conform with JavaScript identifier naming rules. The colors are exported as the color objects.

const LanguageColors = require("language-colors")

console.log(LanguageColors.c); //ANSI C
console.log(LanguageColors.cpp); //C++

Browser

All the colors are exported in lowercase and some invalid characters is changed to conform with JavaScript identifier naming rules. The colors are exported as string values.

<script src="https://kujitegemea.github.io/language-colors/language-colors.js"></script>
<script>
console.log(LanguageColors.c); //ANSI C
console.log(LanguageColors.cpp); //C++
</script>

Wiki

Contributing

There is really nothing to contribute here, the source for the nodejs, pure js and css files is auto generated by the powershell script language-colors.ps1. Only PR on language-colors.ps1 is accepted if it really needed.

The release on github, npm registry and github page is automated using Travis-CI apis. No human input is really needed. The source files are updated weekly and new build are released also every month.

If any issue or bug is detected you can open an issue here.

Whatever changes you made to the auto generated sources will be over written by Travis-CI update push.

The following files are auto generated

  • language-colors.css
  • language-colors.js
  • index.js
  • docs/language-colors.css
  • docs/language-colors.js

Support

Support

You can support some of this community as they make big impact in the traing of individual to get started with software engineering and open source contribution.

You can make big difference.

License

MIT License (2019) Adewale Azeez

2.1.55

1 month ago

2.1.54

2 months ago

2.1.53

3 months ago

2.1.52

4 months ago

2.1.51

5 months ago

2.1.49

7 months ago

2.1.50

6 months ago

2.1.48

8 months ago

2.1.47

9 months ago

2.1.45

12 months ago

2.1.46

11 months ago

2.1.44

1 year ago

2.1.43

1 year ago

2.1.41

1 year ago

2.1.42

1 year ago

1.238.0

1 year ago

2.2.36

1 year ago

2.1.38

1 year ago

2.1.39

1 year ago

2.1.37

1 year ago

1.184.0

4 years ago

1.183.0

4 years ago

1.182.0

4 years ago

1.181.0

4 years ago

1.180.0

4 years ago

1.179.0

4 years ago

1.178.0

4 years ago

1.177.0

4 years ago

1.176.0

4 years ago

1.175.0

4 years ago

1.174.0

4 years ago

1.173.0

4 years ago

1.172.0

4 years ago

1.171.0

4 years ago

1.170.0

4 years ago

1.169.0

4 years ago

1.168.0

4 years ago

1.167.0

4 years ago

1.166.0

4 years ago

1.157.0

4 years ago

1.155.0

4 years ago

1.152.0

4 years ago

1.150.0

4 years ago

1.146.0

4 years ago

1.148.0

4 years ago

1.145.0

4 years ago

1.123.0

4 years ago

1.121.0

4 years ago

1.122.0

4 years ago

1.120.0

4 years ago

1.119.0

4 years ago

1.118.0

4 years ago

1.112.0

4 years ago

1.103.0

4 years ago

1.94.0

4 years ago

1.93.0

4 years ago

1.92.0

4 years ago

1.91.0

4 years ago

1.1.0

4 years ago

1.0.0

4 years ago