Merge pull request #1741 from kevin8181/patch-1

add links to yunohost-themes org on github
This commit is contained in:
Éric Gaspar 2021-08-23 12:17:49 +02:00 committed by GitHub
commit f223ebe19f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 0 deletions

View file

@ -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 ! ! **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 ## 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` : 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. 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 ### 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 ! 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 !

View file

@ -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! ! **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 ## 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: 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. 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 ### 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! You may create your own theme simply to change the "branding" of the YunoHost user portal and replace the YunoHost logo with you own!