Skip to content

Commit

Permalink
Merge pull request #312 from wpmudev/fix/color-picker-image-url
Browse files Browse the repository at this point in the history
fix(color-picker): import opaque image using require.
  • Loading branch information
emgk authored Jul 29, 2024
2 parents a9c5853 + a5c32da commit 1b78b38
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/assets/css/src/scss/_utils/_tokens.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

// Do not edit directly
// Generated on Tue, 09 Jul 2024 09:35:25 GMT
// Generated on Mon, 29 Jul 2024 05:11:07 GMT

$accordion-border-radius-sm: 10px;
$advanced-banner-background: linear-gradient(90deg, #222 0%, #383323 48.96%, #514524 100%);
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/color-picker/src/color-picker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { ColorPickerProps } from "./color-picker.types"
import { Button } from "@wpmudev/sui-button"
import { Input } from "@wpmudev/sui-input"

import PreviewImage from "./static/opaque.png"
const PreviewImage = require("./static/opaque.png")

import Picker from "./elements/picker"
import { _renderHTMLPropsSafely, generateCN } from "@wpmudev/sui-utils"
Expand Down

0 comments on commit 1b78b38

Please sign in to comment.