Skip to main content

studio-css-reset

Style Remotion Studio UI inside `.css-reset` containers without relying on inherited reset properties.

소스 정보

저장소
remotion-dev/remotion
최근 소스 활동
2026년 9월 23일 09:36
감지된 SKILL.md 언어
영어
스타
64,425
포크
5,086

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

파일 탐색기
2 개 파일

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
studio-css-reset
description
Style Remotion Studio UI inside `.css-reset` containers without relying on inherited reset properties.
# Studio CSS reset Studio uses `.css-reset` containers to limit the effect of user styles on its UI. The bundler injects this rule in `packages/bundler/src/setup-environment.ts`: ```css .css-reset, .css-reset * { font-size: 16px; line-height: 1.5; color: white; font-family: Arial, Helvetica, sans-serif; background: transparent; box-sizing: border-box; } ``` The rule applies to each reset container and every descendant, but only to the properties shown. It does not cover elements outside those containers or prevent a stronger user CSS rule from winning. ## Must-follow rule Do not rely on inheritance for a property in this reset. Each descendant receives its own reset value, so styling a parent alone will not style nested text or SVG shapes. Set the needed value on the element that renders it, or use a CSS selector that explicitly styles that descendant.
GitHub에서 보기