Skip to content

Commit 8b7b3d6

Browse files
committed
Fix:Remove the transition for box-border and change the copyicon color along with the text-color
Signed-off-by: jagpreetrahi <jagpreet1615@gmail.com>
1 parent 3114734 commit 8b7b3d6

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

site/src/components/ShapeBuilder/shapeBuilder.styles.js

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,6 @@ export const OutputBox = styled.div`
111111
resize: none;
112112
font-family: monospace;
113113
font-size: 0.95rem;
114-
transition : border-color 0.3s ease;
115-
116114
&:focus {
117115
outline:none;
118116
border: 1px solid ${({ theme }) => theme.primary || "#009684"};
@@ -136,11 +134,11 @@ export const CopyButton = styled.button`
136134
display: flex;
137135
align-items: center;
138136
font-size: 12px;
139-
color: ${({ theme }) => theme.text};
137+
color: ${({ theme }) => theme.primary || "#009684"};
140138
141139
svg {
142-
color: ${({ theme }) => theme.text};
143-
fill: ${({ theme }) => theme.text};
140+
color: ${({ theme }) => theme.primary || "#009684"};
141+
fill: ${({ theme }) => theme.primary || "#009684"};
144142
}
145143
`;
146144

0 commit comments

Comments
 (0)