GeoNetwork UI styleguide

May 12, 2023 · View on GitHub

General

Filenames

Do not comment out code

We use a version management system. If a line of code is no longer needed, remove it, don't simply comment it out.

Prettier and Linting

Prettier is used for linting.

HTML

Ids …

TypeScript

Styling with CSS

Internationalization

ng xi18n --format=xlf --i18n-locale=en --output-path src/locale

Accessibility

Contents

  1. 1General
  2. 1.1Filenames
  3. 1.2Do not comment out code
  4. 1.3Prettier and Linting
  5. 1.4HTML
  6. 1.5TypeScript
  7. 1.6Styling with CSS
  8. 1.7Internationalization
  9. 1.8Accessibility