Skip to content
This repository has been archived by the owner on Jan 25, 2024. It is now read-only.

Commit

Permalink
Merge pull request #676 from Parabeac/hotfix/styling-limitations
Browse files Browse the repository at this point in the history
Add limitations of styling to README
  • Loading branch information
ivan-015 committed Jun 25, 2022
2 parents 492abd8 + b7a73b0 commit bc8ead7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ The handoff between designers & developers is one of the most costly and frustra
* [Running a Component Package with Widgetbook](#running-a-component-package)
* [Other](#other)
* [Global Theming](#global-theming)
* [Current Limitations](#current-limitations)
* [TextStyles](#textstyles)
* [Colors](#colors)
* [Internal Use](#internal-use)
Expand Down Expand Up @@ -160,6 +161,9 @@ Follow or subscribe to our [Twitter](https://twitter.com/parabeac), [Youtube](ht
* parabeac_core has support for global theming for **TextStyles** and **Colors**. If detected, parabeac_core will export two files containing the styles ready for internal and external use.
* For more information on how to set up Global Styles in your design file, read the following [Global Styling Docs](https://docs.parabeac.com/docs/learn-the-parabeac-way/global-styling).

### Current limitations
* At the moment, we only generate global styling nodes that are actually being used inside a frame of the Figma project. This is because of Figma's API limitations. We are currently working on a way to completely decouple this so that we are able to get the styling information without depending on them being used inside the Figma project.

### TextStyles
* If parabeac_core detects global TextStyles in the design file, it will export a file under `lib/theme/<your_package_name>_text_styles.g.dart`. This file will contain all global TextStyles of the design file in the following format:

Expand Down

0 comments on commit bc8ead7

Please sign in to comment.