X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/bac74b5934f22cc3d0e971d26fe0275f7f5db7b3..ebcb46b18968910f150d7c54de8e472dffd923c7:/termcol.inc.pl diff --git a/termcol.inc.pl b/termcol.inc.pl index b575944..6e3b6d6 100644 --- a/termcol.inc.pl +++ b/termcol.inc.pl @@ -2,10 +2,16 @@ use 5.014; use Shiar_Sheet::Colour 1.05; +{ - default => [qw( ansi ansi88 )], - more => [qw( ansi mirc legacy ansi256 )], + default => [qw( ansi ansi88 ansi256 )], + more => [qw( ansi mirc pastel slutty solarized ansi88 ansi256 )], ansi => [qw( cga putty xterm tango app html cgarne )], - legacy => [qw( c64 msx2 mac2 risc arnegame cpc )], + legacy => [qw( c64 msx mac2 risc arnegame dawnbringer cpc cpcboy shiar32 ppu 64 )], + + xcolors => sub { + my $pals = do 'termcol-xcolor.inc.pl' or die $! || $@; + $_[0]->{$_} = $pals->{$_} for keys %{$pals}; + return 'xcolor'; + }, html => { title => 'HTML keywords (inherited by CSS≥2.1 and SVG), mostly identical to X11', @@ -267,21 +273,24 @@ use Shiar_Sheet::Colour 1.05; ], parent => 'cpc', }, - shiar => { + shiar32 => { name => 'Shiar32', table => [ - [qw( 761F28:2A CC2222:3A CC8B7B:4A 000000:0 )], - [qw( 4C3C2B:1B CB4B16:3B EB8931:5B 444444:1 )], - [qw( 5E581A:2C B58900:3C C0C070:4C 686868:2 )], - [qw( 0 859900:3D 0 B0B0B0:3 )], - [qw( 1B661B:2E 4E9A06:3E 8BBB7B:4E CCCCCC:4 )], - [qw( 0 37A76F:3F 0 FFFFFF:5 )], + [qw( 761F28:2A CC2222:3A CC8B7B:4A )], + [qw( 4C3C2B:1B CB4B16:3B EB8931:5B )], + [qw( 5E581A:2C B58900:3C C0C070:4C )], + [qw( 0 859900:3D 0 )], + [qw( 1B661B:2E 4E9A06:3E 8BBB7B:4E )], + [qw( 0 37A76F:3F 0 )], [qw( 2F484E:1G 06989A:3G 31E2C2:5G )], [qw( 0 0088CC:3H 0 )], [qw( 00337C:2I 3465A4:3I 6899AA:4I )], [qw( 0 6C71C4:3J 0 )], [qw( 362747:1K 75507B:3K F06FCB:5K )], [qw( 0 D33662:3L 0 )], + undef, + [qw( 000000:0 686868:2 CCCCCC:4 )], + [qw( 444444:1 B0B0B0:3 FFFFFF:5 )], ], parent => 'cpc', },