saleor-dashboard/src/components/Attributes/styles.ts
Piotr Grundas ebe56da583
Add swatch attributes (#1301)
* Initial work

* #

* Base color logic

* Handle file urls

* Improvements, fix snapshots

* Add messages

* Update changelog

* Update storybook

* Improvements

* Messages

* Review corrections

* Bugfixes
2021-09-21 15:16:21 +02:00

25 lines
484 B
TypeScript

import { makeStyles } from "@saleor/macaw-ui";
export const useStyles = makeStyles(
() => ({
fileField: {
float: "right"
},
pullRight: {
display: "flex",
justifyContent: "flex-end"
},
swatchInput: {
paddingTop: 16.5,
paddingBottom: 16.5
},
swatchPreview: {
width: 32,
height: 32,
borderRadius: 4,
backgroundSize: "cover",
backgroundPosition: "center"
}
}),
{ name: "AttributeRow" }
);