From 74c452fcd7cb4ee66a582ff3a540b1a1cd549287 Mon Sep 17 00:00:00 2001 From: Arlen Johnson Date: Fri, 29 Sep 2023 08:56:49 -0400 Subject: [PATCH] Update co-color.css comment documentation (NOJIRA) (#129) --- app/webroot/css/co-color.css | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/app/webroot/css/co-color.css b/app/webroot/css/co-color.css index b74465bdb..1bf887a24 100644 --- a/app/webroot/css/co-color.css +++ b/app/webroot/css/co-color.css @@ -23,13 +23,11 @@ * @since COmanage registry v5.0.0 * @license Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0) * - * Colors use the convention --cmg-color-hue-number with optional comments to describe - * how they are used. Colors are mostly listed in order of prominence: the most pronounced colors - * are represented by the lowest numbers. The order is otherwise arbitrary and new colors can - * be added by appending to the list and incrementing the number. + * Color variables use the naming convention --cmg-color-[type][-optional number] * - * Dark mode: the body.dark-mode class will override the defaults (see the lower half of this file). - * :root sets the global defaults. body.dark-mode sets the dark mode defaults. + * Light and dark mode colors: + * :root sets the global defaults for light mode. + * The "html.dark-mode" section overrides all default variables for dark mode. */ /* COmanage Light Color Scheme (default) */