93 lines
3.7 KiB
Plaintext
93 lines
3.7 KiB
Plaintext
|
%%
|
||
|
%% This is file `xcolor-solarized.sty',
|
||
|
%% generated with the docstrip utility.
|
||
|
%%
|
||
|
%% The original source files were:
|
||
|
%%
|
||
|
%% xcolor-solarized.dtx (with options: `package')
|
||
|
%%
|
||
|
%% This is a generated file.
|
||
|
%%
|
||
|
%% Copyright (C) 2014 by Julien Cretel <jubobs.tex at gmail.com>
|
||
|
%%
|
||
|
%% This work may be distributed and/or modified under the
|
||
|
%% conditions of the LaTeX Project Public License, either version 1.3
|
||
|
%% of this license or (at your option) any later version.
|
||
|
%% The latest version of this license is in
|
||
|
%%
|
||
|
%% http://www.latex-project.org/lppl.txt
|
||
|
%%
|
||
|
%% and version 1.3 or later is part of all distributions of LaTeX
|
||
|
%% version 2005/12/01 or later.
|
||
|
%%
|
||
|
%% This work has the LPPL maintenance status `maintained'.
|
||
|
%%
|
||
|
%% The Current Maintainer of this work is Julien Cretel.
|
||
|
%%
|
||
|
%% This work currently consists of the files xcolor-solarized.dtx,
|
||
|
%% xcolor-solarized.ins, and the derived file xcolor-solarized.sty.
|
||
|
%%
|
||
|
|
||
|
\NeedsTeXFormat{LaTeX2e}[2011/06/27]
|
||
|
\ProvidesPackage{xcolor-solarized}
|
||
|
[2015/02/17 v0.3 xcolor definitions for Ethan Schoonover's
|
||
|
Solarized theme]
|
||
|
\RequirePackage{xcolor}[2007/01/21]
|
||
|
\RequirePackage{kvoptions}[2011/06/30]
|
||
|
\SetupKeyvalOptions{
|
||
|
family=solarized,
|
||
|
prefix=solarized@
|
||
|
}
|
||
|
\DeclareStringOption[solarized-]{prefix}
|
||
|
\DeclareDefaultOption{%
|
||
|
\OptionNotUsed
|
||
|
\PackageError{xcolor-solarized}{Unknown `\CurrentOption' option}
|
||
|
}
|
||
|
\ProcessKeyvalOptions*
|
||
|
\newcommand\solarized@definecolor{\expandafter\definecolor\expandafter}
|
||
|
\solarized@definecolor{\solarized@prefix base03} {RGB}{000, 043, 054}
|
||
|
\solarized@definecolor{\solarized@prefix base02} {RGB}{007, 054, 066}
|
||
|
\solarized@definecolor{\solarized@prefix base01} {RGB}{088, 110, 117}
|
||
|
\solarized@definecolor{\solarized@prefix base00} {RGB}{101, 123, 131}
|
||
|
\solarized@definecolor{\solarized@prefix base0} {RGB}{131, 148, 150}
|
||
|
\solarized@definecolor{\solarized@prefix base1} {RGB}{147, 161, 161}
|
||
|
\solarized@definecolor{\solarized@prefix base2} {RGB}{238, 232, 213}
|
||
|
\solarized@definecolor{\solarized@prefix base3} {RGB}{253, 246, 227}
|
||
|
\solarized@definecolor{\solarized@prefix yellow} {RGB}{181, 137, 000}
|
||
|
\solarized@definecolor{\solarized@prefix orange} {RGB}{203, 075, 022}
|
||
|
\solarized@definecolor{\solarized@prefix red} {RGB}{220, 050, 047}
|
||
|
\solarized@definecolor{\solarized@prefix magenta}{RGB}{211, 054, 130}
|
||
|
\solarized@definecolor{\solarized@prefix violet} {RGB}{108, 113, 196}
|
||
|
\solarized@definecolor{\solarized@prefix blue} {RGB}{038, 139, 210}
|
||
|
\solarized@definecolor{\solarized@prefix cyan} {RGB}{042, 161, 152}
|
||
|
\solarized@definecolor{\solarized@prefix green} {RGB}{133, 153, 000}
|
||
|
\newcommand\solarizedPalette[1][3em]{%
|
||
|
\newcommand\solarized@square{\rule{#1}{#1}}
|
||
|
\noindent
|
||
|
\begin{tabular}{cccc cccc}
|
||
|
\textcolor{solarized-base03} \solarized@square &
|
||
|
\textcolor{solarized-base02} \solarized@square &
|
||
|
\textcolor{solarized-base01} \solarized@square &
|
||
|
\textcolor{solarized-base00} \solarized@square &
|
||
|
\textcolor{solarized-base0} \solarized@square &
|
||
|
\textcolor{solarized-base1} \solarized@square &
|
||
|
\textcolor{solarized-base2} \solarized@square &
|
||
|
\textcolor{solarized-base3} \solarized@square \\
|
||
|
base03 & base02 & base01 & base00 &
|
||
|
base0 & base1 & base2 & base3 \\[#1]
|
||
|
\textcolor{solarized-yellow} \solarized@square &
|
||
|
\textcolor{solarized-orange} \solarized@square &
|
||
|
\textcolor{solarized-red} \solarized@square &
|
||
|
\textcolor{solarized-magenta}\solarized@square &
|
||
|
\textcolor{solarized-violet} \solarized@square &
|
||
|
\textcolor{solarized-blue} \solarized@square &
|
||
|
\textcolor{solarized-cyan} \solarized@square &
|
||
|
\textcolor{solarized-green} \solarized@square \\
|
||
|
yellow & orange & red & magenta &
|
||
|
violet & blue & cyan & green
|
||
|
\end{tabular}
|
||
|
}
|
||
|
\endinput
|
||
|
%%
|
||
|
%% End of file `xcolor-solarized.sty'.
|