Tweaked colors #64

This commit is contained in:
Lukas Martinelli 2017-01-10 19:41:39 +01:00
parent d40c704c69
commit 2426117233
3 changed files with 55 additions and 3 deletions

View file

@ -122,7 +122,7 @@ class LayerListItem extends React.Component {
render() { render() {
const itemStyle = { const itemStyle = {
fontWeight: 400, fontWeight: 400,
color: colors.lowgray, color: this.props.isSelected ? colors.white : colors.lowgray,
fontSize: fontSizes[5], fontSize: fontSizes[5],
borderLeft: 0, borderLeft: 0,
borderTop: 0, borderTop: 0,
@ -135,6 +135,8 @@ class LayerListItem extends React.Component {
cursor: 'pointer', cursor: 'pointer',
position: 'relative', position: 'relative',
padding: margins[1], padding: margins[1],
paddingLeft: margins[2],
paddingRight: margins[2],
borderColor: Color(colors.black).lighten(0.10).string(), borderColor: Color(colors.black).lighten(0.10).string(),
backgroundColor: colors.black, backgroundColor: colors.black,
lineHeight: 1.3, lineHeight: 1.3,

View file

@ -4,7 +4,7 @@ const baseColors = {
midgray: '#36383e', midgray: '#36383e',
lowgray: '#8e8e8e', lowgray: '#8e8e8e',
white: '#fff', white: '#f0f0f0',
blue: '#00d9f7', blue: '#00d9f7',
green: '#B4C7AD', green: '#B4C7AD',
orange: '#fb3', orange: '#fb3',

View file

@ -16,6 +16,51 @@ html {
background-color: rgb(28, 31, 36); background-color: rgb(28, 31, 36);
} }
/* CSS Reset */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
body {
line-height: 1;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
.chrome-picker { .chrome-picker {
background-color: #1c1f24 !important; background-color: #1c1f24 !important;
font-family: inherit !important; font-family: inherit !important;
@ -35,7 +80,12 @@ html {
::-webkit-scrollbar-thumb { ::-webkit-scrollbar-thumb {
border-radius: 6px; border-radius: 6px;
-webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3); -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
background-color: #40444e; background-color: #666;
padding-left: 2px; padding-left: 2px;
padding-right: 2px; padding-right: 2px;
} }
input:focus {
color: white !important;
outline: #8e8e8e auto 1px !important;
}