From 6195d7775932d5a2651b3b6b28581d88b85f180a Mon Sep 17 00:00:00 2001 From: nathaninline Date: Tue, 28 Jul 2026 07:58:06 +0200 Subject: [PATCH] v0.5.9 : nouveau theme AJEAN (bleu pixel, clair) par defaut + logo AJEAN dessine en pixels MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - theme "AJEAN" : fond clair quadrille, bleu #1f6feb, aucun arrondi, bordures de 2 px, ombres en blocs decales, boutons en capitales qui s'enfoncent au survol. Meme charte que la landing ajean.app. - il devient le theme par defaut (registre, initTheme, script anti-flash du head). - correctif : "ajean" manquait dans la liste blanche serveur (web_prefs.go), donc le choix etait rejete et le thème "sautait" a chaque rafraichissement. - logo : le mot AJEAN est dessine en pixels (SVG, grille 4x5 par lettre, trait d'un module, j repris de la tuile du favicon) au lieu d'etre ecrit en texte ; le "a" du mode agent garde son animation d'apparition. --- cmd/jean/resource_windows_amd64.syso | Bin 8340 -> 8340 bytes cmd/jean/resource_windows_arm64.syso | Bin 8340 -> 8340 bytes cmd/jean/versioninfo.json | 6 +- internal/jean/run.go | 2 +- internal/jean/ui/index.html | 81 +++++++++++++++++++++++---- internal/jean/ui/src/index.tmpl.html | 4 +- internal/jean/ui/src/js/01-theme.js | 6 +- internal/jean/ui/src/js/02-prefs.js | 4 +- internal/jean/ui/src/styles.css | 67 ++++++++++++++++++++-- internal/jean/web_prefs.go | 2 +- 10 files changed, 145 insertions(+), 27 deletions(-) diff --git a/cmd/jean/resource_windows_amd64.syso b/cmd/jean/resource_windows_amd64.syso index 847b9fede0eef6564179c24d3ba0dcbefbef818a..a750ba683dde00db63ffc31b1d4957c897e0910e 100644 GIT binary patch delta 36 ncmbQ@IK^>;lnf^)11kdvaBfzX5oBVt+-xcr%m}19<+&LFg?|R? delta 36 ncmbQ@IK^>;lnf^a11kdvaBNnV5oBVt*la2n%m}19<+&LFg**o5 diff --git a/cmd/jean/resource_windows_arm64.syso b/cmd/jean/resource_windows_arm64.syso index 1816923a03143047c16d103ffb55255b4d08d4e0..61e99180574945f7fc1f1d455178802af4b3fedd 100644 GIT binary patch delta 36 ncmbQ@IK^>;lnf^)11kdvaBfzX5oBVt+-xcr%m}19<+&LFg?|R? delta 36 ncmbQ@IK^>;lnf^a11kdvaBNnV5oBVt*la2n%m}19<+&LFg**o5 diff --git a/cmd/jean/versioninfo.json b/cmd/jean/versioninfo.json index 9c597f3..584977e 100644 --- a/cmd/jean/versioninfo.json +++ b/cmd/jean/versioninfo.json @@ -3,13 +3,13 @@ "FileVersion": { "Major": 0, "Minor": 5, - "Patch": 8, + "Patch": 9, "Build": 0 }, "ProductVersion": { "Major": 0, "Minor": 5, - "Patch": 8, + "Patch": 9, "Build": 0 }, "FileFlagsMask": "3f", @@ -25,7 +25,7 @@ "LegalCopyright": "Copyright (c) 2026 Jean contributors. MIT License.", "OriginalFilename": "jean.exe", "ProductName": "Jean", - "ProductVersion": "0.5.8", + "ProductVersion": "0.5.9", "Comments": "https://github.com/nathaninline/jean — projet open source (MIT)" }, "VarFileInfo": { diff --git a/internal/jean/run.go b/internal/jean/run.go index a4d2423..979752f 100644 --- a/internal/jean/run.go +++ b/internal/jean/run.go @@ -10,7 +10,7 @@ import ( "strings" ) -const Version = "0.5.8" +const Version = "0.5.9" // Main est le vrai main() du binaire (cmd/jean ne fait que l'appeler). func Main() { diff --git a/internal/jean/ui/index.html b/internal/jean/ui/index.html index 2341fc6..fd871ff 100644 --- a/internal/jean/ui/index.html +++ b/internal/jean/ui/index.html @@ -15,7 +15,7 @@ - +
-

ajean

+

…
@@ -1061,7 +1120,7 @@ async function loadSys(){ // Registre des thèmes disponibles. Pour en AJOUTER un : ajouter un bloc // [data-theme="…"] dans le @@ -23,7 +23,7 @@
-

ajean

+

…
diff --git a/internal/jean/ui/src/js/01-theme.js b/internal/jean/ui/src/js/01-theme.js index 57594e4..fd71e51 100644 --- a/internal/jean/ui/src/js/01-theme.js +++ b/internal/jean/ui/src/js/01-theme.js @@ -2,7 +2,7 @@ // Registre des thèmes disponibles. Pour en AJOUTER un : ajouter un bloc // [data-theme="…"] dans le