Skip to content

Commit e497b1e

Browse files
committed
fix: use right sass variable in fallback rgba fn
1 parent 8e5967d commit e497b1e

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

demo/dev-server.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ compiler.hooks.compilation.tap('CustomReloadDevServer', compilation => {
3131
HtmlWebpackPlugin.getHooks(compilation).beforeEmit.tapAsync(
3232
'CustomReloadDevServer', // <-- Set a meaningful name here for stacktraces
3333
(data, cb) => {
34-
const newHtml = data.html.source()
34+
const newHtml = data.html
3535
if (lastHtml !== newHtml) {
3636
hotMiddleware.publish({ action: 'reload' })
3737
}

lib/functions.sass

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
@if str-index($color, "--") == 1
5757
@return wrap(#{$color}--#{$alpha * 100}--rgba)
5858
@else
59-
@return color.change($color, $alpha: $perc)
59+
@return color.change($color, $alpha: $alpha)
6060
6161
@function adjust-hue($col, $deg)
6262
@if type-of($col) == 'color'

lib/package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "bulma-css-vars",
3-
"version": "0.5.2",
3+
"version": "0.5.3",
44
"description": "Bulma with CSS variables",
55
"keywords": [
66
"bulma",

0 commit comments

Comments
 (0)