0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-18 18:51:29 -05:00

💄 Use more theme variables and less hard coded colors

This commit is contained in:
mathieu.brunot 2019-02-21 18:15:26 +01:00
parent b54c7e1b49
commit 2bcc229334
No known key found for this signature in database
GPG key ID: 81584BEAF692D7E0
10 changed files with 16 additions and 16 deletions

View file

@ -154,7 +154,7 @@
position: relative;
&::after {
background-color: $color-white;
background-color: $primary-ui-bg;
bottom: -3px;
content: "...";
padding-left: 10px;

View file

@ -185,7 +185,7 @@ ul.slider-dots {
&.current,
&:hover {
background-color: $color-white;
background-color: $dark-ui-bg;
}
}
@ -489,7 +489,7 @@ input.element-name {
width: 20px;
height: 20px;
margin-right: 10px;
background-color: $color-white;
background-color: $primary-ui-bg;
border: 1px solid $soft-ui-border;
box-shadow: inset 0 0 0 0 $main-ui-color ;
box-sizing: border-box;
@ -855,7 +855,7 @@ input[type=range]:focus::-ms-fill-upper {
&:hover {
&::after {
background-color: $color-white;
background-color: $dark-ui-bg;
border-radius: $br-small;
color: $medium-ui-text;
content: attr(alt);

View file

@ -153,7 +153,7 @@
margin-left: 1.5rem;
.color {
align-items: center;
background-color: $color-white;
background-color: $primary-ui-bg;
border: 3px dashed $color-gray-lighter;
cursor: pointer;
display: flex;
@ -201,7 +201,7 @@
}
.color-tooltip {
background-color: $color-white;
background-color: $primary-ui-bg;
border: 1px solid $color-gray-lighter;
border-radius: 3px;
left: -102px;
@ -217,7 +217,7 @@
max-width: 100px;
}
&::after {
background-color: $color-white;
background-color: $primary-ui-bg;
bottom: -32px;
border-bottom: 1px solid $color-gray-lighter;
border-right: 1px solid $color-gray-lighter;

View file

@ -6,7 +6,7 @@
// Copyright (c) 2015-2016 Juan de la Cruz <delacruzgarciajuan@gmail.com>
.project-bar {
background-color: $color-white;
background-color: $primary-ui-bg;
border-right: 1px solid $color-gray-lighter;
bottom: 0;
height: 100%;

View file

@ -361,7 +361,7 @@
width: 15px;
.color-bar-select {
background-color: $color-white;
background-color: $primary-ui-bg;
height: 3px;
left: -4px;
position: absolute;

View file

@ -42,7 +42,7 @@
}
&:hover {
background-color: $color-white;
background-color: $dark-ui-bg;
border-color: $soft-ui-border;
}

View file

@ -28,7 +28,7 @@
}
&:hover {
background-color: $primary-ui-bg;
background-color: $dark-ui-bg;
}
&.selected {

View file

@ -19,7 +19,7 @@
padding: $small $medium;
&:hover {
background-color: $primary-ui-bg;
background-color: $dark-ui-bg;
border-color: transparent;
}

View file

@ -74,7 +74,7 @@
}
&:hover {
background-color: $color-white;
background-color: $dark-ui-bg;
border-color: $soft-ui-border;
}
@ -130,7 +130,7 @@
}
&:hover {
background-color: $color-white;
background-color: $dark-ui-bg;
border-color: $soft-ui-border;
}
@ -274,7 +274,7 @@
}
&:hover {
background-color: $color-white;
background-color: $dark-ui-bg;
border-color: $soft-ui-border;
}

View file

@ -67,7 +67,7 @@
}
&:hover {
background-color: $color-white;
background-color: $dark-ui-bg;
border-color: $soft-ui-border;
}