Common CSS (Spacing & Position Utilities)
FrankUI provides utility helper classes for rapid layout adjustments, positioning elements, and spacing. These utilities form the foundation for more advanced responsive interfaces.
Color Utilities
Apply background, foreground (text), and border colors quickly using prefix-based utility classes. All color utilities are defined with !important to guarantee they apply consistently.
Usage Pattern:
.bg-[color-name]- Sets background color.fg-[color-name]- Sets text/foreground color.bd-[color-name]- Sets border color
Primary Colors
Extended Colors
Neutral & Special Colors
Code Example
<!-- Custom alert panel using theme colors -->
<div class="bg-light border border-solid border-size-1 bd-orange p-3 rounded">
<h4 class="fg-crimson mt-0">Warning Notice</h4>
<p class="fg-charcoal mb-0">This action cannot be undone.</p>
</div>
<!-- Cobalt colored badge -->
<span class="bg-cobalt fg-white p-1 rounded">Admin</span>