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

remove share tech mono #6699

Merged
merged 1 commit into from
Feb 20, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions theme/site/globals/site.variables
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@
Fonts
--------------------*/

@headerFont : "Share Tech Mono", Monaco, Menlo, "Ubuntu Mono", Consolas, source-code-pro, monospace;
@pageFont : "Share Tech Mono", Monaco, Menlo, "Ubuntu Mono", Consolas, source-code-pro, monospace;
@headerFont : 'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif;
Copy link
Contributor

Choose a reason for hiding this comment

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

Is the kerning/tracking with the colors and this font accessible? I find some of the words in the different colors hard to read.

Copy link
Member Author

Choose a reason for hiding this comment

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

@srietkerk this is the font msft uses for everything, so i'm sure it meets all of the accessibility standards

Copy link
Member Author

Choose a reason for hiding this comment

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

but you are correct that some of our blocks colors do not

Copy link
Contributor

Choose a reason for hiding this comment

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

Doesn't the accessibility of a font change based on the color and weight you give the font? In particular, I find the weight and the closeness of the letters of the music category to be particularly difficult.
image
versus the spacing it was given before
image

Copy link
Contributor

Choose a reason for hiding this comment

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

I think you might be right that it's just the color contrast that makes it harder to read.

@pageFont : 'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif;

@docsHeaderFont: 'Helvetica Neue', Arial, Helvetica, sans-serif;
@docsPageFont: 'Helvetica Neue', Arial, Helvetica, sans-serif;
@docsHeaderFont: 'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif;
@docsPageFont: 'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif;

@importGoogleFonts: false;
@fontName: "Share Tech Mono";
@fontName: "Segoe UI";

/*-------------------
Site Colors
Expand Down
13 changes: 4 additions & 9 deletions theme/style.less
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,6 @@
Add your custom CSS here
*******************************/

/* Open Sans font */
@font-face {
font-family: 'Share Tech Mono';
font-style: normal;
font-weight: 400;
src: local('Share Tech Mono'),
data-uri('../docs/static/fonts/ShareTechMono-Regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

.simtoolbar .ui.button,
.ui.button.play-button,
.ui.button.restart-button,
Expand Down Expand Up @@ -97,6 +88,10 @@
}
}

span.blocklyTreeLabel {
font-weight: 500;
}

/* Mobile */
@media only screen and (max-width: @largestMobileScreen) {
}
Expand Down
Loading