diff --git a/CONTEXT.md b/CONTEXT.md index 193b657..9ce9d9f 100644 --- a/CONTEXT.md +++ b/CONTEXT.md @@ -78,7 +78,10 @@ vrai navigateur (Chromium) avec 4 niveaux jouables. 2. **Phase de design (décidée le 2026-10-16, après les niveaux 04-07)** — *amorcée le 2026-10-16* : navigation refaite (tiroir « Niveaux »/progression à gauche, tiroir « Réglages » à droite via `ui/Drawer.js`, en-tête avec niveau courant + précédent/suivant, lien direct `#/levels/`, - historique navigateur). **Reste** : identité visuelle + historique navigateur). **Étape 1 faite** : page de propositions `docs/design/identity/index.html` (3 palettes + avec contrastes WCAG calculés, 3 typographies auto-hébergeables OFL, 3 mascottes + messages + fr/en) ; **recommandation : palette B, typo 2, mascotte 1 (Chouette)** — *en attente du choix de + l'utilisateur*. **Reste** : identité visuelle (palette, typo, logo), découpage CSS (`base`/`themes`/`cells`), coloration syntaxique de l'éditeur, carte de progression graphique, personnage-guide aux messages variés fr/en, badges illustrés, feedback coloré (vert/rouge, toujours doublé d'un texte). Procéder en 3 diff --git a/docs/design/identity/fonts/LICENSE-atkinson-hyperlegible.txt b/docs/design/identity/fonts/LICENSE-atkinson-hyperlegible.txt new file mode 100644 index 0000000..54e3127 --- /dev/null +++ b/docs/design/identity/fonts/LICENSE-atkinson-hyperlegible.txt @@ -0,0 +1,93 @@ +Copyright 2020 Braille Institute of America, Inc. AtkinsonHyperlegible-Italic.ttf: Copyright 2020 Braille Institute of America, Inc. AtkinsonHyperlegible-Bold.ttf: Copyright 2020 Braille Institute of America, Inc. AtkinsonHyperlegible-BoldItalic.ttf: Copyright 2020 Braille Institute of America, Inc. + +This Font Software is licensed under the SIL Open Font License, Version 1.1. +This license is copied below, and is also available with a FAQ at: +http://scripts.sil.org/OFL + + +----------------------------------------------------------- +SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 +----------------------------------------------------------- + +PREAMBLE +The goals of the Open Font License (OFL) are to stimulate worldwide +development of collaborative font projects, to support the font creation +efforts of academic and linguistic communities, and to provide a free and +open framework in which fonts may be shared and improved in partnership +with others. + +The OFL allows the licensed fonts to be used, studied, modified and +redistributed freely as long as they are not sold by themselves. The +fonts, including any derivative works, can be bundled, embedded, +redistributed and/or sold with any software provided that any reserved +names are not used by derivative works. The fonts and derivatives, +however, cannot be released under any other type of license. The +requirement for fonts to remain under this license does not apply +to any document created using the fonts or their derivatives. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright +Holder(s) under this license and clearly marked as such. This may +include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the +copyright statement(s). + +"Original Version" refers to the collection of Font Software components as +distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, deleting, +or substituting -- in part or in whole -- any of the components of the +Original Version, by changing formats or by porting the Font Software to a +new environment. + +"Author" refers to any designer, engineer, programmer, technical +writer or other person who contributed to the Font Software. + +PERMISSION & CONDITIONS +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Font Software, to use, study, copy, merge, embed, modify, +redistribute, and sell modified and unmodified copies of the Font +Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components, +in Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, +redistributed and/or sold with any software, provided that each copy +contains the above copyright notice and this license. These can be +included either as stand-alone text files, human-readable headers or +in the appropriate machine-readable metadata fields within text or +binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font +Name(s) unless explicit written permission is granted by the corresponding +Copyright Holder. This restriction only applies to the primary font name as +presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font +Software shall not be used to promote, endorse or advertise any +Modified Version, except to acknowledge the contribution(s) of the +Copyright Holder(s) and the Author(s) or with their explicit written +permission. + +5) The Font Software, modified or unmodified, in part or in whole, +must be distributed entirely under this license, and must not be +distributed under any other license. The requirement for fonts to +remain under this license does not apply to any document created +using the Font Software. + +TERMINATION +This license becomes null and void if any of the above conditions are +not met. + +DISCLAIMER +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE +COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM +OTHER DEALINGS IN THE FONT SOFTWARE. diff --git a/docs/design/identity/fonts/LICENSE-jetbrains-mono.txt b/docs/design/identity/fonts/LICENSE-jetbrains-mono.txt new file mode 100644 index 0000000..8f7ed67 --- /dev/null +++ b/docs/design/identity/fonts/LICENSE-jetbrains-mono.txt @@ -0,0 +1,93 @@ +Copyright 2020 The JetBrains Mono Project Authors (https://github.com/JetBrains/JetBrainsMono) JetBrainsMono-Italic[wght].ttf: Copyright 2020 The JetBrains Mono Project Authors (https://github.com/JetBrains/JetBrainsMono) + +This Font Software is licensed under the SIL Open Font License, Version 1.1. +This license is copied below, and is also available with a FAQ at: +http://scripts.sil.org/OFL + + +----------------------------------------------------------- +SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 +----------------------------------------------------------- + +PREAMBLE +The goals of the Open Font License (OFL) are to stimulate worldwide +development of collaborative font projects, to support the font creation +efforts of academic and linguistic communities, and to provide a free and +open framework in which fonts may be shared and improved in partnership +with others. + +The OFL allows the licensed fonts to be used, studied, modified and +redistributed freely as long as they are not sold by themselves. The +fonts, including any derivative works, can be bundled, embedded, +redistributed and/or sold with any software provided that any reserved +names are not used by derivative works. The fonts and derivatives, +however, cannot be released under any other type of license. The +requirement for fonts to remain under this license does not apply +to any document created using the fonts or their derivatives. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright +Holder(s) under this license and clearly marked as such. This may +include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the +copyright statement(s). + +"Original Version" refers to the collection of Font Software components as +distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, deleting, +or substituting -- in part or in whole -- any of the components of the +Original Version, by changing formats or by porting the Font Software to a +new environment. + +"Author" refers to any designer, engineer, programmer, technical +writer or other person who contributed to the Font Software. + +PERMISSION & CONDITIONS +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Font Software, to use, study, copy, merge, embed, modify, +redistribute, and sell modified and unmodified copies of the Font +Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components, +in Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, +redistributed and/or sold with any software, provided that each copy +contains the above copyright notice and this license. These can be +included either as stand-alone text files, human-readable headers or +in the appropriate machine-readable metadata fields within text or +binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font +Name(s) unless explicit written permission is granted by the corresponding +Copyright Holder. This restriction only applies to the primary font name as +presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font +Software shall not be used to promote, endorse or advertise any +Modified Version, except to acknowledge the contribution(s) of the +Copyright Holder(s) and the Author(s) or with their explicit written +permission. + +5) The Font Software, modified or unmodified, in part or in whole, +must be distributed entirely under this license, and must not be +distributed under any other license. The requirement for fonts to +remain under this license does not apply to any document created +using the Font Software. + +TERMINATION +This license becomes null and void if any of the above conditions are +not met. + +DISCLAIMER +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE +COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM +OTHER DEALINGS IN THE FONT SOFTWARE. diff --git a/docs/design/identity/fonts/LICENSE-lexend.txt b/docs/design/identity/fonts/LICENSE-lexend.txt new file mode 100644 index 0000000..6c35713 --- /dev/null +++ b/docs/design/identity/fonts/LICENSE-lexend.txt @@ -0,0 +1,93 @@ +Copyright 2019 The Lexend Project Authors (https://github.com/googlefonts/lexend) + +This Font Software is licensed under the SIL Open Font License, Version 1.1. +This license is copied below, and is also available with a FAQ at: +http://scripts.sil.org/OFL + + +----------------------------------------------------------- +SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 +----------------------------------------------------------- + +PREAMBLE +The goals of the Open Font License (OFL) are to stimulate worldwide +development of collaborative font projects, to support the font creation +efforts of academic and linguistic communities, and to provide a free and +open framework in which fonts may be shared and improved in partnership +with others. + +The OFL allows the licensed fonts to be used, studied, modified and +redistributed freely as long as they are not sold by themselves. The +fonts, including any derivative works, can be bundled, embedded, +redistributed and/or sold with any software provided that any reserved +names are not used by derivative works. The fonts and derivatives, +however, cannot be released under any other type of license. The +requirement for fonts to remain under this license does not apply +to any document created using the fonts or their derivatives. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright +Holder(s) under this license and clearly marked as such. This may +include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the +copyright statement(s). + +"Original Version" refers to the collection of Font Software components as +distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, deleting, +or substituting -- in part or in whole -- any of the components of the +Original Version, by changing formats or by porting the Font Software to a +new environment. + +"Author" refers to any designer, engineer, programmer, technical +writer or other person who contributed to the Font Software. + +PERMISSION & CONDITIONS +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Font Software, to use, study, copy, merge, embed, modify, +redistribute, and sell modified and unmodified copies of the Font +Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components, +in Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, +redistributed and/or sold with any software, provided that each copy +contains the above copyright notice and this license. These can be +included either as stand-alone text files, human-readable headers or +in the appropriate machine-readable metadata fields within text or +binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font +Name(s) unless explicit written permission is granted by the corresponding +Copyright Holder. This restriction only applies to the primary font name as +presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font +Software shall not be used to promote, endorse or advertise any +Modified Version, except to acknowledge the contribution(s) of the +Copyright Holder(s) and the Author(s) or with their explicit written +permission. + +5) The Font Software, modified or unmodified, in part or in whole, +must be distributed entirely under this license, and must not be +distributed under any other license. The requirement for fonts to +remain under this license does not apply to any document created +using the Font Software. + +TERMINATION +This license becomes null and void if any of the above conditions are +not met. + +DISCLAIMER +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE +COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM +OTHER DEALINGS IN THE FONT SOFTWARE. diff --git a/docs/design/identity/fonts/atkinson-hyperlegible-latin-400-normal.woff2 b/docs/design/identity/fonts/atkinson-hyperlegible-latin-400-normal.woff2 new file mode 100644 index 0000000..2e43c90 Binary files /dev/null and b/docs/design/identity/fonts/atkinson-hyperlegible-latin-400-normal.woff2 differ diff --git a/docs/design/identity/fonts/atkinson-hyperlegible-latin-700-normal.woff2 b/docs/design/identity/fonts/atkinson-hyperlegible-latin-700-normal.woff2 new file mode 100644 index 0000000..bc31903 Binary files /dev/null and b/docs/design/identity/fonts/atkinson-hyperlegible-latin-700-normal.woff2 differ diff --git a/docs/design/identity/fonts/jetbrains-mono-latin-400-normal.woff2 b/docs/design/identity/fonts/jetbrains-mono-latin-400-normal.woff2 new file mode 100644 index 0000000..5858873 Binary files /dev/null and b/docs/design/identity/fonts/jetbrains-mono-latin-400-normal.woff2 differ diff --git a/docs/design/identity/fonts/jetbrains-mono-latin-700-normal.woff2 b/docs/design/identity/fonts/jetbrains-mono-latin-700-normal.woff2 new file mode 100644 index 0000000..3a4e333 Binary files /dev/null and b/docs/design/identity/fonts/jetbrains-mono-latin-700-normal.woff2 differ diff --git a/docs/design/identity/fonts/lexend-latin-400-normal.woff2 b/docs/design/identity/fonts/lexend-latin-400-normal.woff2 new file mode 100644 index 0000000..a656473 Binary files /dev/null and b/docs/design/identity/fonts/lexend-latin-400-normal.woff2 differ diff --git a/docs/design/identity/fonts/lexend-latin-700-normal.woff2 b/docs/design/identity/fonts/lexend-latin-700-normal.woff2 new file mode 100644 index 0000000..1639b34 Binary files /dev/null and b/docs/design/identity/fonts/lexend-latin-700-normal.woff2 differ diff --git a/docs/design/identity/index.html b/docs/design/identity/index.html new file mode 100644 index 0000000..b3c1283 --- /dev/null +++ b/docs/design/identity/index.html @@ -0,0 +1,218 @@ + + + + + + PyQuest — propositions d'identité visuelle + + + +
+

PyQuest — propositions d'identité visuelle

+

Trois choix indépendants à faire : la palette, la typographie, la mascotte. Chaque proposition est montrée sur les vrais éléments de l'application. Le thème clair et le thème sombre suivent les mêmes couleurs de marque. Les rapports de contraste sont calculés (WCAG 2.2 : 4,5 : 1 minimum pour le texte), jamais estimés.

+ +

1. Palette

+

Palette A — Cobalt & Soleil

Franc et chaleureux : bleu soutenu, accent ambre pour les XP.

+
☰ NiveauxPyQuest⚙ Réglages
+
+

Étape 2 sur 5 · +20 XP

+

Une variable est une boîte avec un nom. age = 12 range la valeur dans la boîte.

+
age = 12
+print(age + 1)
+

Exécuter Indice

+

✔ Bravo, c'est correct !

+

🔍 Python ne connaît pas « nom » (Ligne 1)

+
+
+
☰ NiveauxPyQuest⚙ Réglages
+
+

Étape 2 sur 5 · +20 XP

+

Une variable est une boîte avec un nom. age = 12 range la valeur dans la boîte.

+
age = 12
+print(age + 1)
+

Exécuter Indice

+

✔ Bravo, c'est correct !

+

🔍 Python ne connaît pas « nom » (Ligne 1)

+
+
Rapports de contraste de la palette A + + + + + + + + + + + + + +
ThèmePaireRapportNiveau WCAG
ClairTexte / fond16.4 : 1AAA
ClairTexte atténué / fond7.5 : 1AAA
ClairBouton (texte / accent)6.7 : 1AA
ClairAccent / fond (liens, focus)6.7 : 1AA
ClairXP (mise en valeur / fond)5.0 : 1AA
ClairRéussite / surface6.0 : 1AA
ClairErreur / surface7.3 : 1AAA
SombreTexte / fond16.0 : 1AAA
SombreTexte atténué / fond9.3 : 1AAA
SombreBouton (texte / accent)9.1 : 1AAA
SombreAccent / fond (liens, focus)8.8 : 1AAA
SombreXP (mise en valeur / fond)11.0 : 1AAA
SombreRéussite / surface9.8 : 1AAA
SombreErreur / surface7.2 : 1AAA

Palette B — Forêt & Corail

Calme et rassurant : vert-bleu profond, accent corail pour l'énergie. Se démarque du bleu/jaune de Python.

+
☰ NiveauxPyQuest⚙ Réglages
+
+

Étape 2 sur 5 · +20 XP

+

Une variable est une boîte avec un nom. age = 12 range la valeur dans la boîte.

+
age = 12
+print(age + 1)
+

Exécuter Indice

+

✔ Bravo, c'est correct !

+

🔍 Python ne connaît pas « nom » (Ligne 1)

+
+
+
☰ NiveauxPyQuest⚙ Réglages
+
+

Étape 2 sur 5 · +20 XP

+

Une variable est une boîte avec un nom. age = 12 range la valeur dans la boîte.

+
age = 12
+print(age + 1)
+

Exécuter Indice

+

✔ Bravo, c'est correct !

+

🔍 Python ne connaît pas « nom » (Ligne 1)

+
+
Rapports de contraste de la palette B + + + + + + + + + + + + + +
ThèmePaireRapportNiveau WCAG
ClairTexte / fond16.2 : 1AAA
ClairTexte atténué / fond7.3 : 1AAA
ClairBouton (texte / accent)5.5 : 1AA
ClairAccent / fond (liens, focus)5.5 : 1AA
ClairXP (mise en valeur / fond)5.2 : 1AA
ClairRéussite / surface6.6 : 1AA
ClairErreur / surface6.1 : 1AA
SombreTexte / fond15.8 : 1AAA
SombreTexte atténué / fond9.2 : 1AAA
SombreBouton (texte / accent)11.6 : 1AAA
SombreAccent / fond (liens, focus)12.3 : 1AAA
SombreXP (mise en valeur / fond)10.8 : 1AAA
SombreRéussite / surface11.5 : 1AAA
SombreErreur / surface8.5 : 1AAA

Palette C — Nuit violette

Ludique et « jeu vidéo » : violet électrique, accent cyan. Plus marqué, plus jeune.

+
☰ NiveauxPyQuest⚙ Réglages
+
+

Étape 2 sur 5 · +20 XP

+

Une variable est une boîte avec un nom. age = 12 range la valeur dans la boîte.

+
age = 12
+print(age + 1)
+

Exécuter Indice

+

✔ Bravo, c'est correct !

+

🔍 Python ne connaît pas « nom » (Ligne 1)

+
+
+
☰ NiveauxPyQuest⚙ Réglages
+
+

Étape 2 sur 5 · +20 XP

+

Une variable est une boîte avec un nom. age = 12 range la valeur dans la boîte.

+
age = 12
+print(age + 1)
+

Exécuter Indice

+

✔ Bravo, c'est correct !

+

🔍 Python ne connaît pas « nom » (Ligne 1)

+
+
Rapports de contraste de la palette C + + + + + + + + + + + + + +
ThèmePaireRapportNiveau WCAG
ClairTexte / fond17.1 : 1AAA
ClairTexte atténué / fond8.2 : 1AAA
ClairBouton (texte / accent)7.1 : 1AAA
ClairAccent / fond (liens, focus)7.1 : 1AAA
ClairXP (mise en valeur / fond)5.4 : 1AA
ClairRéussite / surface6.5 : 1AA
ClairErreur / surface6.0 : 1AA
SombreTexte / fond16.2 : 1AAA
SombreTexte atténué / fond9.1 : 1AAA
SombreBouton (texte / accent)9.8 : 1AAA
SombreAccent / fond (liens, focus)10.2 : 1AAA
SombreXP (mise en valeur / fond)13.0 : 1AAA
SombreRéussite / surface12.2 : 1AAA
SombreErreur / surface9.1 : 1AAA
+ +

2. Typographie

+

Les polices web doivent être auto-hébergées (contrainte COEP du projet) : elles sont ici chargées depuis ce dossier, sous licence SIL OFL, sous-ensemble latin (accents français, « », œ inclus).

+
+

Typo 1 — Système

police du système (Segoe UI, SF, Roboto…) et monospace du système · poids : 0 Ko, rendu variable selon l’appareil

+

Apprendre Python, pas à pas

+

Une variable est une boîte avec un nom. Tu y ranges une valeur : age = 12. « Bravo, c'est correct ! » œuvres, à, ç, é.

+
name = input("Ton prénom ? ")
+print("Bonjour", name)   # 0 O l 1 I
+

Lettres proches : Il1 O0 rn m cl d

+

Typo 2 — Atkinson Hyperlegible + JetBrains Mono

Atkinson : conçue pour distinguer les lettres ambiguës (basse vision) ; JetBrains Mono : code très lisible · poids : ≈ 78 Ko (4 fichiers woff2)

+

Apprendre Python, pas à pas

+

Une variable est une boîte avec un nom. Tu y ranges une valeur : age = 12. « Bravo, c'est correct ! » œuvres, à, ç, é.

+
name = input("Ton prénom ? ")
+print("Bonjour", name)   # 0 O l 1 I
+

Lettres proches : Il1 O0 rn m cl d

+

Typo 3 — Lexend + JetBrains Mono

Lexend : conçue pour faciliter la lecture (espacement ample) ; même police de code · poids : ≈ 73 Ko (4 fichiers woff2)

+

Apprendre Python, pas à pas

+

Une variable est une boîte avec un nom. Tu y ranges une valeur : age = 12. « Bravo, c'est correct ! » œuvres, à, ç, é.

+
name = input("Ton prénom ? ")
+print("Bonjour", name)   # 0 O l 1 I
+

Lettres proches : Il1 O0 rn m cl d

+
+ +

3. Mascotte (personnage-guide)

+

Dessins originaux et volontairement simples (SVG, aux couleurs du thème, sans dépendance). Les messages sont variés (jamais la même phrase deux fois de suite, cf. stratégie anti-abandon), rassurants face à l'erreur, et le ton ne culpabilise jamais. Les textes affichés sont identiques pour les trois mascottes ; seul le personnage change.

+

Mascotte 1 — Chouette

Un guide qui a de l'expérience : calme, bienveillant, jamais moqueur. Évoque la sagesse sans le côté « professeur ». Dessin original, aucun lien avec un logo existant.

Une chouette qui a tout vu, y compris vos erreurs de syntaxe, et qui n'en pense aucun mal.

Réussite

  • Bien joué, ça marche du premier coup !
  • Exactement ça. Tu as le coup de main.
  • Propre. Passons à la suite ?
  • Nice one, that works first time!
  • Exactly right. You're getting the hang of it.
  • Clean. Shall we move on?

Erreur

  • Une erreur, c'est un indice : regarde la ligne indiquée.
  • Pas grave, ça arrive à tout le monde. On cherche ensemble ?
  • Presque ! Il manque juste un petit détail.
  • An error is a clue: look at the line shown.
  • No worries, it happens to everyone. Shall we look together?
  • Almost! Just one small detail is missing.

Série de jours

  • 3 jours de suite ! Reviens demain, sans pression.
  • Tu as repris le fil : c'est ça qui compte.
  • 3 days in a row! Come back tomorrow, no pressure.
  • You picked the thread back up: that's what counts.

Mascotte 2 — Robot

Un compagnon d'atelier : rond, curieux. Familier pour un public qui code, mais proche des assistants IA, donc risque de ton « froid ».

Un petit robot qui exécute chaque ligne que vous écrivez, à la lettre.

Réussite

  • Bien joué, ça marche du premier coup !
  • Exactement ça. Tu as le coup de main.
  • Propre. Passons à la suite ?
  • Nice one, that works first time!
  • Exactly right. You're getting the hang of it.
  • Clean. Shall we move on?

Erreur

  • Une erreur, c'est un indice : regarde la ligne indiquée.
  • Pas grave, ça arrive à tout le monde. On cherche ensemble ?
  • Presque ! Il manque juste un petit détail.
  • An error is a clue: look at the line shown.
  • No worries, it happens to everyone. Shall we look together?
  • Almost! Just one small detail is missing.

Série de jours

  • 3 jours de suite ! Reviens demain, sans pression.
  • Tu as repris le fil : c'est ça qui compte.
  • 3 days in a row! Come back tomorrow, no pressure.
  • You picked the thread back up: that's what counts.

Mascotte 3 — Serpent

Clin d'œil direct à Python : mémorable, mais proche de l'univers du logo Python (marque déposée) ; il faudrait garder un dessin clairement distinct.

Un serpent qui glisse d'une ligne à l'autre, curieux de ce que vous allez écrire.

Réussite

  • Bien joué, ça marche du premier coup !
  • Exactement ça. Tu as le coup de main.
  • Propre. Passons à la suite ?
  • Nice one, that works first time!
  • Exactly right. You're getting the hang of it.
  • Clean. Shall we move on?

Erreur

  • Une erreur, c'est un indice : regarde la ligne indiquée.
  • Pas grave, ça arrive à tout le monde. On cherche ensemble ?
  • Presque ! Il manque juste un petit détail.
  • An error is a clue: look at the line shown.
  • No worries, it happens to everyone. Shall we look together?
  • Almost! Just one small detail is missing.

Série de jours

  • 3 jours de suite ! Reviens demain, sans pression.
  • Tu as repris le fil : c'est ça qui compte.
  • 3 days in a row! Come back tomorrow, no pressure.
  • You picked the thread back up: that's what counts.
+ +

Recommandation

+
+

Palette B (Forêt & Corail) : calme et rassurante pour de grands débutants, elle se démarque du bleu/jaune de Python, et tous ses contrastes dépassent 5 : 1.

+

Typo 2 (Atkinson Hyperlegible + JetBrains Mono) : cohérente avec l'objectif WCAG 2.2 AA, les lettres ambiguës (Il1, O0) sont clairement distinctes, ce qui compte aussi pour lire du code.

+

Mascotte 1 (Chouette) : un guide bienveillant sans l'ambiguïté d'un robot (ton « froid ») ni la proximité d'une marque (serpent).

+

Les combinaisons se choisissent indépendamment ; dis-moi « palette X, typo Y, mascotte Z » (ou ce que tu veux changer).

+
+
+ +