From a9d93542428f84af134b905ff30d8c2d3eeab4bd Mon Sep 17 00:00:00 2001 From: Matt Wang Date: Fri, 17 Feb 2023 14:51:45 -0800 Subject: [PATCH] Remove unused `OneDarkJekyll` files (#1167) Removes unused `OneDarkJekyll` files --- _sass/vendor/OneDarkJekyll/README.md | 25 ----- _sass/vendor/OneDarkJekyll/colors.less | 30 ------ .../OneDarkJekyll/syntax-variables.less | 56 ----------- _sass/vendor/OneDarkJekyll/syntax.less | 93 ------------------- 4 files changed, 204 deletions(-) delete mode 100644 _sass/vendor/OneDarkJekyll/README.md delete mode 100644 _sass/vendor/OneDarkJekyll/colors.less delete mode 100644 _sass/vendor/OneDarkJekyll/syntax-variables.less delete mode 100644 _sass/vendor/OneDarkJekyll/syntax.less diff --git a/_sass/vendor/OneDarkJekyll/README.md b/_sass/vendor/OneDarkJekyll/README.md deleted file mode 100644 index c0aedba..0000000 --- a/_sass/vendor/OneDarkJekyll/README.md +++ /dev/null @@ -1,25 +0,0 @@ -# OneDarkJekyll - -*Use Atom's One Dark syntax colors in your Jekyll powered blog!* - -It's LESS file which can be compiled to a - Pygments, Rouge compatible - stylesheet from Atom editor's One Dark syntax theme (and any theme based on it, for example One Dark Vivid, Firewatch, etc.). - -Download the stylesheet files or compile a new one from any Atom syntax theme which based on One Dark (the variable names in `colors.less` must match with One Dark's) - -## Create a new syntax stylesheet - -1. `npm install -g less less-plugin-clean-css` -2. Clone this repository -3. Download the `colors.css` file from the syntax theme's repository (for example https://github.com/atom/one-dark-syntax/blob/master/styles/colors.less in case of One-Dark) -4. Put the previously downloaded file next to `syntax.less` -5. Run `lessc syntax.less syntax.css --clean-css` -6. Use the `syntax.css` - -It's not final and in case you find any error/improvement feel free to create a PR. :) - ----- - -# UPDATES FOR USE IN JUST-THE-DOCS: - -1. Layout added in `*.css` -2. Renamed `*.css` to `*.scss` diff --git a/_sass/vendor/OneDarkJekyll/colors.less b/_sass/vendor/OneDarkJekyll/colors.less deleted file mode 100644 index 284ee03..0000000 --- a/_sass/vendor/OneDarkJekyll/colors.less +++ /dev/null @@ -1,30 +0,0 @@ -// Config ----------------------------------- -@syntax-hue: 220; -@syntax-saturation: 13%; -@syntax-brightness: 18%; - - -// Monochrome ----------------------------------- -@mono-1: hsl(@syntax-hue, 14%, 71%); // default text -@mono-2: hsl(@syntax-hue, 9%, 55%); -@mono-3: hsl(@syntax-hue, 10%, 40%); - -// Colors ----------------------------------- -@hue-1: hsl(187, 47%, 55%); // <-cyan -@hue-2: hsl(207, 82%, 66%); // <-blue -@hue-3: hsl(286, 60%, 67%); // <-purple -@hue-4: hsl( 95, 38%, 62%); // <-green - -@hue-5: hsl(355, 65%, 65%); // <-red 1 -@hue-5-2: hsl( 5, 48%, 51%); // <-red 2 - -@hue-6: hsl( 29, 54%, 61%); // <-orange 1 -@hue-6-2: hsl( 39, 67%, 69%); // <-orange 2 - - -// Base colors ----------------------------------- -@syntax-fg: @mono-1; -@syntax-bg: hsl(@syntax-hue, @syntax-saturation, @syntax-brightness); -@syntax-gutter: darken(@syntax-fg, 26%); -@syntax-guide: fade(@syntax-fg, 15%); -@syntax-accent: hsl(@syntax-hue, 100%, 66% ); \ No newline at end of file diff --git a/_sass/vendor/OneDarkJekyll/syntax-variables.less b/_sass/vendor/OneDarkJekyll/syntax-variables.less deleted file mode 100644 index 913a0fa..0000000 --- a/_sass/vendor/OneDarkJekyll/syntax-variables.less +++ /dev/null @@ -1,56 +0,0 @@ -@import "colors.less"; - -// Official Syntax Variables ----------------------------------- - -// General colors -@syntax-text-color: @syntax-fg; -@syntax-cursor-color: @syntax-accent; -@syntax-selection-color: lighten(@syntax-background-color, 10%); -@syntax-selection-flash-color: @syntax-accent; -@syntax-background-color: @syntax-bg; - -// Guide colors -@syntax-wrap-guide-color: @syntax-guide; -@syntax-indent-guide-color: @syntax-guide; -@syntax-invisible-character-color: @syntax-guide; - -// For find and replace markers -@syntax-result-marker-color: fade(@syntax-accent, 24%); -@syntax-result-marker-color-selected: @syntax-accent; - -// Gutter colors -@syntax-gutter-text-color: @syntax-gutter; -@syntax-gutter-text-color-selected: @syntax-fg; -@syntax-gutter-background-color: @syntax-bg; // unused -@syntax-gutter-background-color-selected: lighten(@syntax-bg, 2%); - -// Git colors - For git diff info. i.e. in the gutter -@syntax-color-renamed: hsl(208, 100%, 60%); -@syntax-color-added: hsl(150, 60%, 54%); -@syntax-color-modified: hsl(40, 60%, 70%); -@syntax-color-removed: hsl(0, 70%, 60%); - -// For language entity colors -@syntax-color-variable: @hue-5; -@syntax-color-constant: @hue-6; -@syntax-color-property: @syntax-fg; -@syntax-color-value: @syntax-fg; -@syntax-color-function: @hue-2; -@syntax-color-method: @hue-2; -@syntax-color-class: @hue-6-2; -@syntax-color-keyword: @hue-3; -@syntax-color-tag: @hue-5; -@syntax-color-attribute: @hue-6; -@syntax-color-import: @hue-3; -@syntax-color-snippet: @hue-4; - - -// Custom Syntax Variables ----------------------------------- -// Don't use in packages - -@syntax-cursor-line: hsla(@syntax-hue, 100%, 80%, .04); // needs to be semi-transparent to show search results - -@syntax-deprecated-fg: darken(@syntax-color-modified, 50%); -@syntax-deprecated-bg: @syntax-color-modified; -@syntax-illegal-fg: white; -@syntax-illegal-bg: @syntax-color-removed; \ No newline at end of file diff --git a/_sass/vendor/OneDarkJekyll/syntax.less b/_sass/vendor/OneDarkJekyll/syntax.less deleted file mode 100644 index 95d8e53..0000000 --- a/_sass/vendor/OneDarkJekyll/syntax.less +++ /dev/null @@ -1,93 +0,0 @@ -/* - LESS for Pygments -*/ - -@import "syntax-variables.less"; - -pre.highlight, -.highlight { - background: @syntax-bg; - color: @mono-1; -} -.highlight { - pre { background: @syntax-bg; } - .hll { background: @syntax-bg; } - .c { color: @mono-3; font-style: italic; } /* Comment */ - .err { color: @syntax-illegal-fg; background-color: @syntax-illegal-bg; } /* Error */ - .k { color: @hue-3; } /* Keyword */ - .l { color: @hue-4; } /* Literal */ - .n { color: @mono-1; } /* Name */ - .o { color: @mono-1; } /* Operator */ - .p { color: @mono-1; } /* Punctuation */ - .cm { color: @mono-3; font-style: italic; } /* Comment.Multiline */ - .cp { color: @mono-3; font-style: italic; } /* Comment.Preproc */ - .c1 { color: @mono-3; font-style: italic; } /* Comment.Single */ - .cs { color: @mono-3; font-style: italic; } /* Comment.Special */ - .ge { font-style: italic } /* Generic.Emph */ - .gs { font-weight: bold } /* Generic.Strong */ - .kc { color: @hue-3; } /* Keyword.Constant */ - .kd { color: @hue-3; } /* Keyword.Declaration */ - .kn { color: @hue-3; } /* Keyword.Namespace */ - .kp { color: @hue-3; } /* Keyword.Pseudo */ - .kr { color: @hue-3; } /* Keyword.Reserved */ - .kt { color: @hue-3; } /* Keyword.Type */ - .ld { color: @hue-4; } /* Literal.Date */ - .m { color: @hue-6; } /* Literal.Number */ - .s { color: @hue-4; } /* Literal.String */ - .na { color: @hue-6; } /* Name.Attribute */ - .nb { color: @hue-6-2; } /* Name.Builtin */ - .nc { color: @hue-6-2; } /* Name.Class */ - .no { color: @hue-6-2; } /* Name.Constant */ - .nd { color: @hue-6-2; } /* Name.Decorator */ - .ni { color: @hue-6-2; } /* Name.Entity */ - .ne { color: @hue-6-2; } /* Name.Exception */ - .nf { color: @mono-1; } /* Name.Function */ - .nl { color: @hue-6-2; } /* Name.Label */ - .nn { color: @mono-1; } /* Name.Namespace */ - .nx { color: @mono-1; } /* Name.Other */ - .py { color: @hue-6-2; } /* Name.Property */ - .nt { color: @hue-5; } /* Name.Tag */ - .nv { color: @hue-6-2; } /* Name.Variable */ - .ow { font-weight: bold; } /* Operator.Word */ - .w { color: #f8f8f2 } /* Text.Whitespace */ - .mf { color: @hue-6; } /* Literal.Number.Float */ - .mh { color: @hue-6; } /* Literal.Number.Hex */ - .mi { color: @hue-6; } /* Literal.Number.Integer */ - .mo { color: @hue-6; } /* Literal.Number.Oct */ - .sb { color: @hue-4; } /* Literal.String.Backtick */ - .sc { color: @hue-4; } /* Literal.String.Char */ - .sd { color: @hue-4; } /* Literal.String.Doc */ - .s2 { color: @hue-4; } /* Literal.String.Double */ - .se { color: @hue-4; } /* Literal.String.Escape */ - .sh { color: @hue-4; } /* Literal.String.Heredoc */ - .si { color: @hue-4; } /* Literal.String.Interpol */ - .sx { color: @hue-4; } /* Literal.String.Other */ - .sr { color: @hue-1; } /* Literal.String.Regex */ - .s1 { color: @hue-4; } /* Literal.String.Single */ - .ss { color: @hue-1; } /* Literal.String.Symbol */ - .bp { color: @hue-6-2; } /* Name.Builtin.Pseudo */ - .vc { color: @hue-6-2; } /* Name.Variable.Class */ - .vg { color: @hue-6-2; } /* Name.Variable.Global */ - .vi { color: @hue-5; } /* Name.Variable.Instance */ - .il { color: @hue-6; } /* Literal.Number.Integer.Long */ - - .gh { } /* Generic Heading & Diff Header */ - .gu { color: #75715e; } /* Generic.Subheading & Diff Unified/Comment? */ - .gd { color: @syntax-color-removed; } /* Generic.Deleted & Diff Deleted */ - .gi { color: @syntax-color-added; } /* Generic.Inserted & Diff Inserted */ - - ::selection { background-color: @syntax-selection-color; } - - .language-json { - .w + .s2 { color: @hue-5; } - .kc { color: @hue-1; } - } - - .language-python { - // python related modifications - } - - .language-csharp { - // csharp related modifications - } -}