
* Initial work * # * Base color logic * Handle file urls * Improvements, fix snapshots * Add messages * Update changelog * Update storybook * Improvements * Messages * Review corrections * Bugfixes
25 lines
484 B
TypeScript
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" }
|
|
);
|