# Styling

> How GUIJam writes fine-tune changes. Tailwind CSS classes with your theme tokens, Vuetify color and rounded props, or inline styles anywhere else.

GUIJam writes changes in the style your project already uses. [Draw](https://guijam.francistinao.com/docs/guides/draw) and [Ask AI](https://guijam.francistinao.com/docs/guides/ask) work with any CSS. [Fine-tune](https://guijam.francistinao.com/docs/guides/fine-tune) and [exact edits](https://guijam.francistinao.com/docs/guides/exact-edits) write one of three ways.

## Tailwind CSS

When your project uses Tailwind, fine-tune writes Tailwind classes and prefers your theme's tokens. Changing a button's fill to your brand color writes `bg-brand`, not a raw hex value.

```tsx title="Before"
<button className="rounded-md bg-blue-600 px-4 py-2">Order now</button>
```

```tsx title="After making it pill-shaped"
<button className="rounded-full bg-blue-600 px-4 py-2">Order now</button>
```

Previews can use classes your project doesn't use anywhere yet. GUIJam points Tailwind at the preview content in `.guijam/run/candidates/`, so those classes get their CSS before you keep the change.

## Vuetify

On Vuetify components, fine-tune writes the component's `color` and `rounded` props:

```vue title="After"
<v-btn color="primary" rounded="pill">Order now</v-btn>
```

Props bound to an expression, such as `:rounded="radius"`, aren't rewritten. Use [Ask AI](https://guijam.francistinao.com/docs/guides/ask) for those.

## Inline styles

In projects without Tailwind, fine-tune writes inline styles: a `style={{ ... }}` object in JSX, and a `style` attribute in `.vue`, `.svelte`, `.astro` and `.html` templates.

In Solid, style keys use their CSS names, such as `background-color`.
