texlive[72060] Master/texmf-dist: catppuccinpalette (18aug24)
commits+karl at tug.org
commits+karl at tug.org
Sun Aug 18 21:48:26 CEST 2024
Revision: 72060
https://tug.org/svn/texlive?view=revision&revision=72060
Author: karl
Date: 2024-08-18 21:48:26 +0200 (Sun, 18 Aug 2024)
Log Message:
-----------
catppuccinpalette (18aug24)
Modified Paths:
--------------
trunk/Master/texmf-dist/doc/latex/catppuccinpalette/README.md
trunk/Master/texmf-dist/doc/latex/catppuccinpalette/catppuccinpalette.pdf
trunk/Master/texmf-dist/source/latex/catppuccinpalette/catppuccinpalette.dtx
trunk/Master/texmf-dist/source/latex/catppuccinpalette/catppuccinpalette.ins
trunk/Master/texmf-dist/tex/latex/catppuccinpalette/catppuccinpalette.sty
Modified: trunk/Master/texmf-dist/doc/latex/catppuccinpalette/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/catppuccinpalette/README.md 2024-08-18 19:48:14 UTC (rev 72059)
+++ trunk/Master/texmf-dist/doc/latex/catppuccinpalette/README.md 2024-08-18 19:48:26 UTC (rev 72060)
@@ -1,28 +1,75 @@
-# Readme for the package catppuccinPalette
+<h3 align="center">
+ <img src="https://raw.githubusercontent.com/catppuccin/catppuccin/main/assets/logos/exports/1544x1544_circle.png" width="100" alt="Logo"/><br/>
+ <img src="https://raw.githubusercontent.com/catppuccin/catppuccin/main/assets/misc/transparent.png" height="30" width="0px"/>
+ Catppuccin for <a href="https://www.latex-project.org/">LaTeX</a>
+ <img src="https://raw.githubusercontent.com/catppuccin/catppuccin/main/assets/misc/transparent.png" height="30" width="0px"/>
+</h3>
-Author: Lukas Heindl (`oss.heindl+latex at protonmail.com`).
+<p align="center">
+ <a href="https://github.com/catppuccin/latex/stargazers"><img src="https://img.shields.io/github/stars/catppuccin/latex?colorA=363a4f&colorB=b7bdf8&style=for-the-badge"></a>
+ <a href="https://github.com/catppuccin/latex/issues"><img src="https://img.shields.io/github/issues/catppuccin/latex?colorA=363a4f&colorB=f5a97f&style=for-the-badge"></a>
+ <a href="https://github.com/catppuccin/latex/contributors"><img src="https://img.shields.io/github/contributors/catppuccin/latex?colorA=363a4f&colorB=a6da95&style=for-the-badge"></a>
+</p>
-CTAN page: [catppuccinPalette](https://ctan.org/pkg/catppuccinpalette)
+<p align="center">
+ <img src="assets/preview.webp"/>
+</p>
-## License
-The LaTeX package `catppuccinPalette` is distributed under the LPPL 1.3 license.
+## Previews
-## Description
+<details>
+<summary>🌻 Latte</summary>
+<img src="assets/latte.webp"/>
+</details>
+<details>
+<summary>🪴 Frappé</summary>
+<img src="assets/frappe.webp"/>
+</details>
+<details>
+<summary>🌺 Macchiato</summary>
+<img src="assets/macchiato.webp"/>
+</details>
+<details>
+<summary>🌿 Mocha</summary>
+<img src="assets/mocha.webp"/>
+</details>
-The LaTeX package `catppuccinPalette` provides new colors for xcolor.
+## Usage
-## Installation
+### Importing the theme file
+1. The [catppuccinPalette](https://www.ctan.org/pkg/catppuccinpalette) package is present on CTAN, but probably not included in your TeX Live installation. Follow the steps below to install it manually:
+ - Shortcut: If you set up your local `texmf` you should be able to simply install by executing `make install` (this installs the package locally for the current user)
+ - If you don't like installing the package locally for the current user you might also execue `l3build unpack` and move the generated `.sty` file `build/unpacked/catppuccinpalette.sty` to the root directory of your project.
+ - If you don't have `l3build` available, you can also download the `catppuccinpalette.sty` file from the [latest GitHub release](https://github.com/catppuccin/latex/releases/latest) and move the file to your project root.
+2. Import the package by adding `\usepackage[FLAVOR]{catppuccinpalette}`, replacing `FLAVOR` with the flavor of your choice. i.e. `\usepackage[macchiato]{catppuccinpalette}`. Valid options are: mocha (default), latte, frappe, and macchiato.
+ - If you want the package not only to add color definitions, you can also pass `textcolor=true` and/or `pagecolor=true` to the `catppuccinpalette` package.
+ - Also note that in the pdf containing the documentation, the available options are described in more detail and also the defined colors are listed and shown.
-For a manual installation:
+### Color Naming Conventions
-* put the files `catppuccinpalette.ins` and `catppuccinpalette.dtx` in the same directory;
-* run `latex catppuccinpalette.ins` in that directory.
+All [Catppuccin palette colors](https://github.com/catppuccin/catppuccin#-palette), across all flavors, follow the same naming convention. This theme set prefixes all Catppuccin colors with `Ctp`, i.e. `CtpPeach`, or `CtpBlue`.
-The file `catppuccinpalette.sty` will be generated.
-The file `catppuccinpalette.sty` is the only file necessary to use the latex package `catppuccinPalette`.
-You have to put it in the same directory as your document or (best) in a `texmf` tree.
+### Examples
-Simplified version:
+Please refer to the [examples](https://github.com/catppuccin/latex/tree/main/examples) for full demonstrations, with LaTeX sources and their outputs, on theme usage and code highlighting.
-* run `l3build unpack` to generate the `.sty` in `build/unpacked/`
+## 💝 Thanks to
+
+- [Lukas](https://github.com/atticus-sullivan)
+- [Brandon](https://github.com/walshyb)
+
+
+
+<p align="center">
+ <img src="https://raw.githubusercontent.com/catppuccin/catppuccin/main/assets/footers/gray0_ctp_on_line.svg?sanitize=true" />
+</p>
+
+<p align="center">
+ Copyright © 2021-present <a href="https://github.com/catppuccin" target="_blank">Catppuccin Org</a>
+</p>
+
+<p align="center">
+ <a href="https://github.com/catppuccin/catppuccin/blob/main/LICENSE"><img src="https://img.shields.io/static/v1.svg?style=for-the-badge&label=License&message=MIT&logoColor=d9e0ee&colorA=363a4f&colorB=b7bdf8"/></a>
+</p>
+
Modified: trunk/Master/texmf-dist/doc/latex/catppuccinpalette/catppuccinpalette.pdf
===================================================================
(Binary files differ)
Modified: trunk/Master/texmf-dist/source/latex/catppuccinpalette/catppuccinpalette.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/catppuccinpalette/catppuccinpalette.dtx 2024-08-18 19:48:14 UTC (rev 72059)
+++ trunk/Master/texmf-dist/source/latex/catppuccinpalette/catppuccinpalette.dtx 2024-08-18 19:48:26 UTC (rev 72060)
@@ -1,22 +1,27 @@
% \iffalse meta-comment
%
-% Copyright (C) 2024 by Lukas Heindl <oss.heindl+latex at protonmail.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.
+% MIT License
+%
+% Copyright (c) 2024 Catppuccin
+%
+% Permission is hereby granted, free of charge, to any person obtaining a copy
+% of this software and associated documentation files (the "Software"), to deal
+% in the Software without restriction, including without limitation the rights
+% to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+% copies of the Software, and to permit persons to whom the Software is
+% furnished to do so, subject to the following conditions:
+%
+% The above copyright notice and this permission notice shall be included in all
+% copies or substantial portions of the Software.
+%
+% THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+% IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+% FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+% AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+% LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+% OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+% SOFTWARE.
%
-% This work has the LPPL maintenance status `maintained'.
-%
-% The Current Maintainer of this work is Lukas Heindl.
-%
-% This work consists of the files catppuccinpalette.dtx and catppuccinpalette.ins
-% and the derived filebase catppuccinpalette.sty.
-%
% \fi
%
% \iffalse
@@ -26,7 +31,7 @@
%<package>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
%<package>\ProvidesPackage{catppuccinpalette}
%<*package>
- [2024/05/22 v1.0.2 catppuccin xcolor palette]
+ [2024/08/13 v1.1.0 catppuccin xcolor palette]
%</package>
%
%<*driver>
@@ -69,13 +74,15 @@
% \changes{v1.0.0}{2024/02/27}{First full release}
% \changes{v1.0.1}{2024/05/19}{Make fit for CTAN}
% \changes{v1.0.2}{2024/05/19}{Fix colors in documentation}
+% \changes{v1.1.0}{2024/08/13}{Move to / Merge with official catppuccin. Thereby deprecate colors with |Cat| prefix. Subject to removal in the future}
%
% \DoNotIndex{\newcommand,\newenvironment,\color,\colorlet,\def,\fi,\RequirePackage,\ProvidesPackage,\ProcessPgfOptions,\preparecolorset,\pgfkeys,\pagecolor,\newif,\NeedsTeXFormat}
%
+% \providecommand*\pkg{\textsf}
% \providecommand*{\url}{\texttt}
% \GetFileInfo{catppuccinpalette.dtx}
% \title{The \textsf{catppuccinPalette} package}
-% \author{Lukas Heindl \\ \url{oss.heindl+latex at protonmail.com} \\ \url{https://github.com/atticus-sullivan/catpuccinPalette}}
+% \author{Lukas Heindl \\ \url{oss.heindl+latex at protonmail.com} \\ \url{https://github.com/catppuccin/latex}}
% \date{\fileversion~from \filedate}
%
% \maketitle
@@ -95,7 +102,7 @@
%
% Load via |\usepackage{catppuccinpalette}|
%
-% Just use the new colors (prefixed with \verb|Cat<Style>|) like normal xcolors.
+% Just use the new colors (prefixed with \verb|Ctp<Style>|) like normal xcolors.
% In addition to the usual colors of the palette, this package defines some
% colors according to the
% style guide\footnote{\url{https://github.com/catppuccin/catppuccin/blob/main/docs/style-guide.md}}
@@ -102,7 +109,7 @@
% for ease of use.
%
% This package also allows you to set a specific style which sets the shortened
-% color names (prefixed only with \verb|Cat|) to the selected style (allows for
+% color names (prefixed only with \verb|Ctp|) to the selected style (allows for
% easy switching style) via the package option \verb|style|.
%
% This package loads xcolor (without options) so if you want to set some xcolor
@@ -113,16 +120,21 @@
% \emph{Option} & \emph{Description}
% \\\toprule
% \verb|style| &
-% set the style used by the shortened prefix (\verb|Cat|). Possible values:
+% set the style used by the shortened prefix (\verb|Ctp|). Possible values:
% \verb|Latte| (default+initial), \verb|latte|, \verb|Frappe|, \verb|frappe|,
-% \verb|Mocha|, \verb|mocha|
+% \verb|Mocha|, \verb|mocha|, \verb|Macchiato|, \verb|macchiato|
% \\
+% &
+% As a shortcut, you can also just use e.\,g.\,
+% |\usepackage[latte]{catppuccinPalette}| as a shorthand for
+% |\usepackage[style=latte]{catppuccinPalette}|
+% \\
% \verb|textcolor| &
-% set the default textcolor of the document to \verb|CatText|. Possible values:
+% set the default textcolor of the document to \verb|CtpText|. Possible values:
% \verb|false| (default+initial), \verb|true|
% \\
% \verb|pagecolor| &
-% set the pagecolor of the document to \verb|CatBackground|. Possible values:
+% set the pagecolor of the document to \verb|CtpBackground|. Possible values:
% \verb|false| (default+initial), \verb|true|
% \\\midrule
% \verb|styleAll| &
@@ -130,50 +142,64 @@
% \\\bottomrule
% \end{tabularx}
%
+% \subsubsection{Change settings mid-document}
+% \DescribeMacro{\CtpReinit} |\CtpReinit[opts]|
+%
+% This command allows to reinitialize this package. All previous configuration
+% options will be kept. In particular this allows to change the active
+% style/flavor mid-document. Note that if you decided this package should
+% change the background color when loading the package and only do
+% |\CptReinit[style=<another style>]|, then the background color will also be
+% adjusted on reinitialization.
+%
+% The command processes the same options like the ones you can pass when
+% loading the package (see documentation above).
+%
% \subsection{Colors}
+% \textbf{Note:} The colors with the prefix |Cat| are deprecated and will be removed in a future version!
% \newcommand{\showCol}[1]{\raisebox{0.5ex}{\fcolorbox{black}{#1}{\hspace{1em}}} #1}
% \foreach \Style in {Latte,Frappe,Macchiato,Mocha}{
% \subsubsection{Style \texttt{\Style}}
% \begin{multicols}{2}
-% \showCol{Cat\Style Blue}\par
-% \showCol{Cat\Style Rosewater}\par
-% \showCol{Cat\Style Flamingo}\par
-% \showCol{Cat\Style Pink}\par
-% \showCol{Cat\Style Mauve}\par
-% \showCol{Cat\Style Red}\par
-% \showCol{Cat\Style Maroon}\par
-% \showCol{Cat\Style Peach}\par
-% \showCol{Cat\Style Yellow}\par
-% \showCol{Cat\Style Green}\par
-% \showCol{Cat\Style Teal}\par
-% \showCol{Cat\Style Sky}\par
-% \showCol{Cat\Style Sapphire}\par
-% \showCol{Cat\Style Blue}\par
-% \showCol{Cat\Style Lavender}\par
-% \showCol{Cat\Style Text}\par
-% \showCol{Cat\Style Subtext1}\par
-% \showCol{Cat\Style Subtext0}\par
-% \showCol{Cat\Style Overlay2}\par
-% \showCol{Cat\Style Overlay1}\par
-% \showCol{Cat\Style Overlay0}\par
-% \showCol{Cat\Style Surface2}\par
-% \showCol{Cat\Style Surface1}\par
-% \showCol{Cat\Style Surface0}\par
-% \showCol{Cat\Style Base}\par
-% \showCol{Cat\Style Mantle}\par
-% \showCol{Cat\Style Crust}\par
+% \showCol{Ctp\Style Blue}\par
+% \showCol{Ctp\Style Rosewater}\par
+% \showCol{Ctp\Style Flamingo}\par
+% \showCol{Ctp\Style Pink}\par
+% \showCol{Ctp\Style Mauve}\par
+% \showCol{Ctp\Style Red}\par
+% \showCol{Ctp\Style Maroon}\par
+% \showCol{Ctp\Style Peach}\par
+% \showCol{Ctp\Style Yellow}\par
+% \showCol{Ctp\Style Green}\par
+% \showCol{Ctp\Style Teal}\par
+% \showCol{Ctp\Style Sky}\par
+% \showCol{Ctp\Style Sapphire}\par
+% \showCol{Ctp\Style Blue}\par
+% \showCol{Ctp\Style Lavender}\par
+% \showCol{Ctp\Style Text}\par
+% \showCol{Ctp\Style Subtext1}\par
+% \showCol{Ctp\Style Subtext0}\par
+% \showCol{Ctp\Style Overlay2}\par
+% \showCol{Ctp\Style Overlay1}\par
+% \showCol{Ctp\Style Overlay0}\par
+% \showCol{Ctp\Style Surface2}\par
+% \showCol{Ctp\Style Surface1}\par
+% \showCol{Ctp\Style Surface0}\par
+% \showCol{Ctp\Style Base}\par
+% \showCol{Ctp\Style Mantle}\par
+% \showCol{Ctp\Style Crust}\par
% \end{multicols}
%
% Some basic colors according to the style guide:
%
% \begin{multicols}{2}
-% \showCol{Cat\Style Background}\par
-% \showCol{Cat\Style Link}\par
+% \showCol{Ctp\Style Background}\par
+% \showCol{Ctp\Style Link}\par
% \phantom{}\par
% \columnbreak
-% \showCol{Cat\Style Success}\par
-% \showCol{Cat\Style Warning}\par
-% \showCol{Cat\Style Error}\par
+% \showCol{Ctp\Style Success}\par
+% \showCol{Ctp\Style Warning}\par
+% \showCol{Ctp\Style Error}\par
% \end{multicols}
%
% }
@@ -201,16 +227,24 @@
% \end{macrocode}
% Define the package option keys
% \begin{macrocode}
+ Latte/.style={style=Latte},
+ latte/.style={style=Latte},
+ Frappe/.style={style=Frappe},
+ frappe/.style={style=Frappe},
+ Macchiato/.style={style=Macchiato},
+ macchiato/.style={style=Macchiato},
+ Mocha/.style={style=Mocha},
+ mocha/.style={style=Mocha},
style/.is choice,
style/.value required,
style/Latte/.code = {\def\catppuccinpalette at style{Latte}},
- style/latte/.forward to = /catppuccinPalette/style/Latte,
+ style/latte/.style = {style=Latte},
style/Frappe/.code = {\def\catppuccinpalette at style{Frappe}},
- style/frappe/.forward to = /catppuccinPalette/style/frappe,
+ style/frappe/.style = {style=Frappe},
style/Macchiato/.code = {\def\catppuccinpalette at style{Macchiato}},
- style/macchiato/.forward to = /catppuccinPalette/style/Macchiato,
+ style/macchiato/.style = {style=Macchiato},
style/Mocha/.code = {\def\catppuccinpalette at style{Mocha}},
- style/mocha/.forward to = /catppuccinPalette/style/Mocha,
+ style/mocha/.style = {style=Mocha},
textcolor/.is if = catppuccinpalette at textcolor,
textcolor/.default = true,
pagecolor/.is if = catppuccinpalette at pagecolor,
@@ -223,7 +257,7 @@
pagecolor = false,
style = Latte,
}
-\ProcessPgfOptions*
+\ProcessPgfOptions{catppuccinPalette}
% \end{macrocode}
% Define the \emph{Latte} colorset
% \begin{macrocode}
@@ -255,15 +289,49 @@
Mantle,230,233,239/E6E9EF;%
Crust,220,224,232/DCE0E8%
}
-% \end{macrocode}
-% Define colors according to the catppuccin style guide
-% \begin{macrocode}
\colorlet{CatLatteBackground}{CatLatteBase}
\colorlet{CatLatteLink}{CatLatteBlue}
\colorlet{CatLatteSuccess}{CatLatteGreen}
\colorlet{CatLatteWarning}{CatLatteYellow}
\colorlet{CatLatteError}{CatLatteRed}
+
+\preparecolorset{RGB/HTML}{CtpLatte}{}{%
+ 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%
+}
% \end{macrocode}
+% Define colors according to the catppuccin style guide
+% \begin{macrocode}
+\colorlet{CtpLatteBackground}{CtpLatteBase}
+\colorlet{CtpLatteLink}{CtpLatteBlue}
+\colorlet{CtpLatteSuccess}{CtpLatteGreen}
+\colorlet{CtpLatteWarning}{CtpLatteYellow}
+\colorlet{CtpLatteError}{CtpLatteRed}
+% \end{macrocode}
% Define the styles \emph{Frappe}, \emph{Macchiato} and \emph{Mocha} accordingly
% \begin{macrocode}
\preparecolorset{RGB/HTML}{CatFrappe}{}{%
@@ -299,6 +367,41 @@
\colorlet{CatFrappeSuccess}{CatFrappeGreen}
\colorlet{CatFrappeWarning}{CatFrappeYellow}
\colorlet{CatFrappeError}{CatFrappeRed}
+
+\preparecolorset{RGB/HTML}{CtpFrappe}{}{%
+ 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{CtpFrappeBackground}{CtpFrappeBase}
+\colorlet{CtpFrappeLink}{CtpFrappeBlue}
+\colorlet{CtpFrappeSuccess}{CtpFrappeGreen}
+\colorlet{CtpFrappeWarning}{CtpFrappeYellow}
+\colorlet{CtpFrappeError}{CtpFrappeRed}
+
\preparecolorset{RGB/HTML}{CatMacchiato}{}{%
Rosewater,244,219,214/F4DBD6;%
Flamingo,240,198,198/F0C6C6;%
@@ -332,6 +435,41 @@
\colorlet{CatMacchiatoSuccess}{CatMacchiatoGreen}
\colorlet{CatMacchiatoWarning}{CatMacchiatoYellow}
\colorlet{CatMacchiatoError}{CatMacchiatoRed}
+
+\preparecolorset{RGB/HTML}{CtpMacchiato}{}{%
+ 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{CtpMacchiatoBackground}{CtpMacchiatoBase}
+\colorlet{CtpMacchiatoLink}{CtpMacchiatoBlue}
+\colorlet{CtpMacchiatoSuccess}{CtpMacchiatoGreen}
+\colorlet{CtpMacchiatoWarning}{CtpMacchiatoYellow}
+\colorlet{CtpMacchiatoError}{CtpMacchiatoRed}
+
\preparecolorset{RGB/HTML}{CatMocha}{}{%
Rosewater,245,224,220/F5E0DC;%
Flamingo,242,205,205/F2CDCD;%
@@ -360,58 +498,140 @@
Mantle,24,24,37/181825;%
Crust,17,17,27/11111B%
}
-% \end{macrocode}
-% Define shortcuts for active style
-% \begin{macrocode}
\colorlet{CatMochaBackground}{CatMochaBase}
\colorlet{CatMochaLink}{CatMochaBlue}
\colorlet{CatMochaSuccess}{CatMochaGreen}
\colorlet{CatMochaWarning}{CatMochaYellow}
\colorlet{CatMochaError}{CatMochaRed}
-\colorlet{CatRosewater}{Cat\catppuccinpalette at style Rosewater}
-\colorlet{CatFlamingo}{Cat\catppuccinpalette at style Flamingo}
-\colorlet{CatPink}{Cat\catppuccinpalette at style Pink}
-\colorlet{CatMauve}{Cat\catppuccinpalette at style Mauve}
-\colorlet{CatRed}{Cat\catppuccinpalette at style Red}
-\colorlet{CatMaroon}{Cat\catppuccinpalette at style Maroon}
-\colorlet{CatPeach}{Cat\catppuccinpalette at style Peach}
-\colorlet{CatYellow}{Cat\catppuccinpalette at style Yellow}
-\colorlet{CatGreen}{Cat\catppuccinpalette at style Green}
-\colorlet{CatTeal}{Cat\catppuccinpalette at style Teal}
-\colorlet{CatSky}{Cat\catppuccinpalette at style Sky}
-\colorlet{CatSapphire}{Cat\catppuccinpalette at style Sapphire}
-\colorlet{CatBlue}{Cat\catppuccinpalette at style Blue}
-\colorlet{CatLavender}{Cat\catppuccinpalette at style Lavender}
-\colorlet{CatText}{Cat\catppuccinpalette at style Text}
-\colorlet{CatSubtext1}{Cat\catppuccinpalette at style Subtext1}
-\colorlet{CatSubtext0}{Cat\catppuccinpalette at style Subtext0}
-\colorlet{CatOverlay2}{Cat\catppuccinpalette at style Overlay2}
-\colorlet{CatOverlay1}{Cat\catppuccinpalette at style Overlay1}
-\colorlet{CatOverlay0}{Cat\catppuccinpalette at style Overlay0}
-\colorlet{CatSurface2}{Cat\catppuccinpalette at style Surface2}
-\colorlet{CatSurface1}{Cat\catppuccinpalette at style Surface1}
-\colorlet{CatSurface0}{Cat\catppuccinpalette at style Surface0}
-\colorlet{CatBase}{Cat\catppuccinpalette at style Base}
-\colorlet{CatMantle}{Cat\catppuccinpalette at style Mantle}
-\colorlet{CatCrust}{Cat\catppuccinpalette at style Crust}
-\colorlet{CatBackground}{Cat\catppuccinpalette at style Base}
-\colorlet{CatLink}{Cat\catppuccinpalette at style Blue}
-\colorlet{CatSuccess}{Cat\catppuccinpalette at style Green}
-\colorlet{CatWarning}{Cat\catppuccinpalette at style Yellow}
-\colorlet{CatError}{Cat\catppuccinpalette at style Red}
+
+\preparecolorset{RGB/HTML}{CtpMocha}{}{%
+ 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{CtpMochaBackground}{CtpMochaBase}
+\colorlet{CtpMochaLink}{CtpMochaBlue}
+\colorlet{CtpMochaSuccess}{CtpMochaGreen}
+\colorlet{CtpMochaWarning}{CtpMochaYellow}
+\colorlet{CtpMochaError}{CtpMochaRed}
+
% \end{macrocode}
-% Set (only initial) pagecolor according to the style guide if the user wants this
+% Define shortcuts for active style (legacy part)
% \begin{macrocode}
-\ifcatppuccinpalette at pagecolor
- \pagecolor{CatBackground}
-\fi
+\colorlet{CatRosewater}{Ctp\catppuccinpalette at style Rosewater}
+\colorlet{CatFlamingo}{Ctp\catppuccinpalette at style Flamingo}
+\colorlet{CatPink}{Ctp\catppuccinpalette at style Pink}
+\colorlet{CatMauve}{Ctp\catppuccinpalette at style Mauve}
+\colorlet{CatRed}{Ctp\catppuccinpalette at style Red}
+\colorlet{CatMaroon}{Ctp\catppuccinpalette at style Maroon}
+\colorlet{CatPeach}{Ctp\catppuccinpalette at style Peach}
+\colorlet{CatYellow}{Ctp\catppuccinpalette at style Yellow}
+\colorlet{CatGreen}{Ctp\catppuccinpalette at style Green}
+\colorlet{CatTeal}{Ctp\catppuccinpalette at style Teal}
+\colorlet{CatSky}{Ctp\catppuccinpalette at style Sky}
+\colorlet{CatSapphire}{Ctp\catppuccinpalette at style Sapphire}
+\colorlet{CatBlue}{Ctp\catppuccinpalette at style Blue}
+\colorlet{CatLavender}{Ctp\catppuccinpalette at style Lavender}
+\colorlet{CatText}{Ctp\catppuccinpalette at style Text}
+\colorlet{CatSubtext1}{Ctp\catppuccinpalette at style Subtext1}
+\colorlet{CatSubtext0}{Ctp\catppuccinpalette at style Subtext0}
+\colorlet{CatOverlay2}{Ctp\catppuccinpalette at style Overlay2}
+\colorlet{CatOverlay1}{Ctp\catppuccinpalette at style Overlay1}
+\colorlet{CatOverlay0}{Ctp\catppuccinpalette at style Overlay0}
+\colorlet{CatSurface2}{Ctp\catppuccinpalette at style Surface2}
+\colorlet{CatSurface1}{Ctp\catppuccinpalette at style Surface1}
+\colorlet{CatSurface0}{Ctp\catppuccinpalette at style Surface0}
+\colorlet{CatBase}{Ctp\catppuccinpalette at style Base}
+\colorlet{CatMantle}{Ctp\catppuccinpalette at style Mantle}
+\colorlet{CatCrust}{Ctp\catppuccinpalette at style Crust}
+\colorlet{CatBackground}{Ctp\catppuccinpalette at style Base}
+\colorlet{CatLink}{Ctp\catppuccinpalette at style Blue}
+\colorlet{CatSuccess}{Ctp\catppuccinpalette at style Green}
+\colorlet{CatWarning}{Ctp\catppuccinpalette at style Yellow}
+\colorlet{CatError}{Ctp\catppuccinpalette at style Red}
+
% \end{macrocode}
+% New command which parses the same options like the package. Can be used to e.\,g.\, reset/reinit the selected style.
+% \begin{macrocode}
+\NewDocumentCommand\CtpReinit{O{}}{%
+ \pgfkeys{%
+ /catppuccinPalette/.cd,%
+ #1%
+ }%
+% \end{macrocode}
+% Define shortcuts for active style
+% \begin{macrocode}
+ \colorlet{CtpRosewater}{Ctp\catppuccinpalette at style Rosewater}%
+ \colorlet{CtpFlamingo}{Ctp\catppuccinpalette at style Flamingo}%
+ \colorlet{CtpPink}{Ctp\catppuccinpalette at style Pink}%
+ \colorlet{CtpMauve}{Ctp\catppuccinpalette at style Mauve}%
+ \colorlet{CtpRed}{Ctp\catppuccinpalette at style Red}%
+ \colorlet{CtpMaroon}{Ctp\catppuccinpalette at style Maroon}%
+ \colorlet{CtpPeach}{Ctp\catppuccinpalette at style Peach}%
+ \colorlet{CtpYellow}{Ctp\catppuccinpalette at style Yellow}%
+ \colorlet{CtpGreen}{Ctp\catppuccinpalette at style Green}%
+ \colorlet{CtpTeal}{Ctp\catppuccinpalette at style Teal}%
+ \colorlet{CtpSky}{Ctp\catppuccinpalette at style Sky}%
+ \colorlet{CtpSapphire}{Ctp\catppuccinpalette at style Sapphire}%
+ \colorlet{CtpBlue}{Ctp\catppuccinpalette at style Blue}%
+ \colorlet{CtpLavender}{Ctp\catppuccinpalette at style Lavender}%
+ \colorlet{CtpText}{Ctp\catppuccinpalette at style Text}%
+ \colorlet{CtpSubtext1}{Ctp\catppuccinpalette at style Subtext1}%
+ \colorlet{CtpSubtext0}{Ctp\catppuccinpalette at style Subtext0}%
+ \colorlet{CtpOverlay2}{Ctp\catppuccinpalette at style Overlay2}%
+ \colorlet{CtpOverlay1}{Ctp\catppuccinpalette at style Overlay1}%
+ \colorlet{CtpOverlay0}{Ctp\catppuccinpalette at style Overlay0}%
+ \colorlet{CtpSurface2}{Ctp\catppuccinpalette at style Surface2}%
+ \colorlet{CtpSurface1}{Ctp\catppuccinpalette at style Surface1}%
+ \colorlet{CtpSurface0}{Ctp\catppuccinpalette at style Surface0}%
+ \colorlet{CtpBase}{Ctp\catppuccinpalette at style Base}%
+ \colorlet{CtpMantle}{Ctp\catppuccinpalette at style Mantle}%
+ \colorlet{CtpCrust}{Ctp\catppuccinpalette at style Crust}%
+ \colorlet{CtpBackground}{Ctp\catppuccinpalette at style Base}%
+ \colorlet{CtpLink}{Ctp\catppuccinpalette at style Blue}%
+ \colorlet{CtpSuccess}{Ctp\catppuccinpalette at style Green}%
+ \colorlet{CtpWarning}{Ctp\catppuccinpalette at style Yellow}%
+ \colorlet{CtpError}{Ctp\catppuccinpalette at style Red}%
+% \end{macrocode}
+% Set pagecolor according to the style guide if the user wants this
+% \begin{macrocode}
+\ifcatppuccinpalette at pagecolor%
+ \pagecolor{CtpBackground}%
+\fi%
+% \end{macrocode}
% Set textcolor according to the style guide if the user wants this
% \begin{macrocode}
-\ifcatppuccinpalette at textcolor
- \color{CatText}
-\fi
+\ifcatppuccinpalette at textcolor%
+ \color{CtpText}%
+\fi%
% \end{macrocode}
+% \begin{macrocode}
+}
+\CtpReinit[]
+% \end{macrocode}
\endinput
%
% \iffalse
Modified: trunk/Master/texmf-dist/source/latex/catppuccinpalette/catppuccinpalette.ins
===================================================================
--- trunk/Master/texmf-dist/source/latex/catppuccinpalette/catppuccinpalette.ins 2024-08-18 19:48:14 UTC (rev 72059)
+++ trunk/Master/texmf-dist/source/latex/catppuccinpalette/catppuccinpalette.ins 2024-08-18 19:48:26 UTC (rev 72060)
@@ -1,20 +1,24 @@
-%% Copyright (C) 2024 by Lukas Heindl <oss.heindl+latex at protonmail.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 Lukas Heindl.
-%%
-%% This work consists of the files catppuccinpalette.dtx and catppuccinpalette.ins
-%% and the derived filebase catppuccinpalette.sty.
-%%
+%% MIT License
+%%
+%% Copyright (c) 2021 Catppuccin
+%%
+%% Permission is hereby granted, free of charge, to any person obtaining a copy
+%% of this software and associated documentation files (the "Software"), to deal
+%% in the Software without restriction, including without limitation the rights
+%% to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+%% copies of the Software, and to permit persons to whom the Software is
+%% furnished to do so, subject to the following conditions:
+%%
+%% The above copyright notice and this permission notice shall be included in all
+%% copies or substantial portions of the Software.
+%%
+%% THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+%% IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+%% FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+%% AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+%% LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+%% OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+%% SOFTWARE.
\input docstrip.tex
\keepsilent
@@ -25,16 +29,26 @@
This is a generated file.
-Copyright (C) 2024 by Lukas Heindl <oss.heindl+latex at protonmail.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.
+Copyright (c) 2021 Catppuccin
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+
\endpreamble
\generate{\file{catppuccinpalette.sty}{\from{catppuccinpalette.dtx}{package}}}
Modified: trunk/Master/texmf-dist/tex/latex/catppuccinpalette/catppuccinpalette.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/catppuccinpalette/catppuccinpalette.sty 2024-08-18 19:48:14 UTC (rev 72059)
+++ trunk/Master/texmf-dist/tex/latex/catppuccinpalette/catppuccinpalette.sty 2024-08-18 19:48:26 UTC (rev 72060)
@@ -8,19 +8,29 @@
%%
%% This is a generated file.
%%
-%% Copyright (C) 2024 by Lukas Heindl <oss.heindl+latex at protonmail.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.
+%% Copyright (c) 2021 Catppuccin
%%
+%% Permission is hereby granted, free of charge, to any person obtaining a copy
+%% of this software and associated documentation files (the "Software"), to deal
+%% in the Software without restriction, including without limitation the rights
+%% to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+%% copies of the Software, and to permit persons to whom the Software is
+%% furnished to do so, subject to the following conditions:
+%%
+%% The above copyright notice and this permission notice shall be included in all
+%% copies or substantial portions of the Software.
+%%
+%% THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+%% IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+%% FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+%% AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+%% LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+%% OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+%% SOFTWARE.
+%%
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesPackage{catppuccinpalette}
- [2024/05/22 v1.0.2 catppuccin xcolor palette]
+ [2024/08/13 v1.1.0 catppuccin xcolor palette]
\NeedsTeXFormat{LaTeX2e}[1994/06/01]
\RequirePackage{pgfopts}
\RequirePackage{xcolor}
@@ -28,16 +38,24 @@
\newif\ifcatppuccinpalette at textcolor
\pgfkeys{
/catppuccinPalette/.cd,
+Latte/.style={style=Latte},
+latte/.style={style=Latte},
+Frappe/.style={style=Frappe},
+frappe/.style={style=Frappe},
+Macchiato/.style={style=Macchiato},
+macchiato/.style={style=Macchiato},
+Mocha/.style={style=Mocha},
+mocha/.style={style=Mocha},
style/.is choice,
style/.value required,
style/Latte/.code = {\def\catppuccinpalette at style{Latte}},
-style/latte/.forward to = /catppuccinPalette/style/Latte,
+style/latte/.style = {style=Latte},
style/Frappe/.code = {\def\catppuccinpalette at style{Frappe}},
-style/frappe/.forward to = /catppuccinPalette/style/frappe,
+style/frappe/.style = {style=Frappe},
style/Macchiato/.code = {\def\catppuccinpalette at style{Macchiato}},
-style/macchiato/.forward to = /catppuccinPalette/style/Macchiato,
+style/macchiato/.style = {style=Macchiato},
style/Mocha/.code = {\def\catppuccinpalette at style{Mocha}},
-style/mocha/.forward to = /catppuccinPalette/style/Mocha,
+style/mocha/.style = {style=Mocha},
textcolor/.is if = catppuccinpalette at textcolor,
textcolor/.default = true,
pagecolor/.is if = catppuccinpalette at pagecolor,
@@ -47,7 +65,7 @@
pagecolor = false,
style = Latte,
}
-\ProcessPgfOptions*
+\ProcessPgfOptions{catppuccinPalette}
\preparecolorset{RGB/HTML}{CatLatte}{}{%
Rosewater,220,138,120/DC8A78;%
Flamingo,221,120,120/DD7878;%
@@ -81,6 +99,40 @@
\colorlet{CatLatteSuccess}{CatLatteGreen}
\colorlet{CatLatteWarning}{CatLatteYellow}
\colorlet{CatLatteError}{CatLatteRed}
+
+\preparecolorset{RGB/HTML}{CtpLatte}{}{%
+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{CtpLatteBackground}{CtpLatteBase}
+\colorlet{CtpLatteLink}{CtpLatteBlue}
+\colorlet{CtpLatteSuccess}{CtpLatteGreen}
+\colorlet{CtpLatteWarning}{CtpLatteYellow}
+\colorlet{CtpLatteError}{CtpLatteRed}
\preparecolorset{RGB/HTML}{CatFrappe}{}{%
Rosewater,242,213,207/F2D5CF;%
Flamingo,238,190,190/EEBEBE;%
@@ -114,6 +166,41 @@
\colorlet{CatFrappeSuccess}{CatFrappeGreen}
\colorlet{CatFrappeWarning}{CatFrappeYellow}
\colorlet{CatFrappeError}{CatFrappeRed}
+
+\preparecolorset{RGB/HTML}{CtpFrappe}{}{%
+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{CtpFrappeBackground}{CtpFrappeBase}
+\colorlet{CtpFrappeLink}{CtpFrappeBlue}
+\colorlet{CtpFrappeSuccess}{CtpFrappeGreen}
+\colorlet{CtpFrappeWarning}{CtpFrappeYellow}
+\colorlet{CtpFrappeError}{CtpFrappeRed}
+
\preparecolorset{RGB/HTML}{CatMacchiato}{}{%
Rosewater,244,219,214/F4DBD6;%
Flamingo,240,198,198/F0C6C6;%
@@ -147,6 +234,41 @@
\colorlet{CatMacchiatoSuccess}{CatMacchiatoGreen}
\colorlet{CatMacchiatoWarning}{CatMacchiatoYellow}
\colorlet{CatMacchiatoError}{CatMacchiatoRed}
+
+\preparecolorset{RGB/HTML}{CtpMacchiato}{}{%
+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{CtpMacchiatoBackground}{CtpMacchiatoBase}
+\colorlet{CtpMacchiatoLink}{CtpMacchiatoBlue}
+\colorlet{CtpMacchiatoSuccess}{CtpMacchiatoGreen}
+\colorlet{CtpMacchiatoWarning}{CtpMacchiatoYellow}
+\colorlet{CtpMacchiatoError}{CtpMacchiatoRed}
+
\preparecolorset{RGB/HTML}{CatMocha}{}{%
Rosewater,245,224,220/F5E0DC;%
Flamingo,242,205,205/F2CDCD;%
@@ -180,43 +302,117 @@
\colorlet{CatMochaSuccess}{CatMochaGreen}
\colorlet{CatMochaWarning}{CatMochaYellow}
\colorlet{CatMochaError}{CatMochaRed}
-\colorlet{CatRosewater}{Cat\catppuccinpalette at style Rosewater}
-\colorlet{CatFlamingo}{Cat\catppuccinpalette at style Flamingo}
-\colorlet{CatPink}{Cat\catppuccinpalette at style Pink}
-\colorlet{CatMauve}{Cat\catppuccinpalette at style Mauve}
-\colorlet{CatRed}{Cat\catppuccinpalette at style Red}
-\colorlet{CatMaroon}{Cat\catppuccinpalette at style Maroon}
-\colorlet{CatPeach}{Cat\catppuccinpalette at style Peach}
-\colorlet{CatYellow}{Cat\catppuccinpalette at style Yellow}
-\colorlet{CatGreen}{Cat\catppuccinpalette at style Green}
-\colorlet{CatTeal}{Cat\catppuccinpalette at style Teal}
-\colorlet{CatSky}{Cat\catppuccinpalette at style Sky}
-\colorlet{CatSapphire}{Cat\catppuccinpalette at style Sapphire}
-\colorlet{CatBlue}{Cat\catppuccinpalette at style Blue}
-\colorlet{CatLavender}{Cat\catppuccinpalette at style Lavender}
-\colorlet{CatText}{Cat\catppuccinpalette at style Text}
-\colorlet{CatSubtext1}{Cat\catppuccinpalette at style Subtext1}
-\colorlet{CatSubtext0}{Cat\catppuccinpalette at style Subtext0}
-\colorlet{CatOverlay2}{Cat\catppuccinpalette at style Overlay2}
-\colorlet{CatOverlay1}{Cat\catppuccinpalette at style Overlay1}
-\colorlet{CatOverlay0}{Cat\catppuccinpalette at style Overlay0}
-\colorlet{CatSurface2}{Cat\catppuccinpalette at style Surface2}
-\colorlet{CatSurface1}{Cat\catppuccinpalette at style Surface1}
-\colorlet{CatSurface0}{Cat\catppuccinpalette at style Surface0}
-\colorlet{CatBase}{Cat\catppuccinpalette at style Base}
-\colorlet{CatMantle}{Cat\catppuccinpalette at style Mantle}
-\colorlet{CatCrust}{Cat\catppuccinpalette at style Crust}
-\colorlet{CatBackground}{Cat\catppuccinpalette at style Base}
-\colorlet{CatLink}{Cat\catppuccinpalette at style Blue}
-\colorlet{CatSuccess}{Cat\catppuccinpalette at style Green}
-\colorlet{CatWarning}{Cat\catppuccinpalette at style Yellow}
-\colorlet{CatError}{Cat\catppuccinpalette at style Red}
-\ifcatppuccinpalette at pagecolor
-\pagecolor{CatBackground}
-\fi
-\ifcatppuccinpalette at textcolor
-\color{CatText}
-\fi
+
+\preparecolorset{RGB/HTML}{CtpMocha}{}{%
+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{CtpMochaBackground}{CtpMochaBase}
+\colorlet{CtpMochaLink}{CtpMochaBlue}
+\colorlet{CtpMochaSuccess}{CtpMochaGreen}
+\colorlet{CtpMochaWarning}{CtpMochaYellow}
+\colorlet{CtpMochaError}{CtpMochaRed}
+
+\colorlet{CatRosewater}{Ctp\catppuccinpalette at style Rosewater}
+\colorlet{CatFlamingo}{Ctp\catppuccinpalette at style Flamingo}
+\colorlet{CatPink}{Ctp\catppuccinpalette at style Pink}
+\colorlet{CatMauve}{Ctp\catppuccinpalette at style Mauve}
+\colorlet{CatRed}{Ctp\catppuccinpalette at style Red}
+\colorlet{CatMaroon}{Ctp\catppuccinpalette at style Maroon}
+\colorlet{CatPeach}{Ctp\catppuccinpalette at style Peach}
+\colorlet{CatYellow}{Ctp\catppuccinpalette at style Yellow}
+\colorlet{CatGreen}{Ctp\catppuccinpalette at style Green}
+\colorlet{CatTeal}{Ctp\catppuccinpalette at style Teal}
+\colorlet{CatSky}{Ctp\catppuccinpalette at style Sky}
+\colorlet{CatSapphire}{Ctp\catppuccinpalette at style Sapphire}
+\colorlet{CatBlue}{Ctp\catppuccinpalette at style Blue}
+\colorlet{CatLavender}{Ctp\catppuccinpalette at style Lavender}
+\colorlet{CatText}{Ctp\catppuccinpalette at style Text}
+\colorlet{CatSubtext1}{Ctp\catppuccinpalette at style Subtext1}
+\colorlet{CatSubtext0}{Ctp\catppuccinpalette at style Subtext0}
+\colorlet{CatOverlay2}{Ctp\catppuccinpalette at style Overlay2}
+\colorlet{CatOverlay1}{Ctp\catppuccinpalette at style Overlay1}
+\colorlet{CatOverlay0}{Ctp\catppuccinpalette at style Overlay0}
+\colorlet{CatSurface2}{Ctp\catppuccinpalette at style Surface2}
+\colorlet{CatSurface1}{Ctp\catppuccinpalette at style Surface1}
+\colorlet{CatSurface0}{Ctp\catppuccinpalette at style Surface0}
+\colorlet{CatBase}{Ctp\catppuccinpalette at style Base}
+\colorlet{CatMantle}{Ctp\catppuccinpalette at style Mantle}
+\colorlet{CatCrust}{Ctp\catppuccinpalette at style Crust}
+\colorlet{CatBackground}{Ctp\catppuccinpalette at style Base}
+\colorlet{CatLink}{Ctp\catppuccinpalette at style Blue}
+\colorlet{CatSuccess}{Ctp\catppuccinpalette at style Green}
+\colorlet{CatWarning}{Ctp\catppuccinpalette at style Yellow}
+\colorlet{CatError}{Ctp\catppuccinpalette at style Red}
+
+\NewDocumentCommand\CtpReinit{O{}}{%
+\pgfkeys{%
+/catppuccinPalette/.cd,%
+#1%
+}%
+\colorlet{CtpRosewater}{Ctp\catppuccinpalette at style Rosewater}%
+\colorlet{CtpFlamingo}{Ctp\catppuccinpalette at style Flamingo}%
+\colorlet{CtpPink}{Ctp\catppuccinpalette at style Pink}%
+\colorlet{CtpMauve}{Ctp\catppuccinpalette at style Mauve}%
+\colorlet{CtpRed}{Ctp\catppuccinpalette at style Red}%
+\colorlet{CtpMaroon}{Ctp\catppuccinpalette at style Maroon}%
+\colorlet{CtpPeach}{Ctp\catppuccinpalette at style Peach}%
+\colorlet{CtpYellow}{Ctp\catppuccinpalette at style Yellow}%
+\colorlet{CtpGreen}{Ctp\catppuccinpalette at style Green}%
+\colorlet{CtpTeal}{Ctp\catppuccinpalette at style Teal}%
+\colorlet{CtpSky}{Ctp\catppuccinpalette at style Sky}%
+\colorlet{CtpSapphire}{Ctp\catppuccinpalette at style Sapphire}%
+\colorlet{CtpBlue}{Ctp\catppuccinpalette at style Blue}%
+\colorlet{CtpLavender}{Ctp\catppuccinpalette at style Lavender}%
+\colorlet{CtpText}{Ctp\catppuccinpalette at style Text}%
+\colorlet{CtpSubtext1}{Ctp\catppuccinpalette at style Subtext1}%
+\colorlet{CtpSubtext0}{Ctp\catppuccinpalette at style Subtext0}%
+\colorlet{CtpOverlay2}{Ctp\catppuccinpalette at style Overlay2}%
+\colorlet{CtpOverlay1}{Ctp\catppuccinpalette at style Overlay1}%
+\colorlet{CtpOverlay0}{Ctp\catppuccinpalette at style Overlay0}%
+\colorlet{CtpSurface2}{Ctp\catppuccinpalette at style Surface2}%
+\colorlet{CtpSurface1}{Ctp\catppuccinpalette at style Surface1}%
+\colorlet{CtpSurface0}{Ctp\catppuccinpalette at style Surface0}%
+\colorlet{CtpBase}{Ctp\catppuccinpalette at style Base}%
+\colorlet{CtpMantle}{Ctp\catppuccinpalette at style Mantle}%
+\colorlet{CtpCrust}{Ctp\catppuccinpalette at style Crust}%
+\colorlet{CtpBackground}{Ctp\catppuccinpalette at style Base}%
+\colorlet{CtpLink}{Ctp\catppuccinpalette at style Blue}%
+\colorlet{CtpSuccess}{Ctp\catppuccinpalette at style Green}%
+\colorlet{CtpWarning}{Ctp\catppuccinpalette at style Yellow}%
+\colorlet{CtpError}{Ctp\catppuccinpalette at style Red}%
+\ifcatppuccinpalette at pagecolor%
+\pagecolor{CtpBackground}%
+\fi%
+\ifcatppuccinpalette at textcolor%
+\color{CtpText}%
+\fi%
+}
+\CtpReinit[]
\endinput
%%
%% End of file `catppuccinpalette.sty'.
More information about the tex-live-commits
mailing list.