Gathering detailed insights and metrics for eleventy-plugin-theme-ui
Gathering detailed insights and metrics for eleventy-plugin-theme-ui
npm install eleventy-plugin-theme-ui
Typescript
Module System
Min. Node Version
Node Version
NPM Version
50.3
Supply Chain
52.8
Quality
68.9
Maintenance
50
Vulnerability
97.6
License
TypeScript (74.27%)
JavaScript (17.83%)
HTML (7.89%)
Love this project? Help keep it running — sponsor us today! 🚀
Total Downloads
803
Last Day
1
Last Week
1
Last Month
20
Last Year
121
MIT License
5 Stars
22 Commits
1 Watchers
33 Branches
1 Contributors
Updated on Mar 05, 2023
Latest Version
0.1.2
Package Id
eleventy-plugin-theme-ui@0.1.2
Unpacked Size
32.49 kB
Size
7.51 kB
File Count
12
NPM Version
6.14.4
Node Version
10.21.0
Cumulative downloads
Total Downloads
Last Day
-50%
1
Compared to previous day
Last Week
-66.7%
1
Compared to previous week
Last Month
25%
20
Compared to previous month
Last Year
1.7%
121
Compared to previous year
An 11ty plugin allowing the use of ThemeUI within your templates.
This project was bootstrapped with TSDX.
1yarn add eleventy-plugin-theme-ui --dev
1const pluginThemeUI = require('eleventy-plugin-theme-ui'); 2 3// Your theme adhering to the Theme Specification https://theme-ui.com/theme-spec 4const theme = {}; 5 6module.exports = function(eleventyConfig) { 7 eleventyConfig.addPlugin(pluginThemeUI, { 8 theme, 9 }); 10};
You can now use the sx
shortcode within any of the 11ty shortcode supported template languages.
1<div 2 class="{% sx { padding: 3, backgroundColor: 'primary', fontSize: [1, 4] } %}" 3> 4 Hello world 5</div> 6 7<button class="{% sx { variant: 'buttons.primary' } %}">Primary Button</button>
Below is a list of commands you will probably find useful.
npm start
or yarn start
Runs the project in development/watch mode. Your project will be rebuilt upon changes. TSDX has a special logger for you convenience. Error messages are pretty printed and formatted for compatibility with VS Code's Problems tab.
Your library will be rebuilt if you make edits.
npm run build
or yarn build
Bundles the package to the dist
folder.
The package is optimized and bundled with Rollup into multiple formats (CommonJS, UMD, and ES Module).
npm test
or yarn test
Runs the test watcher (Jest) in an interactive mode. By default, runs tests related to files changed since the last commit.
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
no SAST tool detected
Details
Reason
Found 0/22 approved changesets -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
81 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-02-17
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More