
* Extract "webhooks & events" to separate page * Create separate /custom-app/ path for custom apps with webhooks * Change all /webhooks/ paths to /custom-apps/ * Update messages * Update generated graphql types * Create findById util * Refactor consts and resolvers for custom app urls * Fix app graphql fragment * Update Miscellaneous icon for Webhooks and Events * Add tests for custom apps utils * Fix dark-mode Miscellaneous icon for Webhooks and Events * adjustments for autotests Co-authored-by: karolm-saleor <karol.macheta@saleor.io>
22 lines
483 B
TypeScript
22 lines
483 B
TypeScript
import { alpha } from "@material-ui/core/styles";
|
|
import { makeStyles } from "@saleor/macaw-ui";
|
|
|
|
export const useStyles = makeStyles(
|
|
theme => ({
|
|
cancel: {
|
|
marginRight: theme.spacing(1),
|
|
},
|
|
copy: {
|
|
marginTop: theme.spacing(),
|
|
position: "relative",
|
|
right: theme.spacing(1),
|
|
},
|
|
paper: {
|
|
background: alpha(theme.palette.primary.main, 0.05),
|
|
padding: theme.spacing(2, 3),
|
|
},
|
|
}),
|
|
{
|
|
name: "TokenCreateDialog",
|
|
},
|
|
);
|