Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature : Typography #55

Merged
merged 8 commits into from
Sep 8, 2024
Merged

Feature : Typography #55

merged 8 commits into from
Sep 8, 2024

Conversation

MamboBryan
Copy link
Contributor

@MamboBryan MamboBryan commented Aug 16, 2024

name: Pull request
about: Create a pull request
label: 'triage me'
Fixes #53
Fixes #60


How can this PR be tested?

Please describe how the reviewers can test your changes here. i.e To test it Log
off the internet


Thank you for opening a Pull Request!
Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

  • Ensure your branch is up to date with develop branch.
  • Ensure your branch runs without breaking.
  • Ensure you solved any merge conflicts.
  • Smaller PRs for the ease of reviewing
  • Make sure to open a GitHub issue as a bug/feature request before writing your code! This means that we can discuss the change, evaluate designs, and agree on the general idea
  • Ensure the tests and linter pass (./gradlew --init-script gradle/init.gradle.kts spotlessApply to automatically apply formatting)
  • Appropriate docs were updated (You are adding code so...)
  • Tests have been written

Is this your first Pull Request?

  • Run ./tools/setup.sh
  • Import the code formatting style as explained in the setup script.

Fixes #<issue_number_goes_here> 🦕

Screenshot

For PRs that change the UI, attach a before/after screenshot.
[REMOVE THIS SECTION IF IT DOES NOT APPLY TO THIS PR]

@@ -0,0 +1,45 @@
# Typography
This is a simple doc that should be used in line with the typography tokens in the design system
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Replace with:
These are the typography tokens in the design system.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done...

Example:
If you have an app with two screens, characters and character, where characters shows a list of people and character shows the details of one person.
You can use title for Characters and Character .

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing code sample.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done...


### Display
This is the token to use when you want to highlight or make any content stand out. It should not be used as a header, title or body text.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing code sample. for the others

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done...

import com.droidconke.chai.utils.ChaiPreview

private val DUMMY_CHAI_TEXT = "Design systems provide guidelines and reusable components to ensure consistent and efficient design across digital products, improving user experience and streamlining team workflows."

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it make sense to use an inline doc here... showing how we use the specific composable

@@ -27,8 +27,7 @@ import androidx.compose.ui.text.style.TextAlign
import androidx.compose.ui.text.style.TextOverflow
import androidx.compose.ui.unit.sp
import com.droidconke.chai.atoms.*
import com.droidconke.chai.atoms.MontserratRegular
import com.droidconke.chai.atoms.MontserratThin
import com.droidconke.chai.atoms.MontserratSans
import com.droidconke.chai.chaiColorsPalette

/**
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this inline doc up to date?

@MamboBryan MamboBryan marked this pull request as ready for review September 2, 2024 18:21
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

waiting. @MamboBryan :)

@tamzi tamzi merged commit dc8d352 into main Sep 8, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Text components Typography
3 participants