Confluence.js - Cloud and Server API library
    Preparing search index...

    Class Themes

    Index

    Constructors

    Methods

    • Returns the theme selected for a space, if one is set. If no space theme is set, this means that the space is inheriting the global look and feel settings.

      Permissions required: ‘View’ permission for the space.

      Type Parameters

      Parameters

      Returns Promise<void>

    • Returns the theme selected for a space, if one is set. If no space theme is set, this means that the space is inheriting the global look and feel settings.

      Permissions required: ‘View’ permission for the space.

      Type Parameters

      Parameters

      Returns Promise<T>

    • Resets the space theme. This means that the space will inherit the global look and feel settings

      Permissions required: 'Admin' permission for the space.

      Type Parameters

      • T = void

      Parameters

      Returns Promise<void>

    • Resets the space theme. This means that the space will inherit the global look and feel settings

      Permissions required: 'Admin' permission for the space.

      Type Parameters

      • T = void

      Parameters

      Returns Promise<T>

    • Sets the theme for a space. Note, if you want to reset the space theme to the default Confluence theme, use the 'Reset space theme' method instead of this method.

      Permissions required: 'Admin' permission for the space.

      Type Parameters

      Parameters

      Returns Promise<void>

    • Sets the theme for a space. Note, if you want to reset the space theme to the default Confluence theme, use the 'Reset space theme' method instead of this method.

      Permissions required: 'Admin' permission for the space.

      Type Parameters

      Parameters

      Returns Promise<T>