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

Improve keyboard button visibility in before-we-start #882

Merged
merged 1 commit into from
Jan 31, 2024

Conversation

ragamouf
Copy link
Contributor

@ragamouf ragamouf commented Dec 5, 2023

Currently, the keyboard tags on the Ctrl key, Enter key, Cmd key all look black, or extremely dark grey. The text is also black. I don't think this is on purpose, and looking in the code there are backticks "`" which enclose the keyboard button text. Removing these backticks will hopefully allow the text to appear white, and visible on the screen.

The screenshot below shows what I see on my google chrome browser on a mac.
Screenshot 2023-11-22 at 12 37 01 pm

I checked the code below and noticed that there were no backticks around the "F1" button.
Screenshot 2023-12-05 at 4 53 37 pm

Currently, the <kbd> tags on the Ctrl key, Enter key, Cmd key all look black, or extremely dark grey. The text is also black. I don't think this is on purpose, and looking in the code there are backticks "`" which enclose the keyboard button text. Removing these backticks will hopefully allow the text to appear white, and visible on the screen.
Copy link

github-actions bot commented Dec 5, 2023

🆗 Pre-flight checks passed 😃

This pull request has been checked and contains no modified workflow files, spoofing, or invalid commits.

It should be safe to Approve and Run the workflows that need maintainer approval.

Copy link
Member

@tobyhodges tobyhodges left a comment

Choose a reason for hiding this comment

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

Thank you for this @ragamouf. I am going to merge as this makes an important improvement to the readability of the lesson.

@tobyhodges tobyhodges merged commit ecfdca7 into datacarpentry:main Jan 31, 2024
1 check passed
github-actions bot pushed a commit that referenced this pull request Jan 31, 2024
Auto-generated via {sandpaper}
Source  : ecfdca7
Branch  : main
Author  : Toby Hodges <tobyhodges@carpentries.org>
Time    : 2024-01-31 13:19:03 +0000
Message : Merge pull request #882 from ragamouf/patch-1

Improve keyboard button visibility in before-we-start
github-actions bot pushed a commit that referenced this pull request Jan 31, 2024
Auto-generated via {sandpaper}
Source  : 41ada8e
Branch  : md-outputs
Author  : GitHub Actions <actions@github.com>
Time    : 2024-01-31 13:21:20 +0000
Message : markdown source builds

Auto-generated via {sandpaper}
Source  : ecfdca7
Branch  : main
Author  : Toby Hodges <tobyhodges@carpentries.org>
Time    : 2024-01-31 13:19:03 +0000
Message : Merge pull request #882 from ragamouf/patch-1

Improve keyboard button visibility in before-we-start
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.

2 participants