The
SAS-config-dir\Lev1\Web\Utilities\SASThemeExtensions
directory
contains the scripts and resources needed to create a new theme:
-
The
NewTheme
script
creates a directory structure for your new theme, and populates it
with configuration files that are modified to create a new theme definition.
The new theme is based on the SAS default theme that is shipped with
the software.
-
The
specs
directory
provides documentation for the general color palette and color and
image guidelines that are specific to each user interface component.
This document is useful when you are designing and defining your custom
theme.
Developing a custom
theme involves creating CSS files, image files, theme template files,
and theme descriptor files. It is possible to create a new theme by
authoring these files from scratch, but the task is laborious and
requires a thorough understanding of Web page design. The theme infrastructure
provides a templating mechanism to simplify the process.
Instead of editing CSS
and theme descriptor files directly, template files (extension
.vtl
)
are provided that contain key and value pairs that isolate the elements
of the theme that you are likely to want to customize. In addition,
context files (extension
.vctxt
) enable
you to create a centralized set of definitions for key values that
you can use in place of explicit values to simplify the process of
maintaining the template files. When you use the SAS Deployment Manager
to rebuild the SAS Web Application Themes, the context files are merged
into the template files to create a complete set of shared and product-specific
style sheets and theme descriptors. The build process also packages
your new theme into the
sas.themes.ear
archive
file that you deploy to make themes available in your production environment.
Once the theme archive
is deployed, users can use the
Preferences page
in their SAS Web application to apply the new theme (or any of the
other themes in the archive). You can also specify the custom theme
as the default for all SAS Web applications. This means that the theme
is applied automatically for users who do not make a selection on
the
Preferences page.
Note: Previously, SAS
Web Report Studio 3.1 used product-specific branding. Product-specific
branding is not available for SAS Web Report Studio 4.3. Use themes
to create branding in SAS Web Report Studio 4.3. A few properties
for branding that existed in SAS WebReport Studio 3.1 are supported
in SAS Web Report Studio 4.3. For information about these properties
and usage,
see Customizing Report Styles for SAS Web Report Studio in SAS Intelligence Platform: Web Application Administration Guide.