Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

player.style

muxinc496.3kMIT0.1.8TypeScript support: included

A fresh collection of media player themes for every use case!

readme

player.style

Video and audio player themes built with Media Chrome, for every web player and framework.

Visit player.style.

Local Development

This is a monorepo that uses NPM workspaces and Turbo. The root package is also a published package, which currently prevents having identically named NPM scripts in both the root and workspace packages.

For this reason we use the turbo CLI directly in the root directory.

  1. Install Turbo globally: npm install -g turbo
  2. Clone the repository
  3. Run npm install
  4. Run turbo build

Handling Dependency Conflicts with media-chrome

If your project already includes media-chrome and you encounter dependency conflicts, you can override the resolution to ensure compatibility.

Solution: Using overrides in package.json (for npm 8+)

If you're using npm 8 or later, you can enforce a specific version of media-chrome in your package.json by adding an overrides field:

{
  "overrides": {
    "media-chrome": "<your-desired-version>"
  }
}

If you’re using Yarn, you can enforce a specific version with the resolutions field:

{
  "resolutions": {
    "media-chrome": "<your-desired-version>"
  }
}

changelog

Changelog

0.1.1 (2024-12-19)

Dependencies

  • The following workspace dependencies were updated
    • devDependencies
      • build-theme bumped from ^0.0.8 to ^0.1.0

0.1.0 (2024-12-09)

Features

0.0.12 (2024-10-29)

Dependencies

  • The following workspace dependencies were updated
    • devDependencies
      • build-theme bumped from ^0.0.7 to ^0.0.8

0.0.11 (2024-10-21)

Features

Dependencies

  • The following workspace dependencies were updated
    • devDependencies
      • build-theme bumped from ^0.0.6 to ^0.0.7

0.0.10 (2024-10-08)

Dependencies

  • The following workspace dependencies were updated
    • devDependencies
      • build-theme bumped from ^0.0.5 to ^0.0.6

0.0.9 (2024-09-25)

Dependencies

  • The following workspace dependencies were updated
    • devDependencies
      • build-theme bumped from ^0.0.4 to ^0.0.5

0.0.8 (2024-09-10)

Dependencies

  • The following workspace dependencies were updated
    • devDependencies
      • build-theme bumped from ^0.0.3 to ^0.0.4

0.0.7 (2024-08-15)

Bug Fixes

  • improve color CSS vars & site color picker (#49) (a8e8dc0)
  • no render on preload none (#38) (64dda58)
  • remove unneeded package.json extra (f869248)
  • upgrade to Media Chrome v4 (#64) (be68af2)

Dependencies

  • The following workspace dependencies were updated
    • devDependencies
      • build-theme bumped from ^0.0.2 to ^0.0.3

0.0.6 (2024-06-21)

Features