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

Theme visual mode #83

Open
gadenbuie opened this issue Apr 2, 2022 · 0 comments
Open

Theme visual mode #83

gadenbuie opened this issue Apr 2, 2022 · 0 comments

Comments

@gadenbuie
Copy link
Owner

  • Grab CSS and fonts zip from google webfonts helper
    • Set folder to fonts/
  • Unpack fonts into fonts/ in rstudio themes folder ~/.config/rstudio/themes
  • Add the fonts CSS and the CSS below into the theme you want to update:
.pm-proportional-font {
  font-family: "IBM Plex Serif", sans-serif !important;
  font-size: 12pt !important;
}

.pm-content p code.pm-code.pm-fixedwidth-font {
  background-color: inherit !important;
  padding: 0 2px;
  color: #005cc5;
}

.pm-link-text-color {
  color: #e36209 !important;
}

More than just fonts! Here's the whole prosemirror css base used by the IDE: https://github.com/rstudio/rstudio/blob/edd144e6c64f765f62716e57a31808597e92ab7e/src/gwt/panmirror/src/editor/src/editor/editor-theme.ts#L138-L345

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

No branches or pull requests

1 participant