Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
@arcanis-inc/tachyons-generator
Advanced tools
Generate a custom arcanis Tachyons build with a json configuration
Generate a custom Arcanis Tachyons build with a json configuration.
Originally forked from tachyons-generator.
This will generate an index.html file with the generated style guide as well as a static css file.
const fs = require('fs')
const tachyonsGenerator = require('@arcanis/tachyons-generator')
const config = require('./config.json')
const generate = async () => {
const tachy = tachyonsGenerator(config)
// Minify CSS
const out1 = await tachy.generate({ minify: true })
fs.writeFileSync('tachyons.min.css', out1)
// Keep colors as CSS variables
const out2 = await tachy.generate({ compileVars: false })
fs.writeFileSync('tachyons-with-vars.css', out2)
// Generate docs website
const docs = await tachy.docs()
fs.writeFileSync('index.html', docs)
}
generate()
Check config.js
namespace
You can pass a namespace
property to namespace the CSS generated (including the normalize module).
Example:
"namespace": "my-namespace",
Will generate the following CSS:
.my-namespace .bg-black {
background-color: #000;
}
MIT
FAQs
Generate a custom arcanis Tachyons build with a json configuration
The npm package @arcanis-inc/tachyons-generator receives a total of 4 weekly downloads. As such, @arcanis-inc/tachyons-generator popularity was classified as not popular.
We found that @arcanis-inc/tachyons-generator demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.