Note: Nintex Apps data centers are located in West US and Australia (AUS). In-region processing of Nintex Apps data is only available in these regions.

Design System Studio

Important:  API version 1 components cannot be styled by configuring a design system in the Design System Studio, they must be styled using themes.

Visual styles for pages in Nintex Apps's v2 API are handled via design systems, which are edited in the Design System Studio (DSS) workspace.

A design system is a file containing the variables and style variants that compose overarching style rules for all visual elements. The DSS is accessed by configuring an individual design system, so the first step to styling an application is to create a design system that will contain the app's custom style rules.

You can access your Nintex Apps instance's design systems by clicking Design systems in the top navigation bar.

From the Design Systems screen

Access the following options on the Design Systems screen.

From the dots-vertical more options menu

Access the following options from the the dots-vertical more options menu on an individual design system.

Design System Concepts

Design systems are made up of two elements: variables (saved values for design properties) and style variants (saved style configurations for individual components and subcomponents, which typically use variables for most of their properties).

Variables

When an app builder adds any component to their page in the Page Designer, the component uses a set of default Nintex Apps styles—called variables.

Similar to CSS style rules, variables are global style declarations (separated by categories), based on the general purpose of the variable (Color, Typography, etc.). Variables are used, along with component-specific property configurations, to create component style variants.

Every component uses a different combination of variables depending on the component's function and purpose, so not every variable will be used in a component.

Component styles are customized in the DSS to either:

  • Change the default style variables
  • Create new style variables

Once a variable is created, it can then be applied to a component style variant.

Style variants in components and subcomponents

Components are made up of components and subcomponents, and both are all listed under the Components header.

Selecting a component in the DSS will display all the configuration properties associated with the selected item. Most configuration properties require the use of variables as values, while some use property-specific values. If a component has any component dependencies, they will be listed under the Nested Components tab found in the properties pane.

Even if global variables have been configured, the unique properties of components require the creation of variables (and style variant ) to use in the component. It's normal for a workflow in the DSS to include a lot of interplay between variable creation and component configuration.

Note:  To effectively style component elements—those components and subcomponents that comprise a specific component go to the component/subcomponent's own style variant.

Working in the Design System Studio

When you edit a design system, you're in the Design System Studio. This workspace is made up of three primary areas:

  • The left panel is for navigation. Here you select whether you want to view Variables or Components. After choosing a tab, this panel lists the categories of variables or the types of components/subcomponents available to edit. Selecting a variable or component/subcomponent here updates the center area.
  • The center area displays the variables or style variants available to edit, reflecting whichever is selected in the left navigation pane. Clicking a variable or style variant will open its properties in the right panel.
  • The right panel is for setting properties for the selected variable or style variant, similar to the Properties pane in the Page Designer.

Above these three areas are Save and Cancel, as well as undo Undo and redo Redo.

Note:  The Design System Studio's undo-redo history is stored in browser memory. Because of this, it does not have a defined limit, and it persists as long as you don't navigate to a new page. It's even possible to save your changes, and then undo them to a state before the save, as long as you do not refresh the page.

Variables

Style variants for components and subcomponents

Preview With...:

Some components have a property called Preview With, which provides the option to view a customized component with common configurations available within the Page Designer. This property is key to understanding how custom styles will apply to an app in runtime.

Create style variants within DSS components

There are three ways to create new style variants for component elements:

Once the new variant is created, you can name and configure it. Configure new style variants by choosing between component-specific property options listed in the property panel. In some cases, you can also pass in Variables.

Delete a style variant

  1. Select the style variant to delete.
  2. From the dots-vertical menu, click delete Remove.

Applying a Design System to a Nintex Apps Page

  1. Create a design system in the DSS.

  2. Navigate to the Nintex Apps page that contains the component you want to style.

  3. Click on the Page header in the canvas.

  4. In the Properties pane, under Design system:

    • Select the name of the desired design system from the dropdown.

Important:  Selecting your design system on Page Properties is critical. If you skip this step, your style variants will not be loaded into the page.

Apply Style Variants to Nintex Apps Components

Style variants are applied within the Page Designer by clicking a component on the canvas and navigating to its Styles properties. Style variants, and other style properties, can then be adjusted:

  1. In the Properties pane, select the Styles tab.
  2. Select your style variant in the Style Variant dropdown.

Use Style Variants for Conditional Styling

Though style variants can be applied within the Page Designer at the component level, they are also used as parameters for conditional styling logic.

Conditional styling allows builders to define a set of criteria that, when met, will change the visual design of a component or component element by applying a new style variant.

For more about configuring style conditions, see the conditional styling documentation.

Naming

Once a new design system, variable, or variant is created, you can name it. Give each style element a name that provides context and makes the purpose of the element distinct from others in the same category.

For example: consider two Button style variants, one used only for Form submission, the other to refresh a Form component. Names like "Form button 1" and "Form Button 2" don't incorporate function, and aren't useful for providing context. Names that do incorporate function, like "Form Button - Submit" and "Form Button - Refresh" are clear and purposeful. Someone unfamiliar with the design system would immediately know where those variants should be used and what they're used for.

There are two main naming conventions, each with pros and cons.