Commit bf2fcbed authored by Luke Schoen's avatar Luke Schoen
Browse files

refactor: Remove use of styled-components css from animation

parent a34decc0
Pipeline #28319 passed with stage
in 3 minutes and 24 seconds
......@@ -3,10 +3,10 @@
//
// SPDX-License-Identifier: BSD-3-Clause
import styled, { css } from 'styled-components';
import styled from 'styled-components';
import { SlideLeftIn } from '../../../assets/theme/shared/animations/SlideLeftIn.styles';
const animationRuleSlideLeftIn = css`
const DivTxForm = styled.div`
animation-name: ${SlideLeftIn}; /* required */
animation-duration: 0.25s; /* required */
animation-timing-function: ease-in;
......@@ -15,10 +15,6 @@ const animationRuleSlideLeftIn = css`
animation-direction: normal;
animation-fill-mode: normal;
animation-play-state: playing;
`;
const DivTxForm = styled.div`
${animationRuleSlideLeftIn};
border-radius: 0.25rem;
background: rgba(${props => props.theme.faint}, 0.25);
margin: 0.5rem 0;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment