standards-hub / docs

A documentation template made with Nuxt UI Pro.
https://standards-hub.github.io/docs/
0 stars 0 forks source link

[L&F] Tailwind Config OMA Colors #135

Closed jpradocueva closed 2 months ago

jpradocueva commented 2 months ago
FroudeDescartes commented 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."

FroudeDescartes commented 2 months ago

PR connected to this issue

FroudeDescartes commented 2 months ago

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:

jpradocueva commented 2 months ago

@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.

jpradocueva commented 2 months ago

Completed.