LouisMazel / maz-ui

Vue & Nuxt library of standalone components & tools to build interfaces

Home Page:https://maz-ui.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[QUESTION] Where is maz-ui binary?

ChaosChild opened this issue · comments

Describe the bug
I followed the instruction on how to change colours, etc. of the components here: https://louismazel.github.io/maz-ui/documentation/theme. When I run npm run get-theme, I get sh: 1: maz-ui: not found

To Reproduce
Follow the instruction on https://louismazel.github.io/maz-ui/documentation/theme till you get to "Execute the script".

Desktop (please complete the following information):

  • OS: Ubuntu 18.04
  • Browser Chrome
commented

Hi @ChaosChild,

I did a mistake in the documentation.
Please use maz get-theme instead of maz-ui get-theme

I will fix it

Tried npm run get-theme but getting

maz get-theme

sh: 1: maz: not found

commented

@privyreza

In the 3.x version, the binary does not exist anymore.
You juste have to override the CSS variables: https://louismazel.github.io/maz-ui-3/guide/theme.html

Thanks so much for the response. I can seem to be able to override the variables I tried this:

:root { --maz-bg-color-dark: #FFFFFF !important; --maz-bg-color-dark-light: #FFFFFF !important; --maz-bg-color-dark-lighter: #FFFFFF !important; }

But the component is not changing:
image

Here is my inspection:
image

Ohhh my bad, the issue is now fixed, the override was not working because I was scoping it.

Thanks again