🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis
Socket
Book a DemoInstallSign in
Socket

@ezuikit/player-theme

Package Overview
Dependencies
Maintainers
4
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ezuikit/player-theme

player theme

latest
npmnpm
Version
2.0.1
Version published
Maintainers
4
Created
Source

简介

萤石播放器主题

快速入门

import Theme from '@ezuikit/player-theme';
// 引入样式
import '@ezuikit/player-theme/dist/style.css';

// 使用
const theme = new Theme({
  // ...
});

// 播放器接入主题
class Player extends Theme {
  constructor(options) {
    super(options);
    // ...
  }
  // ...
}

样式变量

--ezplayer-default-color: #fff;
--ezplayer-primary-color: #407aff;
--ezplayer-active-color: var(--ezplayer-primary-color, #407aff);
--ezplayer-disabled-color: #aaa;
--ezplayer-font-size: 14px;
--ezplayer-icon-font-size: 24px;
--ezplayer-btn-height: var(--ezplayer-icon-font-size, 24px);
--ezplayer-border-radius: 8px;
// 移动端暂时不生效
--ezplayer-picker-panel-bg-color: rgba(0, 0, 0, 0.7);

Keywords

player

FAQs

Package last updated on 03 Dec 2025

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