wtho
wtho
What seems works is adding a ref to the html input and use `this.$ref.referenceToTheInput.dispatchEvent` to notify Vue about the changes: `dispatchEvent('input')` if the value was manipulated 'manually' `dispatchEvent('blur')` if the...
@sandrina-p It would bloat up the css by adding the fallback to every color in css, which is still reasonable in my opinion. More critical is that * it would...
If I'm right one long-term working solution (which bloats up the resulting css a bit) would be: * Pass a default fallback color to bulma to generate a default theme...
Ok, so I gave it a try: `bulma-css-vars` [npm](https://www.npmjs.com/package/bulma-css-vars) | [github](https://github.com/wtho/bulma-css-vars) You have to * use Node.js to use this tool * declare your variables in js with initial colors...
I gave it a try to automate the process: [bulma-css-vars](https://github.com/wtho/bulma-css-vars) | [Demo](https://wtho.github.io/bulma-css-vars) For each sass function call it creates a new variable, e. g.: ```sass $green: var(--green) color: darken(findDarkColor($green), 5%)...
@Tofandel that's exactly what I did in https://github.com/wtho/bulma-css-vars
@pedropcruz @victorheid I highly suggest you open an issue at https://github.com/wtho/bulma-css-vars/issues instead of notifying over 20 participants and more possible observers of this issue.
Good point. Do you have any recommendations on any of the libraries? The functionality we need is: Parse CSS to AST, traverse it to find declarations where CSS variable is...
It is all just in [`lib/src/css-post-processor.ts`](https://github.com/wtho/bulma-css-vars/blob/master/lib/src/css-post-processor.ts). The code there is only used to create a css file with the default values in case a browser (IE basically) does not support...
The code containing Numeric Separators is part of the [color library](https://www.npmjs.com/package/color) ([source code](https://github.com/Qix-/color/blob/master/index.js#L257)), which is used by this package. Which node version do you use? Numeric Separators are supported by...