Skip to content

Commit

Permalink
DOC:matrix:Use only default colorsin example
Browse files Browse the repository at this point in the history
  • Loading branch information
ilayn committed Jun 16, 2020
1 parent 9e5b1af commit 7e0da7e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/generic/pgf/text-en/pgfmanual-en-tikz-matrices.tex
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ \subsubsection{Cell Styles and Options}
\begin{tikzpicture}[
font=\sffamily,
striped col/.style={column #1/.append style={
every even row/.style={nodes={fill=lime!50}}}},
every even row/.style={nodes={fill=olive!50}}}},
head color/.style args={#1/#2}{column #1/.append style={
row 1/.append style={nodes={fill=#2}}}}
]
Expand All @@ -499,11 +499,11 @@ \subsubsection{Cell Styles and Options}
striped col/.list={1,...,5}, % add striped col style to all cols
column 1/.style={ % Override stripes and modify the feature column
row 1 column 1/.style={nodes={fill=none, draw=none}},
nodes={fill={rgb,256:red,184;green,184;blue,120}, inner ysep=0},
nodes={fill=olive, inner ysep=0},
},
% modify headers first via common styles and then specific colors
row 1/.style={nodes={text depth=0.2ex, text width=2cm, text=white}},
head color/.list={2/orange,3/olive,4/cyan,5/teal}
head color/.list={2/orange,3/teal,4/cyan,5/magenta}
] (m)
{
& Basic & Standard & Professional & Enterprise \\
Expand Down

0 comments on commit 7e0da7e

Please sign in to comment.