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

Styling improvements to the docs website #1072

Merged
merged 6 commits into from
Apr 21, 2022
Merged

Styling improvements to the docs website #1072

merged 6 commits into from
Apr 21, 2022

Conversation

shuding
Copy link
Member

@shuding shuding commented Apr 18, 2022

  • Better typesetting for blog posts
  • Better contrast in dark mode
  • Tabs
  • Banner
  • Other a11y improvements

There're also two more things added for customizing the site. Theme color:

:root {
  --nextra-primary-hue: 24deg;
}
.dark {
  --nextra-primary-hue: 24deg;
}

Display something in the ToC area. In theme.config.js, add:

  tocExtraContent: () => {
    return ...
  }

@vercel
Copy link

vercel bot commented Apr 18, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
turbo-site ✅ Ready (Inspect) Visit Preview Apr 21, 2022 at 8:10PM (UTC)

@jaredpalmer
Copy link
Contributor

re-run pnpm install to update the lockfile

@jaredpalmer
Copy link
Contributor

Im gonna pull this and test locally

@jaredpalmer jaredpalmer marked this pull request as ready for review April 21, 2022 20:09
@jaredpalmer jaredpalmer added the pr: automerge Kodiak will merge these automatically after checks pass label Apr 21, 2022
@jaredpalmer jaredpalmer merged commit 610b68e into main Apr 21, 2022
@jaredpalmer jaredpalmer deleted the shu/4eca branch April 21, 2022 20:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pr: automerge Kodiak will merge these automatically after checks pass
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants