# Logo

The hand-drawn spiral and the Karla wordmark beside it, the same in every product: the app, the landing, the docs and this guide.

## Download

Every variation as an SVG or a transparent PNG (512px tall), built from the package's drawing and face, in the brand's current inks.

## Use

- The logo is always ink: dark on light grounds, light on dark ones, never the accent.
- The spiral is a mask over `currentColor`, so it takes the ink of its parent; set the colour on the lockup, never on the drawing.
- The word is Karla 700 at −0.03em (`--q-wordmark-family`, `--q-wordmark-weight`, `--q-wordmark-tracking`), the mark 0.3em from it (`--q-wordmark-gap`).
- Size the lockup by its font size, the mark alone by `--q-mark-size` (1.4em by default).
- Components: `Logo` (`word={false}` for the mark alone) and `Mark`. Assets: `q-design-ui/brand/mark.svg` (the bold drawing, for small sizes) and `q-design-ui/brand/mark-fine.png` (the original thin drawing, for large ones).

## Examples

```svelte
<script lang="ts">
  import Logo from '@qualia-studios/design-ui/components/Logo.svelte';
</script>
```

### Example 1: The lockup at three sizes

One drawing and one word, scaled by the font size alone.

```svelte
<div class="sizes">
  <span style="font-size: var(--q-text-base);"><Logo /></span>
  <span style="font-size: var(--q-text-lg);"><Logo /></span>
  <span style="font-size: var(--q-text-2xl);"><Logo /></span>
</div>
```

### Example 2: The mark alone

Where the name is already said: an avatar, a favicon, a tab.

```svelte
<span class="sizes" style="font-size: var(--q-text-2xl);"
  ><Logo word={false} /></span
>
```

### Example 3: Light and dark, panel and card

The lockup takes the strong ink of each surface it sits on.

```svelte
<div class="tiles">
  {#each ['light', 'dark'] as theme (theme)}
    {#each ['panel', 'card'] as surface (surface)}
      <div class="tile {surface}" data-theme={theme}>
        <Logo />
        <span class="tile-label">{theme} · {surface}</span>
      </div>
    {/each}
  {/each}
</div>
```

---

From the Qualia design guide: https://q-core-3b2732.gitlab.io/logo. Every page as markdown: https://q-core-3b2732.gitlab.io/llms.txt
