mirror of
https://github.com/Redocly/redoc.git
synced 2025-02-12 16:00:33 +03:00
fix: css fix + update theme
This commit is contained in:
parent
b7afce9481
commit
05403a7aa9
|
@ -27,8 +27,8 @@ export const PropertyCell = styled.td`
|
||||||
background-image: linear-gradient(
|
background-image: linear-gradient(
|
||||||
to bottom,
|
to bottom,
|
||||||
transparent 0%,
|
transparent 0%,
|
||||||
transparent 21px,
|
transparent 22px,
|
||||||
${props => props.theme.schemaView.linesColor} 21px,
|
${props => props.theme.schemaView.linesColor} 22px,
|
||||||
${props => props.theme.schemaView.linesColor} 100%
|
${props => props.theme.schemaView.linesColor} 100%
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -37,8 +37,8 @@ export const PropertyCell = styled.td`
|
||||||
background-image: linear-gradient(
|
background-image: linear-gradient(
|
||||||
to bottom,
|
to bottom,
|
||||||
${props => props.theme.schemaView.linesColor} 0%,
|
${props => props.theme.schemaView.linesColor} 0%,
|
||||||
${props => props.theme.schemaView.linesColor} 21px,
|
${props => props.theme.schemaView.linesColor} 22px,
|
||||||
transparent 21px,
|
transparent 22px,
|
||||||
transparent 100%
|
transparent 100%
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { lighten } from 'polished';
|
import { lighten, adjustHue, desaturate } from 'polished';
|
||||||
|
|
||||||
const defaultTheme: ThemeInterface = {
|
const defaultTheme: ThemeInterface = {
|
||||||
spacingUnit: 20,
|
spacingUnit: 20,
|
||||||
|
@ -27,7 +27,7 @@ const defaultTheme: ThemeInterface = {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
schemaView: {
|
schemaView: {
|
||||||
linesColor: '#7f99cf',
|
linesColor: theme => lighten(0.25, desaturate(0.35, theme.colors.main)),
|
||||||
defaultDetailsWidth: '75%',
|
defaultDetailsWidth: '75%',
|
||||||
},
|
},
|
||||||
baseFont: {
|
baseFont: {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user