Styling: BackgroundColor
Oracle® JavaScript Extension Toolkit (JET)
17.1.0
G12196-01
Description
Classes to set a background color.
-
Category: Background Color
-
Sets the background color.
Class template:
-
.oj-bg-
[background-color]Note: Square brackets signify required token substitutions whereas parentheses signify optional token substitutions.
-
Values for
[background-color]Value (required) Name Description bodyBody background color in variable --oj-body-bg-color neutral-0Neutral 0 Neutral 0 background color neutral-10Neutral 10 Neutral 10 background color neutral-20Neutral 20 Neutral 20 background color neutral-30Neutral 30 Neutral 30 background color neutral-170Neutral 170 Neutral 170 background color neutral-180Neutral 180 Neutral 180 background color neutral-190Neutral 190 Neutral 190 background color neutral-200Neutral 200 Neutral 200 background color brand-10Brand 10 Brand 10 background color brand-20Brand 20 Brand 20 background color brand-30Brand 30 Brand 30 background color danger-10Danger 10 Danger 10 background color danger-20Danger 20 Danger 20 background color danger-30Danger 30 Danger 30 background color warning-10Warning 10 Warning 10 background color warning-20Warning 20 Warning 20 background color warning-30Warning 30 Warning 30 background color success-10Success 10 Success 10 background color success-20Success 20 Success 20 background color success-30Success 30 Success 30 background color info-10Info 10 Info 10 background color info-20Info 20 Info 20 background color info-30Info 30 Info 30 background color
Example
<div class="oj-bg-neutral-20">Div with a background color</div> -