
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Noph UI is a modern, powerful UI library for Svelte 5, fully aligned with the Material 3 guidelines. Build stunning, consistent user interfaces with the efficiency and flexibility of Svelte and Google’s Material Design framework.
Noph UI is a modern, powerful UI library for Svelte 5, fully aligned with the Material 3 guidelines. Build stunning, consistent user interfaces with the efficiency and flexibility of Svelte and Google’s Material Design framework.
Install Noph UI components using npm and node.
npm install noph-ui
The quickest way to get started with Noph UI is by using the default theme. You can import it into your +layout.svelte
file as shown below:
import 'noph-ui/defaultTheme'
To apply both the theme's background color and text color to the entire app, you can target the <body>
element directly in your app.css file like this:
body {
background-color: var(--np-color-background);
color: var(--np-color-on-background);
}
This will ensure that the background and text color for the entire app are set to match the theme's color scheme.
The theme includes color schemes for both dark and light modes. The selected theme is automatically determined based on the user's system settings .Alternatively, you can enforce a specific theme by setting the data-theme
attribute in your app.html
. Valid values for this attribute are dark
and light
.
<html lang="en" data-theme="dark"></html>
Define a font family in your app.css
. You can load the default 'Roboto' font, for example, from fonts.google.com.
body {
font-family: 'Roboto';
...
}
Beta (No breaking changes expected)
In progress (Breaking changes expected)
FAQs
Noph UI is a modern, powerful UI library for Svelte 5, fully aligned with the Material 3 guidelines. Build stunning, consistent user interfaces with the efficiency and flexibility of Svelte and Google’s Material Design framework.
The npm package noph-ui receives a total of 0 weekly downloads. As such, noph-ui popularity was classified as not popular.
We found that noph-ui demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.
Research
/Security News
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.