Security News
Input Validation Vulnerabilities Dominate MITRE's 2024 CWE Top 25 List
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
@public-ui/themes
Advanced tools
Contains the style guides and themes of various corporate designs for KoliBri - The accessible HTML-Standard.
The Themes module contains numerous themes (style guides) for the component library. They can be loaded in combination with the Components module.
You can read more about modularization in the architecture concept.
More about the project can be found in the documentation.
You can install the KoliBri themes with npm
, pnpm
or yarn
:
npm i -g @public-ui/themes
pnpm i -g @public-ui/themes
yarn add -g @public-ui/themes
Register the themes like this:
import { register } from '@public-ui/components';
import { defineCustomElements } from '@public-ui/components/dist/loader';
import { BMF, DEFAULT, ECL_EC, ECL_EU, ITZBund } from '@public-ui/themes';
register(
DEFAULT,
// or provide an array to register multiple themes:
// [BMF, DEFAULT, ECL_EC, ECL_EU, ITZBund]
defineCustomElements,
)
.then(() => {
/* KoliBri ready */
})
.catch((error) => {
/* Handle errors */
});
We use pnpm as package manager and there is a tiny typing issue with the default typescript setup.
What does we know?
This seems to be a general issue:
Solution:
We must activate the specific option preserveSymlinks
in the tsconfig.json
file.
...
"preserveSymlinks": true,
...
FAQs
Contains the style guides and themes of various corporate designs for KoliBri - The accessible HTML-Standard.
The npm package @public-ui/themes receives a total of 979 weekly downloads. As such, @public-ui/themes popularity was classified as not popular.
We found that @public-ui/themes 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.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.