bulma-divider icon indicating copy to clipboard operation
bulma-divider copied to clipboard

Bulma v1 Compability

Open iBotPeaches opened this issue 1 year ago • 1 comments

Bulma v1 dropped today :)

https://github.com/jgthms/bulma/releases/tag/1.0.0

error during build:
Error: Undefined variable.
  ╷
3 │ $divider-background-color: $border !default
  │                            ^^^^^^^
  ╵
  node_modules/@creativebulma/bulma-divider/src/sass/index.sass 3:28  @import
  resources/sass/app.scss 18:9                                        root stylesheet

iBotPeaches avatar Mar 22 '24 10:03 iBotPeaches

Workaround:

  1. Save the code to a file like _divier.scss
  2. Replace your import of bulma-divider with @use "_divider";

Code with fixed variables: https://gist.github.com/JonasDoesThings/717f23c727e877f01b7be1ffd9ecd029

JonasDoesThings avatar Jun 24 '24 19:06 JonasDoesThings