mirror of
https://github.com/Redocly/redoc.git
synced 2025-08-02 19:30:19 +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
|
||||
* `visited`: # COMPUTED: typography.links.color
|
||||
* `hover`: # COMPUTED: lighten(0.2 typography.links.color)
|
||||
* `textDecoration`: 'auto'
|
||||
* `hoverTextDecoration`: 'auto'
|
||||
* `textDecoration`: 'underline'
|
||||
* `hoverTextDecoration`: 'underline'
|
||||
* `sidebar`
|
||||
* `width`: '260px'
|
||||
* `backgroundColor`: '#fafafa'
|
||||
|
|
|
@ -128,8 +128,8 @@ const defaultTheme: ThemeInterface = {
|
|||
color: ({ colors }) => colors.primary.main,
|
||||
visited: ({ typography }) => typography.links.color,
|
||||
hover: ({ typography }) => lighten(0.2, typography.links.color),
|
||||
textDecoration: 'auto',
|
||||
hoverTextDecoration: 'auto',
|
||||
textDecoration: 'underline',
|
||||
hoverTextDecoration: 'underline',
|
||||
},
|
||||
},
|
||||
sidebar: {
|
||||
|
|
Loading…
Reference in New Issue
Block a user