Skip to content

Commit 6c85b4f

Browse files
committed
KTL-1240 feat: updated grey color, shrinked cards
1 parent 8211ad2 commit 6c85b4f

File tree

10 files changed

+16
-12
lines changed

10 files changed

+16
-12
lines changed

gatsby-browser.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
import './src/styles/palette.css';

postcss.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ module.exports = {
66
files: [
77
"node_modules/@rescui/typography/lib/mixins.pcss",
88
"node_modules/@jetbrains/kotlin-web-site-ui/out/components/breakpoints/media.pcss",
9-
"./src/components/Header/media.pcss"
9+
"./src/components/Header/media.pcss",
10+
"./src/styles/palette.css",
1011
]
1112
}),
1213
require('postcss-mixins'),

src/components/Grants/grants.module.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
justify-content: space-between;
3838
border-radius: 16px;
3939

40-
background: var(--ktl-light-grey);
40+
background: var(--kt-grey);
4141
padding: var(--ktl-box-section-s);
4242

4343
margin-left: calc(-1 * var(--ktf-grants-spacing));
@@ -69,7 +69,7 @@
6969
}
7070

7171
.actionDark {
72-
background: #19191c;
72+
background: var(--kt-bg-black);
7373
}
7474

7575
.button {

src/components/JoinIntro/Opener/opener.module.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
.contact {
3131
display: inline-block;
32-
background: var(--rs-color-grey-10);
32+
background: var(--kt-grey);
3333
border-radius: 8px;
3434
margin: var(--ktl-box-section-l) 0 0;
3535
padding: var(--ktl-box-block-l) 18px;

src/components/JoinTiers/Tier/tier.module.css

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22
display: flex;
33
flex-direction: column;
44
box-sizing: border-box;
5-
6-
background: #fff;
7-
box-shadow: 5px 2px 24px rgba(0, 0, 0, 0.1);
5+
background-color: #fff;
86
border-radius: 8px;
97
padding: var(--ktl-box-section-m) var(--ktl-box-section-s) var(--ktl-box-section-s);
108

src/components/JoinTiers/tiers.module.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.outer {
2-
background: var(--ktl-light-grey);
2+
background: var(--kt-grey);
33
}
44

55
.tiers {

src/components/JoinWantToLearn/wantToLearn.module.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.outter {
2-
background: var(--ktl-light-grey);
2+
background: var(--kt-grey);
33
padding-top: var(--ktf-fuild-spacing-xl);
44
overflow: hidden;
55
}

src/components/LatestNews/latestNews.module.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
.item:before {
4242
display: block;
4343
content: '';
44-
background-color: var(--rs-color-grey-10);
44+
background-color: var(--kt-grey);
4545
border-radius: 16px;
4646
grid-row: 1 / 4;
4747
}

src/components/PagePreview/pagePreview.module.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
.pagePreview {
2-
background: #19191c;
2+
background: var(--kt-bg-black);
33
border-radius: 16px;
44
padding: var(--ktl-box-section-l);
55
display: flex;
66
flex-direction: column;
77
align-items: flex-start;
8-
min-height: 480px;
8+
min-height: 420px;
99
box-sizing: border-box;
1010
width: 100%;
1111
}

src/styles/palette.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
:root {
2+
--kt-grey: #e8e8e8;
3+
--kt-bg-black: #19191c;
4+
}

0 commit comments

Comments
 (0)