Skip to content
GUIJam
Please leave a star!11 stars

Styling

GUIJam writes changes in the style your project already uses. Draw and Ask AI work with any CSS. Fine-tune and 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.

Before
<button className="rounded-md bg-blue-600 px-4 py-2">Order now</button>
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:

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 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.

Documentation