mirror of
https://github.com/Redocly/redoc.git
synced 2025-08-03 11:50:18 +03:00
Change theme default value as to meet WCAG
This commit is contained in:
parent
3d410b6002
commit
30190789a3
|
@ -288,8 +288,8 @@ You can use all of the following options with the standalone version of the <red
|
||||||
* `color`: # COMPUTED: colors.primary.main
|
* `color`: # COMPUTED: colors.primary.main
|
||||||
* `visited`: # COMPUTED: typography.links.color
|
* `visited`: # COMPUTED: typography.links.color
|
||||||
* `hover`: # COMPUTED: lighten(0.2 typography.links.color)
|
* `hover`: # COMPUTED: lighten(0.2 typography.links.color)
|
||||||
* `textDecoration`: 'auto'
|
* `textDecoration`: 'underline'
|
||||||
* `hoverTextDecoration`: 'auto'
|
* `hoverTextDecoration`: 'underline'
|
||||||
* `sidebar`
|
* `sidebar`
|
||||||
* `width`: '260px'
|
* `width`: '260px'
|
||||||
* `backgroundColor`: '#fafafa'
|
* `backgroundColor`: '#fafafa'
|
||||||
|
|
|
@ -128,8 +128,8 @@ const defaultTheme: ThemeInterface = {
|
||||||
color: ({ colors }) => colors.primary.main,
|
color: ({ colors }) => colors.primary.main,
|
||||||
visited: ({ typography }) => typography.links.color,
|
visited: ({ typography }) => typography.links.color,
|
||||||
hover: ({ typography }) => lighten(0.2, typography.links.color),
|
hover: ({ typography }) => lighten(0.2, typography.links.color),
|
||||||
textDecoration: 'auto',
|
textDecoration: 'underline',
|
||||||
hoverTextDecoration: 'auto',
|
hoverTextDecoration: 'underline',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
sidebar: {
|
sidebar: {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user