mirror of
https://github.com/grafana/grafana.git
synced 2026-09-05 04:40:13 -05:00
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:
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
},
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user