Skip to content

Commit

Permalink
💄 [#2311] Changed info color into secondary color
Browse files Browse the repository at this point in the history
  • Loading branch information
jiromaykin committed Aug 27, 2024
1 parent b9e1ac8 commit 1dd0678
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
15 changes: 9 additions & 6 deletions src/open_inwoner/scss/components/KCMSurvey/KCMSurvey.scss
Original file line number Diff line number Diff line change
@@ -1,28 +1,31 @@
.kcm-survey {
display: inline-block;
border-top: 1px solid var(--color-info-darker);
border-color: var(--color-secondary-darker);
border-top: 1px solid var(--color-secondary-darker);
border-right: none;
border-bottom: none;
border-left: 1px solid var(--color-info-darker);
border-left: 1px solid var(--color-secondary-darker);
outline: 1px solid var(--color-white);
border-radius: var(--border-radius) 0 0 0;
position: fixed;
bottom: 0;
right: 0;
z-index: 1010;
padding: var(--spacing-medium);
background-color: var(--color-info-lighter);
background-color: var(--color-secondary-lightest);
font-size: var(--font-size-heading-card);
font-weight: bold;
writing-mode: initial;

& .link {
color: var(--color-info-darker);
color: var(--color-secondary-darker);
}

@media (min-width: 768px) {
border-width: 0;
border-color: initial;
border-top: 1px solid var(--color-secondary-darker);
border-right: 1px solid var(--color-secondary-darker);
border-bottom: 1px solid var(--color-secondary-darker);
border-left: none;
border-radius: 0 var(--border-radius) var(--border-radius) 0;
bottom: initial;
right: initial;
Expand Down
5 changes: 5 additions & 0 deletions src/open_inwoner/scss/views/App.scss
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,11 @@
calc(var(--color-secondary-s) - 30%),
calc(var(--color-secondary-l) + 30%)
);
--color-secondary-lightest: hsl(
var(--color-secondary-h),
calc(var(--color-secondary-s) - 30%),
calc(var(--color-secondary-l) + 50%)
);

--color-accent-h: 50;
--color-accent-s: 94%;
Expand Down

0 comments on commit 1dd0678

Please sign in to comment.