diff --git a/d2renderers/d2svg/style.css b/d2renderers/d2svg/style.css index cb85e5a9d..4f9413536 100644 --- a/d2renderers/d2svg/style.css +++ b/d2renderers/d2svg/style.css @@ -7,7 +7,7 @@ stroke-linejoin: round; } .blend { - mix-Blend-mode: multiply; + mix-blend-mode: multiply; opacity: 0.5; } diff --git a/main.go b/main.go index 5afbbaf67..eadbcec93 100644 --- a/main.go +++ b/main.go @@ -237,7 +237,7 @@ func run(ctx context.Context, ms *xmain.State) (err error) { return nil } -func compile(ctx context.Context, ms *xmain.State, plugin d2plugin.Plugin, sketch bool, pad, themeID, themeDarkID int64, inputPath, outputPath string, bundle bool, page playwright.Page) (_ []byte, written bool, _ error) { +func compile(ctx context.Context, ms *xmain.State, plugin d2plugin.Plugin, sketch bool, pad, themeID, darkThemeID int64, inputPath, outputPath string, bundle bool, page playwright.Page) (_ []byte, written bool, _ error) { input, err := ms.ReadPath(inputPath) if err != nil { return nil, false, err @@ -265,7 +265,7 @@ func compile(ctx context.Context, ms *xmain.State, plugin d2plugin.Plugin, sketc Pad: int(pad), Sketch: sketch, ThemeID: themeID, - DarkThemeID: themeDarkID, + DarkThemeID: darkThemeID, }) if err != nil { return nil, false, err