fix: css fix + update theme

This commit is contained in:
Roman Hotsiy 2018-03-20 11:17:59 +02:00
parent b7afce9481
commit 05403a7aa9
No known key found for this signature in database
GPG Key ID: 5CB7B3ACABA57CB0
2 changed files with 6 additions and 6 deletions

View File

@ -27,8 +27,8 @@ export const PropertyCell = styled.td`
background-image: linear-gradient(
to bottom,
transparent 0%,
transparent 21px,
${props => props.theme.schemaView.linesColor} 21px,
transparent 22px,
${props => props.theme.schemaView.linesColor} 22px,
${props => props.theme.schemaView.linesColor} 100%
);
}
@ -37,8 +37,8 @@ export const PropertyCell = styled.td`
background-image: linear-gradient(
to bottom,
${props => props.theme.schemaView.linesColor} 0%,
${props => props.theme.schemaView.linesColor} 21px,
transparent 21px,
${props => props.theme.schemaView.linesColor} 22px,
transparent 22px,
transparent 100%
);
}

View File

@ -1,4 +1,4 @@
import { lighten } from 'polished';
import { lighten, adjustHue, desaturate } from 'polished';
const defaultTheme: ThemeInterface = {
spacingUnit: 20,
@ -27,7 +27,7 @@ const defaultTheme: ThemeInterface = {
},
},
schemaView: {
linesColor: '#7f99cf',
linesColor: theme => lighten(0.25, desaturate(0.35, theme.colors.main)),
defaultDetailsWidth: '75%',
},
baseFont: {