> For the complete documentation index, see [llms.txt](https://docs.pteroca.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.pteroca.com/for-developers/themes/getting-started.md). Agents can also search and read this documentation through its [MCP server](https://docs.pteroca.com/~gitbook/mcp).

# Getting Started

Learn how to customize PteroCA's appearance with custom themes.

## Introduction

PteroCA's theme system allows you to completely customize the panel's appearance without modifying core files. Themes can override templates, customize styles, and add custom JavaScript to create a unique user experience.

### What is a Theme?

A theme is a collection of templates, stylesheets, and assets that define the visual appearance of your PteroCA panel. Themes can:

* **Override default templates**: Customize any page or component
* **Style the interface**: Add custom CSS for colors, layouts, typography
* **Enhance functionality**: Add JavaScript for interactive features
* **Customize emails**: Brand email templates with your design

### Theming Architecture

PteroCA uses:

* **Twig**: Templating engine from Symfony
* **EasyAdmin Bundle**: CRUD interface generator (75% of admin panel)
* **Bootstrap**: CSS framework for responsive design
* **Theme inheritance**: Override only what you need, inherit the rest

### When to Create a Theme

Create a theme when you want to:

* **Brand the panel**: Add your logo, colors, and style
* **Customize the UI**: Change layouts, add custom components
* **Improve UX**: Enhance user experience with custom interactions
* **Create white-label**: Completely rebrand for reselling

### When to Use Plugins Instead

Consider plugins for:

* **New functionality**: Adding features requires plugins, not themes
* **Database changes**: Themes cannot modify database structure
* **Backend logic**: Business logic belongs in plugins
* **API integrations**: External service connections need plugins

### Publishing Your Theme

Once you've created a theme, share it with the community:

{% hint style="success" %}
**Publish on PteroCA Marketplace**

Submit your theme to the [PteroCA Marketplace](https://marketplace.pteroca.com) to reach the entire PteroCA community.

**Benefits:**

* ✅ Wider audience reach
* ✅ Security review process
* ✅ Community reviews and ratings
* ✅ Version management
* ✅ Free and premium themes
* ✅ Developer support and feedback

**Visit:** [marketplace.pteroca.com](https://marketplace.pteroca.com)
{% endhint %}

**Other distribution channels:**

* GitHub releases (open source)
* Discord community sharing
* Your own website or portfolio
* Direct sales to clients

## Next Steps

Now that you understand what themes are, continue with:

* [Theme Structure](https://docs.pteroca.com/for-developers/themes/theme-structure.md) - Learn about file organization
* [Template.json](https://docs.pteroca.com/for-developers/themes/template-json.md) - Configure theme metadata
* [Creating Themes](https://docs.pteroca.com/for-developers/themes/creating-themes.md) - Create your first theme

## Need Help?

* Check [Testing](https://docs.pteroca.com/for-developers/themes/testing.md) for quality assurance
* Review [Twig Guide](https://docs.pteroca.com/for-developers/themes/twig-guide.md) for templating
* Join [Discord Community](https://discord.com/invite/Gz5phhuZym)
* Visit [Twig Documentation](https://twig.symfony.com/doc/3.x/)
