
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@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.
The npm package @croud-ui/element-plus-theme receives a total of 243 weekly downloads. As such, @croud-ui/element-plus-theme popularity was classified as not popular.
We found that @croud-ui/element-plus-theme demonstrated a not healthy version release cadence and project activity because the last version was released 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
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.