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:
parent
b54c7e1b49
commit
2bcc229334
10 changed files with 16 additions and 16 deletions
|
@ -154,7 +154,7 @@
|
|||
position: relative;
|
||||
|
||||
&::after {
|
||||
background-color: $color-white;
|
||||
background-color: $primary-ui-bg;
|
||||
bottom: -3px;
|
||||
content: "...";
|
||||
padding-left: 10px;
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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%;
|
||||
|
|
|
@ -361,7 +361,7 @@
|
|||
width: 15px;
|
||||
|
||||
.color-bar-select {
|
||||
background-color: $color-white;
|
||||
background-color: $primary-ui-bg;
|
||||
height: 3px;
|
||||
left: -4px;
|
||||
position: absolute;
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
}
|
||||
|
||||
&:hover {
|
||||
background-color: $color-white;
|
||||
background-color: $dark-ui-bg;
|
||||
border-color: $soft-ui-border;
|
||||
}
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
}
|
||||
|
||||
&:hover {
|
||||
background-color: $primary-ui-bg;
|
||||
background-color: $dark-ui-bg;
|
||||
}
|
||||
|
||||
&.selected {
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
padding: $small $medium;
|
||||
|
||||
&:hover {
|
||||
background-color: $primary-ui-bg;
|
||||
background-color: $dark-ui-bg;
|
||||
border-color: transparent;
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -67,7 +67,7 @@
|
|||
}
|
||||
|
||||
&:hover {
|
||||
background-color: $color-white;
|
||||
background-color: $dark-ui-bg;
|
||||
border-color: $soft-ui-border;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue