--[[                                      2021/02/12 | Highlight v4.0  | Lua 5.3
================================================================================
Scheme:   "DuoTone Dark Space"
Author:   simurai
License:  MIT License
Source:   https://github.com/simurai/duotone-dark-space-syntax
================================================================================
Ported to Highlight by Tristano Ajmone <tajmone@gmail.com>
    https://github.com/tajmone
    https://gitlab.com/tajmone
--------------------------------------------------------------------------------
Based on the DuoTone Themes project by simurai:
    http://simurai.com/projects/2016/01/01/duotone-themes
------------------------------------------------------------------------------]]
Description = "DuoTone Dark Space"
Categories  = {"dark", "duotone"}

Canvas         = { Colour = "#24242e" }
Default        = { Colour = "#8686cb" }
LineNum        = { Colour = "#49495a" }

Number         = { Colour = "#fe7734" }
Operator       = { Colour = "#bebeef" }

String         = { Colour = "#b06845" }
Escape         = { Colour = "#bebeef" }
Interpolation  = { Colour = "#fe7734" }

PreProcessor   = { Colour = "#7272a1" }
StringPreProc  = String

LineComment    = { Colour = "#5b5b7b", Italic = true }
BlockComment   = LineComment

Keywords = {
  { Colour = "#bebeef" }, --> kwd 1
  { Colour = "#fe7734" }, --> kwd 2
  { Colour = "#ae7241" }, --> kwd 3
  { Colour = "#b06845" }, --> kwd 4
  { Colour = "#7272a1" }, --> kwd 5
  { Colour = "#644c40" }, --> kwd 6
}
-- new LSP based elements:

SemanticTokenTypes = {
  { Type = 'type', Style = Keywords[2] },
  { Type = 'class', Style =  Keywords[3] },
  { Type = 'struct', Style =  Keywords[4] },
  { Type = 'interface', Style = Keywords[3] },
  { 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) 2015 simurai

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