Security News
Cloudflare Adds Security.txt Setup Wizard
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
@os-design/styles
Advanced tools
Common styles used in os-design. Emotion is used to define styles.
Common styles used in os-design. Emotion is used to define styles.
ellipsisStyles
– Truncates a single line of text with an ellipsis (...).enableScrollingStyles
– Enables smooth scrolling.horizontalPaddingStyles
– Sets the base horizontal padding.lineClampStyles
– Truncates text at a specific number of lines with an ellipsis (...).resetButtonStyles
– Resets the default button styles.resetFocusStyles
– Resets the default focus styles.resetUlStyles
– Resets the default ul styles.sizeStyles
– Sets the size of the element using the size parameter, which can be either small, medium, large, or custom string (for example, 2em).transitionStyles
– Sets the transition of one or more css properties.Install the package using the following command:
yarn add @os-design/styles
Install peer dependencies using the following command:
npx install-peerdeps @os-design/styles
See all the features in the Storybook.
FAQs
Common styles used in os-design. Emotion is used to define styles.
We found that @os-design/styles 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
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
Security News
The Socket Research team breaks down a malicious npm package targeting the legitimate DOMPurify library. It uses obfuscated code to hide that it is exfiltrating browser and crypto wallet data.
Security News
ENISA’s 2024 report highlights the EU’s top cybersecurity threats, including rising DDoS attacks, ransomware, supply chain vulnerabilities, and weaponized AI.