New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

vuepress-plugin-sass-palette

Package Overview
Dependencies
Maintainers
1
Versions
326
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vuepress-plugin-sass-palette

A common palette plugin for vuepress themes and plugins

  • 2.0.0-alpha.12
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.1K
decreased by-26.43%
Maintainers
1
Weekly downloads
 
Created
Source

vuepress-plugin-sass-palette

VuePress style config plugin 📡 / VuePress 样式配置插件 📡

Version Downloads Size

VuePress palette plugin 📡 / VuePress 样式配置插件 📡

Official Docs | 官方文档

Install

npm i -D vuepress-plugin-sass-palette

or

yarn add -D vuepress-plugin-sass-palette

Usage

Options:

export interface PaletteOptions {
  /** identifier for palette */
  id: string;

  /**
   * user config file path, relative to source dir
   *
   * @default ".vuepress/styles/config.scss"
   */
  config?: string;

  /**
   * default config file path, should be absolute path
   *
   * This is the file you should use to provide default values with `!default`
   *
   * @default "vuepress-plugin-sass-palette/styles/default/config.scss"
   */
  defaultConfig?: string;

  /**
   * user palette file path, relative to source dir
   *
   * @default ".vuepress/styles/palette.scss"
   */
  palette?: string;

  /**
   * default palette file path, should be absolute path
   *
   * This is the file you should use to provide default values with `!default`
   *
   * @default "vuepress-plugin-sass-palette/styles/default/palette.scss"
   */

  defaultPalette?: string;

  /**
   * user style file path, relative to source dir
   *
   * @default ".vuepress/styles/palette.scss"
   */
  style?: string;
}

安装

npm i -D vuepress-plugin-sass-palette

yarn add -D vuepress-plugin-sass-palette

选项

export interface PaletteOptions {
  /**
   * 调色板的唯一 ID,用于避免重复注册
   */
  id: string;

  /**
   * 用户配置文件路径,相对于源文件夹
   *
   * @default ".vuepress/styles/config.scss"
   */
  config?: string;

  /**
   * 默认的配置文件路径,应为绝对路径
   *
   * 这是你应该通过 `!default` 来提供默认变量的文件
   *
   * @default "vuepress-plugin-sass-palette/styles/default/config.scss"
   */
  defaultConfig?: string;

  /**
   * 用户的调色板文件路径,相对于源文件夹
   *
   * @default ".vuepress/styles/palette.scss"
   */
  palette?: string;

  /**
   * 默认的调色板文件路径,应为绝对路径
   *
   * 这是你应该通过 `!default` 来提供默认调色板值的文件
   *
   * @default "vuepress-plugin-sass-palette/styles/default/palette.scss"
   */

  defaultPalette?: string;

  /**
   * 用户的样式文件路径,相对于源文件夹
   *
   * @default ".vuepress/styles/palette.scss"
   */
  style?: string;
}

Keywords

FAQs

Package last updated on 06 Feb 2022

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