--[[ 									  2018/06/17 | Highlight v3.43 | Lua 5.3
================================================================================
Scheme:   Base16 "Mocha"
Author:   Chris Kempson (http://chriskempson.com)
License:  MIT License
Source:   https://github.com/chriskempson/base16-default-schemes
================================================================================
Converted from YAML by Tristano Ajmone:
    <tajmone@gmail.com>
    https://github.com/tajmone
    https://gitlab.com/tajmone
--------------------------------------------------------------------------------
For more info on Chris Kempson's Base16, see:
    http://chriskempson.com/projects/base16
------------------------------------------------------------------------------]]
Description = "Base16 Mocha"
Categories = {"dark", "base16", "lsp"}

--------------------------------------------------------------------------------
base00 = "#3B3228" --> Default Background
base01 = "#534636" --> Lighter Background (Used for status bars)
base02 = "#645240" --> Selection Background
base03 = "#7e705a" --> Comments, Invisibles, Line Highlighting
base04 = "#b8afad" --> Dark Foreground (Used for status bars)
base05 = "#d0c8c6" --> Default Foreground, Caret, Delimiters, Operators
base06 = "#e9e1dd" --> Light Foreground (Not often used)
base07 = "#f5eeeb" --> Light Background (Not often used)
base08 = "#cb6077" --> Variables, XML Tags, Markup Link Text, Markup Lists, Diff Deleted
base09 = "#d28b71" --> Integers, Boolean, Constants, XML Attributes, Markup Link Url
base0A = "#f4bc87" --> Classes, Markup Bold, Search Text Background
base0B = "#beb55b" --> Strings, Inherited Class, Markup Code, Diff Inserted
base0C = "#7bbda4" --> Support, Regular Expressions, Escape Characters, Markup Quotes
base0D = "#8ab3b5" --> Functions, Methods, Attribute IDs, Headings
base0E = "#a89bb9" --> Keywords, Storage, Selector, Markup Italic, Diff Changed
base0F = "#bb9584" --> 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) Chris Kempson (http://chriskempson.com)

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.
------------------------------------------------------------------------------]]
