Mojolicious Plugin for CSS theming
use Mojo::Base 'Mojolicious::Plugin';
use common::sense;
use JSON::MaybeXS;
use Path::Tiny;
use File::ShareDir;
use File::Slurper 'read_binary';
use Image::Size;
u
yles/themes/themes.json");
if (!-f $theme_file)
{
die "'$theme_file' not found";
}
my $theme_txt = path($theme_file)->slurp;
$self->{themes} = decode_json($theme_txt);
hich are NOT exported by this plugin.
=head2 _get_themes
Get the list of themes from the themes.json file.
=head2 _setup_concon
Set up the Config::Context stuff.
=head2 _get_prefix
Get the "pref