-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.ftd
175 lines (120 loc) · 4.36 KB
/
index.ftd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
-- import: fifthtry.github.io/package-doc/doc as pd
-- import: fifthtry.github.io/manrope-font/assets as manrope-assets
-- import: fifthtry.github.io/package-doc/typography as tf
-- import: fastn
-- ftd.type manrope-demo:
line-height.px: 36
size.px: 22
letter-spacing.px: 0
weight: 400
font-family: $manrope-assets.fonts.Manrope
-- ftd.type manrope-demo-heading:
line-height.px: 56
size.px: 48
letter-spacing.px: 0
font-family: $manrope-assets.fonts.Manrope
weight: 400
-- ftd.responsive-type small-heading:
desktop: $manrope-demo
mobile: $manrope-demo
-- ftd.responsive-type large-heading:
desktop: $manrope-demo-heading
mobile: $manrope-demo-heading
-- ftd.column:
width: fill-container
padding-horizontal.px: 50
padding-horizontal.px if {ftd.device == "mobile"}: 20
background.solid: $inherited.colors.background.base
-- pd.package: manrope - fpm font
name: fifthtry.github.io/manrope-font
This component consist of Google manrope font with all it's styles from Thin-100 to Bold-700 Italic.
-- pd.component: manrope - fpm font
name: https://github.com/FifthTry/manrope-font
This component consist of Google manrope font with all it's styles from Thin-100 to Bold-700 Italic.
-- pd.hidden-code: How to use
include fifthtry.github.io/manrope-font package into fastn.ftd file
\-- fastn.dependency: fifthtry.github.io/manrope-font/assets as manrope
\-- fastn.auto-import: manrope
Inside your .ftd file to change for any specific token use:
\-- fpm.type.headline-small.font: $manrope.fonts.manrope
\-- ftd.text:
role: $fpm.type.headline-small
-- tf.h2: `manrope-font` hairline 18px:
-- ftd.text: MANIMBANG manowo ngakoni marang martabat alamiah sarta kang.
role: $small-heading
color: $inherited.colors.text-strong
margin-bottom.px: 24
;;style: hairline
-- tf.h2: `manrope-font` hairline italic 18px:
-- ftd.text: MANIMBANG manowo ngakoni marang martabat alamiah sarta kang.
role: $small-heading
color: $inherited.colors.text-strong
margin-bottom.px: 24
;;style: hairline italic
-- tf.h2: `manrope-font` light 18px:
-- ftd.text: MANIMBANG manowo ngakoni marang martabat alamiah sarta kang.
role: $small-heading
color: $inherited.colors.text-strong
margin-bottom.px: 24
;;style: light
-- tf.h2: `manrope-font` light italic 18px:
-- ftd.text: MANIMBANG manowo ngakoni marang martabat alamiah sarta kang.
role: $small-heading
color: $inherited.colors.text-strong
margin-bottom.px: 24
;;style: light italic
-- tf.h2: `manrope-font` regular 18px:
-- ftd.text: MANIMBANG manowo ngakoni marang martabat alamiah sarta kang.
role: $small-heading
color: $inherited.colors.text-strong
margin-bottom.px: 24
;;style: regular
-- tf.h2: `manrope-font` regular strike through 18px:
-- ftd.text: MANIMBANG manowo ngakoni marang martabat alamiah sarta kang.
role: $small-heading
color: $inherited.colors.text-strong
margin-bottom.px: 24
;;style: regular strike
-- tf.h2: `manrope-font` regular underline 18px:
-- ftd.text: MANIMBANG manowo ngakoni marang martabat alamiah sarta kang.
role: $small-heading
color: $inherited.colors.text-strong
margin-bottom.px: 24
;;style: regular underline
-- tf.h2: `manrope-font` regular italic 18px:
-- ftd.text: MANIMBANG manowo ngakoni marang martabat alamiah sarta kang.
role: $small-heading
color: $inherited.colors.text-strong
margin-bottom.px: 24
;;style: regular italic
-- tf.h2: `manrope-font` bold 18px:
-- ftd.text: MANIMBANG manowo ngakoni marang martabat alamiah sarta kang.
role: $small-heading
color: $inherited.colors.text-strong
margin-bottom.px: 24
;;style: bold
-- tf.h2: `manrope-font` bold italic 18px:
-- ftd.text: MANIMBANG manowo ngakoni marang martabat alamiah sarta kang.
role: $small-heading
color: $inherited.colors.text-strong
margin-bottom.px: 24
;;style: bold italic
-- tf.h2: `manrope-font` heavy 18px:
-- ftd.text: MANIMBANG manowo ngakoni marang martabat alamiah sarta kang.
role: $small-heading
color: $inherited.colors.text-strong
margin-bottom.px: 24
;;style: heavy
-- tf.h2: `manrope-font` heavy italic 18px:
-- ftd.text: MANIMBANG manowo ngakoni marang martabat alamiah sarta kang.
role: $small-heading
color: $inherited.colors.text-strong
margin-bottom.px: 24
;;style: heavy italic
-- tf.h2: `manrope-font` heading regular 48px:
-- ftd.text: MANIMBANG manowo ngakoni marang martabat alamiah sarta kang.
role: $large-heading
color: $inherited.colors.text-strong
margin-bottom.px: 40
;;style: regular
-- end: ftd.column