
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
Transform Penpot designs into production-ready CSS and Tailwind configurations.
Penport eliminates manual design token management by automatically extracting typography and color systems from Penpot files and generating clean, consistent CSS or Tailwind configurations.
penport export --format tailwind
# Generates complete Tailwind config from your Penpot design system
There is no real easy way to extract your design tokens from Penpot. Design systems drift out of sync, leading to inconsistencies and wasted developer time. There is penpot-export, but it just takes so much set up, I don't understand it. Tool should be as easy as possible.
Penport automates the entire process, ensuring your codebase always reflects your latest design decisions. Note that if your colors and/or typographies are not saved as assets, this tool will not extract them for you.
# Installation
npm install --save-dev penport
# Configuration
penport init
# Follow the prompts to configure your Penpot connection
# Export your design tokens
penport export
# Generates CSS file with your design system
penport init
This command guides you through configuration by prompting for your Penpot file URL and access token.
# Standard CSS output
penport export
# Generates CSS custom properties and utility classes
# Tailwind CSS configuration
penport export --format tailwind
# Creates tailwind.config.js and utility CSS
# Custom output paths
penport export --format tailwind \
--config-output my-theme.config.js \
--css-output my-styles.css
/* ✨ Generated automatically from your Penpot file */
:root {
--color-primary: #3b82f6;
--color-primary-50: rgba(59, 130, 246, 0.05);
--typography-heading-font-family: 'Inter';
--typography-heading-font-size: 2rem;
--typography-heading-font-weight: 700;
--typography-heading-line-height: 1.2;
}
.typography-heading {
font-family: var(--typography-heading-font-family);
font-size: var(--typography-heading-font-size);
font-weight: var(--typography-heading-font-weight);
line-height: var(--typography-heading-line-height);
}
// tailwind.config.js - Perfect for your workflow
module.exports = {
theme: {
extend: {
colors: {
primary: {
DEFAULT: '#3b82f6',
50: 'rgba(59, 130, 246, 0.05)'
}
},
fontFamily: {
heading: ['Inter', 'sans-serif']
},
fontSize: {
'heading': ['2rem', { lineHeight: '1.2', fontWeight: '700' }]
}
}
}
}
FAQs
Export themes from Penpot design files and generate CSS output
We found that penport demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.