fix: updated the hover effect on the table to a lighter colour and used the theme border radius so they match the rest of the Backstage styling a bit more

Signed-off-by: Alex Lorenzi <alorenzi@spotify.com>
This commit is contained in:
Alex Lorenzi
2024-09-03 13:10:41 -04:00
parent 3c587ef789
commit f40a443621
2 changed files with 2 additions and 1 deletions
@@ -113,6 +113,7 @@ ${headings.reduce<string>((style, heading) => {
border: 1px solid var(--md-default-fg-color);
border-bottom: none;
border-collapse: collapse;
border-radius: ${theme.shape.borderRadius}px;
}
.md-typeset table:not([class]) th {
font-weight: bold;
@@ -139,7 +139,7 @@ export default ({ theme }: RuleOptions) => `
--md-typeset-color: var(--md-default-fg-color);
--md-typeset-a-color: ${theme.palette.link};
--md-typeset-table-color: ${theme.palette.text.primary};
--md-typeset-table-color--light: ${alpha(theme.palette.text.primary, 0.5)};
--md-typeset-table-color--light: ${alpha(theme.palette.text.primary, 0.05)};
--md-typeset-del-color: ${
theme.palette.type === 'dark'
? alpha(theme.palette.error.dark, 0.5)