diff --git a/styleguide/src/system/components/typography/Icon/Icon.vue b/styleguide/src/system/components/typography/Icon/Icon.vue new file mode 100644 index 000000000..86636fdfb --- /dev/null +++ b/styleguide/src/system/components/typography/Icon/Icon.vue @@ -0,0 +1,56 @@ + + + + + + + diff --git a/styleguide/src/system/components/typography/Icon/demo.md b/styleguide/src/system/components/typography/Icon/demo.md new file mode 100644 index 000000000..a0c42a5cf --- /dev/null +++ b/styleguide/src/system/components/typography/Icon/demo.md @@ -0,0 +1,16 @@ +## Basic usage + +Simply provide the name for the icon. + +``` + + + + +``` + +## Icon list + +Below is a list of all available icons. If you want to change these icons or want to add new ones, put them in `system/icons/svg`. + + \ No newline at end of file diff --git a/styleguide/src/system/components/typography/Icon/style.scss b/styleguide/src/system/components/typography/Icon/style.scss new file mode 100644 index 000000000..1decda16d --- /dev/null +++ b/styleguide/src/system/components/typography/Icon/style.scss @@ -0,0 +1,20 @@ +.ds-icon { + @include reset; + display: inline-flex; + align-items: center; + vertical-align: middle; + height: 1em; +} + +.ds-icon-svg { + line-height: 1; + height: 1.2em; + // Use this if the icons are build with strokes + // stroke: currentColor; + // stroke-width: 2.5px; + // stroke-linejoin: miter; + // stroke-linecap: miter; + // overflow: visible; + // Use this if the icons are build with solids + fill: currentColor +} \ No newline at end of file