# Overview

> Documentation index: https://frontend-tools.coherent-labs.com/llms.txt lists every page of this documentation as Markdown; the full text is in https://frontend-tools.coherent-labs.com/llms-full.txt.

Source: https://frontend-tools.coherent-labs.com/vite-gameface-style-transformer/getting-started/

A framework-agnostic Vite plugin and UnoCSS preset designed specifically for Coherent Gameface.

Because Gameface’s CSS parser cannot handle standard web escape characters (like : or \[]), using standard Tailwind or UnoCSS classes directly will break your game’s UI. This plugin acts as a pre-compiler that sanitizes your HTML/JSX templates, safely extracts inline styles into atomic classes, and warns you about Gameface-unsupported CSS constraints at build time.

Supports SolidJS, React, Vue, Svelte, and vanilla HTML.

### 📦 Installation

```shell
npm install vite-plugin-gameface-styles unocss
```
