Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
shiyiya authored Aug 1, 2024
1 parent a6f564d commit f150cda
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@oplayer/ui",
"version": "1.3.3-beta.2",
"version": "1.3.3-beta.3",
"description": "ui plugin for oplayer",
"type": "module",
"main": "./dist/index.es.js",
Expand Down
5 changes: 5 additions & 0 deletions packages/ui/src/style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@ export const root = (config: UiConfig) => {
'--shadow-background-color': 'rgba(28 ,28 ,28 , .9)',
'--control-bar-height': config.theme!.controller?.display ? '2.5em' : 0,

// fix tailwindcss
[`& ${loading}:before, & ${loading}:after`]: {
'--primary-color': `${config.theme!.primaryColor}`,
},

position: 'absolute',
top: '0',
left: '0',
Expand Down

0 comments on commit f150cda

Please sign in to comment.