mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
LoadingBar: Use a theme variable instead of hardcoded hex color (#100407)
use the theme variable in our loadingbar instead of a hardcoded hex color
This commit is contained in:
parent
d48802cdfb
commit
d87ef806f0
@ -47,7 +47,7 @@ const getStyles = (theme: GrafanaTheme2, delay: number, duration: number) => {
|
||||
bar: css({
|
||||
width: BAR_WIDTH + '%',
|
||||
height: 1,
|
||||
background: 'linear-gradient(90deg, rgba(110, 159, 255, 0) 0%, #6E9FFF 80.75%, rgba(110, 159, 255, 0) 100%)',
|
||||
background: `linear-gradient(90deg, transparent 0%, ${theme.colors.primary.main} 80.75%, transparent 100%)`,
|
||||
transform: 'translateX(-100%)',
|
||||
willChange: 'transform',
|
||||
[theme.transitions.handleMotion('no-preference')]: {
|
||||
|
Loading…
Reference in New Issue
Block a user