# GastroSol Digital Branding Guide

This is the public brand asset CDN for GastroSol Digital properties and partner integrations.

IMPORTANT: brand asset usage is governed by `https://branding.gastrosol.hu/LICENSE.md`.

Read the license before use: `https://branding.gastrosol.hu/LICENSE.md`

Treat this CDN as the canonical source of truth for brand delivery.

- do not copy, vendor, or rehost these files into another bucket, app bundle, CMS, or CDN
- file names and token attribute names are stable integration contracts
- token values and the underlying binary assets may change over time
- using the canonical URLs ensures brand updates propagate globally without per-app asset rollouts

Use these URLs directly:

- `https://branding.gastrosol.hu/brand.css`
- `https://branding.gastrosol.hu/featured/tokens.json`
- `https://branding.gastrosol.hu/featured/brandbook.html`

## For Designers

Use the brand book as the visual reference:

- `https://branding.gastrosol.hu/featured/brandbook.html`

Use the tokens file when your tooling supports design tokens:

- `https://branding.gastrosol.hu/featured/tokens.json`

Example Figma flow with Tokens Studio:

1. Open `Tokens Studio`.
2. Add a remote source.
3. Use `https://branding.gastrosol.hu/featured/tokens.json`.
4. Sync tokens into your file.

## For Frontend Developers

The fastest integration path is `brand.css`.

```html
<link rel="stylesheet" href="https://branding.gastrosol.hu/brand.css">
```

Then use the variables directly:

```html
<button class="cta-button">Request a demo</button>

<style>
  .cta-button {
    background: var(--gs-color-burgundy);
    color: var(--gs-color-cream);
    font-family: var(--gs-font-family-ui);
    font-size: var(--gs-font-size-sm);
    padding: var(--gs-spacing-2) var(--gs-spacing-4);
    border: 0;
    border-radius: var(--gs-radius-md);
    box-shadow: var(--gs-shadow-sm);
  }
  .cta-button:hover {
    box-shadow: var(--gs-shadow-md);
  }
</style>
```

You can also use the optional utility classes:

```html
<link rel="stylesheet" href="https://branding.gastrosol.hu/brand.css">

<section class="gs-bg-burgundy" style="padding: var(--gs-spacing-7);">
  <h1 class="gs-h1 gs-text-cream">GastroSol Digital</h1>
  <p class="gs-body-lg gs-text-cream">Reviews, visibility, and guest communication.</p>
</section>
```

## For React / Next.js

Load `brand.css` once at app level:

```tsx
import "./globals.css";

export default function RootLayout({
  children,
}: {
  children: React.ReactNode;
}) {
  return (
    <html lang="en">
      <head>
        <link
          rel="stylesheet"
          href="https://branding.gastrosol.hu/brand.css"
        />
      </head>
      <body>{children}</body>
    </html>
  );
}
```

Then consume tokens in components:

```tsx
export function MarketingCard() {
  return (
    <article
      style={{
        background: "var(--gs-color-cream)",
        color: "var(--gs-color-ink)",
        borderRadius: "var(--gs-radius-lg)",
        padding: "var(--gs-spacing-5)",
        boxShadow: "var(--gs-shadow-sm)",
      }}
    >
      <h2 className="gs-h3">Guest communication</h2>
      <p className="gs-body">
        Keep your public surfaces visually aligned with the GastroSol brand.
      </p>
    </article>
  );
}
```

## For Apps That Want Raw Tokens

If you want to transform tokens yourself, use:

- `https://branding.gastrosol.hu/featured/tokens.json`

Example:

```ts
const response = await fetch("https://branding.gastrosol.hu/featured/tokens.json");
const tokens = await response.json();

const burgundy = tokens.color.burgundy.$value;
const displayFont = tokens.font.family.display.$value;
```

## Common Asset URLs

Logos and image assets live under `/assets/`.

Use the original URL directly instead of downloading and re-serving the file from your own infrastructure.

Examples:

- `https://branding.gastrosol.hu/assets/logobox.png`
- `https://branding.gastrosol.hu/assets/logobox_red.png`
- `https://branding.gastrosol.hu/assets/logobox_beige.png`
- `https://branding.gastrosol.hu/assets/gastrosoldigital_red.png`
- `https://branding.gastrosol.hu/assets/gastrosoldigital_beige.png`
- `https://branding.gastrosol.hu/assets/pattern.png`
- `https://branding.gastrosol.hu/assets/favicon.png`

Example usage:

```html
<img
  src="https://branding.gastrosol.hu/assets/gastrosoldigital_red.png"
  alt="GastroSol Digital"
  style="max-width: 320px; height: auto;"
>
```

## Email / Embedded Surfaces

For HTML emails or embedded surfaces where external assets load at render time:

- use the full absolute URL
- prefer PNG or SVG asset URLs directly from `https://branding.gastrosol.hu/assets/...`
- use `brand.css` only where external stylesheets are supported

Example:

```html
<img
  src="https://branding.gastrosol.hu/assets/logobox_red.png"
  alt="GastroSol"
  width="96"
  height="96"
  style="display:block;border:0;outline:none;text-decoration:none;"
>
```

## Quick Reference

- Visual guide: `https://branding.gastrosol.hu/featured/brandbook.html`
- CSS variables: `https://branding.gastrosol.hu/brand.css`
- Raw design tokens: `https://branding.gastrosol.hu/featured/tokens.json`
- Asset listing: `https://branding.gastrosol.hu/index.html`
