--[[ 									  2018/06/17 | Highlight v3.43 | Lua 5.3
================================================================================
Scheme:   Base16 "OceanicNext"
Author:   Dmitri Voronianski
License:  MIT License
Source:   https://github.com/voronianski/oceanic-next-color-scheme
================================================================================
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 OceanicNext"
Categories = {"dark", "base16", "lsp"}

--------------------------------------------------------------------------------
base00 = "#1B2B34" --> Default Background
base01 = "#343D46" --> Lighter Background (Used for status bars)
base02 = "#4F5B66" --> Selection Background
base03 = "#65737E" --> Comments, Invisibles, Line Highlighting
base04 = "#A7ADBA" --> Dark Foreground (Used for status bars)
base05 = "#C0C5CE" --> Default Foreground, Caret, Delimiters, Operators
base06 = "#CDD3DE" --> Light Foreground (Not often used)
base07 = "#D8DEE9" --> Light Background (Not often used)
base08 = "#EC5f67" --> Variables, XML Tags, Markup Link Text, Markup Lists, Diff Deleted
base09 = "#F99157" --> Integers, Boolean, Constants, XML Attributes, Markup Link Url
base0A = "#FAC863" --> Classes, Markup Bold, Search Text Background
base0B = "#99C794" --> Strings, Inherited Class, Markup Code, Diff Inserted
base0C = "#5FB3B3" --> Support, Regular Expressions, Escape Characters, Markup Quotes
base0D = "#6699CC" --> Functions, Methods, Attribute IDs, Headings
base0E = "#C594C5" --> Keywords, Storage, Selector, Markup Italic, Diff Changed
base0F = "#AB7967" --> 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) Dmitri Voronianski

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