Skip to main content
rule CX Codex

styling · calesthio — Claude Code rule: object styling in ManimGL

Rule for styling mobjects in ManimGL: fill, stroke, opacity, and visual effects. Use it when building animations and want consistent, reusable styling across objects.

AGPL-3.0 ★ 78,316 updated 2026-10-24

Install into Claude Code · Manually: put the files in place All methods and platforms ↓
.claude/rules/styling.md
Open on GitHub

What styling does

This rule covers all styling approaches for ManimGL objects — from basic fill and stroke to advanced gloss, shadow, and backstroke effects. It shows how to set styles at object creation or afterward, control fill and stroke opacity independently, copy styles between objects via match_style(), and define reusable style functions.

Includes examples of gradient fills across submobjects, neon effects using layered strokes, animated color and opacity transitions, and combining multiple properties. For text, backstroke creates a dark outline behind characters to keep text readable over complex backgrounds.

The rule assumes Python and a working ManimGL installation.

What it helps with

  • apply gradient colors across a group of shapes
  • create neon effect with layered stroke outlines
  • keep text readable over complex backgrounds using backstroke
  • copy styling between objects
  • animate smooth transitions between colors and opacity values

Example prompts for the agent

  • Create three circles: one with solid fill, one semi-transparent, one with outline only
  • Apply gradient from blue to yellow across a row of squares
  • Style text with a glowing outline and backstroke for clarity on busy backgrounds

How to install styling

Manually: put the files in place

.claude/rules/styling.md

The paths frontmatter field limits the files

Step by step, with commands for each platform: AGENTS.md vs CLAUDE.md: what they are and which one to use

Questions about styling

How do I install styling in Claude Code?

Copy the rule file to .claude/rules/styling.md in your project root. Claude Code will automatically load and apply it when working with your code.

What does the styling rule cover?

All ManimGL styling tools: fill properties (color and opacity), stroke (color, width, opacity), backstroke for text, combined opacity control, gloss and shadow for 3D objects, gradient fills across submobjects, and effects like neon with layered strokes.

What are the main styling properties this rule describes?

Fill color and opacity, stroke color and width, backstroke for legible text, overall opacity affecting both fill and stroke, gloss and shadow for 3D shapes, gradient transitions, and special effects including glow and neon styling.

Similar IDE rules

All IDE rules for Game dev and 3D: Unity, Unreal, Godot, Blender →

styling by other authors comes first.

styling Devin-AXIS Rule for consistent React component styling: semantic color tokens instead of raw Tailwind values, built-in component variants, conditional classes via cn(). Prevents improper Tailwind usage and ensures light and dark theme support. CX Codex +1 ★ 7,523repo stars styling maxtrigify styling is a Claude Code rule that enforces Tailwind CSS patterns. Guides the agent to combine classes with tailwind-merge, clsx, and CVA. CX Codex +1 ★ 141repo stars manimgl-best-practices adithya-s-k manimgl-best-practices is a Claude Code skill for writing ManimGL scenes. It activates around manimgl requests, CLI use, and code built with ManimGL-specific features. CX Codex +1 2,600installs material-ui-styling mui Helps the agent pick the right Material UI styling layer: sx, styled(), theme components, or global CSS. Use it when edits pile up and you need to avoid extra wrapper nesting. CX Codex +1 777installs ui-styling fcakyon ui-styling enforces modern React Native styling practices: smooth continuous borders, gap spacing, CSS boxShadow syntax, and native gradients. CX Codex +1 ★ 1,216repo stars Animation Principles - Expert dylantarre Animation Principles - Expert is a Claude Code skill for deliberate rule-breaking in motion design. Runs when crafting non-standard character movement, jerky action, or stylistic visual tension. CX Codex +1 572installs manim-explainer-animation calesthio manim-explainer-animation is a Claude Code skill that structures production workflows for Manim animations. It guides storyboarding, scene code architecture, and math checks before rendering. CX Codex +1 157installs temple-generator glebis temple-generator converts any Obsidian markdown vault into an interactive 3D Three.js knowledge visualization with multi-scale semantic zoom and audio. CX Codex +1 199installs

From the same set101

The whole set →
provider-refresh-oct23 provider-refresh-oct23 configures strict API contracts and routing logic for multimedia generation models. Keeps agent calls aligned with provider updates across speech, image, and video backends. CX Codex +1 ★ 78,316repo stars 3d-page-scroll The 3d-page-scroll rule turns a webpage into a tilted 3D card and scrolls its content to chosen sections. It fits product scenes and long page layouts. CX Codex +1 ★ 78,316repo stars gsap-effects gsap-effects — a rule with drop-in GSAP patterns for HyperFrames: typewriter text and an audio visualizer driven by the timeline. Useful when the agent renders videos frame by frame with deterministic output. CX Codex +1 ★ 78,316repo stars counting-dynamic-scale counting-dynamic-scale animates numeric counters while growing font size via GSAP. Useful for dramatizing stats and metrics in hero sections. CX Codex +1 ★ 78,316repo stars kling-official kling-official teaches the agent to drive Kling's own API inside OpenMontage: video, images, speech, avatars and lip sync. CX Codex +1 ★ 78,316repo stars hyperframes-cli hyperframes-cli guides the HyperFrames video build loop, from composition validation and timeline inspection to AWS Lambda rendering. CX Codex +1 ★ 78,316repo stars synthetic-screen-recording The synthetic-screen-recording skill guides synthetic terminal demos in Remotion with TerminalScene. Use it when the command sequence and output can be authored ahead of time. CX Codex +1 ★ 78,316repo stars svg-path-draw svg-path-draw — a rule that gets the agent to trace an SVG outline stroke by stroke, then fade in a wordmark once the drawing settles. CX Codex +1 ★ 78,316repo stars

Project sponsors

Companies that keep this analytics open