Skip to content

add support for cperl-mode

Markus Beppler requested to merge mbeppler/modus-themes:master into master

Added the three cperl-mode specific faces.

Mapped the original defface class color background light

  • cperl-nonoverridable-face :: foreground chartreuse3
  • cperl-array-face :: foreground Blue, background lightyellow2, weight bold
  • cperl-hash-face :: foreground Red, background lightyellow2, weight bold, slant italic

to modus-operandi.

And class color background dark

  • cperl-nonoverridable-face :: foreground orchid1|orange
  • cperl-array-face :: foreground yellow, background navy|os2blue|darkgreen, weight bold
  • cperl-hash-face :: foreground Red, background navy|os2blue|darkgreen, weight bold, slant italic

to modus-vivendi.

Not sure about the colours I chose, like yellow-alt-faint for orange. With the goal of highest contrast between foreground and background, I think, the low contrast between the different foreground colour unavoidable.

Checked with the following code example.

print <<EOF;
this is a multiline here document
need to see on a glane the tag used
EOF

s#match#replace#;

my @array = ( 'a', 'b', 'c' );
my $normal_variable = 5;
my %hash  = { 'x' => 5, 'y' => 7 };
$hash{'z'} = 9;

Merge request reports