<?xml version="1.0" encoding="utf-8"?>
<page xmlns="http://projectmallard.org/1.0/" type="topic" id="gedit-change-color-scheme" xml:lang="fr">

  <info>
    <link type="guide" xref="index#configure-gedit"/>
    <desc>Modifier le texte et les couleurs d’arrière-plan dans gedit.</desc>
  
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
      <mal:name>Vincent Untz</mal:name>
      <mal:email>vuntz@gnome.org</mal:email>
      <mal:years>2006.</mal:years>
    </mal:credit>
  
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
      <mal:name>Jonathan Ernst</mal:name>
      <mal:email>jonathan@ernstfamily.ch</mal:email>
      <mal:years>2006.</mal:years>
    </mal:credit>
  
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
      <mal:name>Philippe Lefevre</mal:name>
      <mal:email>ph.l@libertysurf.fr</mal:email>
      <mal:years>2006.</mal:years>
    </mal:credit>
  
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
      <mal:name>Christophe Bliard</mal:name>
      <mal:email>christophe.bliard@trux.info</mal:email>
      <mal:years>2006.</mal:years>
    </mal:credit>
  
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
      <mal:name>Claude Paroz</mal:name>
      <mal:email>claude@2xlibre.net</mal:email>
      <mal:years>2007-2011.</mal:years>
    </mal:credit>
  
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
      <mal:name>Bruno Brouard</mal:name>
      <mal:email>annoa.b@gmail.com</mal:email>
      <mal:years>2011.</mal:years>
    </mal:credit>
  
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
      <mal:name>Luc Pionchon</mal:name>
      <mal:email>pionchon.luc@gmail.com</mal:email>
      <mal:years>2011.</mal:years>
    </mal:credit>
  
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
      <mal:name>Alain Lojewski</mal:name>
      <mal:email>allomervan@gmail.com</mal:email>
      <mal:years>2011-2014.</mal:years>
    </mal:credit>
  
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
      <mal:name>Alexandre Franke</mal:name>
      <mal:email>alexandre.franke@gmail.com</mal:email>
      <mal:years>2013.</mal:years>
    </mal:credit>
  
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
      <mal:name>Julien Hardelin</mal:name>
      <mal:email>jhardlin@orange.fr</mal:email>
      <mal:years>2013.</mal:years>
    </mal:credit>
  
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
      <mal:name>Guillaume Bernard</mal:name>
      <mal:email>associations@guillaume-bernard.fr</mal:email>
      <mal:years>2018</mal:years>
    </mal:credit>
  
    <mal:credit xmlns:mal="http://projectmallard.org/1.0/" type="translator copyright">
      <mal:name>Charles Monzat</mal:name>
      <mal:email>charles.monzat@free.fr</mal:email>
      <mal:years>2020</mal:years>
    </mal:credit>
  </info>

  <title>Modification du jeu de couleurs</title>

  <p>
    <app>gedit</app> includes several different color schemes, allowing you to
    change the appearance of the main text area.
  </p>

  <steps>
    <title>Pour changer de jeu de couleurs :</title>
    <item>
      <p>Cliquez sur le bouton de menu situé dans le coin supérieur droit de la fenêtre, puis choisissez <guiseq><gui style="menuitem">Préférences</gui><gui>Police et couleurs</gui></guiseq>.</p>
    </item>
    <item>
      <p>Sélectionnez le jeu de couleurs désiré.</p>
    </item>
  </steps>

  <p>Le nouveau jeu de couleurs est pris en compte immédiatement.</p>

  <section>
    <title>For light and dark theme variants</title>
    <p>
      There are actually two color scheme settings: one color scheme to choose
      when a light theme is applied to the whole application, and one color
      scheme to choose when a dark theme is applied. The <gui>Preferences</gui>
      dialog allows you to configure both.
    </p>
  </section>

  <section>
    <title>About unsupported color schemes</title>
    <p>
      Some color schemes may be unsupported for the theme variant used (light or
      dark). When that is the case, the color scheme cannot be selected and is
      marked explicitly as unsupported.
    </p>
    <p>
      This happens when a color scheme inherits some colors from the theme, and
      it is assumed that the theme is either light or dark. If it were possible
      to apply such a color scheme when the wrong theme is used, it would appear
      that the color scheme has bugs and some of the text would be unreadable.
    </p>
  </section>

  <section>
    <title>Use a custom color scheme</title>
    <p>
      You can also use color schemes that have been created by others, or create
      and use your own color schemes. See the
      <link href="https://gedit-text-editor.org/developer-docs/extra/libgedit-gtksourceview/style-schemes.html">libgedit-gtksourceview documentation</link>.
    </p>
  </section>
</page>
