mirror of
https://github.com/usebruno/bruno.git
synced 2026-07-07 14:08:38 +00:00
* feat:Added the option for bruno version edit * Conflicts resolved * Comments resolved * Comments fixed * Comments addressed * Comments addressed --------- Co-authored-by: bruno-sachin <bruno-sachin@brunos-MacBook-Air.local>
63 lines
1.7 KiB
JavaScript
63 lines
1.7 KiB
JavaScript
import styled from 'styled-components';
|
|
import { rgba } from 'polished';
|
|
|
|
const StyledWrapper = styled.div`
|
|
.icon-box {
|
|
&.location {
|
|
background-color: ${(props) => rgba(props.theme.textLink, 0.08)};
|
|
border: 1px solid ${(props) => rgba(props.theme.textLink, 0.09)};
|
|
|
|
svg {
|
|
color: ${(props) => props.theme.textLink};
|
|
}
|
|
}
|
|
|
|
&.environments {
|
|
background-color: ${(props) => rgba(props.theme.colors.text.green, 0.08)};
|
|
border: 1px solid ${(props) => rgba(props.theme.colors.text.green, 0.09)};
|
|
|
|
svg {
|
|
color: ${(props) => props.theme.colors.text.green};
|
|
}
|
|
}
|
|
|
|
&.requests {
|
|
background-color: ${(props) => rgba(props.theme.colors.text.purple, 0.08)};
|
|
border: 1px solid ${(props) => rgba(props.theme.colors.text.purple, 0.09)};
|
|
|
|
svg {
|
|
color: ${(props) => props.theme.colors.text.purple};
|
|
}
|
|
}
|
|
|
|
&.share {
|
|
background-color: ${(props) => rgba(props.theme.textLink, 0.08)};
|
|
border: 1px solid ${(props) => rgba(props.theme.textLink, 0.09)};
|
|
|
|
svg {
|
|
color: ${(props) => props.theme.textLink};
|
|
}
|
|
}
|
|
|
|
&.version {
|
|
background-color: ${(props) => rgba(props.theme.colors.text.yellow, 0.1)};
|
|
border: 1px solid ${(props) => rgba(props.theme.colors.text.yellow, 0.1)};
|
|
|
|
svg {
|
|
color: ${(props) => props.theme.colors.text.yellow};
|
|
}
|
|
}
|
|
|
|
&.generate-docs {
|
|
background-color: ${(props) => rgba(props.theme.accents.primary, 0.08)};
|
|
border: 1px solid ${(props) => rgba(props.theme.accents.primary, 0.09)};
|
|
|
|
svg {
|
|
color: ${(props) => props.theme.accents.primary};
|
|
}
|
|
}
|
|
}
|
|
`;
|
|
|
|
export default StyledWrapper;
|