Skip to content

Commit

Permalink
fix: css fix + update theme
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanHotsiy committed Mar 20, 2018
1 parent b7afce9 commit 05403a7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions src/common-elements/fields-layout.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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%
);
}
Expand All @@ -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%
);
}
Expand Down
4 changes: 2 additions & 2 deletions src/theme.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { lighten } from 'polished';
import { lighten, adjustHue, desaturate } from 'polished';

const defaultTheme: ThemeInterface = {
spacingUnit: 20,
Expand Down Expand Up @@ -27,7 +27,7 @@ const defaultTheme: ThemeInterface = {
},
},
schemaView: {
linesColor: '#7f99cf',
linesColor: theme => lighten(0.25, desaturate(0.35, theme.colors.main)),
defaultDetailsWidth: '75%',
},
baseFont: {
Expand Down

0 comments on commit 05403a7

Please sign in to comment.