How to change the callouts color in dark mode?
- 03 Aug 2022
- 1 Minuut om te lezen
-
Bijdragers
-
Afdrukken
-
DonkerLicht
-
Pdf
How to change the callouts color in dark mode?
- Bijgewerkt op 03 Aug 2022
- 1 Minuut om te lezen
-
Bijdragers
-
Afdrukken
-
DonkerLicht
-
Pdf
There is no Dutch content available for this article, You are viewing the fallback version (English).
You would want to change the callouts color in dark mode. Follow the below workaround to change the callouts color in dark mode.
Solution
- Go to Settings → Knowledge base site → Custom CSS & JavaScript, and Custom CSS tab is the default selection
- Paste the below snippet in the window
body.dark_theme .infoBox {
color: #ffffff;
background-color: #5f9ea0;
}
body.dark_theme .warningBox {
color: #ffffff;
background-color: #ff8c00;
}
body.dark_theme .errorBox {
color: #ffffff;
background-color: #a52a2a;
}
- Update the desired color for the callouts
color → Text color
background-color → Callout box color
- Click Save
Was dit artikel nuttig?