Skip to content

codegouvfr/q2a-theme-etalab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Etalab Theme

Description

Etalab is a Question2Answer Theme created by Etalab and based on SnowFlat Theme.

This theme applies the French government graphic charter and is fully compliant with the French government accessibility guidelines: RGAA 4 (Référentiel Général d'Amélioration de l'Accessibilité).

Installation

  1. Download and extract "Etalab" directory, then upload it to your Q2A site's themes directory (e.g. qa-theme/Etalab).
  2. In Q2A go to Admin > General and set up the default theme to "Etalab" and save changes.

Translation

This theme is available both in French and English version. If you are using an other language, you can add a new translation file into the language directory.

Stylesheet and images update

  1. After checking-out the project, install dependencies: npm install.
  2. Make desired changes in the source folder src.
  3. Build the frontend (using gulp): npm run build.

Assets configuration

Gulp is used to compile the assets (CSS and images). Configuration properties (like build paths and folder names) are stored in gulpConfig.js file. Tasks are defined in gulpfile.js file.

The src folder contains the source files. They are organized as follows:

  • scss where the Sass files resides (organized according to the ITCSS methodology);
  • svg where the SVG files (theme images) resides. icon contains the images that will be compiled in a sprite.

For more information, see the gulp documentation.

Accessibility

This theme has been designed and developed to be as respectful as possible of accessibility guidelines. Be sure to respect (French Accessibility Guidelines: RGAA) as much as possible when making changes.

Copyright

This theme and all it's source code is published under the GNU General Public License version 2. You are free to use it in any way you like, just don't forget the attribution.

About Q2A

Question2Answer is a free and open source platform for creating Question & Answer sites. For more information, visit: www.question2answer.org

About

Etalab Theme for Question2Answer Package

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published