From 6f81d775848d6d0ff7a1a6572af55db042be75f6 Mon Sep 17 00:00:00 2001 From: Dave Welsch <116022979+dwelsch-esi@users.noreply.github.com> Date: Thu, 9 Jan 2025 21:42:28 -0800 Subject: [PATCH] Add formatting to make all code block boxes gray. (#3723) Signed-off-by: Dave Welsch --- Docs/_static/aimet-furo.css | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/Docs/_static/aimet-furo.css b/Docs/_static/aimet-furo.css index 80cdfac9ff3..624bcdf024d 100644 --- a/Docs/_static/aimet-furo.css +++ b/Docs/_static/aimet-furo.css @@ -1,4 +1,17 @@ - +/* + * AIMET color palette + */ +:root { + --aimet-blue: #3253dc; + --aimet-dark-blue: #0000ff; + --aimet-white: #ffffff; + --aimet-border-grey: #e0e0e0; + --aimet-menu-hover: #e3efff; + --aimet-menu-font-active: #0058ff; + --aimet-code-grey: #fafafa; + --aimet-light-blue: #e7f2fa; + } + aside.toc-drawer ul ul ul ul { display: none; } @@ -35,6 +48,10 @@ max-height: 25em; } +*.highlight pre, pre.literal-block { + background-color: var(--aimet-code-grey); +} + /* * Glossary formatting */