1--[[ 2018/06/17 | Highlight v3.43 | Lua 5.3 2================================================================================ 3Scheme: Base16 "Unikitty Reversible" 4Author: Josh W Lewis (@joshwlewis) 5License: MIT License 6Source: https://github.com/joshwlewis/base16-unikitty 7================================================================================ 8Converted from YAML by Tristano Ajmone: 9 <tajmone@gmail.com> 10 https://github.com/tajmone 11 https://gitlab.com/tajmone 12-------------------------------------------------------------------------------- 13For more info on Chris Kempson's Base16, see: 14 http://chriskempson.com/projects/base16 15------------------------------------------------------------------------------]] 16Description = "Base16 Unikitty Reversible" 17Categories = {"dark", "base16", "lsp"} 18 19-------------------------------------------------------------------------------- 20base00 = "#2e2a31" --> Default Background 21base01 = "#4b484e" --> Lighter Background (Used for status bars) 22base02 = "#69666b" --> Selection Background 23base03 = "#878589" --> Comments, Invisibles, Line Highlighting 24base04 = "#a5a3a6" --> Dark Foreground (Used for status bars) 25base05 = "#c3c2c4" --> Default Foreground, Caret, Delimiters, Operators 26base06 = "#e1e0e1" --> Light Foreground (Not often used) 27base07 = "#ffffff" --> Light Background (Not often used) 28base08 = "#d8137f" --> Variables, XML Tags, Markup Link Text, Markup Lists, Diff Deleted 29base09 = "#d65407" --> Integers, Boolean, Constants, XML Attributes, Markup Link Url 30base0A = "#dc8a0e" --> Classes, Markup Bold, Search Text Background 31base0B = "#17ad98" --> Strings, Inherited Class, Markup Code, Diff Inserted 32base0C = "#149bda" --> Support, Regular Expressions, Escape Characters, Markup Quotes 33base0D = "#7864fa" --> Functions, Methods, Attribute IDs, Headings 34base0E = "#b33ce8" --> Keywords, Storage, Selector, Markup Italic, Diff Changed 35base0F = "#d41acd" --> Deprecated, Opening/Closing Embedded Language Tags, e.g. <?php ?> 36-------------------------------------------------------------------------------- 37Canvas = { Colour = base00, Italic = false, Bold = false } 38 39Default = { Colour = base05, Italic = false, Bold = false } 40 41Number = { Colour = base09, Italic = false, Bold = false } 42 43Operator = { Colour = base05, Italic = false, Bold = false } 44 45String = { Colour = base0B, Italic = false, Bold = false } 46 47Escape = { Colour = base0C, Italic = false, Bold = false } 48StringPreProc = Escape 49 50Interpolation = { Colour = base09, Italic = false, Bold = false } 51 52LineComment = { Colour = base03, Italic = true, Bold = false } --> Italic 53BlockComment = LineComment 54 55LineNum = { Colour = base04, Italic = false, Bold = false } 56 57PreProcessor = { Colour = base0F, Italic = false, Bold = false } 58 59Keywords = { 60 { Colour = base0E, Italic = false, Bold = true }, --> kwd 1 61 { Colour = base0D, Italic = false, Bold = true }, --> kwd 2 62 { Colour = base08, Italic = false, Bold = true }, --> kwd 3 63 { Colour = base0A, Italic = false, Bold = true }, --> kwd 4 64 { Colour = base0F, Italic = false, Bold = true }, --> kwd 5 65 { Colour = base09, Italic = false, Bold = true }, --> kwd 6 66} 67 68-- new LSP based elements: 69 70SemanticTokenTypes = { 71 { Type = 'type', Style = Keywords[2] }, 72 { Type = 'class', Style = { Colour = base0A } }, 73 { Type = 'struct', Style = { Colour = base0A } }, 74 { Type = 'interface', Style = { Colour = base06 } }, 75 { Type = 'parameter', Style = Keywords[6] }, 76 { Type = 'variable', Style = Keywords[5] }, 77 { Type = 'enumMember', Style = Keywords[5] }, 78 { Type = 'function', Style = Keywords[4] }, 79 { Type = 'method', Style = Keywords[4] }, 80 { Type = 'keyword', Style = Keywords[1]}, 81 { Type = 'number', Style = Number }, 82 { Type = 'regexp', Style = String }, 83 { Type = 'operator', Style = Operator }, 84} 85 86--[[---------------------------------------------------------------------------- 87The MIT License 88 89Copyright (c) 2018 Tristano Ajmone 90Copyright (c) Josh W Lewis (@joshwlewis) 91 92Permission is hereby granted, free of charge, to any person obtaining a copy 93of this software and associated documentation files (the "Software"), to deal 94in the Software without restriction, including without limitation the rights 95to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 96copies of the Software, and to permit persons to whom the Software is 97furnished to do so, subject to the following conditions: 98 99The above copyright notice and this permission notice shall be included in all 100copies or substantial portions of the Software. 101 102THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 103IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 104FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 105AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 106LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 107OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 108SOFTWARE. 109------------------------------------------------------------------------------]] 110