{"_id":"@coffeekraken/typography-style","_rev":"2-e0c01cc98e5f07bb8a184c37b49e7187","name":"@coffeekraken/typography-style","dist-tags":{"latest":"0.0.1"},"versions":{"0.0.1":{"name":"@coffeekraken/typography-style","version":"0.0.1","description":"Full stack typography styling for your website including titles, paragraphs, lists, inline styles, blockquotes, etc...","homepage":"http://coffeekraken.io","repository":{"type":"git","url":"https://github.com/Coffeekraken/coffeekraken/tree/master/style/typography-style"},"keywords":["coffee","kraken","coffeekraken","typography","paragraphs","titles","lists","webcomponent","component","html","sugar"],"author":{"name":"Coffeekraken","email":"hello@coffeekraken.io"},"contributors":[{"name":"Olivier Bossel","email":"olivier.bossel@gmail.com","url":"http://olivierbossel.com"}],"license":"MIT","dependencies":{"@coffeekraken/sugar":"^1.0.1"},"devDependencies":{},"_id":"@coffeekraken/typography-style@0.0.1","_nodeVersion":"12.13.1","_npmVersion":"6.13.1","dist":{"integrity":"sha512-2XsczXYJ7uYoLhOdB3WgU2/XJ/xFvdfMb43bnU7KihsM29rpNj/oWYKBPa9a3NnvwKFm4xUYWbYBuI8ra9lkHQ==","shasum":"cc046b3906d5052f073bd35c8cfdaf631c52df8b","tarball":"https://registry.npmjs.org/@coffeekraken/typography-style/-/typography-style-0.0.1.tgz","fileCount":13,"unpackedSize":684710,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd8kDSCRA9TVsSAnZWagAAeIkP/A7OhpWHpVhOkcsfk02z\n82LMZXwLZxPfFYMD+n17djgTT3y4ktJH9S/8Bk4VZ0hOpNoU+jRChzUgYGUT\nYwYITYgby1DicRBkXF8+VmV8MS1T/zUZ/rtoxnS+ADXeblyyVY19DOVueaJk\nK+Ztrx5ASvCaLqaTrzYLd638MAteYdvofcS76n17Q77H1q07tmIIBQwALhNv\nZZAxhQ+QPjIzQL8NHSr5lw7fe8wDkbrWjUltpX+AwcpzdvZTO+FgCkIgbYA0\ne1sTjObMc39YVyi8Hx+cZMKJl1wqsw8OuV+MmJcPleZVcEI5X/u9It5jxNt1\nZ0jWhAijbrWC/MWKvHgcECDD4gQirWTxXWvGYFWfIRS1LoTsGhTzzmvF+NGt\nM2uDnLtzgtZ7Un4k3vzsE6I6x8WmHwczwh74JCEuDa8NmceQZB9VUq1ZAp8o\ncObjlT/r6WyJiw2F6EosFuqJHUyBcVgYAc/rhwT4YkrGh9t2ok7T64BIrNjR\nSVCevOH3T/U7BCDLlUvSga1Cf+qMbK87PtHvbP1663uq97aknHyaqKymFzBW\n69FqiSicYEfS78nG+uHgu4qlBSsAblaV4lYCsX3XqNzCJOqznLdijT9VqQGw\nyxM8ca9BQcRqiNzaCOWEis+3HdLJpqDyJlePIvD7Zi3NvgRFokxJ6vzMrg92\ncSLk\r\n=bOLr\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDmIHua1YOdogC8lEpvxZMSXRBQ/E7ybpBl0kAh2Txf4QIhALHJm2IgwX9LKUltT4+zvwFa30Zl3nDjHW3+nbfs6x/B"}]},"maintainers":[{"name":"olivierbossel","email":"olivier.bossel@gmail.com"}],"_npmUser":{"name":"olivierbossel","email":"olivier.bossel@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/typography-style_0.0.1_1576157393954_0.8593743291858191"},"_hasShrinkwrap":false,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info."}},"time":{"created":"2019-12-12T13:29:53.665Z","0.0.1":"2019-12-12T13:29:54.119Z","modified":"2022-07-27T14:26:03.760Z"},"maintainers":[{"name":"olivierbossel","email":"olivier.bossel@gmail.com"}],"description":"Full stack typography styling for your website including titles, paragraphs, lists, inline styles, blockquotes, etc...","homepage":"http://coffeekraken.io","keywords":["coffee","kraken","coffeekraken","typography","paragraphs","titles","lists","webcomponent","component","html","sugar"],"repository":{"type":"git","url":"https://github.com/Coffeekraken/coffeekraken/tree/master/style/typography-style"},"contributors":[{"name":"Olivier Bossel","email":"olivier.bossel@gmail.com","url":"http://olivierbossel.com"}],"author":{"name":"Coffeekraken","email":"hello@coffeekraken.io"},"license":"MIT","readme":"# Coffeekraken s-typography-style <img src=\".resources/coffeekraken-logo.jpg\" height=\"25px\" />\n\n![npm](https://img.shields.io/npm/l/@coffeekraken/s-typography-style?style=flat-square)\n![npm](https://img.shields.io/npm/v/@coffeekraken/s-typography-style?style=flat-square)\n![npm](https://img.shields.io/npm/dw/@coffeekraken/s-typography-style?style=flat-square)\n\nFull stack typography styling for your website including titles, paragraphs, lists, inline styles, blockquotes, etc...\n\n## Table of content\n\n1. [Features](#readme-features)\n2. [Install](#readme-install)\n3. [Get Started](#readme-get-started)\n4. [SASS API](doc/sass)\n5. [The `tf` and `vr` classes](#readme-tf-vr-classes)\n\n<a name=\"readme-features\"></a>\n\n## Features\n\n1. Title styling `h1 h2 h3 h4 h5 h6`\n2. Paragraphs styling `p p.lead`\n3. Lists styling `ul ol li dl dt dd`\n4. Inline text styling `mark del s ins u small strong em`\n5. Caption and figcaption styling `caption figcaption`\n6. Quote styling `quote blockquote cite`\n\n<a name=\"readme-install\"></a>\n\n## Install\n\n```\nnpm install @coffeekraken/typography-style --save\n```\n\n<a name=\"readme-get-started\"></a>\n\n## Get Started\n\nFirst, [import and init sugar](https://github.com/Coffeekraken/coffeekraken/tree/master/util/sugar) into your project.\n\nThen, import the component into your scss file like so:\n\n```scss\n@use \"node_modules/@coffeekraken/typography-style/index\" as typography-style;\n```\n\nThen simply generate the classes using the component mixin like so:\n\n```scss\n@include typography-style.classes($color: primary);\n```\n\nAnd finally use the classes inside your html\n\n```html\n<!-- directly with tags in scoped tf (text format) class -->\n<!-- applying vertical rhythm using the vr class -->\n<div class=\"tf vr\">\n  <h1>Hello world</h1>\n  <p>\n    Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum\n    vehicula, lorem accumsan semper tincidunt, metus diam porta tellus.\n  </p>\n  <ul>\n    <li>List item #1</li>\n    <li>List item #2</li>\n    <li>List item #3</li>\n  </ul>\n</div>\n\n<!-- by applying style implicitely with classes -->\n<h1 class=\"h2\">Hello world</h1>\n<p class=\"p\">\n  Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum vehicula,\n  lorem accumsan semper tincidunt, metus diam porta tellus.\n</p>\n<ul class=\"ul\">\n  <li class=\"li\">List item #1</li>\n  <li class=\"li\">List item #2</li>\n  <li class=\"li\">List item #3</li>\n</ul>\n```\n\n<a id=\"readme-tf-vr-classes\"></a>\n\n## The `tf` and `vr` classes\n\nThe `tf` class is for \"text format\". It allows you to apply typography styling on the tags that are scoped inside it like so:\n\n```html\n<div class=\"tf\">\n  <h1>I will be styled like an h1</h1>\n</div>\n<h1>I will not bein styled like an h1</h1>\n<h1 class=\"h1\">I will be styled like an h1</h1>\n```\n\nThe `vr` class is for \"vertical rhythm\". It allows you to apply margins between typography styled elements on the tags that are scoped inside it like so:\n\n```html\n<div class=\"tf vr\">\n  <h1>I will be styled like an h1 and have a margin bottom if needed</h1>\n  <p>I will be styled like a paragraph and have a margin bottom if needed</p>\n</div>\n```\n\n<a name=\"readme-coffeekraken\"></a>\n\n# Coffeekraken\n\nWe are a young collective of front-end creative developers with one goal in mind. Build tools to make every team working day life better. This is our first and only concern. All our tools are build around that purpose.\nAll what we provide are some cool tools that you can use the way you want. These tools features cover a large scope of the front-end workflow (styleguide generation, colors/fonts management, etc...). You can use only the parts that you need and let the rest aside...\n\n[![Coffeekraken](.resources/coffeekraken-logo.jpg)](https://coffeekraken.io)\n","readmeFilename":"README.md"}