Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing title dialog #4251

Merged
merged 15 commits into from
Sep 8, 2020
Merged
5 changes: 4 additions & 1 deletion assets/src/edit-story/components/dialog/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ import { rgba } from 'polished';
*/
import Modal from '../modal';

export const TRANSITION_DURATION = 300;

// Shadow styles ported from @material-ui/Dialog
const DialogBox = styled.div`
border-radius: 4px;
Expand All @@ -40,7 +42,8 @@ const DialogBox = styled.div`
0px 24px 38px 3px ${({ theme }) => rgba(theme.colors.bg.black, 0.14)},
0px 9px 46px 8px ${({ theme }) => rgba(theme.colors.bg.black, 0.12)};
color: ${({ theme }) => rgba(theme.colors.bg.black, 0.87)};
transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
transition: box-shadow ${TRANSITION_DURATION}ms cubic-bezier(0.4, 0, 0.2, 1)
0ms;
background-color: ${({ theme }) => theme.colors.fg.white};
`;

Expand Down
354 changes: 0 additions & 354 deletions assets/src/edit-story/components/header/buttons.js

This file was deleted.

Loading