1. tachyons-code
Tachyons module for code
tachyons-code
Package: tachyons-code
Created by: tachyons-css
Last modified: Mon, 27 Jun 2022 03:32:18 GMT
Version: 1.0.0
License: MIT
Downloads: 8
Repository: https://github.com/tachyons-css/tachyons-code

Install

npm install tachyons-code
yarn add tachyons-code

tachyons-code 1.0.0

Tachyons module for code

Stats

82 1 3
bytes selectors declarations

Installation

With npm

npm install --save-dev tachyons-code

With Git

git clone https://github.com/tachyons-css/tachyons-code

Usage

Using with PostCSS

Import the css module

 @import "tachyons-code";

Then process the CSS using the tachyons-cli

 $ npm i -g tachyons-cli
$ tachyons path/to/css-file.css > dist/t.css

Using the CSS

The built CSS is located in the css directory. It contains an unminified and minified version.
You can either cut and paste that css or link to it directly in your html.

 <link rel="stylesheet" href="path/to/module/css/tachyons-code">

Development

The source CSS files can be found in the src directory.
Running $ npm start will process the source CSS and place the built CSS in the css directory.

The CSS

 /*
   CODE
*/
.pre { overflow-x: auto; overflow-y: hidden; overflow: scroll; }

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Authors

License

MIT

RELATED POST

10 Must-Know Windows Shortcuts That Will Save You Time

10 Must-Know Windows Shortcuts That Will Save You Time

Arrays vs Linked Lists: Which is Better for Memory Management in Data Structures?

Arrays vs Linked Lists: Which is Better for Memory Management in Data Structures?

Navigating AWS Networking: Essential Hacks for Smooth Operation

Navigating AWS Networking: Essential Hacks for Smooth Operation

Achieving Stunning Visuals with Unity's Global Illumination

Achieving Stunning Visuals with Unity's Global Illumination

Nim's Hidden Gems: Lesser-known Features for Writing Efficient Code

Nim's Hidden Gems: Lesser-known Features for Writing Efficient Code