anchor.diff:      ++ (withOptional accentColor "accent_color")
       ++ (withOptional suggestionColor "suggestion_color")
       ++ (withOptional destructionColor "destruction_color");
  +
  +  postInstall = ''
  +    for dest in $out/share/gtksourceview-{3.0,4}/styles; do
  +      mkdir -p $dest
  +      cp $out/share/themes/Plata-{Noir,Lumine}/gtksourceview/*.xml $dest
  +    done
  +  '';
   
     meta = with stdenv.lib; {
       description = "A Gtk+ theme based on Material Design Refresh";
  
positive.code:     inkscape
      libxml2
      gnome2.glib.dev
    ];
  
    buildInputs = [
      gdk_pixbuf
  
negative.code: , xfceSupport ? true
  , gtkNextSupport ? false
  , plankSupport ? false
  , steamSupport ? false
  , telegramSupport ? false
  , tweetdeckSupport ? false, zip ? null
  , selectionColor ? null # Primary color for 'selected-items' (Default: #3F51B5 = Indigo500)
  , accentColor ? null # Secondary color for notifications and OSDs (Default: #7986CB = Indigo300)
  , suggestionColor ? null # Secondary color for 'suggested' buttons (Default: #673AB7 = DPurple500)
  , destructionColor ? null # Tertiary color for 'destructive' buttons (Default: #F44336 = Red500)
  }:
  
  assert tweetdeckSupport -> zip != null;
  
  stdenv.mkDerivation rec {
    name = "plata-theme-${version}";
    version = "0.8.0";
  
    src = fetchFromGitLab {
      owner = "tista500";
      repo = "plata-theme";
      rev = version;
      sha256 = "10xvfrc945zqlgzlx8zjyg0gnkwmq9vfjk0yqjy3gg62i65s8sch";
    };
  
    preferLocalBuild = true;
  