fix typos

This commit is contained in:
Vojtěch Fošnár 2023-01-13 13:12:18 +01:00
parent 19c53d5185
commit 5b32cf58b6
No known key found for this signature in database
GPG key ID: 657727E71C40859A
2 changed files with 3 additions and 3 deletions

View file

@ -7,7 +7,7 @@
stroke-linejoin: round; stroke-linejoin: round;
} }
.blend { .blend {
mix-Blend-mode: multiply; mix-blend-mode: multiply;
opacity: 0.5; opacity: 0.5;
} }

View file

@ -237,7 +237,7 @@ func run(ctx context.Context, ms *xmain.State) (err error) {
return nil 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) input, err := ms.ReadPath(inputPath)
if err != nil { if err != nil {
return nil, false, err return nil, false, err
@ -265,7 +265,7 @@ func compile(ctx context.Context, ms *xmain.State, plugin d2plugin.Plugin, sketc
Pad: int(pad), Pad: int(pad),
Sketch: sketch, Sketch: sketch,
ThemeID: themeID, ThemeID: themeID,
DarkThemeID: themeDarkID, DarkThemeID: darkThemeID,
}) })
if err != nil { if err != nil {
return nil, false, err return nil, false, err