Core: Update components to have standard radii (#65065)

* Update core border radii

* Add non-default border-radius on some grafana-ui items
This commit is contained in:
Tobias Skarhed
2023-03-21 12:24:50 +01:00
committed by GitHub
parent d8e32cc929
commit 590b07539f
11 changed files with 20 additions and 20 deletions

View File

@ -156,7 +156,7 @@ const getSearchStyles = (theme: GrafanaTheme2) => {
width: '100%',
background: theme.colors.background.primary,
color: theme.colors.text.primary,
borderRadius: theme.shape.borderRadius(2),
borderRadius: theme.shape.radius.default,
border: `1px solid ${theme.colors.border.weak}`,
overflow: 'hidden',
boxShadow: theme.shadows.z3,

View File

@ -79,7 +79,7 @@ const getResultItemStyles = (theme: GrafanaTheme2) => {
justifyContent: 'space-between',
cursor: 'pointer',
position: 'relative',
borderRadius: theme.shape.borderRadius(2),
borderRadius: theme.shape.radius.default,
margin: theme.spacing(0, 1),
}),
activeRow: css({
@ -93,7 +93,7 @@ const getResultItemStyles = (theme: GrafanaTheme2) => {
top: 0,
bottom: 0,
width: theme.spacing(0.5),
borderRadius: theme.shape.borderRadius(2),
borderRadius: theme.shape.radius.default,
backgroundImage: theme.colors.gradients.brandVertical,
},
}),