Skip to content

Commit e65665f

Browse files
committed
style: define custom color palette
1 parent f0865ac commit e65665f

File tree

3 files changed

+12
-5
lines changed

3 files changed

+12
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ GitHub Actions already runs these commands automatically during deployments.
7575

7676
~~Have a consistency in the font and font sizes (ideally you want to use 2 fonts. One for the header/subtitle and one for the text. You can use this kind of website https://fontjoy.com/ which allow you to pair fonts).~~
7777

78-
Choose a few main colours for your site (I would suggest black/white/grey but not in solid. You can also use this kind of site: https://coolors.co/palettes/popular/2a4849).
78+
~~Choose a few main colours for your site (I would suggest black/white/grey but not in solid. You can also use this kind of site: https://coolors.co/palettes/popular/2a4849).~~
7979

8080
~~Reduce then size of the homepage top image (ideally you want your first articles to be visible on load and not hidden below the fold).~~
8181

_sass/minimal-mistakes/_variables.scss

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,13 @@ $border-color: $lighter-gray !default;
7373
$form-background-color: $lighter-gray !default;
7474
$footer-background-color: $lighter-gray !default;
7575

76-
$primary-color: #6f777d !default;
76+
$color-primary: #2a4849 !default;
77+
$color-secondary: #6c757d !default;
78+
$color-background: #f7f9fa !default;
79+
$color-surface: #ffffff !default;
80+
$color-accent: #ffca00 !default;
81+
82+
$primary-color: $color-primary !default;
7783
$success-color: #3fa63f !default;
7884
$warning-color: #d67f05 !default;
7985
$danger-color: #ee5f5b !default;

_sass/minimal-mistakes/skins/_air.scss

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@
33
========================================================================== */
44

55
/* Colors */
6-
$background-color: #f7f9fa !default;
6+
$background-color: $color-background !default;
77
$text-color: #2a2a2a !default;
8-
$muted-text-color: #6c757d !default;
9-
$primary-color: #2a4849 !default;
8+
$muted-text-color: $color-secondary !default;
9+
$primary-color: $color-primary !default;
10+
$accent-color: $color-accent !default;
1011
$border-color: mix(#fff, $text-color, 85%) !default;
1112
$footer-background-color: $primary-color !default;
1213
$link-color: $primary-color !default;

0 commit comments

Comments
 (0)