Skip to content

Commit

Permalink
Merge pull request #269 from RishavKumarSinha/fix#264
Browse files Browse the repository at this point in the history
Hacktoberfest Text Color Fixed
  • Loading branch information
andoriyaprashant authored Jul 28, 2024
2 parents 2b0049e + 28a6426 commit b900168
Showing 1 changed file with 12 additions and 43 deletions.
55 changes: 12 additions & 43 deletions lib/programs screen/hacktoberfest_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ class _HacktoberfestState extends State<Hacktoberfest> {
child: Text(
'Celebrate Open Source and Grow Your Skills with Hacktoberfest!',
style: TextStyle(
fontSize: titleSize, fontWeight: FontWeight.bold, color: Colors.white),
fontSize: titleSize, fontWeight: FontWeight.bold),
),
),
Padding(
Expand All @@ -90,7 +90,6 @@ class _HacktoberfestState extends State<Hacktoberfest> {
'Hacktoberfest is an annual event in October, organized by DigitalOcean and GitHub, to promote open-source contributions. Participants submit pull requests to GitHub repositories, fostering community, learning, and collaboration among developers worldwide.',
style: TextStyle(
fontSize: contentSize,
color: Colors.white,
),
),
),
Expand Down Expand Up @@ -120,58 +119,29 @@ class _HacktoberfestState extends State<Hacktoberfest> {
child: Text(
'How to find issues in Hacktoberfest',
style: TextStyle(
fontSize: titleSize, fontWeight: FontWeight.bold, color: Colors.white),
fontSize: titleSize, fontWeight: FontWeight.bold),
),
),
Padding(
padding: EdgeInsets.symmetric(vertical: pad),
child: RichText(
text: TextSpan(
style: TextStyle(
fontSize: contentSize,
color: Colors.white,
height: 1.5, // Adjusts line spacing
),
children: [
TextSpan(
text: '1. ',
style: TextStyle(fontWeight: FontWeight.bold),
),
TextSpan(
text: 'First, go to GitHub.\n',
),
TextSpan(
text: '2. ',
style: TextStyle(fontWeight: FontWeight.bold),
),
TextSpan(
text: 'Click on "Issues."\n',
),
TextSpan(
text: '3. ',
style: TextStyle(fontWeight: FontWeight.bold),
),
TextSpan(
text: 'Use the filter: is:open is:issue archived:false label:hacktoberfest\n',
),
TextSpan(
text: '4. ',
style: TextStyle(fontWeight: FontWeight.bold),
),
TextSpan(
text: 'Solve issues and make your contributions.',
child: Text(
'1. First, go to GitHub.\n\n'
'2. Click on "Issues.\n\n'
'3. Use the filter: is:open is:issue archived:false label:hacktoberfest.\n\n'
'4. Solve issues and make your contributions.\n\n',
style: TextStyle(
fontSize: contentSize,
height: 1.5, // Adjusts line spacing
),
],
),
),
),
),

Padding(
padding: EdgeInsets.symmetric(vertical: pad),
child: Text(
'For Maintainers',
style: TextStyle(
fontSize: titleSize, fontWeight: FontWeight.bold, color: Colors.white),
fontSize: titleSize, fontWeight: FontWeight.bold),
),
),
Padding(
Expand All @@ -187,7 +157,6 @@ class _HacktoberfestState extends State<Hacktoberfest> {
'7. Reject any spammy requests you receive by labeling them as “spam,” and any other invalid contributions by closing them or labeling them as “invalid.”',
style: TextStyle(
fontSize: contentSize,
color: Colors.white,
height: 1.5, // Adjusts line spacing
),
),
Expand Down

0 comments on commit b900168

Please sign in to comment.