diff --git a/FASTN.ftd b/FASTN.ftd index b017ae3..a6195f2 100644 --- a/FASTN.ftd +++ b/FASTN.ftd @@ -2,7 +2,12 @@ -- fastn.package: .github.io/ --- fastn.dependency: fifthtry.github.io/package-doc +-- fastn.dependency: fastn-community.github.io/site-doc +-- fastn.dependency: fastn-community.github.io/code-block +-- fastn.dependency: fastn-community.github.io/footer + +-- fastn.auto-import: fastn-community.github.io/site-doc +-- fastn.auto-import: fastn-community.github.io/code-block as cb diff --git a/custom.ftd b/custom.ftd index 9684e57..60a330c 100644 --- a/custom.ftd +++ b/custom.ftd @@ -1,7 +1,4 @@ -- import: .github.io//assets as -assets --- import: fifthtry.github.io/package-doc/doc as pd --- import: fifthtry.github.io/package-doc/forest-theme as ds --- import: fifthtry.github.io/package-doc/footer ;; ⚠️fastn-builders::⚠️ before using this file please find and replace ;; with font name you have given inside @@ -12,30 +9,23 @@ --- ds.page: -show-footer: true -site-name: `` - --- ds.page.footer: - --- footer.fastn-footer: - --- end: ds.page.footer - --- pd.package: FTD package -name: .github.io/ +-- site-doc.doc-home: FTD package +site-title: `` +show-tabs: false +github-url: .github.io/ +current-package: .github.io/ This FTD font `` package is for your ftd web projects. To Use this inside `FTD` project follow below instructions. --- ds.h3: How to use ? +-- site-doc.header: How to use ? --- ds.code: Add this to your FASTN.ftd +-- cb.code: Add this to your FASTN.ftd lang: ftd \-- fastn.dependency: .github.io/ --- ds.markdown: +-- site-doc.header: Next step: After adding dependency inside your `FASTN.ftd` file, You need to add assets and import it inside your `.ftd` files where you are @@ -43,15 +33,12 @@ using this font for your custom font types. To include into your `ftd` file follow below instructions. --- ds.code: +-- cb.code: lang: ftd \-- import: .github.io//assets as -assets - --- ds.h3: How to create a custom type? - --- ds.markdown: +-- site-doc.header: How to create a custom type? We don't recommend creating custom types. We recommend to use our [-typography](https://.github.io/-typography) @@ -65,16 +52,15 @@ We hope you shouldn't need to define a custom type. Below is an example of creating a custom `ftd.type` using . --- ds.rendered: +/-- cb.rendered: Demo: --- ds.rendered.input: +-- cb.rendered.input: \-- ftd.type -size-12-desktop: size.px: 12 weight: 400 font-family: $-assets.fonts. - \-- ftd.type -size-12-mobile: size.px: 12 weight: 400 @@ -92,7 +78,10 @@ color: $inherited.colors.text-strong πŸ‘‰ The quick brown fox jumps over the lazy dog --- ds.rendered.output: +-- cb.rendered.output: + +-- site-doc.output: +colors: $ftd.default-colors -- ftd.text: role: $-size-12-400 @@ -102,11 +91,13 @@ color: $inherited.colors.text-strong πŸ‘‰ The quick brown fox jumps over the lazy dog --- end: ds.rendered.output +-- end: site-doc.output + +-- end: cb.rendered.output --- end: ds.rendered +-- end: cb.rendered --- end: ds.page +-- end: site-doc.doc-home diff --git a/index.ftd b/index.ftd index a97acf3..6612d4f 100644 --- a/index.ftd +++ b/index.ftd @@ -1,29 +1,20 @@ --- import: fifthtry.github.io/package-doc/doc as pd --- import: fifthtry.github.io/package-doc/forest-theme as ds -- import: .github.io//custom --- import: fifthtry.github.io/package-doc/footer --- ds.page: -show-footer: true -site-name: `` --- ds.page.footer: - --- footer.fastn-footer: - --- end: ds.page.footer - --- pd.package: package -name: .github.io/ +-- site-doc.doc-home: package +site-title: `` +show-tabs: false +github-url: .github.io/ +current-package: .github.io/ This FTD font `` can be used for your ftd web projects. To Use this inside `FTD` project visit [-typography](https://.github.io/-typography). --- ds.h3: various sizes +-- site-doc.header: various sizes -- ftd.text: role: $custom.-size-12-400 @@ -33,7 +24,6 @@ color: $inherited.colors.text-strong πŸ‘‰ The quick brown fox jumps over the lazy dog - -- ftd.text: role: $custom.-size-12-800 color: $inherited.colors.text-strong @@ -50,7 +40,6 @@ color: $inherited.colors.text-strong πŸ‘‰ The quick brown fox jumps over the lazy dog - -- ftd.text: role: $custom.-size-18-400 color: $inherited.colors.text-strong @@ -99,13 +88,4 @@ color: $inherited.colors.text-strong πŸ‘‰ The quick brown fox jumps over the lazy dog --- end: ds.page - - - - - - - - - +-- end: site-doc.doc-home