12345678910111213141516171819202122 |
- import {Theme} from 'sentry/utils/theme';
- export const linkStyles = ({disabled, theme}: {theme: Theme; disabled?: boolean}) => `
- border-radius: ${theme.borderRadius};
- &.focus-visible {
- box-shadow: ${theme.linkFocus} 0 0 0 2px;
- text-decoration: none;
- outline: none;
- }
- ${
- disabled &&
- `
- color:${theme.disabled};
- pointer-events: none;
- :hover {
- color: ${theme.disabled};
- }
- `
- }
- `;
|