#
# Copyright 2021 FormDev Software GmbH
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

#---- FlatThemeEditorPane ----

FlatThemeEditorPane.background = #fff
FlatThemeEditorPane.caretColor = @foreground
FlatThemeEditorPane.selectionBackground = #A6D2FF
FlatThemeEditorPane.currentLineHighlight = #fcfaed
FlatThemeEditorPane.markOccurrencesColor = #FCE8F4
FlatThemeEditorPane.markAllHighlightColor = #ffc800
FlatThemeEditorPane.matchedBracketBackground = #93D9D9
FlatThemeEditorPane.matchedBracketBorderColor = $FlatThemeEditorPane.matchedBracketBackground


#---- FlatThemeEditorPane.style ----

FlatThemeEditorPane.style.property = @foreground
FlatThemeEditorPane.style.variable = @foreground
# use semitransparent background because it is painted over mark occurrences background
FlatThemeEditorPane.style.variable.background = #00cc0018
FlatThemeEditorPane.style.number = #1750EB
FlatThemeEditorPane.style.color = #1750EB
# use semitransparent background because it is painted over mark occurrences background
FlatThemeEditorPane.style.color.background = #0000000a
FlatThemeEditorPane.style.string = #067D17
FlatThemeEditorPane.style.function = #871094
FlatThemeEditorPane.style.type = #8C8C8C
FlatThemeEditorPane.style.reservedWord = #871094
FlatThemeEditorPane.style.literalBoolean = #871094
FlatThemeEditorPane.style.operator = #888
FlatThemeEditorPane.style.separator = #888
FlatThemeEditorPane.style.whitespace = @foreground
FlatThemeEditorPane.style.comment = #8C8C8C
FlatThemeEditorPane.style.comment.italic = true


#---- FlatThemeEditorPane.gutter ----

FlatThemeEditorPane.gutter.background = $FlatThemeEditorPane.background
FlatThemeEditorPane.gutter.borderColor = $Component.borderColor
FlatThemeEditorPane.gutter.lineNumberColor = @disabledForeground


#---- FlatThemeEditorPane.errorstrip ----

FlatThemeEditorPane.errorstrip.caretMarkerColor = $FlatThemeEditorPane.caretColor
