Colors & Theming
Change colors to match your brand and implement dark mode.Inline Styles Variant
Color Palette Guides
Component files have color palette documentation in their headers:Light Color → Dark Color
Changing Colors
- Find the hex code in your editor’s search
- Replace with your brand color
Dark Mode (Inline Styles)
Use thetheme prop on comment components:
Tailwind CSS Variant
Changing Colors
Option 1: Change classes directlybg-primary, text-primary, etc.
Dark Mode (Tailwind)
Components usedark: prefix for dark mode:
- Configure Tailwind for class-based dark mode:
- Add
darkclass to parent element:
Shared Pieces
The GIF picker, loading skeletons, mention text and (in social comments) the emoji bar divider are drawn by the files in the component’sshared/ folder. Their light and dark colors are in shared/theme.ts.
- Inline styles variant, and every React Native / Expo variant: the component passes its
themeto these pieces. Edit the colors inshared/theme.ts. - Tailwind variant on web: the pieces read CSS custom properties, and the root element of the comment section sets them under
dark::
shared/theme.ts. To override a light color from CSS, set the same property without the dark: prefix.
Common Customizations
Change Primary Brand Color
Inline Styles — find & replace across the component directory:Customize Dark Mode Colors
Next Steps
Layout & Structure
Modify component layout
Styling Variants
Inline styles vs Tailwind
Adding Features
Add custom functionality
Advanced
Advanced customization techniques

