Some checks failed
Auto Tag Develop / tag (push) Has been cancelled
- Rename project name across code, configs, docs, dev/prod infra - Dev: DOCKER_APP_NAME + POSTGRES_DB switched to starseed, containers become php-starseed-fpm / nginx-starseed / starseed-db-1 - Dev: mount nginx.conf on default.conf instead of starseed.conf to avoid alphabetical-order clash with image's default site - Makefile: export CURRENT_UID/CURRENT_GID at top level so docker compose builds (db-reset etc.) get them - Prod: image registry path, container_name, volumes, vhost server_name + paths, DATABASE_URL, CORS, CI workflow - Add doc/prompt-rename-prod.md with the migration runbook for the prod server (DB rename, FS move, vhost, Let's Encrypt)
45 lines
1.5 KiB
TypeScript
45 lines
1.5 KiB
TypeScript
import type {Config} from 'tailwindcss'
|
|
|
|
/**
|
|
* Config Tailwind du projet Starseed.
|
|
*
|
|
* @nuxtjs/tailwindcss merge automatiquement les configs de chaque layer
|
|
* Nuxt declare dans `nuxt.config.ts:extends`. Le layer `@malio/layer-ui`
|
|
* apporte deja :
|
|
* - borderRadius.malio (var CSS --m-radius)
|
|
* - colors.m.{primary,surface,border,text,muted,bg,disabled,danger,
|
|
* success,btn-*,site-blue,site-yellow,site-green}
|
|
* - fontFamily.sans (Helvetica Neue)
|
|
*
|
|
* Cette config locale ne redeclare QUE ce qui est specifique a Starseed
|
|
* ou absent de la config Malio — evite la duplication et les derives.
|
|
*/
|
|
export default <Partial<Config>>{
|
|
darkMode: 'class',
|
|
theme: {
|
|
extend: {
|
|
colors: {
|
|
// Couleurs applicatives Starseed (hors namespace `m` reserve
|
|
// au design system Malio partage).
|
|
primary: {
|
|
500: '#222783',
|
|
},
|
|
secondary: {
|
|
500: '#304998'
|
|
},
|
|
tertiary: {
|
|
500: '#F3F4F8'
|
|
},
|
|
blue: {
|
|
500: '#056CF2'
|
|
},
|
|
// Extensions au namespace `m` non couvertes par Malio 1.4.1.
|
|
m: {
|
|
secondary: 'rgb(var(--m-secondary, 75 77 237) / <alpha-value>)',
|
|
tertiary: 'rgb(var(--m-tertiary, 243 244 248) / <alpha-value>)',
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|