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.
@croud-ui/element-plus-theme
Advanced tools
Croud control [element plus](https://github.com/element-plus/element-plus) theme and reset stylesheet built using the [@croud-ui/tokens](../tokens/README.md) package.
Croud control element plus theme and reset stylesheet built using the @croud-ui/tokens package.
You can install this theme from the npm registry:
yarn add @croud-ui/element-plus-theme --dev
This package doesn't do much on its own. You will also need to install sass
and element-plus
:
element-plus:
yarn add element-plus
sass:
yarn add sass --dev
To use the custom element-plus
theme you will need to import this package before element-plus
's chalk-theme sass files.
SCSS:
// import theme before elements theme-chalk import
@use "@croud-ui/element-plus-theme";
// import theme-chalk sass files
@use "element-plus/theme-chalk/src/index";
JavaScript (ESM):
// import theme before elements theme-chalk import
import "@croud-ui/element-plus-theme/src/theme.scss";
// import theme-chalk sass files
import "element-plus/theme-chalk/src/index.scss";
Please refer to element-plus
documentation for more complete theme configuration instructions.
We also recommend importing our reset stylesheet that provides sensible browser resets and default styling for native elements.
SCSS:
// import reset stylesheet globally
@use "@croud-ui/element-plus-theme/src/reset"
JavaScript (ESM):
// import reset stylesheet globally
import "@croud-ui/element-plus-theme/src/reset.scss";
Note: our reset stylesheet is an extension of elements theme-chalk reset stylesheet so you don't need to import both here.
Licensed under the MIT License
FAQs
Croud control [element plus](https://github.com/element-plus/element-plus) theme and reset stylesheet built using the [@croud-ui/tokens](../tokens/README.md) package.
We found that @croud-ui/element-plus-theme demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 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.