* GrafanaUI: Fix color of links in input validation errors in light theme
* Change colors
(cherry picked from commit 426ca2999e)
Co-authored-by: Josh Hunt <joshhunt@users.noreply.github.com>
This commit is contained in:
co-authored by
Josh Hunt
parent
954fbb0651
commit
fc736471ba
@@ -22,6 +22,15 @@ export const getFieldValidationMessageStyles = stylesFactory((theme: GrafanaThem
|
||||
border-radius: ${theme.shape.borderRadius()};
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
|
||||
a {
|
||||
color: ${theme.colors.error.contrastText};
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
`;
|
||||
|
||||
return {
|
||||
|
||||
@@ -187,11 +187,12 @@ function getStyles(theme: GrafanaTheme2) {
|
||||
}
|
||||
|
||||
a {
|
||||
color: ${theme.colors.text.link};
|
||||
color: ${tooltipText};
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
text-decoration: underline;
|
||||
text-decoration: none;
|
||||
}
|
||||
`;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user