
Security News
PEP 810 Proposes Explicit Lazy Imports for Python 3.15
An opt-in lazy import keyword aims to speed up Python startups, especially CLIs, without the ecosystem-wide risks that sank PEP 690.
@nl-rvo/component-library-css
Advanced tools
Component library bundle for the RVO based on the NL Design System architecture
CSS-componenten worden ontwikkeld met behulp van BEM-classnamen en de stylesheets kunnen zonder bijwerkingen in je pagina worden opgenomen. Pas de classnamen toe op je elementen om ze stijlbaar te maken met behulp van designtokens.
npm install --save-dev --save-exact @nl-rvo/component-library-css
Je kunt kiezen om in één keer de hele library in te laden of alleen de componenten die je nodig hebt.
<link rel="stylesheet" href="@nl-rvo/component-library-css/dist/index.min.css" />
<link rel="stylesheet" href="@nl-rvo/component-library-css/dist/components/accordion.min.css" />
Als de Design Tokens, Components en Assets libraries zijn toegevoegd kun je het design system gebruiken door aan de root van je applicatie de CSS-class rvo-theme
toe te voegen:
<body class="rvo-theme"></body>
Let op: Laad je de componenten individueel in? Dan moet je ook de base.css inladen. Deze bevat modern-normalize.css en de .rvo-theme class.
<link rel="stylesheet" href="@nl-rvo/component-library-css/dist/components/base.min.css" />
Nu kunnen code snippets van componenten direct uit Storybook worden gekopieerd. Het hier gaat om puur CSS styling is er verder geen bindende javascript functionaliteit of manier om componenten te gebruiken. Je kunt dus zelf de componenten naar wens combineren en waar nodig javascript functionaliteit toevoegen. Let wel op dat je de principes van het design system intact houdt. Let erop dat je de benodigde componenten CSS inlaad als je werkt met de individuele component CSS bestanden in de package.
FAQs
Component library bundle for the RVO based on the NL Design System architecture
The npm package @nl-rvo/component-library-css receives a total of 280 weekly downloads. As such, @nl-rvo/component-library-css popularity was classified as not popular.
We found that @nl-rvo/component-library-css demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 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
An opt-in lazy import keyword aims to speed up Python startups, especially CLIs, without the ecosystem-wide risks that sank PEP 690.
Security News
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.