|
|
il y a 5 ans | |
|---|---|---|
| .. | ||
| common | il y a 5 ans | |
| ext | il y a 5 ans | |
| Readme.md | il y a 5 ans | |
| _common.scss | il y a 5 ans | |
| theme-blue.css | il y a 5 ans | |
| theme-blue.css.map | il y a 5 ans | |
| theme-blue.scss | il y a 5 ans | |
| theme-green.css | il y a 5 ans | |
| theme-green.css.map | il y a 5 ans | |
| theme-green.scss | il y a 5 ans | |
| theme-orange.css | il y a 5 ans | |
| theme-orange.css.map | il y a 5 ans | |
| theme-orange.scss | il y a 5 ans | |
L'organisation des fichiers essaye de respecter au mieux la méthode SMACCS: http://smacss.com/files/smacss-fr.pdf
Les fichiers doivent être compilés avec SASS: https://sass-lang.com/guide
Pour compiler les fichiers à chaque modification, lancer dans ce répertoire:
sass --watch theme-blue.scss theme-blue.css
sass --watch theme-green.scss theme-green.css
sass --watch theme-orange.scss theme-orange.css
Le dossier common contient le 'tronc commun'.
Tous les fichiers présents dans common sont inclus dans le fichier _common.scss,
et ce dernier est lui-même inclus dans tous les fichiers de thèmes.