Skip to content

Commit 9cd69de

Browse files
authored
Merge pull request #210 from devgeniem/TMS-1203
TMS-1203: Style changes
2 parents 3894ab0 + a245ae0 commit 9cd69de

33 files changed

+171
-115
lines changed

CHANGELOG.MD

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,19 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
77

88
## [Unreleased]
99

10+
- TMS-1203: Style changes:
11+
- Change text color to black
12+
- Change text links to be underlined by default
13+
- Add icon to readspeaker button
14+
- Change secondary-button colors
15+
- Change color-light-gray variables color
16+
- Change quote- & key-figures-blocks font-family
17+
- Change key-figures color combinations
18+
- Change notice-banner color combination
19+
- Remove image-banner & notice-banner pseudo-elements
20+
- Change subpages-components layout
21+
- Change apply-method categories colors
22+
1023
## [1.12.1] - 2025-10-23
1124

1225
- TMS-1202: Allow type mistmatch for radio-button active check

assets/icons/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ import './veistospuisto.svg';
107107
import './vkontakte.svg';
108108
import './whatsapp.svg';
109109
import './update.svg';
110+
import './readspeaker.svg';
110111
import './remove.svg';
111112
import './place.svg';
112113
import './date-range.svg';

assets/icons/readspeaker.svg

Lines changed: 10 additions & 0 deletions
Loading

assets/styles/base/_typography.scss

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,17 @@ a {
5151
}
5252
}
5353

54+
.entry__content {
55+
p a {
56+
text-decoration: underline;
57+
58+
&:hover,
59+
&.is-hovered {
60+
text-decoration: none;
61+
}
62+
}
63+
}
64+
5465
.has-text-paragraph {
5566
color: $text !important; // sass-lint:disable-line no-important
5667
}

assets/styles/blocks/custom/_grid.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@
7373
&.has-colors-primary {
7474
color: $color-white;
7575

76-
.button {
76+
.button:not(.is-secondary) {
7777
color: $color-black !important;
7878

7979
.icon {

assets/styles/blocks/custom/_key-figures.scss

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.key-figures {
22
&__number {
3-
font-family: $family-tertiary;
3+
font-family: $family-secondary;
44

55
&.is-text-huge {
66
@include from($widescreen) {
@@ -21,20 +21,20 @@
2121

2222
&__row {
2323
&--light {
24-
background-color: #eff6ff;
25-
color: $color-semidark-blue;
24+
background-color: $color-light-gray;
25+
color: $text;
2626

2727
.key-figures__description {
28-
color: $color-black;
28+
color: $text;
2929
}
3030
}
3131

3232
&--accent {
33-
background-color: $color-green;
34-
color: $color-dark-blue;
33+
background-color: $color-light-petrol;
34+
color: $text;
3535

3636
.key-figures__description {
37-
color: $color-black;
37+
color: $text;
3838
}
3939
}
4040

assets/styles/blocks/custom/_notice-banner.scss

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,6 @@
22
position: relative;
33
overflow: hidden;
44

5-
&::before {
6-
@include from($desktop) {
7-
content: "";
8-
position: absolute;
9-
top: -11rem;
10-
right: -9rem;
11-
width: 17.75rem;
12-
height: 17.75rem;
13-
background-image: url('../images/hero-stripes.svg');
14-
background-repeat: no-repeat;
15-
background-size: cover;
16-
}
17-
}
18-
195
&.has-background-primary {
206
background-color: $primary;
217
color: $color-white;
@@ -26,11 +12,11 @@
2612
}
2713

2814
&.has-background-secondary {
29-
background-color: $color-light-blueishgray !important;
30-
color: $color-black;
15+
background-color: $color-light-gray !important;
16+
color: $text;
3117

3218
.notice-banner__title {
33-
color: $primary !important;
19+
color: $text !important;
3420
}
3521
}
3622

assets/styles/blocks/custom/_quote.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,14 @@
3535
}
3636

3737
.quote__author {
38-
color: $color-light-blueishgray;
38+
color: $color-light-gray;
3939
}
4040
}
4141

4242
&.has-background-white {
4343
.quote__content {
4444
color: $color-semidark-blue;
45-
font-family: $family-tertiary;
45+
font-family: $family-secondary;
4646
font-size: $size-1;
4747
letter-spacing: -.03em;
4848
line-height: 1;

assets/styles/helpers/_button.scss

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,9 @@ $button-transition-speed: $speed !default;
106106
}
107107

108108
&.is-secondary {
109-
background-color: $secondary;
110-
color: $primary;
109+
background-color: $primary;
110+
color: $primary-invert;
111+
border-color: $secondary;
111112

112113
&.is-outlined {
113114
color: $primary;
@@ -118,7 +119,7 @@ $button-transition-speed: $speed !default;
118119
}
119120

120121
.icon {
121-
fill: $primary;
122+
fill: $primary-invert;
122123
}
123124
}
124125

assets/styles/helpers/_checkradio.sass

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,6 @@ $checkradio-top-offset: 0rem !default
150150
&::before,
151151
&:before
152152
background: $primary
153-
border: .1rem solid $primary-invert
154153
&[disabled]
155154
cursor: not-allowed
156155
+ label
@@ -321,7 +320,6 @@ $checkradio-top-offset: 0rem !default
321320
&:after
322321
border-radius: 50%
323322
background: $primary-invert
324-
border: .1764rem solid $primary-invert
325323
left: 0
326324
transform: scale(0.5)
327325

0 commit comments

Comments
 (0)