diff --git a/pages/01.administrate/07.specific_use_cases/04.theming/theming.fr.md b/pages/01.administrate/07.specific_use_cases/04.theming/theming.fr.md index d645dc99..b5cf9ad4 100644 --- a/pages/01.administrate/07.specific_use_cases/04.theming/theming.fr.md +++ b/pages/01.administrate/07.specific_use_cases/04.theming/theming.fr.md @@ -34,6 +34,8 @@ Vous pouvez ajouter des thèmes créés par d'autres personnes en téléchargean ! **Attention** : l'ajout de thèmes provenant d'inconnus sur Internet **est un risque de sécurité**. Cela équivaut à exécuter du code écrit par quelqu'un d'autre sur votre machine, et peut donc être utilisé à des fins malveillantes comme voler des mots de passe ! +Quelques thèmes sont listés sur [GitHub](https://github.com/yunohost-themes). + ## Créer votre propre thème Vous pouvez créer votre propre thème en copiant le thème existant de votre choix. Par exemple à partir du thème `light` : @@ -50,6 +52,8 @@ Ensuite, éditez les fichiers CSS et JS dans `/usr/share/ssowat/portal/assets/th Vous pouvez également ajouter vos propres images et ressources qui peuvent ensuite être utilisées par les fichiers CSS et JS. +!!! Partagez vos thèmes personnalisés avec la communauté ! https://github.com/yunohost-themes + ### Exemple : personnaliser le logo Vous pouvez créer votre propre thème simplement pour changer le "branding" du portail utilisateur YunoHost et remplacer le logo YunoHost par votre propre logo ! diff --git a/pages/01.administrate/07.specific_use_cases/04.theming/theming.md b/pages/01.administrate/07.specific_use_cases/04.theming/theming.md index 75a8c7a0..7968e6ec 100644 --- a/pages/01.administrate/07.specific_use_cases/04.theming/theming.md +++ b/pages/01.administrate/07.specific_use_cases/04.theming/theming.md @@ -34,6 +34,8 @@ You may add themes created by other people by downloading and extracting the cor ! **Beware** that adding third-party themes from random strangers on the internet **is a security risk**. It is equivalent to running someone's else code on your machine, which can be used for malicious purpose such as stealing credentials! +There are a handful of themes listed [on Github](https://github.com/yunohost-themes). + ## Creating your own theme You can create your own theme by copying the existing theme of your choice. For instance starting from the light theme: @@ -50,6 +52,8 @@ Then, edit the files the CSS and JS files in `/usr/share/ssowat/portal/assets/th You can also add your own images and assets which can then be used by the CSS and JS files. +!!! Share your custom theme with the community! https://github.com/yunohost-themes + ### Example : customizing the logo You may create your own theme simply to change the "branding" of the YunoHost user portal and replace the YunoHost logo with you own!