mirror of
https://github.com/zoriya/v10.git
synced 2026-08-16 02:45:09 +00:00
fix(ui): revert style testing change
This commit is contained in:
@@ -19,7 +19,6 @@ import PlayButton from '../../components/PlayButton';
|
||||
import { TimeRange } from '../../components/TimeRange';
|
||||
import { VolumeRange } from '../../components/VolumeRange';
|
||||
import styles from './styles';
|
||||
import twStyles from './styles.module.css';
|
||||
|
||||
type SkinProps = PropsWithChildren<{
|
||||
className?: string;
|
||||
@@ -27,7 +26,7 @@ type SkinProps = PropsWithChildren<{
|
||||
|
||||
export default function MediaSkinDefault({ children, className = '' }: SkinProps): JSX.Element {
|
||||
return (
|
||||
<MediaContainer className={`${twStyles.Container} ${className}`}>
|
||||
<MediaContainer className={`${styles.MediaContainer} ${className}`}>
|
||||
{children}
|
||||
|
||||
{/* Background gradient to help with controls contrast. */}
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
// It just makes the billions of Tailwind classes a little easier to read.
|
||||
const cn = (...classes: (string | undefined)[]): string => classes.filter(Boolean).join(' ');
|
||||
|
||||
export interface MediaSkinStyles {
|
||||
export interface MediaDefaultSkinStyles {
|
||||
readonly MediaContainer: string;
|
||||
readonly Overlay: string;
|
||||
readonly Controls: string;
|
||||
@@ -32,7 +32,7 @@ export interface MediaSkinStyles {
|
||||
readonly VolumeRangeThumb: string;
|
||||
}
|
||||
|
||||
const styles: MediaSkinStyles = {
|
||||
const styles: MediaDefaultSkinStyles = {
|
||||
MediaContainer: cn(
|
||||
'relative @container/root group/root overflow-clip',
|
||||
// Base typography
|
||||
|
||||
Reference in New Issue
Block a user