@braineet/ui
Version:
Braineet design system
25 lines • 707 B
JavaScript
import styled from 'styled-components';
import Strong from '../strong';
export var StyledLink = styled(Strong).withConfig({
displayName: "styles__StyledLink",
componentId: "sc-1a9dbcq-0"
})(["background-color:transparent;border-radius:", ";padding:0 ", ";text-decoration:underline;transition:background-color 0.3s ease-in-out;cursor:pointer;&:active,&:hover,&:focus{background-color:", ";}"], function (p) {
return p.theme.borderRadius.xs;
}, function (p) {
return p.theme.spaces.sm;
}, function (p) {
return p.theme.helpers.getPalette(p.color, 10);
});
export default {
sizes: {
small: {
text: 'xs'
},
medium: {
text: 'sm'
},
big: {
text: 'md'
}
}
};