Closed jpradocueva closed 2 months ago
From official Nuxt UI documentation:
"The primary color also has a DEFAULT shade that changes based on the theme. It is 500
in light mode and 400
in dark mode. You can use as a shortcut in your components and pages, e.g. text-primary
, bg-primary
, focus-visible:ring-primary
, etc."
PR connected to this issue
On development
branch, do a
git pull
and checkout this new feature;
Now, besides the default colors provided by Tailwind, we can use OMA colors and their different shades. Classes to use:
class
can be bg
, text
, border
, etc., and number
takes values from 50 to 950 like Tailwinds colors@FroudeDescartes, I work in a new branch, lf-1, PR, https://github.com/OpenMobileAlliance/oma-knowledge-base/pull/93. I play with the attributes and classes to see the best style. I am starting to use the colors defined above with the icons but I need to extend it to other constructors.
Completed.
tailwind.config.ts
file with their shades listing from values50
to950