Skip to content

Commit b06d81d

Browse files
committed
Updates doc
1 parent 2f1a6c9 commit b06d81d

File tree

6 files changed

+42
-12
lines changed

6 files changed

+42
-12
lines changed

assets/scss/7-pages/_index.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,14 @@
88
}
99
}
1010

11+
&__header {
12+
padding: $space-medium 0 $space-base;
13+
14+
@include media-query('medium') {
15+
padding: $space-large 0 $space-medium;
16+
}
17+
}
18+
1119
&__faq {
1220
border-top: 1px dashed neutral-color('lower');
1321
padding: 0 $h-unit $space-small;

assets/scss/docs.scss

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ body {
1212
// DOCS LAYOUT
1313
//------------
1414
.docs-layout {
15-
background-color: neutral-color('lowest');
15+
background-color: lighten(neutral-color('lower'), 12%);
1616
color: neutral-color('highest');
1717
font-size: $rem-base;
1818
min-height: 100vh;
1919

2020
&__content {
2121
@include grid-row(false);
22-
max-width: 100%;
22+
max-width: rem-calc(1400);
2323

2424
@include media-query('large') {
2525
min-height: 100%;
@@ -28,7 +28,6 @@ body {
2828

2929
&__nav {
3030
@include grid-column(('xxsmall': 12, 'large': 0), true);
31-
background-color: neutral-color('lower');
3231
border-right: 1px solid neutral-color('lower');
3332

3433
@include media-query('large') {
@@ -42,10 +41,11 @@ body {
4241

4342
&__page-wrapper {
4443
@include grid-column(('xxsmall': 12, 'large': auto));
44+
background-color: neutral-color('lowest');
4545
padding-bottom: $space-small;
4646

4747
@include media-query('large') {
48-
padding: $space-medium $space-medium $space-small;
48+
padding: $space-medium $space-medium $space-large;
4949
}
5050
}
5151

@@ -86,7 +86,7 @@ body {
8686
}
8787

8888
&__section-title {
89-
border-bottom: 1px solid rgba(neutral-color('medium'), 0.5);
89+
border-bottom: 1px dotted rgba(neutral-color('medium'), 0.5);
9090
margin: 0;
9191
padding: $v-unit $h-unit;
9292
}
@@ -146,9 +146,13 @@ body {
146146
}
147147

148148
&__preview {
149-
background-color: #f0f0f0;
149+
border: 1px solid neutral-color('lower');
150150
margin-top: $space-small;
151-
padding: $space-small;
151+
padding: ($space-base / 2);
152+
153+
@include media-query('medium') {
154+
padding: $space-small;
155+
}
152156
}
153157
}
154158

settings/pug.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,16 @@ data.navigation = [
1212
{
1313
label: 'Components',
1414
items: [
15+
{label: 'Separator', url: '#separator'},
16+
{label: 'Subscribe form', url: '#subscribe-form'},
1517
{label: 'Faq', url: '#faq'}
1618
]
1719
},
1820
{
1921
label: 'Layouts',
2022
items: [
2123
{label: 'Header', url: '#header'},
24+
{label: 'Subscribe', url: '#subscribe'},
2225
{label: 'Footer', url: '#footer'}
2326
]
2427
}

views/docs/_faq.pug

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
title: 'Faq'})
33

44
+docs-block({
5-
title: 'Faq item'})
5+
title: 'Item'})
66
+faq(faq.entries[0])
77

88
+docs-block({
9-
title: 'Faq List'})
9+
title: 'List'})
1010
+faqs({title: faq.title, entries: faq.entries})

views/docs/_typography.pug

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
+docs-block({
88
title: 'Hierarchy of Type',
9-
description: 'Description here...',
109
open: true})
1110

1211
-var placeholder= 'Lorem ipsum dolor sit amet,</br>consectetur adipiscing elit.'

views/docs/docs.pug

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ block head_css
1111
block page
1212
- var productName = 'fullStack<strong>Bulletin</strong>';
1313

14-
h1 Styleguide
15-
h3!=`Below is the styleguide we created for ${productName} project — both for the benefit of the (web) developers and to ensure consistency across all brand pages and UI.`
14+
h1 UI Components
15+
h3!=`Below is the UI components styleguide we created for ${productName} project — both for the benefit of the (web) developers and to ensure consistency across all brand pages and UI.`
1616

1717
//- Logo
1818
#logo
@@ -30,10 +30,26 @@ block page
3030
#icons
3131
include _icons.pug
3232

33+
//- Separator
34+
#separator
35+
include _separator.pug
36+
37+
//- Separator
38+
#subscribe-form
39+
include _subscribe-form.pug
40+
3341
//- Faq
3442
#faq
3543
include _faq.pug
3644

45+
//- Footer
46+
#header
47+
include _header.pug
48+
49+
//- Subscribe
50+
#subscribe
51+
include _subscribe.pug
52+
3753
//- Footer
3854
#footer
3955
include _footer.pug

0 commit comments

Comments
 (0)