cometchat-theming

Apply CSS variable overrides to theme CometChat UI across React, Next.js, Astro, and React Native.

74|2|Updated Apr 3, 2026
One-click install
npx skills add https://github.com/cometchat/cometchat-skills --skill cometchat-theming
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cometchat-theming
Source: https://github.com/cometchat/cometchat-skills/tree/main/skills/cometchat-theming
Command: npx skills add https://github.com/cometchat/cometchat-skills --skill cometchat-theming

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Align CometChat UI with your app design system by providing CSS variable-based theming guidance and practical override strategies to ensure consistent visuals across platforms.

Core Features & Use Cases

  • CSS-variable theming: override primary colors, typography, radii, and backgrounds to match a design system.
  • Dark mode strategies: implement OS-based or app-controlled theming and map to project tooling.
  • Framework-aware overrides: apply the correct global stylesheet or component-island CSS location for React, Next.js, Astro, and RN integrations.

Quick Start

Apply a CSS variable override to theme CometChat to match the app's design system.

Frequently Asked Questions about cometchat-theming

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I theme CometChat to match my app's design system?

Theme CometChat by overriding CSS variables for primary colors, typography, radii, and backgrounds. Apply these overrides after importing the css-variables.css file to ensure your design system styles take precedence.

Can I implement dark mode in CometChat using CSS variables?

Yes, you can implement dark mode in CometChat using CSS variables. The skill provides strategies for OS-based or app-controlled theming, allowing you to map dark mode overrides to your project's specific tooling.

Does CometChat UI theming work with Next.js and Astro?

CometChat UI theming works with React, Next.js, Astro, and React Native. It provides framework-aware override strategies to apply global stylesheets or component-island CSS in the correct locations for each platform.

What do I need before applying CSS variable overrides to CometChat?

You need an existing CometChat integration before applying CSS variable overrides. This prerequisite ensures safe integration, allowing you to apply design system extractions, brand colors, or presets effectively.

Why are my CometChat CSS variable overrides not working?

CometChat CSS variable overrides may not work if applied before the css-variables.css import. You must apply override stylesheets after the import to ensure safe integration and proper visual alignment.

What is the best way to extract design system colors for CometChat theming?

The best way to extract design system colors for CometChat theming is using the provided design-system extraction workflow. This allows you to map extracted brand colors and presets directly to CometChat CSS variables.