<commit_before>import React from 'react';
import styled from 'styled-components';

import { translucentGray } from 'react/styles/functions';
// import constants from 'react/styles/constants';

import Icon from 'react/components/UI/Icons';
import Box from 'react/components/UI/Box';

const Lock = styled(Icon).attrs({
  name: 'Lock',
  color: 'gray.medium',
  size: '10px',
})``;

const Container = styled(Box)`
  border: 1px solid ${translucentGray('regular')};
  border-radius: 0.25rem;
  padding: 3px;
  line-height: 0;
`;

const LockWithBorder = ({ ...rest }) => (
  <Container {...rest} >
    <Lock />
  </Container>
);

export default LockWithBorder;
<commit_msg>Make sure icon keeps its gray border<commit_after>import React from 'react';
import styled from 'styled-components';

import { translucentGray } from 'react/styles/functions';
// import constants from 'react/styles/constants';

import Icon from 'react/components/UI/Icons';
import Box from 'react/components/UI/Box';

const Lock = styled(Icon).attrs({
  name: 'Lock',
  color: 'gray.medium',
  size: '10px',
})``;

const Container = styled(Box)`
  border: 1px solid ${translucentGray('regular')} !important;
  border-radius: 0.25rem;
  padding: 3px;
  line-height: 0;
`;

const LockWithBorder = ({ ...rest }) => (
  <Container {...rest} >
    <Lock />
  </Container>
);

export default LockWithBorder;

{'fraction_non_alphanumeric': 0.16277372262773723, 'fraction_numerical': 0.01167883211678832, 'mean_word_length': 4.313953488372093, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4324916', 'n_tokens_mistral': 462, 'n_tokens_neox': 446, 'n_words': 119}