/outsystems-tutorials

How to ensure consistent font usage in OutSystems by defining typography tokens?

Learn to maintain font consistency in OutSystems by defining typography tokens, centralizing font settings for cohesive UI and seamless updates across applications.

Matt Graham, CEO of Rapid Developers

Book a call with an Expert

Starting a new venture? Need to upgrade your website? RapidDev builds Webflow websites with your growth in mind.

Book a free No-Code consultation

How to ensure consistent font usage in OutSystems by defining typography tokens?

Ensuring Consistent Font Usage in OutSystems by Defining Typography Tokens

 

Ensuring consistent font usage across your OutSystems applications is crucial for maintaining a coherent user interface and user experience. By defining typography tokens, you can centralize your font settings, making it easier to apply and update font styles across different components. This guide provides a comprehensive step-by-step approach to defining typography tokens in OutSystems.

 

Prerequisites

 

  • An OutSystems account with access to a project where you wish to implement typography tokens.
  • Basic knowledge of CSS and frontend development concepts in OutSystems applications.
  • Access to the OutSystems Service Studio for application development.
  • An understanding of Style Guide and its purpose within OutSystems.

 

Understanding Typography Tokens

 

  • Typography tokens are reusable design elements that store the values of font properties such as font-family, font-size, font-weight, etc.
  • These tokens help maintain a consistent look and feel by centralizing font definitions that can be applied across various UI elements.

 

Defining Typography Tokens in Service Studio

 

  • Open Service Studio and navigate to your application where you wish to define typography tokens.
  • Go to the Data tab, and find the 'Static Entities' section.
  • Create a new static entity named TypographyTokens to store your font definitions.
  • Add attributes to the TypographyTokens entity for various typography characteristics, such as FontFamily, FontSize, FontWeight, etc.
  • Populate the entity with initial values representing your styling requirements for headings, body text, etc.

 

Implementing Typography Styles in Your Application

 

  • Navigate to the Interface tab in Service Studio and open the Style Guide.
  • Identify the styles that need to reflect changes based on typography tokens. These will typically include general styles like headings, body text, etc.
  • For each style, use expressions to dynamically apply values from your TypographyTokens entity to your CSS styles.
  • For instance, define a CSS class for headings and link its properties to typography tokens using expressions such as `font-family: GetToken(HeadingFontFamily)`.
  • To apply these styles, ensure that the corresponding containers, text widgets, and other elements use the defined classes.

 

Updating and Maintaining Typography Tokens

 

  • To change the typography across the entire application, simply update the values within the TypographyTokens static entity.
  • Re-publish the application to apply the new font settings globally.
  • Always keep track of the tokens you have defined and ensure they are consistently used in queries and expressions across your application interface.

 

Testing Typography Token Implementation

 

  • Use the Preview feature in Service Studio to test how typography styles are applied across your application.
  • Ensure that all text elements match the defined typography styles and that style consistency is maintained throughout the application.
  • Make adjustments as necessary, especially when introducing new typography tokens or modifying existing ones.

 

Deploying Your App with Consistent Typography

 

  • Once you've verified the typography token implementation through testing, deploy your application.
  • Monitor for any issues related to typography inconsistency and make necessary adjustments within the typography tokens.
  • Periodically update typography tokens as part of design refresh efforts or when introducing new UI components.

 

By integrating typography tokens in your OutSystems applications, you effectively streamline the management of font styles, ensuring a uniform appearance across diverse components and screens. This practice not only simplifies UI maintenance but also enhances user experience by providing a cohesive visual identity.

Explore More Valuable No-Code Resources

No-Code Tools Reviews

Delve into comprehensive reviews of top no-code tools to find the perfect platform for your development needs. Explore expert insights, user feedback, and detailed comparisons to make informed decisions and accelerate your no-code project development.

Explore

WeWeb Tutorials

Discover our comprehensive WeWeb tutorial directory tailored for all skill levels. Unlock the potential of no-code development with our detailed guides, walkthroughs, and practical tips designed to elevate your WeWeb projects.

Explore

No-Code Tools Comparison

Discover the best no-code tools for your projects with our detailed comparisons and side-by-side reviews. Evaluate features, usability, and performance across leading platforms to choose the tool that fits your development needs and enhances your productivity.

Explore

Bubble Integrations

Dive into our comprehensive resource for Bubble.io integrations, featuring expert advice, detailed tutorials, and FAQs. Whether you're a beginner or an experienced developer, find everything you need to seamlessly integrate third-party services with Bubble.io.

Explore

Successful Bubble.io Projects

Explore a curated showcase of successful Bubble.io projects and see what's possible with no-code development. From innovative apps to complex systems, discover inspiring examples that highlight the power and versatility of Bubble.io. Start envisioning your next project today!

Explore

Flutterflow Tutorials

Explore our detailed directory of FlutterFlow tutorials to master mobile app development without coding. Gain insights through step-by-step guides, practical examples, and expert tips to efficiently use FlutterFlow and build stunning apps.

Explore

Want to explore opportunities to work with us?

Connect with our team to unlock the full potential of no-code solutions with a no-commitment consultation!

Book a Free Consultation

Client trust and success are our top priorities

When it comes to serving you, we sweat the little things. That’s why our work makes a big impact.

Rapid Dev was an exceptional project management organization and the best development collaborators I've had the pleasure of working with. They do complex work on extremely fast timelines and effectively manage the testing and pre-launch process to deliver the best possible product. I'm extremely impressed with their execution ability.

CPO, Praction - Arkady Sokolov

May 2, 2023

Working with Matt was comparable to having another co-founder on the team, but without the commitment or cost. He has a strategic mindset and willing to change the scope of the project in real time based on the needs of the client. A true strategic thought partner!

Co-Founder, Arc - Donald Muir

Dec 27, 2022

Rapid Dev are 10/10, excellent communicators - the best I've ever encountered in the tech dev space. They always go the extra mile, they genuinely care, they respond quickly, they're flexible, adaptable and their enthusiasm is amazing.

Co-CEO, Grantify - Mat Westergreen-Thorne

Oct 15, 2022

Rapid Dev is an excellent developer for no-code and low-code solutions.
We’ve had great success since launching the platform in November 2023. In a few months, we’ve gained over 1,000 new active users. We’ve also secured several dozen bookings on the platform and seen about 70% new user month-over-month growth since the launch.

Co-Founder, Church Real Estate Marketplace - Emmanuel Brown

May 1, 2024 

Matt’s dedication to executing our vision and his commitment to the project deadline were impressive. 
This was such a specific project, and Matt really delivered. We worked with a really fast turnaround, and he always delivered. The site was a perfect prop for us!

Production Manager, Media Production Company - Samantha Fekete

Sep 23, 2022