Skip to content

captam3rica/jekyll-dracula-syntax

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

jekyll-dracula-syntax

A dark theme for code highlighting in Jekyll.

See examples on my blog - https://blog.bravewaffles.io/jekyll-dracula-syntax

sass code from my .highlight.sass file

.highlight {
  background-color: #22212C;
  border: 1px solid #22212C;
  border-radius: 7px;
  margin: 20px 0 20px 0;
  overflow: auto;
  padding: 7px;
}

code {
  font-family: 'Bitstream Vera Sans Mono','Courier', monospace;
  border-radius: 7px;
}

.highlight .c { color: #7970A9 } /* Comment */
.highlight .err { color: #FF9580 } /* Error */
.highlight .g { color: #7970A9 } /* Generic */
.highlight .k { color: #FF80BF } /* Keyword */
.highlight .l { color: #FFFF80 } /* Literal */
.highlight .n { color: #F8F8F2 } /* Name */
.highlight .o { color: #9580FF } /* Operator */
.highlight .x { color: #CB4B16 } /* Other */
.highlight .p { color: #FF80BF } /* Punctuation */
.highlight .cm { color: #7970A9 } /* Comment.Multiline */
.highlight .cp { color: #7970A9 } /* Comment.Preproc */
.highlight .c1 { color: #7970A9 } /* Comment.Single */
.highlight .cs { color: #7970A9 } /* Comment.Special */
.highlight .gd { color: #ffdcd7 } /* Generic.Deleted */
.highlight .ge { color: #F8F8F2; font-style: italic } /* Generic.Emph */
.highlight .gr { color: #FF9580 } /* Generic.Error */
.highlight .gh { color: #9580FF } /* Generic.Heading */
.highlight .gi { color: #8AFF80 } /* Generic.Inserted */
.highlight .go { color: #F8F8F2 } /* Generic.Output */
.highlight .gp { color: #F8F8F2 } /* Generic.Prompt */
.highlight .gs { color: #F8F8F2; font-weight: bold } /* Generic.Strong */
.highlight .gu { color: #9580FF } /* Generic.Subheading */
.highlight .gt { color: #F8F8F2 } /* Generic.Traceback */
.highlight .kc { color: #F8F8F2 } /* Keyword.Constant */
.highlight .kd { color: #8AFF80 } /* Keyword.Declaration */
.highlight .kn { color: #FF80BF } /* Keyword.Namespace*/
.highlight .kp { color: #FF80BF } /* Keyword.Pseudo */
.highlight .kr { color: #FF80BF } /* Keyword.Reserved*/
.highlight .kt { color: #DC322F } /* Keyword.Type */
.highlight .ld { color: #FFFF80 } /* Literal.Date */
.highlight .m { color: #9580FF } /* Literal.Number */
.highlight .s { color: #FFFF80 } /* Literal.String */
.highlight .na { color: #FF80BF } /* Name.Attribute */
.highlight .nb { color: #FF80BF } /* Name.Builtin */
.highlight .nc { color: #8AFF80 } /* Name.Class */
.highlight .no { color: #F8F8F2 } /* Name.Constant */
.highlight .nd { color: #F8F8F2 } /* Name.Decorator */
.highlight .ni { color: #8AFF80 } /* Name.Entity */
.highlight .ne { color: #CB4B16 } /* Name.Exception */
.highlight .nf { color: #8AFF80 } /* Name.Function */
.highlight .nl { color: #FF80BF } /* Name.Label */
.highlight .nn { color: #F8F8F2 } /* Name.Namespace*/
.highlight .nx { color: #8AFF80 } /* Name.Other */
.highlight .py { color: #FF80BF } /* Name.Property */
.highlight .nt { color: #FF80BF } /* Name.Tag */
.highlight .nv { color: #F8F8F2 } /* Name.Variable */
.highlight .ow { color: #9580FF } /* Operator.Word */
.highlight .w { color: #F8F8F2 } /* Text.Whitespace */
.highlight .mf { color: #9580FF } /* Literal.Number.Float */
.highlight .mh { color: #9580FF } /* Literal.Number.Hex */
.highlight .mi { color: #9580FF } /* Literal.Number.Integer */
.highlight .mo { color: #9580FF } /* Literal.Number.Oct */
.highlight .sb { color: #FFFF80 } /* Literal.String.Backtick */
.highlight .sc { color: #FFFF80 } /* Literal.String.Char */
.highlight .sd { color: #FFFF80 } /* Literal.String.Doc */
.highlight .s2 { color: #FFFF80 } /* Literal.String.Double */
.highlight .se { color: #FFFF80 } /* Literal.String.Escape */
.highlight .sh { color: #FFFF80 } /* Literal.String.Heredoc */
.highlight .si { color: #FF80BF } /* Literal.String.Interpol */
.highlight .sx { color: #FFFF80 } /* Literal.String.Other */
.highlight .sr { color: #FFFF80 } /* Literal.String.Regex */
.highlight .s1 { color: #FFFF80 } /* Literal.String.Single */
.highlight .ss { color: #FFFF80 } /* Literal.String.Symbol */
.highlight .bp { color: #9580FF } /* Name.Builtin.Pseudo*/
.highlight .vc { color: #F8F8F2 } /* Name.Variable.Class */
.highlight .vg { color: #F8F8F2 } /* Name.Variable.Global */
.highlight .vi { color: #F8F8F2 } /* Name.Variable.Instance */
.highlight .il { color: #9580FF } /* Literal.Number.Integer.Long */

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages