---
metadata:
  - name: generator
    content: Diplodoc Platform v5.63.0
alternate:
  - en/settings/appearance
  - ru/settings/appearance
  - href: en/settings/appearance.md
    type: text/markdown
    title: Markdown version
csp:
  - script-src:
      - https://mc.yandex.ru
    img-src:
      - https://mc.yandex.ru
    connect-src:
      - https://mc.yandex.ru
      - wss://mc.yandex.ru
    child-src:
      - 'blob:'
      - https://mc.yandex.ru
    frame-src:
      - 'blob:'
      - https://mc.yandex.ru
    frame-ancestors:
      - 'blob:'
      - https://mc.yandex.ru
canonical: en/settings/appearance.html
title: Appearance settings in DataLens On-premises
description: >-
  The DataLens On-premises appearance settings enable you to change how the
  interface looks.
vcsPath: en/settings/appearance.md
---



# General settings in DataLens On-premises

General settings allow you to change the visual look of the interface for the entire organization:

* [Customize the UI](#ui-customization).
* Add, edit, or delete chart [color palettes](#palette-settings).
* Manage [workbook export](#workbooks-export-disable).
* Manage [data export from charts](../concepts/chart/data-export.md#data-export-disable).

These settings can be edited by the DataLens instance [administrator](../security/roles.md#datalens-admin) (the `datalens.admin` role).

To access the general settings:

1. In the left-hand panel, select <!-- diplodoc:svg ![image](../_assets/console-icons/sliders.svg) --><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16"><path fill="currentColor" fill-rule="evenodd" d="M7.5 5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0m1.405.75a3.001 3.001 0 0 1-5.81 0H1.747a.75.75 0 0 1 0-1.5h1.348a3.001 3.001 0 0 1 5.81 0h5.345a.75.75 0 0 1 0 1.5zm-7.158 4.5h5.345a3.001 3.001 0 0 1 5.811 0h1.347a.75.75 0 1 1 0 1.5h-1.347a3.001 3.001 0 0 1-5.81 0H1.746a.75.75 0 0 1 0-1.5m8.25-.75a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3" clip-rule="evenodd"/></svg> **Service settings**. If the panel does not feature <!-- diplodoc:svg ![image](../_assets/console-icons/sliders.svg) --><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16"><path fill="currentColor" fill-rule="evenodd" d="M7.5 5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0m1.405.75a3.001 3.001 0 0 1-5.81 0H1.747a.75.75 0 0 1 0-1.5h1.348a3.001 3.001 0 0 1 5.81 0h5.345a.75.75 0 0 1 0 1.5zm-7.158 4.5h5.345a3.001 3.001 0 0 1 5.811 0h1.347a.75.75 0 1 1 0 1.5h-1.347a3.001 3.001 0 0 1-5.81 0H1.746a.75.75 0 0 1 0-1.5m8.25-.75a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3" clip-rule="evenodd"/></svg>, first select <!-- diplodoc:svg ![image](../_assets/console-icons/ellipsis.svg) --><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16"><path fill="currentColor" fill-rule="evenodd" d="M3 9.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3M9.5 8a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0m5 0a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0" clip-rule="evenodd"/></svg> **More**, then <!-- diplodoc:svg ![image](../_assets/console-icons/sliders.svg) --><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16"><path fill="currentColor" fill-rule="evenodd" d="M7.5 5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0m1.405.75a3.001 3.001 0 0 1-5.81 0H1.747a.75.75 0 0 1 0-1.5h1.348a3.001 3.001 0 0 1 5.81 0h5.345a.75.75 0 0 1 0 1.5zm-7.158 4.5h5.345a3.001 3.001 0 0 1 5.811 0h1.347a.75.75 0 1 1 0 1.5h-1.347a3.001 3.001 0 0 1-5.81 0H1.746a.75.75 0 0 1 0-1.5m8.25-.75a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3" clip-rule="evenodd"/></svg> **Service settings**.
1. Select the **General** tab.


## UI customization {#ui-customization}

With UI customization, you can achieve a custom DataLens look by editing colors, logo, and redesigning individual elements.

The customization settings can be edited by the DataLens instance [administrator](../security/roles.md#datalens-admin) (the `datalens.admin` role).

For UI customization:

1. Go to the DataLens home page.
1. In the left-hand panel, select <!-- diplodoc:svg ![image](../_assets/console-icons/sliders.svg) --><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16"><path fill="currentColor" fill-rule="evenodd" d="M7.5 5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0m1.405.75a3.001 3.001 0 0 1-5.81 0H1.747a.75.75 0 0 1 0-1.5h1.348a3.001 3.001 0 0 1 5.81 0h5.345a.75.75 0 0 1 0 1.5zm-7.158 4.5h5.345a3.001 3.001 0 0 1 5.811 0h1.347a.75.75 0 1 1 0 1.5h-1.347a3.001 3.001 0 0 1-5.81 0H1.746a.75.75 0 0 1 0-1.5m8.25-.75a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3" clip-rule="evenodd"/></svg> **Service settings**.
1. Select the **Appearance** tab.
1. In the **UI customization** section, click <!-- diplodoc:svg ![image](../_assets/console-icons/palette.svg) --><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16"><path fill="currentColor" fill-rule="evenodd" d="M12.012 10c.431.004.764-.15 1.002-.411.244-.268.486-.762.486-1.589a5.5 5.5 0 1 0-5.17 5.491 4.3 4.3 0 0 1-.106-.89 2.37 2.37 0 0 1 .495-1.48c.386-.493.92-.763 1.448-.914C10.69 10.06 11.303 10 12 10zM8.43 14.01v-.005zM12 11.5c1.66.013 3-1.25 3-3.5a7 7 0 1 0-7 7c2.19 0 2.011-.83 1.827-1.68-.194-.898-.393-1.82 2.173-1.82M9 5a1 1 0 1 1-2 0 1 1 0 0 1 2 0m2 2.75a1 1 0 1 0 0-2 1 1 0 0 0 0 2m-4.75-1a1 1 0 1 1-2 0 1 1 0 0 1 2 0M5.75 11a1 1 0 1 0 0-2 1 1 0 0 0 0 2" clip-rule="evenodd"/></svg> **Configure**.


1. Customize the design:

   * **UI theme**: Select the UI theme for which you want to set the color palette.
   * **Contrast**: Select the contrast for which you want to set the color palette.
   * **Color palette**: Select colors for the UI theme and contrast. You can customize a unique palette for each combination of theme and contrast.

     You can set the colors manually or generate them:

     {% list tabs %}

     - Manually

       * **Main color**: Used as a background for buttons and controls: switches, checkboxes, and selectors. Additionally, the main color is used as a theme for tooltips.
       * **Main color on hovering the cursor**: When manually customized, you can select any color. When generating a palette, a darker shade of the main color is set automatically.
       * **Page background**: Page background color. For a light theme, white is the most commonly used color. Dark themes have more options, from neutral gray shades to warm or cool colors.
       * **Additional color**: Background color applied to cards and other elevated elements.
       * **Selected elements**: Color for selected elements, e.g., clicked buttons, selected rows, or selected text.
       * **Selected items when hovering the cursor**: Color for selected items (e.g., clicked buttons or selected rows) when hovering over them.
       * **Text on selected items**: Text color on selected items. Set it to contrast with the color of the selected elements.
       * **Lines and outlines**: Color of the active card or tab, as well as the color of the loading indicator.
       * **Link**: Link text color.
       * **Link on hover**: Link text color when the cursor hovers over it.

     - Generate

       Click <!-- diplodoc:svg ![image](../_assets/console-icons/arrows-rotate-left.svg) --><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16"><path fill="currentColor" fill-rule="evenodd" d="M8 1.5a6.5 6.5 0 0 1 6.445 5.649.75.75 0 1 1-1.488.194A5.001 5.001 0 0 0 4.43 4.5h1.32a.75.75 0 0 1 0 1.5h-3A.75.75 0 0 1 2 5.25v-3a.75.75 0 1 1 1.5 0v1.06A6.48 6.48 0 0 1 8 1.5m5.25 13a.75.75 0 0 0 .75-.75v-3a.75.75 0 0 0-.75-.75h-3a.75.75 0 1 0 0 1.5h1.32a5.001 5.001 0 0 1-8.528-2.843.75.75 0 1 0-1.487.194 6.501 6.501 0 0 0 10.945 3.84v1.059c0 .414.336.75.75.75" clip-rule="evenodd"/></svg> **Generate palette** and select the main color. Other colors will be automatically generated based on it. If required, edit the color settings manually.

     {% endlist %}

   * **Contrasting color**: Select a color for the text on the button.
   * **Logo and favicon**: To replace the logo and favicon, insert a link to a 1:1 aspect ratio SVG file into this field. Click **Apply** next to the field.
   
   
   * **Rounding**: Sets corner rounding for UI elements.


   {% note info %}

   The preview area displays how the UI elements will look like with the specified settings.

   {% endnote %}

1. At the top right, click **Save**.
1. To apply the customized UI, enable the corresponding option under **UI customization**.

## Managing a chart color palette {#palette-settings}

In DataLens On-premises, you can [create](#create-palette), [edit](#edit-palette), or [delete](#delete-palette) a color palette and [configure the default palette](#default-palette).

### Creating a color palette {#create-palette}

<!-- source: en/_includes/datalens/settings/create-palette.md -->
To create a color palette:

1. Go to the DataLens home page.
1. In the left-hand panel, select <!-- diplodoc:svg ![image](../_assets/console-icons/sliders.svg) --><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16"><path fill="currentColor" fill-rule="evenodd" d="M7.5 5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0m1.405.75a3.001 3.001 0 0 1-5.81 0H1.747a.75.75 0 0 1 0-1.5h1.348a3.001 3.001 0 0 1 5.81 0h5.345a.75.75 0 0 1 0 1.5zm-7.158 4.5h5.345a3.001 3.001 0 0 1 5.811 0h1.347a.75.75 0 1 1 0 1.5h-1.347a3.001 3.001 0 0 1-5.81 0H1.746a.75.75 0 0 1 0-1.5m8.25-.75a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3" clip-rule="evenodd"/></svg> **Service settings**.
1. Select the **Appearance** tab.
1. Under **Palettes**, add a new palette:

   {% list tabs %}

   - Gradient color palette

     A gradient color palette is used in charts for numerical measures.

     1. Go to **Gradient color palettes** and click **+ Add palette**.
     1. In the window that opens, enter the following parameters:

        * Enter the **Palette name** at the top.
        * Enter the start value for the gradient color at the bottom left and its end value at the bottom right. For example, specify `0044A3` on the left and `8CCBFF` on the right for a dark blue to light blue gradient.

          To add an intermediate gradient value, click <!-- diplodoc:svg ![image](../_assets/console-icons/plus.svg) --><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16"><path fill="currentColor" fill-rule="evenodd" d="M8 1.75a.75.75 0 0 1 .75.75v4.75h4.75a.75.75 0 0 1 0 1.5H8.75v4.75a.75.75 0 0 1-1.5 0V8.75H2.5a.75.75 0 0 1 0-1.5h4.75V2.5A.75.75 0 0 1 8 1.75" clip-rule="evenodd"/></svg> below and specify the value. You can check the changes in the preview window.

     1. Click **Save**.

   - Color palette

     A color palette is used in charts for discrete values: measure names, dimension values.

     1. Go to **Color palettes** and click **+ Add palette**.
     1. In the window that opens, enter the following parameters:

        * Enter the **Palette name** at the top.
        * In the list on the right, click **+ Add color** and enter values for palette colors, in hex format.

          There are 20 default colors. You can edit, add, or delete palette colors. To change the order of colors, drag them using the mouse. You can check the changes in the preview window.

     1. Click **Save**.

   {% endlist %}
<!-- endsource: en/_includes/datalens/settings/create-palette.md -->

### Changing a color palette {#edit-palette}

<!-- source: en/_includes/datalens/settings/edit-palette.md -->
To change a color palette:

1. Go to the DataLens home page.
1. In the left-hand panel, select <!-- diplodoc:svg ![image](../_assets/console-icons/sliders.svg) --><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16"><path fill="currentColor" fill-rule="evenodd" d="M7.5 5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0m1.405.75a3.001 3.001 0 0 1-5.81 0H1.747a.75.75 0 0 1 0-1.5h1.348a3.001 3.001 0 0 1 5.81 0h5.345a.75.75 0 0 1 0 1.5zm-7.158 4.5h5.345a3.001 3.001 0 0 1 5.811 0h1.347a.75.75 0 1 1 0 1.5h-1.347a3.001 3.001 0 0 1-5.81 0H1.746a.75.75 0 0 1 0-1.5m8.25-.75a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3" clip-rule="evenodd"/></svg> **Service settings**.
1. Select the **Appearance** tab.
1. Go to **Palettes** and click the line with the palette to change.
1. Make changes in the **Configure color palettes** window.
1. Click **Save**.
<!-- endsource: en/_includes/datalens/settings/edit-palette.md -->

### Deleting a color palette {#delete-palette}

<!-- source: en/_includes/datalens/settings/delete-palette.md -->
{% note info %}

Deleting a color palette resets the [color settings](../concepts/chart/settings.md#color-settings) in all charts where it was used.

{% endnote %}

To delete a color palette:

1. Go to the DataLens home page.
1. In the left-hand panel, select <!-- diplodoc:svg ![image](../_assets/console-icons/sliders.svg) --><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16"><path fill="currentColor" fill-rule="evenodd" d="M7.5 5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0m1.405.75a3.001 3.001 0 0 1-5.81 0H1.747a.75.75 0 0 1 0-1.5h1.348a3.001 3.001 0 0 1 5.81 0h5.345a.75.75 0 0 1 0 1.5zm-7.158 4.5h5.345a3.001 3.001 0 0 1 5.811 0h1.347a.75.75 0 1 1 0 1.5h-1.347a3.001 3.001 0 0 1-5.81 0H1.746a.75.75 0 0 1 0-1.5m8.25-.75a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3" clip-rule="evenodd"/></svg> **Service settings**.
1. Select the **Appearance** tab.
1. Go to **Palettes** and hover over the name of the palette to delete.
1. Click <!-- diplodoc:svg ![image](../_assets/console-icons/ellipsis.svg) --><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16"><path fill="currentColor" fill-rule="evenodd" d="M3 9.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3M9.5 8a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0m5 0a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0" clip-rule="evenodd"/></svg> next to it and select **Delete**.
1. Click **Delete**.
<!-- endsource: en/_includes/datalens/settings/delete-palette.md -->


### Setting the default color palette {#default-palette}

<!-- source: en/_includes/datalens/settings/default-palette.md -->
To set any of the preinstalled or previously added color palettes as default:

1. Go to the DataLens home page.
1. In the left-hand panel, select <!-- diplodoc:svg ![image](../_assets/console-icons/sliders.svg) --><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16"><path fill="currentColor" fill-rule="evenodd" d="M7.5 5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0m1.405.75a3.001 3.001 0 0 1-5.81 0H1.747a.75.75 0 0 1 0-1.5h1.348a3.001 3.001 0 0 1 5.81 0h5.345a.75.75 0 0 1 0 1.5zm-7.158 4.5h5.345a3.001 3.001 0 0 1 5.811 0h1.347a.75.75 0 1 1 0 1.5h-1.347a3.001 3.001 0 0 1-5.81 0H1.746a.75.75 0 0 1 0-1.5m8.25-.75a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3" clip-rule="evenodd"/></svg> **Service settings**.
1. Select the **Appearance** tab.
1. Under **Palettes**, select the default palette from the list. The default palette will be applied to all charts that use it. In charts with custom palette settings, the palette will not change.

If you delete the default color palette, the `Default 20` palette will apply instead. It will be applied to all charts that use the default palette.
<!-- endsource: en/_includes/datalens/settings/default-palette.md -->



## Disabling workbook export {#workbooks-export-disable}

<!-- source: en/_includes/datalens/settings/disable-workbooks-export.md -->
By default, users with the `datalens.admin` role can export workbooks. You can disable this option at the DataLens instance level. After you prohibit export:

* <!-- diplodoc:svg ![icon](../_assets/console-icons/file-arrow-up.svg) --><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16"><path fill="currentColor" fill-rule="evenodd" d="M12.5 12a1.5 1.5 0 0 1-1.5 1.5H5A1.5 1.5 0 0 1 3.5 12V4A1.5 1.5 0 0 1 5 2.5h2.757a1.5 1.5 0 0 1 1.061.44l3.243 3.242a1.5 1.5 0 0 1 .439 1.06zm.621-6.879A3 3 0 0 1 14 7.243V12a3 3 0 0 1-3 3H5a3 3 0 0 1-3-3V4a3 3 0 0 1 3-3h2.757a3 3 0 0 1 2.122.879zM5.47 8.72a.75.75 0 0 0 1.06 1.06l.72-.72v2.19a.75.75 0 0 0 1.5 0V9.06l.72.72a.75.75 0 0 0 1.06-1.06l-2-2a.75.75 0 0 0-1.06 0z" clip-rule="evenodd"/></svg> **Export** button will disappear from the workbook interface.
* Users will not be able to export workbooks.
* Any JSON export files created before you disable export may be imported to a new workbook.

Only the DataLens instance [admin](../security/roles.md#datalens-admin), i.e., a user with the `datalens.admin` role, can disable export.

To prohibit export of workbooks:

1. In the left-hand panel, select <!-- diplodoc:svg ![sliders](../_assets/console-icons/sliders.svg) --><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="none" viewBox="0 0 16 16"><path fill="currentColor" fill-rule="evenodd" d="M7.5 5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0m1.405.75a3.001 3.001 0 0 1-5.81 0H1.747a.75.75 0 0 1 0-1.5h1.348a3.001 3.001 0 0 1 5.81 0h5.345a.75.75 0 0 1 0 1.5zm-7.158 4.5h5.345a3.001 3.001 0 0 1 5.811 0h1.347a.75.75 0 1 1 0 1.5h-1.347a3.001 3.001 0 0 1-5.81 0H1.746a.75.75 0 0 1 0-1.5m8.25-.75a1.5 1.5 0 1 0 0 3 1.5 1.5 0 0 0 0-3" clip-rule="evenodd"/></svg> **Service settings**.
1. Select the **General** tab.
1. Disable **Workbook export** (enabled by default).
<!-- endsource: en/_includes/datalens/settings/disable-workbooks-export.md -->
