Foundation
Color System
Color plays a key role in creating products with effective interfaces and user experiences.
Selected Theme
Select brand or tribe name to preview style
Usage
Colors system leverages a purposeful set of color styles as the perfect starting point for any brand or project. When it comes to color, contrast is critical for ensuring text is legible.
To get started, simply import the theme and apply the colors to your UI components:
import ThemeLGNUIKitlet uiView = UIView()uiView.backgroundColor = LGNUIColor.primary100
Primary Colors
The primary color is your “brand” color, and is used across all interactive elements such as buttons, links, inputs, etc. This color can define the overall feel and can elicit emotion.
LGNUIColor.primary25LGNUIColor.primary50LGNUIColor.primary100LGNUIColor.primary200LGNUIColor.primary300LGNUIColor.primary400LGNUIColor.primary500LGNUIColor.primary600LGNUIColor.primary700
Secondary Colors
The secondary colors is color highlight or complement the primary color. These are to be used sparingly to make the UI elements stand out. These colors are also usually defined in the brand guidelines.
LGNUIColor.secondary25LGNUIColor.secondary50LGNUIColor.secondary100LGNUIColor.secondary200LGNUIColor.secondary300LGNUIColor.secondary400LGNUIColor.secondary500LGNUIColor.secondary600LGNUIColor.secondary700
Tertiary Colors
The tertiary color is a neutral color and is the foundation of the color system. Almost everything in UI design — text, form fields, backgrounds, dividers, outline card — are usually gray.
LGNUIColor.tertiary25LGNUIColor.tertiary50LGNUIColor.tertiary100LGNUIColor.tertiary200LGNUIColor.tertiary300LGNUIColor.tertiary400LGNUIColor.tertiary500LGNUIColor.tertiary600LGNUIColor.tertiary700
Semantic Colors
Semantic colours communicate important status to the user such as success, information, warning or error. These colours should be used paired with text, an icon or both to fulfill their purpose in the best way possible.
Success
Success colors communicate a positive action, postive trend, or a successful confirmation. If you’re using green as your primary color, it can be helpful to introduce a different hue for your success green.
LGNUIColor.success25LGNUIColor.success50LGNUIColor.success100LGNUIColor.success200LGNUIColor.success300LGNUIColor.success400LGNUIColor.success500LGNUIColor.success600LGNUIColor.success700
Warning
Warning colors can communicate that an action is potentially destructive or “on-hold”. These colors are commonly used in confirmations to grab the users’ attention.
LGNUIColor.warning25LGNUIColor.warning50LGNUIColor.warning100LGNUIColor.warning200LGNUIColor.warning300LGNUIColor.warning400LGNUIColor.warning500LGNUIColor.warning600LGNUIColor.warning700
Information
Infomation colors can communicate that an action is informative section or
these colors are commonly used in awareness for users’ attention.
LGNUIColor.information25LGNUIColor.information50LGNUIColor.information100LGNUIColor.information200LGNUIColor.information300LGNUIColor.information400LGNUIColor.information500LGNUIColor.information600LGNUIColor.information700
Error
Error colors are used across error states and in “destructive” actions. They communicate a destructive/negative action, such as removing a user from your team.
LGNUIColor.error25LGNUIColor.error50LGNUIColor.error100LGNUIColor.error200LGNUIColor.error300LGNUIColor.error400LGNUIColor.error500LGNUIColor.error600LGNUIColor.error700