@salifbiaye/create-boutique 0.1.3 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salifbiaye/create-boutique",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "Usine à Boutiques : génère un projet complet (backend Medusa + une boutique Next.js par campagne) prêt pour docker compose",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": { "type": "git", "url": "git+https://github.com/salifbiaye/create-boutique.git" },
|
|
@@ -108,6 +108,9 @@ module.exports = defineConfig({
|
|
|
108
108
|
jwtSecret: process.env.JWT_SECRET!,
|
|
109
109
|
cookieSecret: process.env.COOKIE_SECRET!,
|
|
110
110
|
},
|
|
111
|
+
// En production Medusa pose un cookie de session `Secure`, jamais envoyé sur http : la connexion à
|
|
112
|
+
// l'admin échouerait sur http://localhost. Secure seulement si l'admin est servi en https.
|
|
113
|
+
cookieOptions: { secure: (process.env.ADMIN_CORS ?? "").startsWith("https://") },
|
|
111
114
|
},
|
|
112
115
|
modules,
|
|
113
116
|
})
|
|
@@ -88,3 +88,28 @@ html[data-theme] {
|
|
|
88
88
|
-webkit-text-fill-color: var(--ink);
|
|
89
89
|
-webkit-box-shadow: 0 0 0 1000px var(--bg) inset;
|
|
90
90
|
}
|
|
91
|
+
|
|
92
|
+
/* Couleurs Tailwind écrites en dur dans le starter (compte, panier, checkout, squelettes de chargement) :
|
|
93
|
+
ramenées aux tokens du thème, sinon un thème sombre affiche des blocs blancs au texte illisible. */
|
|
94
|
+
.ub :is(.bg-white, .bg-gray-50, .bg-neutral-50) {
|
|
95
|
+
background-color: var(--surface);
|
|
96
|
+
}
|
|
97
|
+
.ub :is(.bg-gray-100, .bg-neutral-100) {
|
|
98
|
+
background-color: var(--tint-1);
|
|
99
|
+
}
|
|
100
|
+
.ub :is(.bg-gray-200, .bg-neutral-300) {
|
|
101
|
+
background-color: var(--tint-2);
|
|
102
|
+
}
|
|
103
|
+
.ub :is(.border-gray-200, .border-gray-300),
|
|
104
|
+
.ub .divide-gray-200 > * + * {
|
|
105
|
+
border-color: var(--border);
|
|
106
|
+
}
|
|
107
|
+
.ub :is(.border-gray-700, .border-gray-900) {
|
|
108
|
+
border-color: var(--ink);
|
|
109
|
+
}
|
|
110
|
+
.ub :is(.text-black, .text-neutral-950) {
|
|
111
|
+
color: var(--ink);
|
|
112
|
+
}
|
|
113
|
+
.ub :is(.text-neutral-400, .text-neutral-500, .text-neutral-600, .text-grey-700) {
|
|
114
|
+
color: var(--ink-muted);
|
|
115
|
+
}
|