Chore: Replace deprecated usage of shape.borderRadius() (#72672)

* properly mark borderRadius() as deprecated, replace borderRadius() with default

* undo a couple of changes

* use radius.pill in FilterPill
This commit is contained in:
Ashley Harrison
2023-08-01 14:46:07 +01:00
committed by GitHub
parent 522f298b27
commit e0587dfb30
106 changed files with 125 additions and 122 deletions

View File

@@ -84,7 +84,7 @@ const getStyles = (theme: GrafanaTheme2) => {
flex-shrink: 0;
cursor: pointer;
background: ${theme.colors.background.secondary};
border-radius: ${theme.shape.borderRadius()};
border-radius: ${theme.shape.radius.default};
box-shadow: ${theme.shadows.z1};
border: 1px solid ${theme.colors.background.secondary};
align-items: center;

View File

@@ -86,7 +86,7 @@ const getStyles = (theme: GrafanaTheme2) => {
vizBox: css`
position: relative;
background: none;
border-radius: ${theme.shape.borderRadius(1)};
border-radius: ${theme.shape.radius.default};
cursor: pointer;
border: 1px solid ${theme.colors.border.medium};