Skip to content

phpcolor/dracula-colors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dracula Colors

This package provides access to the Dracula color palette, a dark theme for code editors and terminal applications.

Installation

composer require phpcolor/dracula-colors

Usage

Create Colors Instance

use PhpColor\Colors\Dracula\DraculaColors as Dracula;

$colors = Dracula::colors();

Color Names

use PhpColor\Colors\Dracula\DraculaColors as Dracula;

$colors = Dracula::colors();

$names = $colors->getNames();
// 'background', 'currentLine', 'foreground', 'comment',
// 'cyan', 'green', 'orange', 'pink', 'purple', 'red', 'yellow'

Color Values

use PhpColor\Colors\Dracula\DraculaColors as Dracula;

$colors = Dracula::colors();

echo $colors->purple;             // #BD93F9
echo $colors->get('cyan');        // #8BE9FD

Credits

The colors listed in this project are based on the Dracula Theme.

License

This PHPColor package is released under the MIT license.

About

Dracula dark theme color palette for PHP

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages