diff --git a/Sources/CropImage/DefaultControlsView.swift b/Sources/CropImage/DefaultControlsView.swift index 1e2d0a6..fd6ad54 100644 --- a/Sources/CropImage/DefaultControlsView.swift +++ b/Sources/CropImage/DefaultControlsView.swift @@ -34,7 +34,7 @@ public struct DefaultControlsView: View { .padding(.vertical, 3) .background( RoundedRectangle(cornerRadius: 5, style: .continuous) - .fill(.white) + .fill(.background) ) } .buttonStyle(.plain) @@ -59,7 +59,7 @@ public struct DefaultControlsView: View { .labelStyle(.iconOnly) .padding(1) .background( - Circle().fill(.white) + Circle().fill(.background) ) } .buttonStyle(.plain) diff --git a/Sources/CropImage/Documentation.docc/Documentation.md b/Sources/CropImage/Documentation.docc/Documentation.md index 9feee64..82af0b9 100644 --- a/Sources/CropImage/Documentation.docc/Documentation.md +++ b/Sources/CropImage/Documentation.docc/Documentation.md @@ -10,6 +10,8 @@ Supports iOS 14.0 and above, or macOS Ventura 13.0 and above. - Use `ImageRenderer` to render the cropped image, when possible - Very lightweight +![Preview on macOS](macos) + ## Topics ### Views diff --git a/Sources/CropImage/Documentation.docc/Resources/macos.png b/Sources/CropImage/Documentation.docc/Resources/macos.png new file mode 100644 index 0000000..ea62a7a Binary files /dev/null and b/Sources/CropImage/Documentation.docc/Resources/macos.png differ diff --git a/Sources/CropImage/Documentation.docc/Resources/macos~dark.png b/Sources/CropImage/Documentation.docc/Resources/macos~dark.png new file mode 100644 index 0000000..6059d96 Binary files /dev/null and b/Sources/CropImage/Documentation.docc/Resources/macos~dark.png differ