diff --git a/themes/orbe/fonts/Archivo-100-900-latin-ext.woff2 b/themes/orbe/fonts/Archivo-100-900-latin-ext.woff2 new file mode 100644 index 0000000..c0dbc07 Binary files /dev/null and b/themes/orbe/fonts/Archivo-100-900-latin-ext.woff2 differ diff --git a/themes/orbe/fonts/Archivo-100-900-latin.woff2 b/themes/orbe/fonts/Archivo-100-900-latin.woff2 new file mode 100644 index 0000000..e2448d0 Binary files /dev/null and b/themes/orbe/fonts/Archivo-100-900-latin.woff2 differ diff --git a/themes/orbe/fonts/JetBrainsMono-400-latin-ext.woff2 b/themes/orbe/fonts/JetBrainsMono-400-latin-ext.woff2 new file mode 100644 index 0000000..82f9668 Binary files /dev/null and b/themes/orbe/fonts/JetBrainsMono-400-latin-ext.woff2 differ diff --git a/themes/orbe/fonts/JetBrainsMono-400-latin.woff2 b/themes/orbe/fonts/JetBrainsMono-400-latin.woff2 new file mode 100644 index 0000000..4d09cda Binary files /dev/null and b/themes/orbe/fonts/JetBrainsMono-400-latin.woff2 differ diff --git a/themes/orbe/fonts/OFL-Archivo.txt b/themes/orbe/fonts/OFL-Archivo.txt new file mode 100644 index 0000000..8597481 --- /dev/null +++ b/themes/orbe/fonts/OFL-Archivo.txt @@ -0,0 +1,93 @@ +Copyright 2020 The Archivo Project Authors (https://github.com/Omnibus-Type/Archivo) + +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/themes/orbe/fonts/OFL-JetBrainsMono.txt b/themes/orbe/fonts/OFL-JetBrainsMono.txt new file mode 100644 index 0000000..5ceee00 --- /dev/null +++ b/themes/orbe/fonts/OFL-JetBrainsMono.txt @@ -0,0 +1,93 @@ +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: +https://openfontlicense.org + + +----------------------------------------------------------- +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/themes/orbe/theme.css b/themes/orbe/theme.css new file mode 100644 index 0000000..6d22f19 --- /dev/null +++ b/themes/orbe/theme.css @@ -0,0 +1,31 @@ +/* Orbe : touches propres au thème, par-dessus la base de l'interface (qui n'utilise que les variables). */ + +/* Titres : Archivo 900 serré, comme le site */ +.title, .hero-title { font-weight: 900; letter-spacing: -.035em; line-height: .95; text-transform: uppercase; } + +/* Surtitre : petite capitale mono espacée, accent */ +.kicker { font-family: var(--font-mono); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); } +.kicker::before { content: '// '; } + +/* Mot en contour accent dans un titre */ +.title mark, .hero-title mark { background: none; color: transparent; -webkit-text-stroke: max(1px, .02em) var(--accent); } + +/* Boutons : mono majuscule espacée, accent plein */ +.btn { font-family: var(--font-mono); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; font-size: 13px; } +.btn--primary:is(.is-focused, :hover) { background: var(--text); color: var(--bg); } + +/* En-tête flouté avec filet */ +.topbar { backdrop-filter: blur(12px); background: color-mix(in srgb, var(--bg) 78%, transparent); border-bottom: 1px solid var(--line); } + +/* Cartes : filet qui vire à l'accent au focus, image qui zoome doucement */ +.card { border: 1px solid var(--line); } +.card.is-focused { border-color: color-mix(in srgb, var(--accent) 60%, var(--line)); } +.card img { transition: transform var(--dur-slow) var(--ease); } +.card.is-focused img { transform: scale(1.04); } + +/* Lignes de liste : décalage à droite au focus (comme la liste d'articles du site) */ +.row-item { border-top: 1px solid var(--line); transition: padding-left var(--dur-med) var(--ease), color var(--dur-med); } +.row-item.is-focused { padding-left: 14px; color: var(--accent); } +.row-item.is-focused::before { content: '▸ '; color: var(--accent); } + +::selection { background: var(--accent); color: var(--on-accent); } diff --git a/themes/orbe/theme.json b/themes/orbe/theme.json new file mode 100644 index 0000000..e327f86 --- /dev/null +++ b/themes/orbe/theme.json @@ -0,0 +1,41 @@ +{ + "id": "orbe", + "name": "Orbe", + "author": "Yasser Boulayoune", + "version": "1.0.0", + "description": "Le thème principal : noir profond, accent lime, Archivo et JetBrains Mono, orbe de particules.", + "vars": { + "--bg": "#0a0a0a", + "--surface": "#121212", + "--surface-2": "#1a1a19", + "--text": "#f5f5f0", + "--muted": "#8f8f8a", + "--line": "#262624", + "--accent": "#d3fd50", + "--on-accent": "#0a0a0a", + "--danger": "#ff6b5a", + "--font-sans": "Archivo, system-ui, sans-serif", + "--font-mono": "'JetBrains Mono', ui-monospace, monospace", + "--radius-s": "4px", + "--radius-m": "4px", + "--radius-l": "6px", + "--shadow-card": "0 18px 40px rgba(0, 0, 0, .55)", + "--focus-ring": "0 0 0 2px #d3fd50, 0 0 32px rgba(211, 253, 80, .28)", + "--focus-scale": "1.06", + "--dur-fast": "150ms", + "--dur-med": "300ms", + "--dur-slow": "600ms", + "--ease": "cubic-bezier(.2, .8, .2, 1)" + }, + "fonts": [ + { "family": "Archivo", "src": "fonts/Archivo-100-900-latin.woff2", "weight": "100 900", "unicodeRange": "U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD" }, + { "family": "Archivo", "src": "fonts/Archivo-100-900-latin-ext.woff2", "weight": "100 900", "unicodeRange": "U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF" }, + { "family": "JetBrains Mono", "src": "fonts/JetBrainsMono-400-latin.woff2", "weight": "400 700", "unicodeRange": "U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD" }, + { "family": "JetBrains Mono", "src": "fonts/JetBrainsMono-400-latin-ext.woff2", "weight": "400 700", "unicodeRange": "U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF" } + ], + "css": "theme.css", + "layout": { "library": "grid" }, + "background": { "type": "orb" }, + "splash": { "type": "orb", "duration": 1800 }, + "sounds": {} +} diff --git a/themes/papier/theme.css b/themes/papier/theme.css new file mode 100644 index 0000000..c15a6fe --- /dev/null +++ b/themes/papier/theme.css @@ -0,0 +1,6 @@ +/* Papier : fond légèrement texturé par un dégradé, titres en italique. */ +body { background-image: radial-gradient(circle at 20% 0%, #fffaf0 0, transparent 60%); } +.title, .hero-title { font-style: italic; font-weight: 700; } +.kicker { font-family: var(--font-mono); font-size: 13px; color: var(--accent); letter-spacing: .08em; } +.btn { font-weight: 700; } +.row-item { border-bottom: 1px dashed var(--line); } diff --git a/themes/papier/theme.json b/themes/papier/theme.json new file mode 100644 index 0000000..a95ddb0 --- /dev/null +++ b/themes/papier/theme.json @@ -0,0 +1,35 @@ +{ + "id": "papier", + "name": "Papier", + "author": "Exemple", + "version": "1.0.0", + "description": "Thème d'exemple : clair, couleurs de papier, polices système, bibliothèque en liste.", + "vars": { + "--bg": "#f3efe6", + "--surface": "#fbf8f1", + "--surface-2": "#ebe5d8", + "--text": "#22201c", + "--muted": "#7a7468", + "--line": "#d9d1c0", + "--accent": "#c2410c", + "--on-accent": "#fffaf2", + "--danger": "#b91c1c", + "--font-sans": "Georgia, 'Times New Roman', serif", + "--font-mono": "Consolas, 'Courier New', monospace", + "--radius-s": "10px", + "--radius-m": "14px", + "--radius-l": "22px", + "--shadow-card": "0 10px 24px rgba(60, 45, 20, .16)", + "--focus-ring": "0 0 0 3px #c2410c", + "--focus-scale": "1.03", + "--dur-fast": "120ms", + "--dur-med": "220ms", + "--dur-slow": "400ms", + "--ease": "ease-out" + }, + "css": "theme.css", + "layout": { "library": "list" }, + "background": { "type": "none" }, + "splash": { "type": "logo", "duration": 900 }, + "sounds": {} +}