mirror of
https://github.com/penpot/penpot.git
synced 2025-08-07 14:38:33 +02: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;
|
position: relative;
|
||||||
|
|
||||||
&::after {
|
&::after {
|
||||||
background-color: $color-white;
|
background-color: $primary-ui-bg;
|
||||||
bottom: -3px;
|
bottom: -3px;
|
||||||
content: "...";
|
content: "...";
|
||||||
padding-left: 10px;
|
padding-left: 10px;
|
||||||
|
|
|
@ -185,7 +185,7 @@ ul.slider-dots {
|
||||||
|
|
||||||
&.current,
|
&.current,
|
||||||
&:hover {
|
&:hover {
|
||||||
background-color: $color-white;
|
background-color: $dark-ui-bg;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -489,7 +489,7 @@ input.element-name {
|
||||||
width: 20px;
|
width: 20px;
|
||||||
height: 20px;
|
height: 20px;
|
||||||
margin-right: 10px;
|
margin-right: 10px;
|
||||||
background-color: $color-white;
|
background-color: $primary-ui-bg;
|
||||||
border: 1px solid $soft-ui-border;
|
border: 1px solid $soft-ui-border;
|
||||||
box-shadow: inset 0 0 0 0 $main-ui-color ;
|
box-shadow: inset 0 0 0 0 $main-ui-color ;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
@ -855,7 +855,7 @@ input[type=range]:focus::-ms-fill-upper {
|
||||||
&:hover {
|
&:hover {
|
||||||
|
|
||||||
&::after {
|
&::after {
|
||||||
background-color: $color-white;
|
background-color: $dark-ui-bg;
|
||||||
border-radius: $br-small;
|
border-radius: $br-small;
|
||||||
color: $medium-ui-text;
|
color: $medium-ui-text;
|
||||||
content: attr(alt);
|
content: attr(alt);
|
||||||
|
|
|
@ -153,7 +153,7 @@
|
||||||
margin-left: 1.5rem;
|
margin-left: 1.5rem;
|
||||||
.color {
|
.color {
|
||||||
align-items: center;
|
align-items: center;
|
||||||
background-color: $color-white;
|
background-color: $primary-ui-bg;
|
||||||
border: 3px dashed $color-gray-lighter;
|
border: 3px dashed $color-gray-lighter;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
@ -201,7 +201,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.color-tooltip {
|
.color-tooltip {
|
||||||
background-color: $color-white;
|
background-color: $primary-ui-bg;
|
||||||
border: 1px solid $color-gray-lighter;
|
border: 1px solid $color-gray-lighter;
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
left: -102px;
|
left: -102px;
|
||||||
|
@ -217,7 +217,7 @@
|
||||||
max-width: 100px;
|
max-width: 100px;
|
||||||
}
|
}
|
||||||
&::after {
|
&::after {
|
||||||
background-color: $color-white;
|
background-color: $primary-ui-bg;
|
||||||
bottom: -32px;
|
bottom: -32px;
|
||||||
border-bottom: 1px solid $color-gray-lighter;
|
border-bottom: 1px solid $color-gray-lighter;
|
||||||
border-right: 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>
|
// Copyright (c) 2015-2016 Juan de la Cruz <delacruzgarciajuan@gmail.com>
|
||||||
|
|
||||||
.project-bar {
|
.project-bar {
|
||||||
background-color: $color-white;
|
background-color: $primary-ui-bg;
|
||||||
border-right: 1px solid $color-gray-lighter;
|
border-right: 1px solid $color-gray-lighter;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
|
|
@ -361,7 +361,7 @@
|
||||||
width: 15px;
|
width: 15px;
|
||||||
|
|
||||||
.color-bar-select {
|
.color-bar-select {
|
||||||
background-color: $color-white;
|
background-color: $primary-ui-bg;
|
||||||
height: 3px;
|
height: 3px;
|
||||||
left: -4px;
|
left: -4px;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
|
|
@ -42,7 +42,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background-color: $color-white;
|
background-color: $dark-ui-bg;
|
||||||
border-color: $soft-ui-border;
|
border-color: $soft-ui-border;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background-color: $primary-ui-bg;
|
background-color: $dark-ui-bg;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.selected {
|
&.selected {
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
padding: $small $medium;
|
padding: $small $medium;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background-color: $primary-ui-bg;
|
background-color: $dark-ui-bg;
|
||||||
border-color: transparent;
|
border-color: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -74,7 +74,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background-color: $color-white;
|
background-color: $dark-ui-bg;
|
||||||
border-color: $soft-ui-border;
|
border-color: $soft-ui-border;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -130,7 +130,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background-color: $color-white;
|
background-color: $dark-ui-bg;
|
||||||
border-color: $soft-ui-border;
|
border-color: $soft-ui-border;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -274,7 +274,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background-color: $color-white;
|
background-color: $dark-ui-bg;
|
||||||
border-color: $soft-ui-border;
|
border-color: $soft-ui-border;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -67,7 +67,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background-color: $color-white;
|
background-color: $dark-ui-bg;
|
||||||
border-color: $soft-ui-border;
|
border-color: $soft-ui-border;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue