Complete the code to apply a custom primary color using Bootstrap utility classes.
<button class="btn btn-[1]">Click me</button>
The btn-primary class applies the primary color to the button.
Complete the code to define a CSS variable for a custom color in Bootstrap.
:root { --bs-[1]: #ff6347; }The --bs-primary CSS variable sets the primary color in Bootstrap.
Fix the error in the code to correctly apply a custom background color using Bootstrap variables.
.custom-bg { background-color: var(--bs-[1]); }The correct CSS variable for the primary background color is --bs-primary.
Fill both blanks to create a CSS rule that changes the primary color and applies it to text.
:root { --bs-[1]: #4caf50; } .text-[2] { color: var(--bs-primary); }Setting --bs-primary changes the primary color, and .text-primary applies it to text.
Fill all three blanks to create a CSS custom theme with primary color, background, and border color.
:root { --bs-[1]: #007bff; --bs-[2]-bg-subtle: #e9f5ff; --bs-[3]-border-subtle: #80bdff; }The primary color is set with --bs-primary, background with --bs-primary-bg-subtle, and border with --bs-primary-border-subtle.
