@@ -97,12 +97,13 @@ export const NavigationButtonContainer = styled.li`
9797`
9898
9999const StyledFormButton = styled . button `
100- color: ${ props => props . theme . secondaryButtonText } ;
101- background-color: ${ props => props . theme . secondaryButtonBackground } ;
102- border: ${ props => props . theme . secondaryButtonBorder } ;
100+ color: ${ props => props . theme . primaryButtonText } ;
101+ background-color: ${ props => props . theme . primaryButtonBackground } ;
102+ border: 1px solid ${ props => props . theme . primaryButtonBackground } ;
103103 font-family: ${ props => props . theme . primaryFontFamily } ;
104- padding: 6px 12px;
105- font-weight: 400;
104+ padding: 6px 18px;
105+ margin-right: 10px;
106+ font-weight: 600;
106107 font-size: 14px;
107108 text-align: center;
108109 white-space: nowrap;
@@ -113,7 +114,53 @@ const StyledFormButton = styled.button`
113114 &:hover {
114115 background-color: ${ props => props . theme . secondaryButtonBackgroundHover } ;
115116 color: ${ props => props . theme . secondaryButtonTextHover } ;
116- border: ${ props => props . theme . secondaryButtonBorderHover } ;
117+ border: 1px solid ${ props => props . theme . secondaryButtonBackgroundHover } ;
118+ }
119+ `
120+
121+ const StyledTagButton = styled ( StyledFormButton ) `
122+ background-color: ${ props => props . theme . secondaryButtonBackgroundHover } ;
123+ color: ${ props => props . theme . secondaryButtonTextHover } ;
124+ border: 1px solid ${ props => props . theme . secondaryButtonBackgroundHover } ;
125+ font-weight: 400;
126+ padding: 6px 30px 6px 12px;
127+ position: relative;
128+ text-align: left;
129+
130+ > i {
131+ background-color: ${ props => props . theme . primaryButtonText } ;
132+ border-radius: 50%;
133+ color: ${ props => props . theme . secondaryButtonBackgroundHover } ;
134+ position: absolute;
135+ right: 5px;
136+ top: 50%;
137+ transform: translateY(-50%);
138+ width: 18px;
139+ height: 18px;
140+ display: flex;
141+ align-items: center;
142+ justify-content: center;
143+
144+ > span {
145+ display: inline-block;
146+ vertical-align: middle;
147+ }
148+
149+ svg {
150+ display: block;
151+ width: 8px !important;
152+ height: 8px !important;
153+ }
154+
155+ line {
156+ stroke-width: 4px;
157+ }
158+ }
159+
160+ &:hover {
161+ > i {
162+ color: ${ props => props . theme . secondaryButtonBackgroundHover } ;
163+ }
117164 }
118165`
119166
@@ -138,6 +185,16 @@ export const StyledErrorBoundaryButton = styled(StyledFormButton)`
138185 background-color: #fbf1f0;
139186 }
140187`
188+ export const StyledDestructiveButton = styled ( StyledFormButton ) `
189+ color: #fff;
190+ border: 1px solid #da4433;
191+ background-color: #da4433;
192+ &:hover {
193+ color: #fff;
194+ border: 1px solid #da4433;
195+ background-color: #da4433;
196+ }
197+ `
141198const StyledDrawerFormButton = styled ( StyledSecondaryFormButton ) `
142199 color: #bcc0c9;
143200 border-color: #bcc0c9;
@@ -151,7 +208,9 @@ const StyledDrawerFormButton = styled(StyledSecondaryFormButton)`
151208const buttonTypes = {
152209 primary : StyledFormButton ,
153210 secondary : StyledSecondaryFormButton ,
154- drawer : StyledDrawerFormButton
211+ drawer : StyledDrawerFormButton ,
212+ destructive : StyledDestructiveButton ,
213+ tag : StyledTagButton
155214}
156215
157216export const FormButton = props => {
0 commit comments