顏色主題
Kate's highlighting is powered by the KSyntaxHighlighting framework that contains 30 bundled color themes. Below you can find a list of all bundled themes together with an example rendering.
Atom One Dark
/** * SPDX-FileCopyrightText: 2020 Christoph Cullmann <cullmann@kde.org> * SPDX-License-Identifier: MIT */ // BEGIN #include <string> #include <QString> // END /** * TODO: improve documentation * @param magicArgument some magic argument * @return magic return value */ int main(uint64_t magicArgument) { if (magicArgument > 1) { const std::string string = "source file: \"" __FILE__ "\""; const QString qString(QStringLiteral("test")); return qrand(); } /* BUG: bogus integer constant inside next line */ const double g = 1.1e12 * 0b01'01'01'01 - 43a + 0x11234 * 0234ULL - 'c' * 42; return g > 1.3f; }
Atom One Light
/** * SPDX-FileCopyrightText: 2020 Christoph Cullmann <cullmann@kde.org> * SPDX-License-Identifier: MIT */ // BEGIN #include <string> #include <QString> // END /** * TODO: improve documentation * @param magicArgument some magic argument * @return magic return value */ int main(uint64_t magicArgument) { if (magicArgument > 1) { const std::string string = "source file: \"" __FILE__ "\""; const QString qString(QStringLiteral("test")); return qrand(); } /* BUG: bogus integer constant inside next line */ const double g = 1.1e12 * 0b01'01'01'01 - 43a + 0x11234 * 0234ULL - 'c' * 42; return g > 1.3f; }
ayu Dark
/** * SPDX-FileCopyrightText: 2020 Christoph Cullmann <cullmann@kde.org> * SPDX-License-Identifier: MIT */ // BEGIN #include <string> #include <QString> // END /** * TODO: improve documentation * @param magicArgument some magic argument * @return magic return value */ int main(uint64_t magicArgument) { if (magicArgument > 1) { const std::string string = "source file: \"" __FILE__ "\""; const QString qString(QStringLiteral("test")); return qrand(); } /* BUG: bogus integer constant inside next line */ const double g = 1.1e12 * 0b01'01'01'01 - 43a + 0x11234 * 0234ULL - 'c' * 42; return g > 1.3f; }
ayu Light
/** * SPDX-FileCopyrightText: 2020 Christoph Cullmann <cullmann@kde.org> * SPDX-License-Identifier: MIT */ // BEGIN #include <string> #include <QString> // END /** * TODO: improve documentation * @param magicArgument some magic argument * @return magic return value */ int main(uint64_t magicArgument) { if (magicArgument > 1) { const std::string string = "source file: \"" __FILE__ "\""; const QString qString(QStringLiteral("test")); return qrand(); } /* BUG: bogus integer constant inside next line */ const double g = 1.1e12 * 0b01'01'01'01 - 43a + 0x11234 * 0234ULL - 'c' * 42; return g > 1.3f; }
ayu Mirage
/** * SPDX-FileCopyrightText: 2020 Christoph Cullmann <cullmann@kde.org> * SPDX-License-Identifier: MIT */ // BEGIN #include <string> #include <QString> // END /** * TODO: improve documentation * @param magicArgument some magic argument * @return magic return value */ int main(uint64_t magicArgument) { if (magicArgument > 1) { const std::string string = "source file: \"" __FILE__ "\""; const QString qString(QStringLiteral("test")); return qrand(); } /* BUG: bogus integer constant inside next line */ const double g = 1.1e12 * 0b01'01'01'01 - 43a + 0x11234 * 0234ULL - 'c' * 42; return g > 1.3f; }
Breeze Dark
/** * SPDX-FileCopyrightText: 2020 Christoph Cullmann <cullmann@kde.org> * SPDX-License-Identifier: MIT */ // BEGIN #include <string> #include <QString> // END /** * TODO: improve documentation * @param magicArgument some magic argument * @return magic return value */ int main(uint64_t magicArgument) { if (magicArgument > 1) { const std::string string = "source file: \"" __FILE__ "\""; const QString qString(QStringLiteral("test")); return qrand(); } /* BUG: bogus integer constant inside next line */ const double g = 1.1e12 * 0b01'01'01'01 - 43a + 0x11234 * 0234ULL - 'c' * 42; return g > 1.3f; }
Breeze Light
/** * SPDX-FileCopyrightText: 2020 Christoph Cullmann <cullmann@kde.org> * SPDX-License-Identifier: MIT */ // BEGIN #include <string> #include <QString> // END /** * TODO: improve documentation * @param magicArgument some magic argument * @return magic return value */ int main(uint64_t magicArgument) { if (magicArgument > 1) { const std::string string = "source file: \"" __FILE__ "\""; const QString qString(QStringLiteral("test")); return qrand(); } /* BUG: bogus integer constant inside next line */ const double g = 1.1e12 * 0b01'01'01'01 - 43a + 0x11234 * 0234ULL - 'c' * 42; return g > 1.3f; }
Catppuccin Frappé
/** * SPDX-FileCopyrightText: 2020 Christoph Cullmann <cullmann@kde.org> * SPDX-License-Identifier: MIT */ // BEGIN #include <string> #include <QString> // END /** * TODO: improve documentation * @param magicArgument some magic argument * @return magic return value */ int main(uint64_t magicArgument) { if (magicArgument > 1) { const std::string string = "source file: \"" __FILE__ "\""; const QString qString(QStringLiteral("test")); return qrand(); } /* BUG: bogus integer constant inside next line */ const double g = 1.1e12 * 0b01'01'01'01 - 43a + 0x11234 * 0234ULL - 'c' * 42; return g > 1.3f; }
Catppuccin Latte
/** * SPDX-FileCopyrightText: 2020 Christoph Cullmann <cullmann@kde.org> * SPDX-License-Identifier: MIT */ // BEGIN #include <string> #include <QString> // END /** * TODO: improve documentation * @param magicArgument some magic argument * @return magic return value */ int main(uint64_t magicArgument) { if (magicArgument > 1) { const std::string string = "source file: \"" __FILE__ "\""; const QString qString(QStringLiteral("test")); return qrand(); } /* BUG: bogus integer constant inside next line */ const double g = 1.1e12 * 0b01'01'01'01 - 43a + 0x11234 * 0234ULL - 'c' * 42; return g > 1.3f; }
Catppuccin Macchiato
/** * SPDX-FileCopyrightText: 2020 Christoph Cullmann <cullmann@kde.org> * SPDX-License-Identifier: MIT */ // BEGIN #include <string> #include <QString> // END /** * TODO: improve documentation * @param magicArgument some magic argument * @return magic return value */ int main(uint64_t magicArgument) { if (magicArgument > 1) { const std::string string = "source file: \"" __FILE__ "\""; const QString qString(QStringLiteral("test")); return qrand(); } /* BUG: bogus integer constant inside next line */ const double g = 1.1e12 * 0b01'01'01'01 - 43a + 0x11234 * 0234ULL - 'c' * 42; return g > 1.3f; }
Catppuccin Mocha
/** * SPDX-FileCopyrightText: 2020 Christoph Cullmann <cullmann@kde.org> * SPDX-License-Identifier: MIT */ // BEGIN #include <string> #include <QString> // END /** * TODO: improve documentation * @param magicArgument some magic argument * @return magic return value */ int main(uint64_t magicArgument) { if (magicArgument > 1) { const std::string string = "source file: \"" __FILE__ "\""; const QString qString(QStringLiteral("test")); return qrand(); } /* BUG: bogus integer constant inside next line */ const double g = 1.1e12 * 0b01'01'01'01 - 43a + 0x11234 * 0234ULL - 'c' * 42; return g > 1.3f; }
Dracula
/** * SPDX-FileCopyrightText: 2020 Christoph Cullmann <cullmann@kde.org> * SPDX-License-Identifier: MIT */ // BEGIN #include <string> #include <QString> // END /** * TODO: improve documentation * @param magicArgument some magic argument * @return magic return value */ int main(uint64_t magicArgument) { if (magicArgument > 1) { const std::string string = "source file: \"" __FILE__ "\""; const QString qString(QStringLiteral("test")); return qrand(); } /* BUG: bogus integer constant inside next line */ const double g = 1.1e12 * 0b01'01'01'01 - 43a + 0x11234 * 0234ULL - 'c' * 42; return g > 1.3f; }
Falcon
/** * SPDX-FileCopyrightText: 2020 Christoph Cullmann <cullmann@kde.org> * SPDX-License-Identifier: MIT */ // BEGIN #include <string> #include <QString> // END /** * TODO: improve documentation * @param magicArgument some magic argument * @return magic return value */ int main(uint64_t magicArgument) { if (magicArgument > 1) { const std::string string = "source file: \"" __FILE__ "\""; const QString qString(QStringLiteral("test")); return qrand(); } /* BUG: bogus integer constant inside next line */ const double g = 1.1e12 * 0b01'01'01'01 - 43a + 0x11234 * 0234ULL - 'c' * 42; return g > 1.3f; }
GitHub Dark
/** * SPDX-FileCopyrightText: 2020 Christoph Cullmann <cullmann@kde.org> * SPDX-License-Identifier: MIT */ // BEGIN #include <string> #include <QString> // END /** * TODO: improve documentation * @param magicArgument some magic argument * @return magic return value */ int main(uint64_t magicArgument) { if (magicArgument > 1) { const std::string string = "source file: \"" __FILE__ "\""; const QString qString(QStringLiteral("test")); return qrand(); } /* BUG: bogus integer constant inside next line */ const double g = 1.1e12 * 0b01'01'01'01 - 43a + 0x11234 * 0234ULL - 'c' * 42; return g > 1.3f; }
GitHub Light
/** * SPDX-FileCopyrightText: 2020 Christoph Cullmann <cullmann@kde.org> * SPDX-License-Identifier: MIT */ // BEGIN #include <string> #include <QString> // END /** * TODO: improve documentation * @param magicArgument some magic argument * @return magic return value */ int main(uint64_t magicArgument) { if (magicArgument > 1) { const std::string string = "source file: \"" __FILE__ "\""; const QString qString(QStringLiteral("test")); return qrand(); } /* BUG: bogus integer constant inside next line */ const double g = 1.1e12 * 0b01'01'01'01 - 43a + 0x11234 * 0234ULL - 'c' * 42; return g > 1.3f; }
gruvbox Dark
/** * SPDX-FileCopyrightText: 2020 Christoph Cullmann <cullmann@kde.org> * SPDX-License-Identifier: MIT */ // BEGIN #include <string> #include <QString> // END /** * TODO: improve documentation * @param magicArgument some magic argument * @return magic return value */ int main(uint64_t magicArgument) { if (magicArgument > 1) { const std::string string = "source file: \"" __FILE__ "\""; const QString qString(QStringLiteral("test")); return qrand(); } /* BUG: bogus integer constant inside next line */ const double g = 1.1e12 * 0b01'01'01'01 - 43a + 0x11234 * 0234ULL - 'c' * 42; return g > 1.3f; }
gruvbox Light
/** * SPDX-FileCopyrightText: 2020 Christoph Cullmann <cullmann@kde.org> * SPDX-License-Identifier: MIT */ // BEGIN #include <string> #include <QString> // END /** * TODO: improve documentation * @param magicArgument some magic argument * @return magic return value */ int main(uint64_t magicArgument) { if (magicArgument > 1) { const std::string string = "source file: \"" __FILE__ "\""; const QString qString(QStringLiteral("test")); return qrand(); } /* BUG: bogus integer constant inside next line */ const double g = 1.1e12 * 0b01'01'01'01 - 43a + 0x11234 * 0234ULL - 'c' * 42; return g > 1.3f; }
Homunculus
/** * SPDX-FileCopyrightText: 2020 Christoph Cullmann <cullmann@kde.org> * SPDX-License-Identifier: MIT */ // BEGIN #include <string> #include <QString> // END /** * TODO: improve documentation * @param magicArgument some magic argument * @return magic return value */ int main(uint64_t magicArgument) { if (magicArgument > 1) { const std::string string = "source file: \"" __FILE__ "\""; const QString qString(QStringLiteral("test")); return qrand(); } /* BUG: bogus integer constant inside next line */ const double g = 1.1e12 * 0b01'01'01'01 - 43a + 0x11234 * 0234ULL - 'c' * 42; return g > 1.3f; }
Monokai
/** * SPDX-FileCopyrightText: 2020 Christoph Cullmann <cullmann@kde.org> * SPDX-License-Identifier: MIT */ // BEGIN #include <string> #include <QString> // END /** * TODO: improve documentation * @param magicArgument some magic argument * @return magic return value */ int main(uint64_t magicArgument) { if (magicArgument > 1) { const std::string string = "source file: \"" __FILE__ "\""; const QString qString(QStringLiteral("test")); return qrand(); } /* BUG: bogus integer constant inside next line */ const double g = 1.1e12 * 0b01'01'01'01 - 43a + 0x11234 * 0234ULL - 'c' * 42; return g > 1.3f; }
Nord
/** * SPDX-FileCopyrightText: 2020 Christoph Cullmann <cullmann@kde.org> * SPDX-License-Identifier: MIT */ // BEGIN #include <string> #include <QString> // END /** * TODO: improve documentation * @param magicArgument some magic argument * @return magic return value */ int main(uint64_t magicArgument) { if (magicArgument > 1) { const std::string string = "source file: \"" __FILE__ "\""; const QString qString(QStringLiteral("test")); return qrand(); } /* BUG: bogus integer constant inside next line */ const double g = 1.1e12 * 0b01'01'01'01 - 43a + 0x11234 * 0234ULL - 'c' * 42; return g > 1.3f; }
Oblivion
/** * SPDX-FileCopyrightText: 2020 Christoph Cullmann <cullmann@kde.org> * SPDX-License-Identifier: MIT */ // BEGIN #include <string> #include <QString> // END /** * TODO: improve documentation * @param magicArgument some magic argument * @return magic return value */ int main(uint64_t magicArgument) { if (magicArgument > 1) { const std::string string = "source file: \"" __FILE__ "\""; const QString qString(QStringLiteral("test")); return qrand(); } /* BUG: bogus integer constant inside next line */ const double g = 1.1e12 * 0b01'01'01'01 - 43a + 0x11234 * 0234ULL - 'c' * 42; return g > 1.3f; }
列印用主題
/** * SPDX-FileCopyrightText: 2020 Christoph Cullmann <cullmann@kde.org> * SPDX-License-Identifier: MIT */ // BEGIN #include <string> #include <QString> // END /** * TODO: improve documentation * @param magicArgument some magic argument * @return magic return value */ int main(uint64_t magicArgument) { if (magicArgument > 1) { const std::string string = "source file: \"" __FILE__ "\""; const QString qString(QStringLiteral("test")); return qrand(); } /* BUG: bogus integer constant inside next line */ const double g = 1.1e12 * 0b01'01'01'01 - 43a + 0x11234 * 0234ULL - 'c' * 42; return g > 1.3f; }
Radical
/** * SPDX-FileCopyrightText: 2020 Christoph Cullmann <cullmann@kde.org> * SPDX-License-Identifier: MIT */ // BEGIN #include <string> #include <QString> // END /** * TODO: improve documentation * @param magicArgument some magic argument * @return magic return value */ int main(uint64_t magicArgument) { if (magicArgument > 1) { const std::string string = "source file: \"" __FILE__ "\""; const QString qString(QStringLiteral("test")); return qrand(); } /* BUG: bogus integer constant inside next line */ const double g = 1.1e12 * 0b01'01'01'01 - 43a + 0x11234 * 0234ULL - 'c' * 42; return g > 1.3f; }
Solarized Dark
/** * SPDX-FileCopyrightText: 2020 Christoph Cullmann <cullmann@kde.org> * SPDX-License-Identifier: MIT */ // BEGIN #include <string> #include <QString> // END /** * TODO: improve documentation * @param magicArgument some magic argument * @return magic return value */ int main(uint64_t magicArgument) { if (magicArgument > 1) { const std::string string = "source file: \"" __FILE__ "\""; const QString qString(QStringLiteral("test")); return qrand(); } /* BUG: bogus integer constant inside next line */ const double g = 1.1e12 * 0b01'01'01'01 - 43a + 0x11234 * 0234ULL - 'c' * 42; return g > 1.3f; }
Solarized Light
/** * SPDX-FileCopyrightText: 2020 Christoph Cullmann <cullmann@kde.org> * SPDX-License-Identifier: MIT */ // BEGIN #include <string> #include <QString> // END /** * TODO: improve documentation * @param magicArgument some magic argument * @return magic return value */ int main(uint64_t magicArgument) { if (magicArgument > 1) { const std::string string = "source file: \"" __FILE__ "\""; const QString qString(QStringLiteral("test")); return qrand(); } /* BUG: bogus integer constant inside next line */ const double g = 1.1e12 * 0b01'01'01'01 - 43a + 0x11234 * 0234ULL - 'c' * 42; return g > 1.3f; }
Tokyo Night
/** * SPDX-FileCopyrightText: 2020 Christoph Cullmann <cullmann@kde.org> * SPDX-License-Identifier: MIT */ // BEGIN #include <string> #include <QString> // END /** * TODO: improve documentation * @param magicArgument some magic argument * @return magic return value */ int main(uint64_t magicArgument) { if (magicArgument > 1) { const std::string string = "source file: \"" __FILE__ "\""; const QString qString(QStringLiteral("test")); return qrand(); } /* BUG: bogus integer constant inside next line */ const double g = 1.1e12 * 0b01'01'01'01 - 43a + 0x11234 * 0234ULL - 'c' * 42; return g > 1.3f; }
Tokyo Night Light
/** * SPDX-FileCopyrightText: 2020 Christoph Cullmann <cullmann@kde.org> * SPDX-License-Identifier: MIT */ // BEGIN #include <string> #include <QString> // END /** * TODO: improve documentation * @param magicArgument some magic argument * @return magic return value */ int main(uint64_t magicArgument) { if (magicArgument > 1) { const std::string string = "source file: \"" __FILE__ "\""; const QString qString(QStringLiteral("test")); return qrand(); } /* BUG: bogus integer constant inside next line */ const double g = 1.1e12 * 0b01'01'01'01 - 43a + 0x11234 * 0234ULL - 'c' * 42; return g > 1.3f; }
Tokyo Night Storm
/** * SPDX-FileCopyrightText: 2020 Christoph Cullmann <cullmann@kde.org> * SPDX-License-Identifier: MIT */ // BEGIN #include <string> #include <QString> // END /** * TODO: improve documentation * @param magicArgument some magic argument * @return magic return value */ int main(uint64_t magicArgument) { if (magicArgument > 1) { const std::string string = "source file: \"" __FILE__ "\""; const QString qString(QStringLiteral("test")); return qrand(); } /* BUG: bogus integer constant inside next line */ const double g = 1.1e12 * 0b01'01'01'01 - 43a + 0x11234 * 0234ULL - 'c' * 42; return g > 1.3f; }
Vim Dark
/** * SPDX-FileCopyrightText: 2020 Christoph Cullmann <cullmann@kde.org> * SPDX-License-Identifier: MIT */ // BEGIN #include <string> #include <QString> // END /** * TODO: improve documentation * @param magicArgument some magic argument * @return magic return value */ int main(uint64_t magicArgument) { if (magicArgument > 1) { const std::string string = "source file: \"" __FILE__ "\""; const QString qString(QStringLiteral("test")); return qrand(); } /* BUG: bogus integer constant inside next line */ const double g = 1.1e12 * 0b01'01'01'01 - 43a + 0x11234 * 0234ULL - 'c' * 42; return g > 1.3f; }
VSCodium Dark
/** * SPDX-FileCopyrightText: 2020 Christoph Cullmann <cullmann@kde.org> * SPDX-License-Identifier: MIT */ // BEGIN #include <string> #include <QString> // END /** * TODO: improve documentation * @param magicArgument some magic argument * @return magic return value */ int main(uint64_t magicArgument) { if (magicArgument > 1) { const std::string string = "source file: \"" __FILE__ "\""; const QString qString(QStringLiteral("test")); return qrand(); } /* BUG: bogus integer constant inside next line */ const double g = 1.1e12 * 0b01'01'01'01 - 43a + 0x11234 * 0234ULL - 'c' * 42; return g > 1.3f; }