chore: initial scaffold

This commit is contained in:
Julien Calixte
2026-06-16 23:50:48 +02:00
commit a10e3a5dd9
22 changed files with 1858 additions and 0 deletions

19
src/App.vue Normal file
View File

@@ -0,0 +1,19 @@
<script setup lang="ts"></script>
<template>
<main class="font-sans min-h-screen bg-base-200 flex items-center justify-center p-4">
<div class="card w-full max-w-md bg-base-100 shadow-xl">
<div class="card-body items-center text-center gap-3">
<img src="/favicon.svg" alt="" class="size-12" />
<h1 class="card-title text-3xl">Macroplan</h1>
<p class="text-base-content/70">
A week-granular, learning-oriented view of the features a team has
committed to deliver.
</p>
<div class="card-actions mt-2">
<button class="btn btn-primary">Get started</button>
</div>
</div>
</div>
</main>
</template>

View File

@@ -0,0 +1,30 @@
# Icons
Reusable in-app icons. Source: https://tabler.io/icons (outline variant by default).
## Add an icon
1. Find the icon on https://tabler.io/icons, click it, copy the SVG (or download).
2. Save it here as `<slug>.svg` — same slug Tabler uses (`bolt.svg`, `qrcode.svg`).
3. Keep `stroke="currentColor"` in the SVG so colour follows Tailwind classes.
## Use an icon
Static colour (cheapest, no extra component):
```vue
<img src="@/assets/icons/bolt.svg" alt="" class="size-5" />
```
Dynamic colour (needs `currentColor` to flow through — paste the SVG inline as a component):
```vue
<template>
<svg class="size-5 text-primary" viewBox="0 0 24 24" fill="none"
stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<!-- paste paths from the Tabler SVG here -->
</svg>
</template>
```
The favicon at `public/favicon.svg` was generated from this same icon set with `currentColor` replaced by the app's primary hex at scaffold time.

5
src/main.ts Normal file
View File

@@ -0,0 +1,5 @@
import { createApp } from 'vue'
import './style.css'
import App from './App.vue'
createApp(App).mount('#app')

12
src/style.css Normal file
View File

@@ -0,0 +1,12 @@
@import url("https://fonts.coollabs.io/css2?family=Inter:wght@400;500;600;700&display=swap");
@import "tailwindcss";
@plugin "daisyui";
@plugin "daisyui/theme" {
name: "light";
default: true;
--color-primary: #006266;
}
@theme {
--font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
}