getLookAndFeelSettings method

Future<LookAndFeelSettings> getLookAndFeelSettings({
  1. String? spaceKey,
})

Returns the look and feel settings for the site or a single space. This includes attributes such as the color scheme, padding, and border radius.

The look and feel settings for a space can be inherited from the global look and feel settings or provided by a theme.

Permissions required: None

Implementation

Future<LookAndFeelSettings> getLookAndFeelSettings({String? spaceKey}) async {
  return LookAndFeelSettings.fromJson(await _client.send(
    'get',
    'wiki/rest/api/settings/lookandfeel',
    queryParameters: {
      if (spaceKey != null) 'spaceKey': spaceKey,
    },
  ));
}