@ezuikit/player-theme 2.0.2-beta.6 → 2.0.2-beta.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,40 +1 @@
1
- ## 简介
2
-
3
- 萤石播放器主题
4
-
5
- ## 快速入门
6
-
7
- ```ts
8
- import Theme from '@ezuikit/player-theme';
9
- // 引入样式
10
- import '@ezuikit/player-theme/dist/style.css';
11
-
12
- // 使用
13
- const theme = new Theme({
14
- // ...
15
- });
16
-
17
- // 播放器接入主题
18
- class Player extends Theme {
19
- constructor(options) {
20
- super(options);
21
- // ...
22
- }
23
- // ...
24
- }
25
- ```
26
-
27
- ## 样式变量
28
-
29
- ```scss
30
- --ezplayer-default-color: #fff;
31
- --ezplayer-primary-color: #407aff;
32
- --ezplayer-active-color: var(--ezplayer-primary-color, #407aff);
33
- --ezplayer-disabled-color: #aaa;
34
- --ezplayer-font-size: 14px;
35
- --ezplayer-icon-font-size: 24px;
36
- --ezplayer-btn-height: var(--ezplayer-icon-font-size, 24px);
37
- --ezplayer-border-radius: 8px;
38
- // 移动端暂时不生效
39
- --ezplayer-picker-panel-bg-color: rgba(0, 0, 0, 0.7);
40
- ```
1
+ # EZUIKit-player-theme