Skip to content

Commit a32d082

Browse files
committed
match input colors
1 parent 29ddf26 commit a32d082

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

packages/app/src/app/pages/common/Modals/ShareModal2/elements.ts

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,9 @@ export const OptionDescription = styled.p(css({}));
9595

9696
export const Input = styled.input<{ code?: boolean }>(({ code }) =>
9797
css({
98-
backgroundColor: 'grays.700',
98+
backgroundColor: 'grays.800',
9999
border: '1px solid',
100-
borderColor: 'grays.800',
100+
borderColor: 'grays.600',
101101
color: 'white',
102102
fontSize: 3,
103103
borderRadius: 'small',
@@ -110,15 +110,15 @@ export const Input = styled.input<{ code?: boolean }>(({ code }) =>
110110
fontFamily: code ? 'code' : 'body',
111111

112112
':hover': {
113-
backgroundColor: 'grays.800',
113+
backgroundColor: 'grays.700',
114114
},
115115
':focus': {
116116
backgroundColor: 'grays.800',
117117
borderColor: 'grays.800',
118118
outline: 'none',
119119
},
120120
':disabled:hover': {
121-
backgroundColor: 'grays.700',
121+
backgroundColor: 'grays.800',
122122
},
123123
})
124124
);
@@ -206,7 +206,8 @@ export const SwitchBase = styled.span(
206206
width: 28,
207207
height: 14,
208208
borderRadius: 'large',
209-
background: '#040404',
209+
backgroundColor: 'grays.800',
210+
// TODO: add a focus state for switch
210211
})
211212
);
212213

packages/app/src/app/pages/common/Modals/ShareModal2/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ function ShareModal() {
332332
value={getIframeCode({ settings, sandbox })}
333333
ref={urlContainer}
334334
/>
335-
<Button onClick={copyEmbedCode}>
335+
<Button onClick={copyEmbedCode} style={{ marginBottom: 8 }}>
336336
{copied ? 'Copied!' : 'Copy Embed Code'}
337337
</Button>
338338
<Option multiline>

0 commit comments

Comments
 (0)