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 #685 from Parabeac/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
mergify[bot] committed Jul 5, 2022
2 parents 88edb50 + 0ea27b6 commit 90e0f45
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import 'package:parabeac_core/generation/flutter_project_builder/post_gen_tasks/
import 'package:parabeac_core/generation/flutter_project_builder/post_gen_tasks/global_styling/text_styles_post_gen_task.dart';
import 'package:parabeac_core/generation/flutter_project_builder/post_gen_tasks/global_styling/theming_post_gen_task.dart';
import 'package:pbdl/pbdl.dart';
import 'package:recase/recase.dart';

class GlobalStylingAggregator {
/// List of all supported TextStyles that should be exported
Expand Down Expand Up @@ -62,7 +63,7 @@ class GlobalStylingAggregator {
var themeTextStyles = <PBDLGlobalTextStyle>[];

for (var style in globalStyles.textStyles) {
if (_textStyleList.contains(style.name)) {
if (_textStyleList.contains(style.name.camelCase)) {
/// Add Text Style to Global theming list
themeTextStyles.add(style);
}
Expand Down

0 comments on commit 90e0f45

Please sign in to comment.