Skip to content

Commit

Permalink
docs: Update typography documentation (#16)
Browse files Browse the repository at this point in the history
* docs: Update typography documentation

* [automated commit] lint format and import sort

---------

Co-authored-by: github-actions <github-actions@github.com>
  • Loading branch information
thelukewalton and github-actions committed Mar 27, 2023
1 parent 591b757 commit 2a1cea3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/onMerge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
**/*.dart
docs/*
**/*.yaml
**/*.yml
files_ignore: example/*
update-version:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion example/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ packages:
path: ".."
relative: true
source: path
version: "0.0.1+6"
version: "0.0.1+7"
sdks:
dart: ">=2.19.1 <3.0.0"
flutter: ">=3.0.0"
4 changes: 3 additions & 1 deletion lib/src/components/text.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ import 'package:flutter/material.dart';

import '../../zeta_flutter.dart';

extension _ResponsiveBreak on DeviceType {
/// Determine whether to show mobile text for heading / display.
extension ResponsiveBreak on DeviceType {
/// Determine whether to show mobile text for heading / display.
bool get responsiveText {
return name == 'mobileLandscape' || name == 'mobilePortrait';
}
Expand Down

0 comments on commit 2a1cea3

Please sign in to comment.