From af8ba306dabb81c405051fa458f2d311cb3023d3 Mon Sep 17 00:00:00 2001 From: xdavidwu Date: Tue, 19 Jan 2021 00:37:11 +0800 Subject: [PATCH] leave syntax css to rougify --- _sass/minimal-mistakes/_syntax.scss | 265 -------------------- _sass/minimal-mistakes/_variables.scss | 18 -- _sass/minimal-mistakes/skins/_contrast.scss | 18 -- _sass/minimal-mistakes/skins/_dirt.scss | 17 -- _sass/minimal-mistakes/skins/_neon.scss | 18 -- _sass/minimal-mistakes/skins/_plum.scss | 18 -- _sass/minimal-mistakes/skins/_sunrise.scss | 18 -- 7 files changed, 372 deletions(-) diff --git a/_sass/minimal-mistakes/_syntax.scss b/_sass/minimal-mistakes/_syntax.scss index 2b9f8f1..36ec230 100644 --- a/_sass/minimal-mistakes/_syntax.scss +++ b/_sass/minimal-mistakes/_syntax.scss @@ -6,8 +6,6 @@ div.highlighter-rouge, figure.highlight { position: relative; margin-bottom: 1em; - background: $base00; - color: $base05; font-size: $type-size-6; line-height: 1.8; border-radius: $border-radius; @@ -34,8 +32,6 @@ figure.highlight { &.rouge-gutter { padding-right: 1em; width: 1em; - color: $base04; - border-right: 1px solid $base04; text-align: right; } @@ -55,267 +51,6 @@ figure.highlight { width: 100%; } -.highlight .hll { - background-color: $base06; -} -.highlight { - .c { - /* Comment */ - color: $base04; - } - .err { - /* Error */ - color: $base08; - } - .k { - /* Keyword */ - color: $base0e; - } - .l { - /* Literal */ - color: $base09; - } - .n { - /* Name */ - color: $base05; - } - .o { - /* Operator */ - color: $base0c; - } - .p { - /* Punctuation */ - color: $base05; - } - .cm { - /* Comment.Multiline */ - color: $base04; - } - .cp { - /* Comment.Preproc */ - color: $base04; - } - .c1 { - /* Comment.Single */ - color: $base04; - } - .cs { - /* Comment.Special */ - color: $base04; - } - .gd { - /* Generic.Deleted */ - color: $base08; - } - .ge { - /* Generic.Emph */ - font-style: italic; - } - .gh { - /* Generic.Heading */ - color: $base05; - font-weight: bold; - } - .gi { - /* Generic.Inserted */ - color: $base0b; - } - .gp { - /* Generic.Prompt */ - color: $base04; - font-weight: bold; - } - .gs { - /* Generic.Strong */ - font-weight: bold; - } - .gu { - /* Generic.Subheading */ - color: $base0c; - font-weight: bold; - } - .kc { - /* Keyword.Constant */ - color: $base0e; - } - .kd { - /* Keyword.Declaration */ - color: $base0e; - } - .kn { - /* Keyword.Namespace */ - color: $base0c; - } - .kp { - /* Keyword.Pseudo */ - color: $base0e; - } - .kr { - /* Keyword.Reserved */ - color: $base0e; - } - .kt { - /* Keyword.Type */ - color: $base0a; - } - .ld { - /* Literal.Date */ - color: $base0b; - } - .m { - /* Literal.Number */ - color: $base09; - } - .s { - /* Literal.String */ - color: $base0b; - } - .na { - /* Name.Attribute */ - color: $base0d; - } - .nb { - /* Name.Builtin */ - color: $base05; - } - .nc { - /* Name.Class */ - color: $base0a; - } - .no { - /* Name.Constant */ - color: $base08; - } - .nd { - /* Name.Decorator */ - color: $base0c; - } - .ni { - /* Name.Entity */ - color: $base05; - } - .ne { - /* Name.Exception */ - color: $base08; - } - .nf { - /* Name.Function */ - color: $base0d; - } - .nl { - /* Name.Label */ - color: $base05; - } - .nn { - /* Name.Namespace */ - color: $base0a; - } - .nx { - /* Name.Other */ - color: $base0d; - } - .py { - /* Name.Property */ - color: $base05; - } - .nt { - /* Name.Tag */ - color: $base0c; - } - .nv { - /* Name.Variable */ - color: $base08; - } - .ow { - /* Operator.Word */ - color: $base0c; - } - .w { - /* Text.Whitespace */ - color: $base05; - } - .mf { - /* Literal.Number.Float */ - color: $base09; - } - .mh { - /* Literal.Number.Hex */ - color: $base09; - } - .mi { - /* Literal.Number.Integer */ - color: $base09; - } - .mo { - /* Literal.Number.Oct */ - color: $base09; - } - .sb { - /* Literal.String.Backtick */ - color: $base0b; - } - .sc { - /* Literal.String.Char */ - color: $base05; - } - .sd { - /* Literal.String.Doc */ - color: $base04; - } - .s2 { - /* Literal.String.Double */ - color: $base0b; - } - .se { - /* Literal.String.Escape */ - color: $base09; - } - .sh { - /* Literal.String.Heredoc */ - color: $base0b; - } - .si { - /* Literal.String.Interpol */ - color: $base09; - } - .sx { - /* Literal.String.Other */ - color: $base0b; - } - .sr { - /* Literal.String.Regex */ - color: $base0b; - } - .s1 { - /* Literal.String.Single */ - color: $base0b; - } - .ss { - /* Literal.String.Symbol */ - color: $base0b; - } - .bp { - /* Name.Builtin.Pseudo */ - color: $base05; - } - .vc { - /* Name.Variable.Class */ - color: $base08; - } - .vg { - /* Name.Variable.Global */ - color: $base08; - } - .vi { - /* Name.Variable.Instance */ - color: $base08; - } - .il { - /* Literal.Number.Integer.Long */ - color: $base09; - } -} - .gist { th, td { border-bottom: 0; diff --git a/_sass/minimal-mistakes/_variables.scss b/_sass/minimal-mistakes/_variables.scss index d4b698a..9ae3b5b 100644 --- a/_sass/minimal-mistakes/_variables.scss +++ b/_sass/minimal-mistakes/_variables.scss @@ -102,24 +102,6 @@ $masthead-link-color: $primary-color !default; $masthead-link-color-hover: mix(#000, $primary-color, 25%) !default; $navicon-link-color-hover: mix(#fff, $primary-color, 75%) !default; -/* syntax highlighting (base16) */ -$base00: #263238 !default; -$base01: #2e3c43 !default; -$base02: #314549 !default; -$base03: #546e7a !default; -$base04: #b2ccd6 !default; -$base05: #eeffff !default; -$base06: #eeffff !default; -$base07: #ffffff !default; -$base08: #f07178 !default; -$base09: #f78c6c !default; -$base0a: #ffcb6b !default; -$base0b: #c3e88d !default; -$base0c: #89ddff !default; -$base0d: #82aaff !default; -$base0e: #c792ea !default; -$base0f: #ff5370 !default; - /* Breakpoints ========================================================================== */ diff --git a/_sass/minimal-mistakes/skins/_contrast.scss b/_sass/minimal-mistakes/skins/_contrast.scss index 37a08ff..61278ec 100644 --- a/_sass/minimal-mistakes/skins/_contrast.scss +++ b/_sass/minimal-mistakes/skins/_contrast.scss @@ -13,24 +13,6 @@ $masthead-link-color: $text-color; $masthead-link-color-hover: $text-color; $navicon-link-color-hover: mix(#fff, $text-color, 80%); -/* contrast syntax highlighting (base16) */ -$base00: #000000; -$base01: #242422; -$base02: #484844; -$base03: #6c6c66; -$base04: #918f88; -$base05: #b5b3aa; -$base06: #d9d7cc; -$base07: #fdfbee; -$base08: #ff6c60; -$base09: #e9c062; -$base0a: #ffffb6; -$base0b: #a8ff60; -$base0c: #c6c5fe; -$base0d: #96cbfe; -$base0e: #ff73fd; -$base0f: #b18a3d; - .page__content { .notice, .notice--primary, diff --git a/_sass/minimal-mistakes/skins/_dirt.scss b/_sass/minimal-mistakes/skins/_dirt.scss index bd01f47..c633b03 100644 --- a/_sass/minimal-mistakes/skins/_dirt.scss +++ b/_sass/minimal-mistakes/skins/_dirt.scss @@ -14,20 +14,3 @@ $masthead-link-color: $text-color; $masthead-link-color-hover: $text-color; $navicon-link-color-hover: mix(#fff, $text-color, 80%); -/* dirt syntax highlighting (base16) */ -$base00: #231e18; -$base01: #302b25; -$base02: #48413a; -$base03: #9d8b70; -$base04: #b4a490; -$base05: #cabcb1; -$base06: #d7c8bc; -$base07: #e4d4c8; -$base08: #d35c5c; -$base09: #ca7f32; -$base0a: #e0ac16; -$base0b: #b7ba53; -$base0c: #6eb958; -$base0d: #88a4d3; -$base0e: #bb90e2; -$base0f: #b49368; diff --git a/_sass/minimal-mistakes/skins/_neon.scss b/_sass/minimal-mistakes/skins/_neon.scss index c37578f..458640a 100644 --- a/_sass/minimal-mistakes/skins/_neon.scss +++ b/_sass/minimal-mistakes/skins/_neon.scss @@ -18,24 +18,6 @@ $masthead-link-color: $text-color; $masthead-link-color-hover: mix(#000, $text-color, 20%); $navicon-link-color-hover: mix(#000, $background-color, 30%); -/* neon syntax highlighting (base16) */ -$base00: #ffffff; -$base01: #e0e0e0; -$base02: #d0d0d0; -$base03: #b0b0b0; -$base04: #000000; -$base05: #101010; -$base06: #151515; -$base07: #202020; -$base08: #ff0086; -$base09: #fd8900; -$base0a: #aba800; -$base0b: #00c918; -$base0c: #1faaaa; -$base0d: #3777e6; -$base0e: #ad00a1; -$base0f: #cc6633; - .author__urls.social-icons .svg-inline--fa, .page__footer-follow .social-icons .svg-inline--fa { color: inherit; diff --git a/_sass/minimal-mistakes/skins/_plum.scss b/_sass/minimal-mistakes/skins/_plum.scss index 68fa482..f482ae5 100644 --- a/_sass/minimal-mistakes/skins/_plum.scss +++ b/_sass/minimal-mistakes/skins/_plum.scss @@ -18,24 +18,6 @@ $masthead-link-color: $text-color; $masthead-link-color-hover: mix(#000, $text-color, 20%); $navicon-link-color-hover: mix(#000, $background-color, 30%); -/* plum syntax highlighting (base16) */ -$base00: #ffffff; -$base01: #e0e0e0; -$base02: #d0d0d0; -$base03: #b0b0b0; -$base04: #000000; -$base05: #101010; -$base06: #151515; -$base07: #202020; -$base08: #ff0086; -$base09: #fd8900; -$base0a: #aba800; -$base0b: #00c918; -$base0c: #1faaaa; -$base0d: #3777e6; -$base0e: #ad00a1; -$base0f: #cc6633; - .author__urls.social-icons .svg-inline--fa, .page__footer-follow .social-icons .svg-inline--fa { color: inherit; diff --git a/_sass/minimal-mistakes/skins/_sunrise.scss b/_sass/minimal-mistakes/skins/_sunrise.scss index b146879..c3a3b97 100644 --- a/_sass/minimal-mistakes/skins/_sunrise.scss +++ b/_sass/minimal-mistakes/skins/_sunrise.scss @@ -20,24 +20,6 @@ $masthead-link-color: $text-color; $masthead-link-color-hover: mix(#000, $text-color, 20%); $navicon-link-color-hover: mix(#000, $background-color, 30%); -/* sunrise syntax highlighting (base16) */ -$base00: #1d1f21; -$base01: #282a2e; -$base02: #373b41; -$base03: #969896; -$base04: #b4b7b4; -$base05: #c5c8c6; -$base06: #e0e0e0; -$base07: #ffffff; -$base08: #cc6666; -$base09: #de935f; -$base0a: #f0c674; -$base0b: #b5bd68; -$base0c: #8abeb7; -$base0d: #81a2be; -$base0e: #b294bb; -$base0f: #a3685a; - .author__urls.social-icons .fa, .page__footer-follow .social-icons .svg-inline--fa { color: inherit; -- 2.45.2