Neutral

This palette is reserved for type, states of interactive components, border lines and stroke line.

Shades of Grey

Alpha (Transparencies)

Will be used when the page content should be covered and a dialog/modal will be on top

Blanket/Overlay

# Neutral CSS Classes

This document provides a clear and organized guide to the neutral color CSS classes, including text and background colors. Each class name corresponds to a specific shade of grey, making it easy for developers to implement consistent theming.

Usage

Apply the CSS classes in your HTML like this:

<p class="ayode-text-neutral-500">This is neutral text 500.</p>
<div class="ayode-bg-neutral-100">This is a neutral background 100.</div>

Neutral Color Classes

Text Colors

These classes are used to apply neutral colors to text.

Class Name Color Preview Hex Code
ayode-text-neutral-050 #FBFAFB #FBFAFB
ayode-text-neutral-100 #EEEEF1 #EEEEF1
ayode-text-neutral-200 #E4E4E7 #E4E4E7
ayode-text-neutral-300 #CAC8D1 #CAC8D1
ayode-text-neutral-400 #B2AFBB #B2AFBB
ayode-text-neutral-500 #928E9F #928E9F
ayode-text-neutral-600 #747283 #747283
ayode-text-neutral-700 #534F63 #534F63
ayode-text-neutral-800 #474358 #474358
ayode-text-neutral-900 #302C41 #302C41
ayode-text-neutral-950 #242035 #242035

Example:

<p class="ayode-text-neutral-700">This text uses ayode-text-neutral-700.</p>

Background Colors

These classes apply neutral shades as background colors.

Class Name Color Preview Hex Code
ayode-bg-neutral-050 #FBFAFB #FBFAFB
ayode-bg-neutral-100 🟫 #EEEEF1 #EEEEF1
ayode-bg-neutral-200 🟫 #E4E4E7 #E4E4E7
ayode-bg-neutral-300 🟫 #CAC8D1 #CAC8D1
ayode-bg-neutral-400 🟫 #B2AFBB #B2AFBB
ayode-bg-neutral-500 🟫 #928E9F #928E9F
ayode-bg-neutral-600 🟫 #747283 #747283
ayode-bg-neutral-700 🟫 #534F63 #534F63
ayode-bg-neutral-800 🟫 #474358 #474358
ayode-bg-neutral-900 🟫 #302C41 #302C41
ayode-bg-neutral-950 🟫 #242035 #242035

Example:

<div class="ayode-bg-neutral-200">
  This background uses ayode-bg-neutral-200.
</div>

Alpha (Transparency)

Used for overlays and modals.

Class Name Example Usage Description
ayode-overlay-50 50% opacity Light transparent overlay
ayode-overlay-75 75% opacity Darker transparent layer

Example:

<div class="ayode-overlay-50">This is an overlay with 50% transparency.</div>

Conclusion

These classes simplify the use of consistent neutral colors across your project. Choose the shade that best fits your UI design and apply it easily with the corresponding class.

Need more help? Feel free to ask! 😊