cloudfoundry-incubator/stratos

View on GitHub
src/frontend/packages/cloud-foundry/sass/_all-theme.scss

Summary

Maintainability
Test Coverage
// Theming for the copmponents in the Cloud Foundry package


@import '../src/features/applications/application-wall/application-wall.component.theme';
@import '../src/features/services/services-wall/services-wall.component.theme';
@import '../src/features/service-catalog/service-catalog-page/service-catalog-page.component.theme';

@import '../src/shared/components/list/list-types/cf-security-groups/cf-security-groups-card/cf-security-groups-card.component.theme';
@import '../src/shared/components/schema-form/schema-form.component.theme';
@import '../src/features/cf/tabs/cf-admin-add-user-warning/cf-admin-add-user-warning.component.theme';
@import '../src/features/applications/deploy-application/deploy-application.component.theme';
@import '../src/features/applications/deploy-application/deploy-application-step2/deploy-application-fs/deploy-application-fs.component.theme';
@import '../src/features/cf/tabs/cf-firehose/cloud-foundry-firehose.component.theme';

@mixin apply-theme-stratos-cloud-foundry($stratos-theme) {

  $theme: map-get($stratos-theme, theme);
  $app-theme: map-get($stratos-theme, app-theme);

  @include cf-security-group-theme($theme);
  @include app-schema-form-theme($theme, $app-theme);
  @include cf-admin-add-user-warning($theme, $app-theme);
  @include app-deploy-app-theme($theme, $app-theme);
  @include app-deploy-app-fs-component-theme($theme, $app-theme);
  @include app-cloud-foundry-firehose-theme($theme, $app-theme);

}