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: TokyoNight #6

Open
Zeioth opened this issue Dec 26, 2021 · 0 comments
Open

Theme: TokyoNight #6

Zeioth opened this issue Dec 26, 2021 · 0 comments

Comments

@Zeioth
Copy link

Zeioth commented Dec 26, 2021

Hi, I wrote a TokyoNight theme for coc-markdown-preview-enhanced that mirrors exactly the appearance of vim's TokyoNight's theme. You can see a photo and the code here. I'd really appreciate if anyone reading this add wathever you consider is lacking. Enjoy.

screenshot_2021-12-26_20-21-36_990650445

/* Please visit the URL below for more information: */
/*   https://shd101wyy.github.io/markdown-preview-enhanced/#/customize-css */

// TODO: Remove title bar.

.markdown-preview {
  // modify your style here
  // Current theme: tokyo night.

  // Disable antialiasing
  font-smooth: never;
  -webkit-font-smoothing : none;

  // Font
  font-family: "RobotoMono Nerd Font Mono";
  font-size: 0.75em;
  font-weight: 405;
  h1,h2,h3,h4,h5,h6{font-size: 1.00em}

  // Set colors
  background-color: #1a1b26;
  color: #a9b1d6;
  h1{color: #f7768e}
  h2{color: #ff9e64}
  h3{color: #e0af68}
  h4{color: #9ece6a}
  h5{color: #7aa2f7}
  h6{color: #ad8ee6}
  ::-moz-list-bullet{color: #f7768e}


  // Code font and bg
  pre,code{
    font-family: "RobotoMono Nerd Font Mono";
    font-size: 0.75em;
    background-color: #191b1c;
    color: #b1ada8;
  }

  // html links
  a:link{
  color: #7aa2f7;
  font-weight: 400;
  }
}

// Sidebar color
.md-sidebar-toc {background-color: #1a1b26}

// Restore opacity + hide useless buttons
#md-toolbar {
  .back-to-top-btn{display: none}
  .refresh-btn{display: none}
  .sidebar-toc-btn{
    opacity: 1;
    margin-top: 0px;
  }
}
@Zeioth Zeioth changed the title Colaboration: TokyoNight theme Theme: TokyoNight Dec 26, 2021
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