From 6a4bd7297b07fda732107d8c8005a85585f385e3 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 20 May 2024 20:14:42 +0000 Subject: catppuccinpalette (20may24) git-svn-id: svn://tug.org/texlive/trunk@71310 c570f23f-e606-0410-a88d-b1316a301751 --- .../latex/catppuccinpalette/catppuccinpalette.sty | 222 +++++++++++++++++++++ 1 file changed, 222 insertions(+) create mode 100644 Master/texmf-dist/tex/latex/catppuccinpalette/catppuccinpalette.sty (limited to 'Master/texmf-dist/tex/latex/catppuccinpalette/catppuccinpalette.sty') diff --git a/Master/texmf-dist/tex/latex/catppuccinpalette/catppuccinpalette.sty b/Master/texmf-dist/tex/latex/catppuccinpalette/catppuccinpalette.sty new file mode 100644 index 00000000000..bd320888947 --- /dev/null +++ b/Master/texmf-dist/tex/latex/catppuccinpalette/catppuccinpalette.sty @@ -0,0 +1,222 @@ +%% +%% This is file `catppuccinpalette.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% catppuccinpalette.dtx (with options: `package') +%% +%% This is a generated file. +%% +%% Copyright (C) 2024 by Lukas Heindl +%% -------------------------------------------------------------------------- +%% 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. +%% +\NeedsTeXFormat{LaTeX2e}[1999/12/01] +\ProvidesPackage{catppuccinpalette} + [2024/02/27 v1.0.1 catppuccin xcolor palette] +\NeedsTeXFormat{LaTeX2e}[1994/06/01] +\RequirePackage{pgfopts} +\RequirePackage{xcolor} +\newif\ifcatppuccinpalette@pagecolor +\newif\ifcatppuccinpalette@textcolor +\pgfkeys{ +/catppuccinPalette/.cd, +style/.is choice, +style/.value required, +style/Latte/.code = {\def\catppuccinpalette@style{Latte}}, +style/latte/.forward to = /catppuccinPalette/style/Latte, +style/Frappe/.code = {\def\catppuccinpalette@style{Frappe}}, +style/frappe/.forward to = /catppuccinPalette/style/frappe, +style/Macchiato/.code = {\def\catppuccinpalette@style{Macchiato}}, +style/macchiato/.forward to = /catppuccinPalette/style/Macchiato, +style/Mocha/.code = {\def\catppuccinpalette@style{Mocha}}, +style/mocha/.forward to = /catppuccinPalette/style/Mocha, +textcolor/.is if = catppuccinpalette@textcolor, +textcolor/.default = true, +pagecolor/.is if = catppuccinpalette@pagecolor, +pagecolor/.default = true, +styleAll/.style = {pagecolor,textcolor}, +textcolor = false, +pagecolor = false, +style = Latte, +} +\ProcessPgfOptions* +\preparecolorset{RGB/HTML}{CatLatte}{}{% +Rosewater,220,138,120/DC8A78;% +Flamingo,221,120,120/DD7878;% +Pink,234,118,203/EA76CB;% +Mauve,136,57,239/8839EF;% +Red,210,15,57/D20F39;% +Maroon,230,69,83/E64553;% +Peach,254,100,11/FE640B;% +Yellow,223,142,29/DF8E1D;% +Green,64,160,43/40A02B;% +Teal,23,146,153/179299;% +Sky,4,165,229/04A5E5;% +Sapphire,32,159,181/209FB5;% +Blue,30,102,245/1E66F5;% +Lavender,114,135,253/7287FD;% +Text,76,79,105/4C4F69;% +Subtext1,92,95,119/5C5F77;% +Subtext0,108,111,133/6C6F85;% +Overlay2,124,127,147/7C7F93;% +Overlay1,140,143,161/8C8FA1;% +Overlay0,156,160,176/9CA0B0;% +Surface2,172,176,190/ACB0BE;% +Surface1,188,192,204/BCC0CC;% +Surface0,204,208,218/CCD0DA;% +Base,239,241,245/EFF1F5;% +Mantle,230,233,239/E6E9EF;% +Crust,220,224,232/DCE0E8% +} +\colorlet{CatLatteBackground}{CatLatteBase} +\colorlet{CatLatteLink}{CatLatteBlue} +\colorlet{CatLatteSuccess}{CatLatteGreen} +\colorlet{CatLatteWarning}{CatLatteYellow} +\colorlet{CatLatteError}{CatLatteRed} +\preparecolorset{RGB/HTML}{CatFrappe}{}{% +Rosewater,242,213,207/F2D5CF;% +Flamingo,238,190,190/EEBEBE;% +Pink,244,184,228/F4B8E4;% +Mauve,202,158,230/CA9EE6;% +Red,231,130,132/E78284;% +Maroon,234,153,156/EA999C;% +Peach,239,159,118/EF9F76;% +Yellow,229,200,144/E5C890;% +Green,166,209,137/A6D189;% +Teal,129,200,190/81C8BE;% +Sky,153,209,219/99D1DB;% +Sapphire,133,193,220/85C1DC;% +Blue,140,170,238/8CAAEE;% +Lavender,186,187,241/BABBF1;% +Text,198,208,245/C6D0F5;% +Subtext1,181,191,226/B5BFE2;% +Subtext0,165,173,206/A5ADCE;% +Overlay2,148,156,187/949CBB;% +Overlay1,131,139,167/838BA7;% +Overlay0,115,121,148/737994;% +Surface2,98,104,128/626880;% +Surface1,81,87,109/51576D;% +Surface0,65,69,89/414559;% +Base,48,52,70/303446;% +Mantle,41,44,60/292C3C;% +Crust,35,38,52/232634% +} +\colorlet{CatFrappeBackground}{CatFrappeBase} +\colorlet{CatFrappeLink}{CatFrappeBlue} +\colorlet{CatFrappeSuccess}{CatFrappeGreen} +\colorlet{CatFrappeWarning}{CatFrappeYellow} +\colorlet{CatFrappeError}{CatFrappeRed} +\preparecolorset{RGB/HTML}{CatMacchiato}{}{% +Rosewater,244,219,214/F4DBD6;% +Flamingo,240,198,198/F0C6C6;% +Pink,245,189,230/F5BDE6;% +Mauve,198,160,246/C6A0F6;% +Red,237,135,150/ED8796;% +Maroon,238,153,160/EE99A0;% +Peach,245,169,127/F5A97F;% +Yellow,238,212,159/EED49F;% +Green,166,218,149/A6DA95;% +Teal,139,213,202/8BD5CA;% +Sky,145,215,227/91D7E3;% +Sapphire,125,196,228/7DC4E4;% +Blue,138,173,244/8AADF4;% +Lavender,183,189,248/B7BDF8;% +Text,202,211,245/CAD3F5;% +Subtext1,184,192,224/B8C0E0;% +Subtext0,165,173,203/A5ADCB;% +Overlay2,147,154,183/939AB7;% +Overlay1,128,135,162/8087A2;% +Overlay0,110,115,141/6E738D;% +Surface2,91,96,120/5B6078;% +Surface1,73,77,100/494D64;% +Surface0,54,58,79/363A4F;% +Base,36,39,58/24273A;% +Mantle,30,32,48/1E2030;% +Crust,24,25,38/181926% +} +\colorlet{CatMacchiatoBackground}{CatMacchiatoBase} +\colorlet{CatMacchiatoLink}{CatMacchiatoBlue} +\colorlet{CatMacchiatoSuccess}{CatMacchiatoGreen} +\colorlet{CatMacchiatoWarning}{CatMacchiatoYellow} +\colorlet{CatMacchiatoError}{CatMacchiatoRed} +\preparecolorset{RGB/HTML}{CatMocha}{}{% +Rosewater,245,224,220/F5E0DC;% +Flamingo,242,205,205/F2CDCD;% +Pink,245,194,231/F5C2E7;% +Mauve,203,166,247/CBA6F7;% +Red,243,139,168/F38BA8;% +Maroon,235,160,172/EBA0AC;% +Peach,250,179,135/FAB387;% +Yellow,249,226,175/F9E2AF;% +Green,166,227,161/A6E3A1;% +Teal,148,226,213/94E2D5;% +Sky,137,220,235/89DCEB;% +Sapphire,116,199,236/74C7EC;% +Blue,137,180,250/89B4FA;% +Lavender,180,190,254/B4BEFE;% +Text,205,214,244/CDD6F4;% +Subtext1,186,194,222/BAC2DE;% +Subtext0,166,173,200/A6ADC8;% +Overlay2,147,153,178/9399B2;% +Overlay1,127,132,156/7F849C;% +Overlay0,108,112,134/6C7086;% +Surface2,88,91,112/585B70;% +Surface1,69,71,90/45475A;% +Surface0,49,50,68/313244;% +Base,30,30,46/1E1E2E;% +Mantle,24,24,37/181825;% +Crust,17,17,27/11111B% +} +\colorlet{CatMochaBackground}{CatMochaBase} +\colorlet{CatMochaLink}{CatMochaBlue} +\colorlet{CatMochaSuccess}{CatMochaGreen} +\colorlet{CatMochaWarning}{CatMochaYellow} +\colorlet{CatMochaError}{CatMochaRed} +\colorlet{CatRosewater}{Cat\catppuccinpalette@style Rosewater} +\colorlet{CatFlamingo}{Cat\catppuccinpalette@style Flamingo} +\colorlet{CatPink}{Cat\catppuccinpalette@style Pink} +\colorlet{CatMauve}{Cat\catppuccinpalette@style Mauve} +\colorlet{CatRed}{Cat\catppuccinpalette@style Red} +\colorlet{CatMaroon}{Cat\catppuccinpalette@style Maroon} +\colorlet{CatPeach}{Cat\catppuccinpalette@style Peach} +\colorlet{CatYellow}{Cat\catppuccinpalette@style Yellow} +\colorlet{CatGreen}{Cat\catppuccinpalette@style Green} +\colorlet{CatTeal}{Cat\catppuccinpalette@style Teal} +\colorlet{CatSky}{Cat\catppuccinpalette@style Sky} +\colorlet{CatSapphire}{Cat\catppuccinpalette@style Sapphire} +\colorlet{CatBlue}{Cat\catppuccinpalette@style Blue} +\colorlet{CatLavender}{Cat\catppuccinpalette@style Lavender} +\colorlet{CatText}{Cat\catppuccinpalette@style Text} +\colorlet{CatSubtext1}{Cat\catppuccinpalette@style Subtext1} +\colorlet{CatSubtext0}{Cat\catppuccinpalette@style Subtext0} +\colorlet{CatOverlay2}{Cat\catppuccinpalette@style Overlay2} +\colorlet{CatOverlay1}{Cat\catppuccinpalette@style Overlay1} +\colorlet{CatOverlay0}{Cat\catppuccinpalette@style Overlay0} +\colorlet{CatSurface2}{Cat\catppuccinpalette@style Surface2} +\colorlet{CatSurface1}{Cat\catppuccinpalette@style Surface1} +\colorlet{CatSurface0}{Cat\catppuccinpalette@style Surface0} +\colorlet{CatBase}{Cat\catppuccinpalette@style Base} +\colorlet{CatMantle}{Cat\catppuccinpalette@style Mantle} +\colorlet{CatCrust}{Cat\catppuccinpalette@style Crust} +\colorlet{CatBackground}{Cat\catppuccinpalette@style Base} +\colorlet{CatLink}{Cat\catppuccinpalette@style Blue} +\colorlet{CatSuccess}{Cat\catppuccinpalette@style Green} +\colorlet{CatWarning}{Cat\catppuccinpalette@style Yellow} +\colorlet{CatError}{Cat\catppuccinpalette@style Red} +\ifcatppuccinpalette@pagecolor +\pagecolor{CatBackground} +\fi +\ifcatppuccinpalette@textcolor +\color{CatText} +\fi +\endinput +%% +%% End of file `catppuccinpalette.sty'. -- cgit v1.2.3