1
0
Fork 0
mirror of https://github.com/codex-team/codex.docs.git synced 2025-08-08 06:55:26 +02:00

Use vars for image tool colors

This commit is contained in:
Taly 2019-03-11 17:55:00 +03:00
parent 46b18a30e0
commit d94517b1ea
3 changed files with 4 additions and 4 deletions

File diff suppressed because one or more lines are too long

View file

@ -142,14 +142,14 @@
&--bordered { &--bordered {
img { img {
border: 3px solid #e8e8eb; border: 3px solid var(--color-gray-border);
box-sizing: border-box; box-sizing: border-box;
} }
} }
&--with-background { &--with-background {
padding: 15px; padding: 15px;
background: #eff2f5; background: var(--color-gray-border);
img { img {
max-width: 60%; max-width: 60%;

View file

@ -1,9 +1,9 @@
:root { :root {
--color-text-main: #1D202B; --color-text-main: #1D202B;
--color-text-second: #7B7E89; --color-text-second: #7B7E89;
--color-line-gray: #E8E8EB;
--color-link-active: #388AE5; --color-link-active: #388AE5;
--color-button-danger: #ff1629; --color-button-danger: #ff1629;
--color-line-gray: 232, 232, 235;
--color-gray-border: rgba(var(--color-line-gray), 0.48); --color-gray-border: rgba(var(--color-line-gray), 0.48);
/** /**