Themes
The theme (style) of the user interface is also defined in the model. A theme determines the colors, fonts and images that are used and is defined for all components of the user interface.
To apply themes that transcend a project, it is possible to Import and Export themes using the tasks. The export task generates XML for a theme; the import task can import this XML or read the theme from another project version in the same Software Factory.
Themes
Different theme types are available for the classic and the Universal user interfaces.
Classic theme
The classic theme contains a wide range of settings for the Windows, Web and Mobile user interfaces.
General
The general theme settings, such as the background color and the scrollbar, are defined in the General tab page.
Document tab
When tabs are opened from the menu, they can be active (selected) or inactive (not selected). The tab colors in this instance and the colors when you move over the tab can be set here.
Tab in theme
Tab
Where in the document component, the tab color can be set for colors opened from the menu. The colors for the background of the tabs within these main tabs are set here, shown in turquoise in the figure below.
Tab header height
There can be chosen from the following options:
header method options
Default - The default is unchanged.
Spacious - Extra padding based on font size.
Manual - Manual padding in pixels around the header text.
Tab with manual height
Tab lines
It is possible to set the color of tab content lines and tab header lines.
Tab with transparent lines
Disabled tabs
Disabled tabs are styled by the GUI, by default. It is possible to manually style these tabs in the SF.
Disabled tab Code changelog
Tab color settings theme
The colors for the lines surrounding the tabs can be modified here. It is, for example, possible to make the tab header color a dark gray and the content border white (same as the background color). This significantly reduces the amount of lines on the screen in nested tabs.
Background
The color is set for the background of the application on the background tab. This background is displayed when no tabs are open. You can also set an image as a full screen background image by expanding it to full screen size. Be aware that this might cause some distortion of the image.
Add an image in the theme
Document
The background colors, which are displayed when a tab is opened, can be defined here (shown in violet in the figure below).
Document theme settings and the result
The splitter color, which is visible for example between a grid, a form and an image, can also be set here.
Pop-up
This is where the background color of a pop-up field is modified.
Scrollbar
This is used to indicate the background color and the color of the scrollbar.
Header and footer
The colors for the top and bottom of the application can be selected for the mobile application.
Setting the theme for mobile
Application list
This is where the colors of the applications at the bottom of the menu are styled.
Application list style
Splash screen
Setting the colors and logo for the splash screen is something that takes place in the IAM (Global Settings). The reason for this is that when opening an application, this does not necessarily mean that only one application is opened. The splash screen does not refer to one particular application.
However, you can specify here which components should and should not be displayed on the splash screen. The 'Button' component has not yet been implemented in the current Software Factory generation.
Setting splash theme
Badge
This section has been added to give the option to style the font and background color of badges.
Navigation
In the navigation section, it is possible to set every style option related to navigation.
Ribbon
When the colors are set for the ribbon, you can choose to set a general background color. In addition, you can set a mouseover color for a segment or for just a button
Theme settings for the ribbon
The color that is selected for the ribbon will appear behind an icon of a task, pre-filter, etc. in the ribbon within the work area.
Quickbar
If the menu is displayed as a quickbar, the theme settings can be specified here. For example, a background can be set, the groups and items can be given a color, and an image can be displayed at the bottom of the menu.
Tree
If the menu is displayed as a tree view, the theme settings can be specified here. For example, a background can be set, the groups and items can be given a color, and an image can be displayed at the bottom of the menu.
If users can switch between these types of menus, then both menus have to be set up.
Tiles
The settings for the tile menu, tile groups and individual tiles can be specified here. The tiles menu can be given a background color or image. Single tiles can be given a normal, selected and mouseover style.
Title bar
The changes made in the menu component will affect the bar above the ribbon of the application which hold the name of the application.
Bar above the ribbon of the application
Components
In this section, it is possible to style the different components: grid, form and cube.
Grid
When setting up the grid, various components can be modified for a grid view. For example, the general grid theme can be set up, including the background color.
If transparent is chosen in the 'line' component, the rows in the grid will be colored alternately in the color of the background and in a shade darker.
Grid view with alternating colors
In the following sub tabs, you can specify the group colors, row colors and the focus cell colors. These can be set for the active row, the selected row and for a mouse over.
Grid aggregation style
It is possible to style the grid aggregation (summary), for example:
Form
A color can be set for the background and the border of the form. In addition, the lines that appear under a group label can also be modified.
It is possible to set border color, background color and font color of form fields in edit and non-edit mode.
In the field component, the settings can be changed for the color of the mandatory, editable and read only field. If the application is not in a modify or add mode, all fields will adopt the color of the read only fields.
Show buttons on hover
An option to only show form buttons when hovering over the form with the mouse.
Cube
All settings for the cube can be modified in the cube theme component. This component is divided into three sub tabs. The general settings for the cube, such as the background color and the cube color, can be specified on the first tab. You can also define a color for the graph here. This color is displayed behind the graph, and the surrounding border can also be modified.
The field settings can be modified on the second tab. The background can be specified here, and the totals and the border can be assigned a color.
The colors for the areas, rows, columns, fields and cells can be specified in the third tab, area.
As shown in previous paragraphs, there are many different options available when it comes to setting up the theme. The theme is obviously a personal matter and provides the application with the look and feel that suits the organization. Thinkwise recommends adjusting the theme in line with the colors of the company, but to keep it neutral. A theme that is too prominent distracts and will not benefit productivity. When the colors of a theme are underexposed, this can be confusing because it is then not clear where one tab ends and the other begins. The right theme supports the application and benefits productivity.
The figures below show an example of a strong visual theme and a minimalist theme.
A theme that is out of balance.
A minimalist theme
Colors and Fonts used
When creating a theme, it is recommended to use a limited set of colors. In the Colors used tab page, it is possible to see which colors are used and where they are used.
A color can be changed using the Update color task or by dragging the column to the preferred color. The same overview is available for the fonts used.
Fonts and colors used in a Theme
Universal theme
For universal themes, the default mode can be set to either Dark or Light. Because a user can switch between the dark and light mode, settings are available for both the dark and light mode of the theme.
The specified font face and size of the selected fonts are used for the headers and body of the Universal user interface; the font color and style is ignored.
The background image can be set for both the dark and light mode.
Three colors are available to style an application:
- Primary color - The primary color refers to the color that appears most frequently in the application.
- Accent color - The accent color refers to the color used to accent key parts of the user interface.
- Warn color - The warn color refers to the color that is used to indicate feedback or warnings.
Universal theme settings