Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use softer @glow options for the blush #250

Merged
merged 2 commits into from
Sep 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tex/tikzpingus-emotions.lib.tex
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
blush/.default = pingu@red,
blush second/.code = \pingu@color{blush@second}{#1},
blush opacity/.code = \def\pingu@x@blush@opacity{#1},
}{blush opacity=.2525,blush second=\pingu@color@blush}
}{blush opacity=.35,blush second=\pingu@color@blush}
\def\pingu@draw@eb@blush{%
\pingu@block[/pingu/@glow,opacity=\pingu@x@blush@opacity]{\pingu@color@blush} ([yshift=-2.7mm,xshift=-1.85mm]\pingu@name-eye-right) ellipse [x radius=2.66mm,y radius=2.25mm];
\pingu@block[/pingu/@glow,opacity=\pingu@x@blush@opacity]{\pingu@color@blush@second} ([yshift=-2.7mm,xshift=1.85mm]\pingu@name-eye-left) ellipse [x radius=2.66mm,y radius=2.25mm];
Expand Down
4 changes: 2 additions & 2 deletions tex/tikzpingus.sty
Original file line number Diff line number Diff line change
Expand Up @@ -342,10 +342,10 @@
% #region glows
\ifpengu@setup@glows@
\usetikzlibrary{fadings}%
\tikzfading[name=pingu@halo fade out,inner color=transparent!0,outer color=transparent!100]
\tikzfading[name=pingu@halo fade out,inner color=transparent!39,outer color=transparent!100]
\pgfqkeys{/pingu}{@glow/.style={path fading={pingu@halo fade out},#1}}
\else
\pgfqkeys{/pingu}{@glow/.style={},/pingu/@saber@glow/.style={}}
\pgfqkeys{/pingu}{@glow/.style={}}
\fi
% #endregion
% #endregion
Expand Down
Loading