Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
@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.
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
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.