# Text Styles

When you import a design into Monday Hero, it identifies all the text fonts used in the design and records the font family, size, and weight for each text element. Monday Hero then creates a list of text styles for you, removing any duplicates to ensure your app has a streamlined set of text styles.

Navigate to the 'Theme/Text Styles' tab to review and rename the text styles in your project. Please note that all text styles are automatically downloaded when you sync the code with your project.

{% hint style="info" %}
Monday Hero supports various font weights, including normal, bold, and italic. However, underlined and strikethrough text, as well as the addition of hyperlinks, are not supported in Monday Hero.
{% endhint %}

<figure><img src="https://479678609-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MEfkN8oSQyQ4BaBzwxH-4037006485%2Fuploads%2FyCJ3aW9USYdgSl4ZZ8S1%2FScreenshot%202024-04-29%20at%2020.05.39.png?alt=media&#x26;token=69839c89-088d-4dfb-b0a8-072ac3471364" alt=""><figcaption><p>Monday Hero Theme / Text Styles</p></figcaption></figure>

**Importing Missing Font Files**

If your design utilizes custom fonts that aren't included in the system by default, you need to upload these missing fonts in .ttf or .otf format to Monday Hero. The platform processes the uploaded font files to ensure optimal results. Once uploaded, they will automatically sync with your project file in Monday Hero.

<figure><img src="https://479678609-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MEfkN8oSQyQ4BaBzwxH-4037006485%2Fuploads%2FCUdzaanGddGnZLOjrGfd%2FGroup%20501.png?alt=media&#x26;token=670edf6b-0f9a-4fb4-a107-b99fe206550e" alt=""><figcaption><p>Uploading custom fonts to Monday Hero</p></figcaption></figure>

Generated code example:

{% tabs %}
{% tab title="iOS" %}
{% code overflow="wrap" %}

```swift
import UIKit

extension UIFont {
	class var textStyle: UIFont {
		return UIFont(name: "HelveticaNeue", size: 12.0) ?? UIFont.systemFont(ofSize: 12.0)
	}

	class var textStyle2: UIFont {
		return UIFont(name: "HelveticaNeue-Bold", size: 14.0) ?? UIFont.systemFont(ofSize: 14.0)
	}

	class var textStyle3: UIFont {
		return UIFont(name: "HelveticaNeue", size: 14.0) ?? UIFont.systemFont(ofSize: 14.0)
	}

	class var textStyle4: UIFont {
		return UIFont(name: "HelveticaNeue-Bold", size: 16.0) ?? UIFont.systemFont(ofSize: 16.0)
	}

}
```

{% endcode %}

Check out the following directory to access the fonts file generated by Monday Hero:

```
/ProjectName/Styles/Fonts.swift
```

{% endtab %}
{% endtabs %}
