Created
November 13, 2023 23:52
-
-
Save azhang/3be180547cbbb9f2454dc8f2b01a7363 to your computer and use it in GitHub Desktop.
non base 16 monokai.theme
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--[[ 2018/06/17 | Highlight v3.43 | Lua 5.3 | |
================================================================================ | |
Scheme: "Monokai" | |
Author: Allie | |
License: MIT License | |
Source: | |
------------------------------------------------------------------------------]] | |
Description = "Monokai" | |
Categories = {"dark", "lsp"} | |
-------------------------------------------------------------------------------- | |
base00 = "#272822" --> Default Background | |
base01 = "#272822" --> Lighter Background (Used for status bars) | |
base02 = "#49483E" --> Selection Background | |
base03 = "#75715E" --> Comments, Invisibles, Line Highlighting | |
base04 = "#8B7575" --> Dark Foreground (Used for status bars) | |
base05 = "#F8F8F2" --> Default Foreground, Caret, Delimiters, Operators | |
base06 = "#F8F8F2" --> Light Foreground (Not often used) | |
base07 = "#F8F8F2" --> Light Background (Not often used) | |
base08 = "#F92672" --> Variables, XML Tags, Markup Link Text, Markup Lists, Diff Deleted | |
base09 = "#FD971F" --> Integers, Boolean, Constants, XML Attributes, Markup Link Url | |
base0A = "#E6DB74" --> Classes, Markup Bold, Search Text Background | |
base0B = "#A6E22E" --> Strings, Inherited Class, Markup Code, Diff Inserted | |
base0C = "#66D9EF" --> Support, Regular Expressions, Escape Characters, Markup Quotes | |
base0D = "#66D9EF" --> Functions, Methods, Attribute IDs, Headings | |
base0E = "#AE81FF" --> Keywords, Storage, Selector, Markup Italic, Diff Changed | |
base0F = "#FD971F" --> Deprecated, Opening/Closing Embedded Language Tags, e.g. <?php ?> | |
-------------------------------------------------------------------------------- | |
Canvas = { Colour = base00, Italic = false, Bold = false } | |
Default = { Colour = base05, Italic = false, Bold = false } | |
Number = { Colour = base09, Italic = false, Bold = false } | |
Operator = { Colour = base05, Italic = false, Bold = false } | |
String = { Colour = base0B, Italic = false, Bold = false } | |
Escape = { Colour = base0C, Italic = false, Bold = false } | |
StringPreProc = Escape | |
Interpolation = { Colour = base09, Italic = false, Bold = false } | |
LineComment = { Colour = base03, Italic = true, Bold = false } --> Italic | |
BlockComment = LineComment | |
LineNum = { Colour = base04, Italic = false, Bold = false } | |
PreProcessor = { Colour = base0F, Italic = false, Bold = false } | |
Keywords = { | |
{ Colour = base0E, Italic = false, Bold = true }, --> kwd 1 | |
{ Colour = base0D, Italic = false, Bold = true }, --> kwd 2 | |
{ Colour = base08, Italic = false, Bold = true }, --> kwd 3 | |
{ Colour = base0A, Italic = false, Bold = true }, --> kwd 4 | |
{ Colour = base0F, Italic = false, Bold = true }, --> kwd 5 | |
{ Colour = base09, Italic = false, Bold = true }, --> kwd 6 | |
} | |
-- new LSP based elements: | |
SemanticTokenTypes = { | |
{ Type = 'type', Style = Keywords[2] }, | |
{ Type = 'class', Style = { Colour = base0A } }, | |
{ Type = 'struct', Style = { Colour = base0A } }, | |
{ Type = 'interface', Style = { Colour = base06 } }, | |
{ Type = 'parameter', Style = Keywords[6] }, | |
{ Type = 'variable', Style = Keywords[5] }, | |
{ Type = 'enumMember', Style = Keywords[5] }, | |
{ Type = 'function', Style = Keywords[4] }, | |
{ Type = 'method', Style = Keywords[4] }, | |
{ Type = 'keyword', Style = Keywords[1]}, | |
{ Type = 'number', Style = Number }, | |
{ Type = 'regexp', Style = String }, | |
{ Type = 'operator', Style = Operator }, | |
} | |
--[[---------------------------------------------------------------------------- | |
The MIT License | |
Copyright (c) 2018 Tristano Ajmone | |
Copyright (c) Wimer Hazenberg (http://www.monokai.nl) | |
Copyright (c) 2023 Allie | |
Permission is hereby granted, free of charge, to any person obtaining a copy | |
of this software and associated documentation files (the "Software"), to deal | |
in the Software without restriction, including without limitation the rights | |
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
copies of the Software, and to permit persons to whom the Software is | |
furnished to do so, subject to the following conditions: | |
The above copyright notice and this permission notice shall be included in all | |
copies or substantial portions of the Software. | |
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | |
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | |
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | |
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | |
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | |
SOFTWARE. | |
------------------------------------------------------------------------------]] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment