New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

ice-skin-loader

Package Overview
Dependencies
Maintainers
6
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ice-skin-loader

ice skin loader

latest
npmnpm
Version
0.3.2
Version published
Weekly downloads
429
-22.42%
Maintainers
6
Weekly downloads
 
Created
Source

ice-skin-loader

定制 ICE 主题:

  • 根据 themeFile 获取对应的 sass 变量覆盖默认的组件变量
  • 根据 themeConfig 自定义变量
    • 根据 primary-color secondary-color 计算出相关的品牌色
    • 根据 icon-font-path, icon-font-name, font-custom-path 实现图标和字体本件的本地化
    • 根据 nextPrefix 实现更改 next 1.x 的 css 前缀
    • 其他单个变量覆盖

使用

{
  loader: require.resolve('ice-skin-loader'),
  options: {
    themeFile: path.join(appName, `variables.scss`),
    themeConfig: {
      nextPrefix: 'nextfd-',
      primaryColor: 'green',
      secondaryColor: 'green',
      // 原始 scss 变量
      'font-size-body-1': '14px'
    }
  }
};

Keywords

ice

FAQs

Package last updated on 11 Mar 2021

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