Security News
RubyGems.org Adds New Maintainer Role
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Install Clarity UI package through npm:
npm install @clr/ui
Include clr-ui.min.css in your HTML file and add the cds-theme attribute to your body tag:
<link rel="stylesheet" href="path/to/node_modules/@clr/ui/clr-ui.min.css">
Add the cds-theme="light"
(or cds-theme="dark"
for dark theme) to the body tag:
<body cds-theme"light">
Write your HTML with the Clarity CSS class names and markup.
Clarity recently introduced the Clarity Design System within the @cds/core library. As of v16, the Clarity team has migrated that system and styles to this and the @clr/angular package. This change came with UI changes that teams may not be prepared to make without proper planning, so the Clarity team has retained the existing styles but that has been moved to a legacy file that will be removed in v17 (~Jan-Feb/2024). To use those legacy styles, reference the file from its new location.
```
<link rel="stylesheet" href="path/to/node_modules/@clr/ui/legacy-clr-ui.min.css">
<!-- OR -->
<link rel="stylesheet" href="path/to/node_modules/@clr/ui/legacy-clr-ui-dark.min.css">
```
The version of this library is aligned to the version of @clr/angular, and does not independently follow semantic versioning. While we strive to only introduce breaking changes in major versions, we may at times need to introduce a breaking change in a minor version in order to maintain alignment with the @clr/angular library. For projects that choose to use this package, we recommend pinning your project to a specific path version and treating each upgrade as a potentially breaking change.
FAQs
CSS for Clarity
The npm package @clr/ui receives a total of 7,823 weekly downloads. As such, @clr/ui popularity was classified as popular.
We found that @clr/ui demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 open source maintainers 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
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.
Security News
Research
Socket's threat research team has detected five malicious npm packages targeting Roblox developers, deploying malware to steal credentials and personal data.