
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.
@papyrus-ui/style-utils
Advanced tools
Style utilities for implementing components based on the Papyrus UI design system.
Global styles, themes and style utilities for implementing components based on the Papyrus UI design system.
Create Utility Classes with atoms()
Define utility classes using the atoms() function provided by @papyrus-ui/base.
// card.css.ts
import { atoms } from '@papyrus-ui/theme';
export const card = atoms({
p: 4,
rounded: 'md',
shadow: 'md',
bg: 'white',
});
Atoms can be generated at runtime as well. However, defining them in .css.ts files ensures that all calculations are performed during the build phase.
Create a Card Component
Utilize the defined utility class (card) to create a custom Card component:
import React from 'react';
import * as S from './card.css.ts';
const Card: React.FC<{ title: string; content: string }> = ({ title, content }) => {
return (
<div className={S.card}>
<h2>{title}</h2>
<p>{content}</p>
</div>
);
};
export default Card;
We welcome contributions to enhance Papyrus UI. To contribute, fork the repository, make your changes, and submit a pull request. If you encounter issues or have suggestions, please open an issue on GitHub.
FAQs
Style utilities for implementing components based on the Papyrus UI design system.
We found that @papyrus-ui/style-utils 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.