antoniandre / wave-ui

A UI framework for Vue.js 3 (and 2) with only the bright side. ☀️
https://antoniandre.github.io/wave-ui
MIT License
544 stars 39 forks source link

.base-bg-color missing? #141

Closed stevage closed 6 months ago

stevage commented 6 months ago

Not sure if I'm just doing something wrong or misunderstanding, but the docs say there should be a class .base-bg-color and it didn't seem to be there for me.

It should be defined something like:

.base-bg-color {
  background:rgb(var(--w-base-bg-color-rgb));
}
antoniandre commented 6 months ago

Hi @stevage,

You're right, and that's a documentation mistake. Here are the classes you can use as they are defined:

.w-app {
  .base-color {color: rgba(var(--w-base-color-rgb), 0.7);}
  .base-color--bg {background-color: rgb(var(--w-base-bg-color-rgb));}
  .contrast-color {color: rgba(var(--w-contrast-color-rgb), 0.7);}
  .contrast-color--bg {background-color: rgb(var(--w-contrast-bg-color-rgb));}
}

I will update the documentation now, thanks for reporting!