Skip to main content

此版本的 GitHub Enterprise 将停止服务 2023-01-18. 即使针对重大安全问题,也不会发布补丁。 为了获得更好的性能、更高的安全性和新功能,请升级到最新版本的 GitHub Enterprise。 如需升级帮助,请联系 GitHub Enterprise 支持

Managing your theme settings

You can manage how GitHub Enterprise Server looks to you by setting a theme preference that either follows your system settings or always uses a light or dark mode.

For choice and flexibility in how and when you use GitHub Enterprise Server, you can configure theme settings to change how GitHub Enterprise Server looks to you. You can choose from themes that are light or dark, or you can configure GitHub Enterprise Server to follow your system settings.

You may want to use a dark theme to reduce power consumption on certain devices, to reduce eye strain in low-light conditions, or because you prefer how the theme looks.

If you have low vision, you may benefit from a high contrast theme, with greater contrast between foreground and background elements.

  1. 在任何页面的右上角,单击个人资料照片,然后单击“设置”。

    用户栏中的 Settings 图标

  2. In the user settings sidebar, click Appearance.

    "Appearance" tab in user settings sidebar

  3. Under "Theme mode", select the drop-down menu, then click a theme preference.

    Drop-down menu under "Theme mode" for selection of theme preference

  4. Click the theme you'd like to use.

    • If you chose a single theme, click a theme.

      Radio buttons for the choice of a single theme

    • If you chose to follow your system settings, click a day theme and a night theme.

      Buttons for the choice of a theme to sync with the system setting

Further reading