Skip to content
Permalink
Browse files

Fix solarized color definitions

  • Loading branch information
nyalldawson committed Oct 5, 2020
1 parent 5e3214f commit 38a7b465ef2455cf41396208d29bf4fec3cc5d52
Showing with 62 additions and 62 deletions.
  1. +62 −62 src/gui/qgscodeeditor.cpp
@@ -321,73 +321,73 @@ QColor QgsCodeEditor::defaultColor( QgsCodeEditor::ColorRole role, const QString
{
QStringLiteral( "solarized" ),
{
{ColorRole::Default, QColor( "#627c84" ) },
{ColorRole::Keyword, QColor( "#b79b00" ) },
{ColorRole::Class, QColor( "#008fd5" ) },
{ColorRole::Method, QColor( "#008fd5" ) },
{ColorRole::Decoration, QColor( "#b79b00" ) },
{ColorRole::Number, QColor( "#008fd5" ) },
{ColorRole::Comment, QColor( "#93a2a3" ) },
{ColorRole::CommentLine, QColor( "#93a2a3" ) },
{ColorRole::CommentBlock, QColor( "#93a2a3" ) },
{ColorRole::Background, QColor( "#fef6e4" ) },
{ColorRole::Cursor, QColor( "#cfcfcf" ) },
{ColorRole::CaretLine, QColor( "#f0e8d6" ) },
{ColorRole::Operator, QColor( "#b79b00" ) },
{ColorRole::QuotedOperator, QColor( "#b79b00" ) },
{ColorRole::Identifier, QColor( "#008fd5" ) },
{ColorRole::QuotedIdentifier, QColor( "#008fd5" ) },
{ColorRole::Tag, QColor( "#008fd5" ) },
{ColorRole::UnknownTag, QColor( "#008fd5" ) },
{ColorRole::SingleQuote, QColor( "#3da59e" ) },
{ColorRole::DoubleQuote, QColor( "#3da59e" ) },
{ColorRole::TripleSingleQuote, QColor( "#3da59e" ) },
{ColorRole::TripleDoubleQuote, QColor( "#3da59e" ) },
{ColorRole::MarginBackground, QColor( "#f0e8d6" ) },
{ColorRole::MarginForeground, QColor( "#93a2a3" ) },
{ColorRole::SelectionBackground, QColor( "#d7d7d7" ) },
{ColorRole::SelectionForeground, QColor( "#000000" ) },
{ColorRole::MatchedBraceBackground, QColor( "#b7f907" ) },
{ColorRole::MatchedBraceForeground, QColor( "#363636" ) },
{ColorRole::Edge, QColor( "#f0e8d6" ) },
{ColorRole::Fold, QColor( "#f0e8d6" ) },
{ColorRole::Error, QColor( "#e31a1c" ) },
{ColorRole::Default, QColor( "#586E75" ) },
{ColorRole::Keyword, QColor( "#859900" ) },
{ColorRole::Class, QColor( "#268BD2" ) },
{ColorRole::Method, QColor( "#268BD2" ) },
{ColorRole::Decoration, QColor( "#6C71C4" ) },
{ColorRole::Number, QColor( "#2AA198" ) },
{ColorRole::Comment, QColor( "#93A1A1" ) },
{ColorRole::CommentLine, QColor( "#93A1A1" ) },
{ColorRole::CommentBlock, QColor( "#3D8080" ) },
{ColorRole::Background, QColor( "#FDF6E3" ) },
{ColorRole::Cursor, QColor( "#DC322F" ) },
{ColorRole::CaretLine, QColor( "#EEE8D5" ) },
{ColorRole::Operator, QColor( "#586E75" ) },
{ColorRole::QuotedOperator, QColor( "#586E75" ) },
{ColorRole::Identifier, QColor( "#586E75" ) },
{ColorRole::QuotedIdentifier, QColor( "#586E75" ) },
{ColorRole::Tag, QColor( "#2AA198" ) },
{ColorRole::UnknownTag, QColor( "#2AA198" ) },
{ColorRole::SingleQuote, QColor( "#3D8080" ) },
{ColorRole::DoubleQuote, QColor( "#3D8080" ) },
{ColorRole::TripleSingleQuote, QColor( "#3D8080" ) },
{ColorRole::TripleDoubleQuote, QColor( "#3D8080" ) },
{ColorRole::MarginBackground, QColor( "#EEE8D5" ) },
{ColorRole::MarginForeground, QColor( "#93A1A1" ) },
{ColorRole::SelectionBackground, QColor( "#839496" ) },
{ColorRole::SelectionForeground, QColor( "#FDF6E3" ) },
{ColorRole::MatchedBraceBackground, QColor( "#CBCCA3" ) },
{ColorRole::MatchedBraceForeground, QColor( "#586E75" ) },
{ColorRole::Edge, QColor( "#EEE8D5" ) },
{ColorRole::Fold, QColor( "#FDF6E3" ) },
{ColorRole::Error, QColor( "#DC322F" ) },
},
},
{
QStringLiteral( "solarized_dark" ),
{
{ColorRole::Default, QColor( "#f6f3e8" ) },
{ColorRole::Keyword, QColor( "#6cbcf7" ) },
{ColorRole::Class, QColor( "#b3e765" ) },
{ColorRole::Method, QColor( "#ed5d36" ) },
{ColorRole::Decoration, QColor( "#6cbcf7" ) },
{ColorRole::Number, QColor( "#ed5d36" ) },
{ColorRole::Comment, QColor( "#b3e765" ) },
{ColorRole::CommentLine, QColor( "#b3e765" ) },
{ColorRole::CommentBlock, QColor( "#aeaeae" ) },
{ColorRole::Background, QColor( "#1f1f1f" ) },
{ColorRole::Cursor, QColor( "#cfcfcf" ) },
{ColorRole::CaretLine, QColor( "#363636" ) },
{ColorRole::Operator, QColor( "#6cbcf7" ) },
{ColorRole::QuotedOperator, QColor( "#6cbcf7" ) },
{ColorRole::Identifier, QColor( "#b3e765" ) },
{ColorRole::QuotedIdentifier, QColor( "#b3e765" ) },
{ColorRole::Tag, QColor( "#ed5d36" ) },
{ColorRole::UnknownTag, QColor( "#ed5d36" ) },
{ColorRole::SingleQuote, QColor( "#65b042" ) },
{ColorRole::DoubleQuote, QColor( "#65b042" ) },
{ColorRole::TripleSingleQuote, QColor( "#65b042" ) },
{ColorRole::TripleDoubleQuote, QColor( "#65b042" ) },
{ColorRole::MarginBackground, QColor( "#000000" ) },
{ColorRole::MarginForeground, QColor( "#9d9d9d" ) },
{ColorRole::SelectionBackground, QColor( "#d7d7d7" ) },
{ColorRole::SelectionForeground, QColor( "#000000" ) },
{ColorRole::MatchedBraceBackground, QColor( "#b7f907" ) },
{ColorRole::MatchedBraceForeground, QColor( "#363636" ) },
{ColorRole::Edge, QColor( "#3a3a3a" ) },
{ColorRole::Fold, QColor( "#3a3a3a" ) },
{ColorRole::Error, QColor( "#e31a1c" ) },
{ColorRole::Default, QColor( "#839496" ) },
{ColorRole::Keyword, QColor( "#859900" ) },
{ColorRole::Class, QColor( "#268BD2" ) },
{ColorRole::Method, QColor( "#268BD2" ) },
{ColorRole::Decoration, QColor( "#94558D" ) },
{ColorRole::Number, QColor( "#2AA198" ) },
{ColorRole::Comment, QColor( "#2AA198" ) },
{ColorRole::CommentLine, QColor( "#2AA198" ) },
{ColorRole::CommentBlock, QColor( "#2AA198" ) },
{ColorRole::Background, QColor( "#002B36" ) },
{ColorRole::Cursor, QColor( "#DC322F" ) },
{ColorRole::CaretLine, QColor( "#073642" ) },
{ColorRole::Operator, QColor( "#839496" ) },
{ColorRole::QuotedOperator, QColor( "#839496" ) },
{ColorRole::Identifier, QColor( "#839496" ) },
{ColorRole::QuotedIdentifier, QColor( "#839496" ) },
{ColorRole::Tag, QColor( "#268BD2" ) },
{ColorRole::UnknownTag, QColor( "#268BD2" ) },
{ColorRole::SingleQuote, QColor( "#3D8080" ) },
{ColorRole::DoubleQuote, QColor( "#3D8080" ) },
{ColorRole::TripleSingleQuote, QColor( "#3D8080" ) },
{ColorRole::TripleDoubleQuote, QColor( "#3D8080" ) },
{ColorRole::MarginBackground, QColor( "#073642" ) },
{ColorRole::MarginForeground, QColor( "#586E75" ) },
{ColorRole::SelectionBackground, QColor( "#073642" ) },
{ColorRole::SelectionForeground, QColor( "#002B36" ) },
{ColorRole::MatchedBraceBackground, QColor( "#1F4D2C" ) },
{ColorRole::MatchedBraceForeground, QColor( "#839496" ) },
{ColorRole::Edge, QColor( "#586E75" ) },
{ColorRole::Fold, QColor( "#002B36" ) },
{ColorRole::Error, QColor( "#DC322F" ) },
}
}
};

0 comments on commit 38a7b46

Please sign in to comment.
You can’t perform that action at this time.