From d94352d4df88a449b91720899289d8c4c293efb7 Mon Sep 17 00:00:00 2001
From: Nao Pross <np@0hm.ch>
Date: Fri, 17 Dec 2021 19:42:24 +0100
Subject: Add colors to packet figure

---
 doc/thesis/figures/tikz/packet-frame.tex | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

(limited to 'doc/thesis/figures/tikz/packet-frame.tex')

diff --git a/doc/thesis/figures/tikz/packet-frame.tex b/doc/thesis/figures/tikz/packet-frame.tex
index 8bef47b..e8e53ee 100644
--- a/doc/thesis/figures/tikz/packet-frame.tex
+++ b/doc/thesis/figures/tikz/packet-frame.tex
@@ -15,18 +15,18 @@
 	\matrix[
 		column sep = -1pt,
 		nodes = {
-			draw, rectangle, thick,
+			draw, rectangle, very thick,
 			minimum height = 12mm,
 			text width = 20mm,
 			align = center,
 		},
 	]{
-		\node {Preamble \\ \(k\) Bytes}; &
-		\node (pad) {Padding \\ 1 Bit}; &
-		\node (id) {ID \\ 5 Bits}; &
-		\node {Length \\ 21 Bits}; &
-		\node (par) {Parity \\ 5 Bits}; &
-		\node {Payload \\ \(\ell\) Bytes}; \\
+		\node[] {Preamble \\ \(k\) Bytes}; &
+		\node[fill=lightgray!20] (pad) {Padding \\ 1 Bit}; &
+		\node[fill=red!10] (id) {ID \\ 5 Bits}; &
+		\node[fill=red!10] {Length \\ 21 Bits}; &
+		\node[fill=red!10] (par) {Parity \\ 5 Bits}; &
+		\node[] {Payload \\ \(\ell\) Bytes}; \\
 		% \node{Padding }; \\
 	};
 
-- 
cgit v1.2.1

