Skip to content

Style updates. Change main fonts to Roboto and Roboto Mono#24

Merged
chrsmith merged 1 commit intopulumi:masterfrom
lindydonna:style-changes
Nov 18, 2017
Merged

Style updates. Change main fonts to Roboto and Roboto Mono#24
chrsmith merged 1 commit intopulumi:masterfrom
lindydonna:style-changes

Conversation

@lindydonna
Copy link
Copy Markdown
Contributor

I find the current body and monospace font hard to read. I also removed the horizontal lines, as they are just visual noise.

Screenshot of changes:

image

@lukehoban
Copy link
Copy Markdown
Contributor

👍 on both visual improvements here.

@joeduffy
Copy link
Copy Markdown
Member

Definitely an improvement.

Should we make similar changes to our other sites?

I actually did something similar in my latest frontend update.

/cc @chrsmith

@chrsmith
Copy link
Copy Markdown
Contributor

If we want to standardize on Roboto { Mono } I'm happy to wire the change to our stealth-homepage and Pulumi Console apps. Though if we are converging on an actual UX standard of sorts, I should do the work I've been putting off and creating a reusable CSS library we can use for all the sites.

I know it sounds like overkill, but @joeduffy what do you think about creating a pulumi-ux repo, and putting our CSS/Sass build in there? And publishing it on build like other Pulumi repos. That way we could reuse it between the docs and pulumi-service repos, and have a versioning story. (e.g. the docs is using pulumi-ux with tag v1.0.

Alternatively we could just build the CSS library in the pulumi-service repo and manually update the file in docs periodically. Use a git submodule. Or some other mechanism for having one source of truth for Pulumi CSS.

@lindydonna
Copy link
Copy Markdown
Contributor Author

@chrsmith Do you mind merging this PR and doing a new docs release?

@chrsmith
Copy link
Copy Markdown
Contributor

I'd be happy to. Just about to leave to pick up my kids, but I'll try to get to it tonight.

@chrsmith chrsmith merged commit 13e663f into pulumi:master Nov 18, 2017
@chrsmith
Copy link
Copy Markdown
Contributor

@lindydonna I pushed your changes, @joeduffy I updated the live site with your spelling error changes too.

@chrsmith chrsmith deleted the style-changes branch November 18, 2017 02:59
@joeduffy
Copy link
Copy Markdown
Member

@chrsmith There are other weird visual artifacts related to some antialiasing.

For example:

image

and

image

They almost look like they have shadows underneath them. I think these are related to the -webkit-font-smoothing: antialiased CSS, but am not sure.

Do other folks see this? Any idea what to do?

@ericrudder
Copy link
Copy Markdown
Member

ericrudder commented Nov 20, 2017 via email

@chrsmith
Copy link
Copy Markdown
Contributor

Removing -webkit-font-smoothing is probably what you are looking for. The line of code that adds it is here. And the linked blog post demonstrates why I added it originally.

I'll look and see if we still need it on Safari, and if so try and find a more suitable workaround.

CamSoper added a commit that referenced this pull request Apr 23, 2026
The script is the sole writer of <!-- CLAUDE_REVIEW N/M --> markers.
On re-entrant runs, Sonnet sometimes copies the previous pinned body
verbatim into its output (marker and all), and render_with_markers
then prepends a second marker on top of the stale one. The pinned
comment ends up with two markers stacked at the top.

Fix split_body to drop any inbound marker line via an awk guard:

  /^<!-- CLAUDE_REVIEW [0-9]+\/[0-9]+ -->[[:space:]]*$/ { next }

The render_with_markers step still prepends exactly one fresh marker
per page, so the output shape is unchanged for well-behaved input
and self-healing for stale input.

Caught during fork-based force-push re-entrant test on PR #24.
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.

5 participants