Ink supports a powerful theme system that allows you to completely customize the visual appearance of the editor. This guide will walk you through creating your own theme.
Theme Structure
A theme is a collection of CSS variables that define colors, fonts, spacing, and other visual properties. Themes are organized into several categories:
Colors - Primary, accent, background, and text colors
Typography - Font families, sizes, and weights
Spacing - Margins, paddings, and gaps
Code Blocks - Syntax highlighting colors
Creating a Theme
Create a new CSS file for your theme
Define your CSS variables under a class or data attribute
Import and apply your theme in the editor settings