Change Github's Default Gist Styles

Is it possible to change Github’s gists default styles programmatically or through some interface?

  • Permission to CocoaPods/Specs.git denied
  • Git Merge Duplication after Ineffective BFG Use
  • Cloning a repo from someone else's Github and pushing it to a repo on my Github
  • Move .git repo to parent directory
  • Slidify doesn't render rCharts in browser after publishing on GitHub or RPubs
  • Can I have my Github Pages index.html in a subfolder of the repository?
  • Visual Studio Team Services with GitHub
  • How do I get Sonarcloud to run on pull requests from forks with Travis, Maven & github
  • How to Clone a private repository of github organization in a Jenkins Job
  • Project vs Repository in GitHub
  • Can't exclude user interface state from commit in xcode
  • How do I create an orphan branch from the Github API?
  • 4 Solutions collect form web for “Change Github's Default Gist Styles”

    I don’t know of any API or interface influencing the way gist are presented on GitHub.

    If you include those gist in your blog, then of course some CSS local changes can make your gist different, as illustrated by this blog post, this CSS or this CSS.

    However, this doesn’t concern syntax highlighting.
    You can only share those Gist with a custom stylesheet through, for instance Octopress, using a Sass port of Solarized syntax highlighting.
    But again, that won’t change those gist presentation on GitHub itself.

    For embedded Gists there is Pretty Gist

    Pretty Gist is a jQuery plugin to make prettier and more functional embedded Github Gists.

    Github repo

    May i am late at party, but you can create your own CSS by editing the default one it with the color you want. I have done something same but instead of pasting all the css in the blog i prefer to link it

    See if this works for you

    <link href="https://cdn.rawgit.com/Killercodes/281792c423a4fe5544d9a8d36a4430f2/raw/36c2eb3e0c44133880485a143717bda9d180f2c1/GistDarkCode.css" rel="stylesheet" type="text/css">
    

    You can also find it here: GistDarkCode.css I made it look all black

    GIst Dark theme

    Yes there are different properties to control the default css of GitHub gist. I did various customizations in this project and made sure I define the properties after the embedded js – https://github.com/tebelorg/TA.Gist (PHP template that displays your GitHub gists as blog posts)

    Git Baby is a git and github fan, let's start git clone.