Skip to content

Commit a092c6c

Browse files
committed
Changing branding & scss
1 parent fa734b9 commit a092c6c

File tree

8 files changed

+56
-46
lines changed

8 files changed

+56
-46
lines changed

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -39,29 +39,29 @@ You can [create a site](https://app.stackbit.com/create?theme=https://github.com
3939

4040
## Develop Locally
4141

42-
1. Install [Node.js and npm](https://nodejs.org/en/)
42+
1. Install [Node.js and npm](https://nodejs.org/en/)
4343

44-
1. Install npm dependencies:
44+
1. Install npm dependencies:
4545

4646
npm install
4747

48-
1. Get "stackbit-api-key" from project menu in [Stackbit dashboard](https://app.stackbit.com/dashboard)
48+
1. Get "stackbit-api-key" from project menu in [Stackbit dashboard](https://app.stackbit.com/dashboard)
4949

50-
1. Run the following command to assign this key to `STACKBIT_API_KEY` environment variable:
50+
1. Run the following command to assign this key to `STACKBIT_API_KEY` environment variable:
5151

52-
export STACKBIT_API_KEY={stackbit_netlify_api_key}
52+
export STACKBIT_API_KEY={stackbit_api_key}
5353

54-
1. Run the following command to fetch additional site contents from Stackbit if needed:
54+
1. Run the following command to fetch additional site contents from Stackbit if needed:
5555

56-
npx @stackbit/stackbit-pull --stackbit-pull-api-url=https://api.stackbit.com/pull/60323df295aa610015b59f66
56+
npx @stackbit/stackbit-pull --stackbit-pull-api-url=https://api.stackbit.com/pull/60323df295aa610015b59f66 --stackbit-api-key=STACKBIT_API_KEY
5757

58-
1. Start the Gatsby local development server:
58+
1. Start the Gatsby local development server:
5959

6060
npm run develop
6161

62-
1. Open [http://localhost:8000/](http://localhost:8000/) in the browser
62+
1. Open [http://localhost:8000/](http://localhost:8000/) in the browser
6363

64-
1. 🎉
64+
1. 🎉
6565

6666
## Editing Content
6767

src/components/Layout.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ export default class Body extends React.Component {
6565
)
6666
}
6767
)}
68-
<link href='https://use.typekit.net/hye7dbv.css' rel='stylesheet' />
6968
{_.get(this.props, 'pageContext.site.siteMetadata.favicon', null) && (
7069
<link
7170
rel='icon'

src/pages/posts/how-to-build-an-smtp-mail-server-with-express-node-and-gmail-aof.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ excerpt: >-
88
thumb_img_path: >-
99
https://res.cloudinary.com/practicaldev/image/fetch/s--U2LLP4Iw--/c_imagga_scale,f_auto,fl_progressive,h_420,q_auto,w_1000/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/de3p75v2w0yfb2sxcgpy.jpg
1010
comments_count: 5
11-
positive_reactions_count: 224
11+
positive_reactions_count: 225
1212
tags:
1313
- tutorial
1414
- node

src/pages/posts/on-winning-the-node-badge-2m0n.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ excerpt: >-
88
thumb_img_path: >-
99
https://res.cloudinary.com/practicaldev/image/fetch/s--IQGV29YR--/c_imagga_scale,f_auto,fl_progressive,h_420,q_auto,w_1000/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3ongx7g58br8kxelasq1.png
1010
comments_count: 0
11-
positive_reactions_count: 0
11+
positive_reactions_count: 2
1212
tags:
1313
- discuss
1414
- webdev

src/sass/imports/_general.scss

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@
22
* General
33
*/
44
html {
5-
font-family: _font(primary);
65
font-size: 112.5%;
76
height: 100%;
87
min-height: 100%;
98
}
109

1110
body {
12-
background: #fff;
13-
color: _palette(primary);
11+
font-family: _font(text);
12+
background: _palette(blue10);
13+
color: _palette(text20);
1414
line-height: 1.66667;
1515
}
1616

@@ -33,7 +33,8 @@ h3,
3333
h4,
3434
h5,
3535
h6 {
36-
color: _palette(secondary);
36+
font-family: _font(primary);
37+
color: _palette(text20);
3738
font-weight: bold;
3839
line-height: 1.2;
3940
margin: 1.66667rem 0 0.83333rem;
@@ -164,8 +165,8 @@ ol {
164165
padding: 0 0 0 1.33333em;
165166
}
166167

167-
li > ul,
168-
li > ol {
168+
li>ul,
169+
li>ol {
169170
margin-bottom: 0;
170171
}
171172

@@ -227,6 +228,7 @@ input[type="search"],
227228
input[type="url"],
228229
select,
229230
textarea {
231+
font-family: _font(accent);
230232
background: _palette(bg);
231233
border: 1px solid _palette(border);
232234
border-radius: 5px;
@@ -331,11 +333,11 @@ input[type="submit"],
331333
input[type="button"],
332334
input[type="reset"],
333335
.button {
334-
background: _palette(accent);
336+
background: _palette(blue10);
335337
border: 2px solid _palette(accent);
336338
border-radius: 30px;
337339
box-sizing: border-box;
338-
color: #fff;
340+
color: _palette(accent);
339341
display: inline-block;
340342
font-size: 14px;
341343
letter-spacing: 0.075em;
@@ -415,8 +417,8 @@ img {
415417

416418
/* Text meant only for screen readers */
417419
.screen-reader-text,
418-
.site-logo + .site-identity .site-title,
419-
.site-logo + .site-identity .site-description {
420+
.site-logo+.site-identity .site-title,
421+
.site-logo+.site-identity .site-description {
420422
border: 0;
421423
clip: rect(1px, 1px, 1px, 1px);
422424
height: 1px;

src/sass/imports/_header.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
* Site Header
33
*/
44
.site-header {
5-
background: #fff;
5+
background: _palette(blue20);
66
border-bottom: 1px solid _palette(border);
7-
color: _palette(primary);
7+
color: _palette(text20);
88
}
99

1010
.site-header-inside {

src/sass/imports/_post-navigation.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
right: 0;
3232
}
3333

34-
.post-full + .block-read-next {
34+
.post-full+.block-read-next {
3535
margin-bottom: 3.33333em;
3636
margin-top: 5em;
3737
}

src/sass/main.scss

Lines changed: 29 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,39 @@
1+
@charset "utf-8";
2+
3+
@import url("https://use.typekit.net/hye7dbv.css");
4+
15
// Font.
2-
$font: (
3-
primary: (
4-
"Roboto",
5-
Helvetica,
6-
sans-serif,
7-
),
8-
monospace: (
9-
Consolas,
10-
Monaco,
11-
"Andale Mono",
12-
"Ubuntu Mono",
13-
monospace,
14-
),
6+
$font: (primary: ("Paralucent",
7+
sans-serif),
8+
text: ("Paralucent Text",
9+
sans-serif),
10+
accent: ("Paralucent Stencil"
11+
sans-serif),
12+
monospace: ("Fira Mono",
13+
monospace),
1514
);
1615

1716
// Palette.
18-
$palette: (
19-
primary: #555e69,
20-
secondary: darken(#555e69, 15%),
21-
meta: lighten(#555e69, 25%),
22-
border: lighten(#555e69, 55%),
23-
bg: lighten(#555e69, 60%),
24-
accent: #1de2bc,
17+
$palette: (primary: #5E8CA7,
18+
secondary: darken(#5E8CA7, 15%),
19+
meta: lighten(#5E8CA7, 25%),
20+
border: lighten(#5E8CA7, 55%),
21+
bg: lighten(#5E8CA7, 60%),
22+
accent: #1CEDCA,
2523
accent-blue: #10bcf9,
2624
accent-violet: #9371e6,
2725
accent-orange: #fc6e51,
26+
glow10: #B0FBBC,
27+
glow20: #82F9A1,
28+
sth10: #BAEDA5,
29+
sth20: #1CEDCA,
30+
text10: #ECF8FF,
31+
text20: #CDE2F0,
32+
blue10: #111A20,
33+
blue20: #1C2C35,
34+
blue30: #243B4A,
35+
blue40: #416883,
36+
blue50: #5E8CA7,
2837
);
2938

3039
@import "imports/functions";

0 commit comments

Comments
 (0)