From 3ab3a9d09955772ec56ddadbba49954b4edd6a3e Mon Sep 17 00:00:00 2001 From: Yan Zhu Date: Tue, 6 Nov 2018 18:52:37 +0800 Subject: Update the Docs completely --- docs/src/components/chips.pug | 60 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 docs/src/components/chips.pug (limited to 'docs/src/components/chips.pug') diff --git a/docs/src/components/chips.pug b/docs/src/components/chips.pug new file mode 100644 index 0000000..18bcf9d --- /dev/null +++ b/docs/src/components/chips.pug @@ -0,0 +1,60 @@ +extends ../_layout/_docs-layout.pug + +block variables + - var slug = 'chips' + - var parent = 'components' + - var title = 'Chips - Components - Spectre.css CSS Framework' + - var description = 'Spectre.css is a lightweight, responsive and modern CSS framework for faster and extensible development. Spectre provides basic styles for typography and elements, flexbox based responsive layout system, pure CSS components and utilities with best practice coding and consistent design language.' + +block docs-content + +docs-heading('chips', 'Chips') + include ../_layout/_ad-g.pug + + p Chips are complex entities in small blocks. + + .docs-demo.columns + .column.col-12 + span.chip + | Crime + span.chip + | Drama + span.chip + | Biography + a.btn.btn-clear(href="#" aria-label="Close" role="button") + span.chip + | Mystery + a.btn.btn-clear(href="#" aria-label="Close" role="button") + .column.col-12 + .chip + figure.avatar.avatar-sm(data-initial="TS" style="background-color: #5755d9;") + | Tony Stark + .chip + img.avatar.avatar-sm(src="../img/avatar-1.png" alt="Thor Odinson") + | Thor Odinson + .chip + img.avatar.avatar-sm(src="../img/avatar-4.png" alt="Steve Rogers") + | Steve Rogers + + p + | Add a container element with the #[code chip] class. + | And add child text element, buttons or avatars with the #[code avatar] class. + + pre.code(data-lang='HTML') + code + :highlight(lang="html") + Crime + + + Biography + + + +
+ + Yan Zhu + +
+ + include ../_layout/_ad-c.pug + + include ../_layout/_footer.pug \ No newline at end of file -- cgit v1.3.1-23-gd82d