Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@croud-ui/element-plus-theme

Package Overview
Dependencies
Maintainers
2
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@croud-ui/element-plus-theme

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.

  • 0.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
2
Created
Source

@croud-ui/element-plus-theme

Croud control element plus theme and reset stylesheet built using the @croud-ui/tokens package.

Install

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

Usage

Use element theme

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.

License

Licensed under the MIT License

FAQs

Package last updated on 12 Feb 2024

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc