From cfd771cb3ae42457b4304e3e2874381deb199417 Mon Sep 17 00:00:00 2001 From: Daniel <50356015+danny007in@users.noreply.github.com> Date: Wed, 23 Dec 2020 07:03:39 +0530 Subject: [PATCH] Docs improve (#3246) * Fixed Top nav demo img size * Added Dark mode Info --- docs/components/main-header.md | 2 +- docs/layout.md | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/docs/components/main-header.md b/docs/components/main-header.md index be4ce19c2..4ec0eec98 100644 --- a/docs/components/main-header.md +++ b/docs/components/main-header.md @@ -296,7 +296,7 @@ Top navbar example can be found in this [demo page](https://adminlte.io/themes/d
AdminLTE Logo + style="opacity: .8; max-height: 33px;"> AdminLTE 3 diff --git a/docs/layout.md b/docs/layout.md index 7249db42c..9ea4feb82 100644 --- a/docs/layout.md +++ b/docs/layout.md @@ -49,6 +49,13 @@ You can also use the following classes for responsive changes with placing {: .quote-info} +#### Dark Mode + +AdminLTE 3.1 provides a dark mode option. You can add in body tag: + +- `.dark-mode` + + #### Color Variations AdminLTE 3.1 provides a set of color variations to apply to your sidebar (light & dark) & navbar. You can combine any available color with these class prefixes: @@ -66,6 +73,10 @@ AdminLTE 3.1 provides a set of color variations to apply to your sidebar (light > You can combine `.navbar-*` with `.navbar-light` or `.navbar-dark`. {: .quote-info} +> ###### Recommended for Dark Mode +> You must use only `.navbar-dark` without only combination. +{: .quote-info} + The following colors are available: ##### Theme Colors