Skip to content

Commit b9e7f6d

Browse files
authored
Update theme colors (#54)
1 parent e7a7577 commit b9e7f6d

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

77
## [Unreleased]
8+
### Changed
9+
- Theme colors
810

911
### Removed
1012
- Legacy assets;

src/css/custom.css

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,10 @@
66

77
/* You can override the default Infima variables here. */
88

9-
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700&display=swap');
10-
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&display=swap');
119
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
1210
:root {
13-
--primary-main: #4E9E7F;
14-
--error-main: #df1c41;
11+
--primary-main: #45C45C;
12+
--error-main: #DD3B36;
1513
--ifm-color-primary: var(--primary-main);
1614
--ifm-color-primary-dark: #28c3b7;
1715
--ifm-color-primary-darker: #25b8ad;
@@ -32,7 +30,7 @@
3230
--secondary-text-color-light: var(--white);
3331
--primary-text-color-dark: #131313;
3432
--primary-border: 1px solid var(--secondary-bg-color);
35-
--primary-font-family: 'Oswald';
33+
--primary-font-family: 'Inter';
3634
--secondary-font-family: 'Inter';
3735
--z-index-default: 1;
3836
--z-index-background-image: -1;
@@ -41,7 +39,7 @@
4139

4240
/* For readability concerns, you should choose a lighter palette in dark mode. */
4341
html[data-theme='dark'] {
44-
--primary-main: #8ab5a4;
42+
--primary-main: #69DE7F;
4543
--error-main: #bb1837;
4644
--ifm-color-primary: var(--primary-main);
4745
--ifm-color-primary-dark: #28c3b7;
@@ -51,7 +49,7 @@ html[data-theme='dark'] {
5149
--ifm-color-primary-lighter: #51dcd1;
5250
--ifm-color-primary-lightest: var(--primary-main);
5351
--bg-rect-border-color: rgba(255, 255, 255, 5%);
54-
--primary-text-color: #8f8f8f;
52+
--primary-text-color: rgba(255, 255, 255, 0.56);
5553
--primary-text-color-light: rgba(255, 255, 255, 0.9);
5654
--primary-bg-rect-size: 4.125rem;
5755
--ifm-font-color: rgba(255, 255, 255, 0.84);
@@ -84,8 +82,8 @@ html[data-theme='dark'] {
8482

8583
html[data-theme='light'] {
8684
--primary-text-color-dark: #fff;
87-
--primary-text-color: #8f8f8f;
88-
--primary-text-color-light: #0d0d0d;
85+
--primary-text-color: rgba(40, 40, 40, 0.56);
86+
--primary-text-color-light: #282828;
8987
--primary-bg-color: #fff;
9088
--primary-bg-color-light: #f5f5f5;
9189
--bg-rect-border-color: rgba(0, 0, 0, 0.05);
@@ -319,7 +317,7 @@ a:hover {
319317
}
320318

321319
.menu__link--active{
322-
--ifm-menu-color-background-active: rgba(78, 158, 127, 0.08);
320+
--ifm-menu-color-background-active: rgba(130, 237, 150, 0.08);
323321
--ifm-menu-color-active: var(--primary-main);
324322
}
325323
.menu__link{

0 commit comments

Comments
 (0)