Skip to content

Convert github languages to the corresponding colors.

License

Notifications You must be signed in to change notification settings

linrz/github_colors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

github_colors

Pub support

A Dart package for developers to covert languages colors in Github.

Usage

Open your pubspec.yaml and add the following dependency.

dependencies:
  github_colors: 0.0.5  #latest version
import 'package:github_colors/github_colors.dart';

main() async {
  String hex = GithubColors.covert('JavaScript');
  print(hex); // #f1e05a
}

If Github update languages, run the following command in the terminal to fetch the latest infomation.

pub global run github_colors:main

Example

Author

github_colors © linrz, Released under the MIT License.
Authored and maintained by linrz.

github.com/linrz · GitHub @linrz · Twitter @linrzPro


2019 © linrz

About

Convert github languages to the corresponding colors.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages