cppit / jucipp

A lightweight & cross-platform IDE supporting the most recent C++ standards. This project has moved to https://gitlab.com/cppit/jucipp.
https://gitlab.com/cppit/jucipp
MIT License
883 stars 98 forks source link

Nord inspired color scheme #307

Open insunaa opened 7 years ago

insunaa commented 7 years ago

I made a code-color scheme for juCi++, inspired by the nord color scheme (https://github.com/arcticicestudio/nord) Here's how it looks, the left one is the created color scheme in juCi++, the right one is nord-vim in vim colorscheme

Adwaita Dark as GTK theme isn't particularly flattering for it, but I don't know how to create a GTK theme, so, eh. The scheme requires a few more tweaks, but for now it's alright for me.

<?xml version="1.0" encoding="UTF-8"?>

<style-scheme id="juci-nord" _name="juci" version="1.0">
  <author>d3rrial</author>
  <_description>Style inspired by nord from arcticicestudio</_description>

  <!-- Palette -->
  <color name="white"                       value="#E5E9F0"/>
  <color name="black"                       value="#3B4252"/>
  <color name="gray"                        value="#535C6E"/>
  <color name="red"                         value="#BF616A"/>
  <color name="green"                       value="#A3BE8C"/>
  <color name="blue"                        value="#81A1C1"/>
  <color name="light-blue"                  value="#8FBCBB"/>
  <color name="purple"                      value="#B48EAD"/>
  <color name="background-color"            value="#2E3440"/>

  <style name="text"                        foreground="white" background="background-color"/>
  <style name="background-pattern"          background="#rgba(255,255,255,.04)"/>
  <style name="selection"                   background="#215D9C"/>

  <!-- Current Line Highlighting -->
  <style name="current-line"                background="#rgba(255,255,255,.06)"/>

  <!-- Bracket Matching -->
  <style name="bracket-match"               foreground="black" background="gray" bold="true"/>
  <style name="bracket-mismatch"            foreground="black" background="#FF0000" bold="true"/>

  <!-- Search Matching -->
  <style name="search-match"                foreground="black" background="white"/>

  <!-- Language specifics -->
  <style name="def:builtin"                 foreground="blue"/>
  <style name="def:constant"                foreground="blue"/>
  <style name="def:boolean"                 foreground="purple"/>
  <style name="def:decimal"                 foreground="purple"/>
  <style name="def:base-n-integer"          foreground="purple"/>
  <style name="def:floating-point"          foreground="purple"/>
  <style name="def:complex"                 foreground="purple"/>
  <style name="def:character"               foreground="purple"/>
  <style name="def:special-char"            foreground="purple"/>

  <!-- Language specifics used by clang-parser in default config -->
  <style name="def:string"                  foreground="light-blue"/>
  <style name="def:comment"                 foreground="gray"/>
  <style name="def:statement"               foreground="blue"/>
  <style name="def:type"                    foreground="blue"/>
  <style name="def:function"                foreground="light-blue"/>
  <style name="def:identifier"              foreground="purple"/>
  <style name="def:preprocessor"            foreground="blue"/>
  <style name="def:error"                   foreground="#FF6666"/>
  <style name="def:warning"                 foreground="#FFE100"/>
  <style name="def:note"                    foreground="white" background="#444444"/>

  <style name="diff:added-line"             foreground="green"/>
  <style name="diff:removed-line"           foreground="red"/>
  <style name="diff:changed-line"           foreground="orange"/>
  <style name="diff:diff-file"              use-style="def:type"/>
  <style name="diff:location"               use-style="def:statement"/>
  <style name="diff:special-case"           use-style="def:constant"/>

</style-scheme>

PS: If something like this isn't supposed to belong into an issue, I'd appreciate a short reply! Thanks :)

junrrein commented 7 years ago

Sorry for the unrelated question, but how did you get the debug toolbar? The one with the start, stop, step in, etc. buttons.

Edit: I saw that it was a proposed feature on another issue.