solarized-matlab icon indicating copy to clipboard operation
solarized-matlab copied to clipboard

Oblivion Theme

Open A-Shahbazi opened this issue 9 years ago • 5 comments

Hi. I use Oblivion theme in my text editor. It's a dark theme and it's in my opinion nicer than solarized. I wanted to ask you if you can add this theme to the function.(something like setupSolarized('oblivion'))

The xml file is at: mirror1 and, mirror2 and, mirror3.

To get a better idea of theme refer to here, here, and here.

Thanks for your useful work and effort.

A-Shahbazi avatar May 10 '15 07:05 A-Shahbazi

I would be okay with adding this theme as an option to the function. Would you be interested in assisting in the implementation by forking the repo, making the changes, and then submitting a pull request?

Or would you rather I work on this implementation and send to you for review?

Thanks!

benhager avatar May 11 '15 17:05 benhager

I'd rather review the final work as I don't know much of github and I don't have enough time these days to learn it and implement the changes.

Thanks.

A-Shahbazi avatar May 11 '15 17:05 A-Shahbazi

I can't access the file via the download links provided, they all are spam riddled services. Please attach the XML file (no ZIPs or EXEs) to a comment and I'll review it that way.

benhager avatar May 11 '15 19:05 benhager

Second mirror works. BTW, Github only supports image attachment. The content of xml file follows:

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

 This file is part of GtkSourceView

 Copyright (C) 2007 GtkSourceView team
 Author: Paolo Borelli <[email protected]>

 GtkSourceView is free software; you can redistribute it and/or
 modify it under the terms of the GNU Lesser General Public
 License as published by the Free Software Foundation; either
 version 2.1 of the License, or (at your option) any later version.

 GtkSourceView is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 Lesser General Public License for more details.

 You should have received a copy of the GNU Lesser General Public
 License along with this library; if not, write to the Free Software
 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA

-->

<style-scheme id="oblivion" _name="Oblivion" version="1.0">

  <author>Paolo Borelli</author>
  <_description>Dark color scheme using the Tango color palette</_description>

  <!-- Tango Palette -->
  <color name="butter1"                     value="#fce94f"/>
  <color name="butter2"                     value="#edd400"/>
  <color name="butter3"                     value="#c4a000"/>
  <color name="chameleon1"                  value="#8ae234"/>
  <color name="chameleon2"                  value="#73d216"/>
  <color name="chameleon3"                  value="#4e9a06"/>
  <color name="orange1"                     value="#fcaf3e"/>
  <color name="orange2"                     value="#f57900"/>
  <color name="orange3"                     value="#ce5c00"/>
  <color name="skyblue1"                    value="#729fcf"/>
  <color name="skyblue2"                    value="#3465a4"/>
  <color name="skyblue3"                    value="#204a87"/>
  <color name="plum1"                       value="#ad7fa8"/>
  <color name="plum2"                       value="#75507b"/>
  <color name="plum3"                       value="#5c3566"/>
  <color name="chocolate1"                  value="#e9b96e"/>
  <color name="chocolate2"                  value="#c17d11"/>
  <color name="chocolate3"                  value="#8f5902"/>
  <color name="scarletred1"                 value="#ef2929"/>
  <color name="scarletred2"                 value="#cc0000"/>
  <color name="scarletred3"                 value="#a40000"/>
  <color name="aluminium1"                  value="#eeeeec"/>
  <color name="aluminium2"                  value="#d3d7cf"/>
  <color name="aluminium3"                  value="#babdb6"/>
  <color name="aluminium4"                  value="#888a85"/>
  <color name="aluminium5"                  value="#555753"/>
  <color name="aluminium6"                  value="#2e3436"/>
  <color name="white"                       value="#ffffff"/>

  <!-- Global Settings -->
  <style name="text"                        foreground="aluminium2" background="aluminium6"/>
  <style name="selection"                   foreground="aluminium1" background="aluminium4"/>
  <style name="cursor"                      foreground="aluminium2"/>
  <style name="current-line"                background="aluminium5"/>
  <style name="line-numbers"                foreground="aluminium5" background="#black"/>
  <style name="draw-spaces"                 foreground="aluminium4"/>

  <!-- Bracket Matching -->
  <style name="bracket-match"               foreground="chocolate2" bold="true"/>
  <style name="bracket-mismatch"            foreground="aluminium1" background="scarletred2" bold="true"/>

  <!-- Right Margin -->
  <style name="right-margin"                foreground="aluminium1" background="aluminium3"/>

  <!-- Search Matching -->
  <style name="search-match"                foreground="aluminium1" background="chameleon3"/>

  <!-- Comments -->
  <style name="def:comment"                 foreground="aluminium4"/>
  <style name="def:shebang"                 foreground="aluminium4" bold="true"/>
  <style name="def:doc-comment-element"     italic="true"/>

  <!-- Constants -->
  <style name="def:constant"                foreground="butter2"/>
  <style name="def:string"                  foreground="butter2"/>
  <style name="def:special-char"            foreground="orange3"/>
  <style name="def:special-constant"        foreground="orange3"/>
  <style name="def:floating-point"          foreground="orange3"/>

  <!-- Identifiers -->
  <style name="def:identifier"              foreground="skyblue1"/>

  <!-- Statements -->
  <style name="def:statement"               foreground="white" bold="true"/>

  <!-- Types -->
  <style name="def:type"                    foreground="chameleon1" bold="true"/>

  <!-- Others -->
  <style name="def:preprocessor"            foreground="plum1"/>
  <style name="def:error"                   foreground="aluminium1" background="scarletred2" bold="true"/>
  <style name="def:warning"                 foreground="aluminium1" background="plum1"/>
  <style name="def:note"                    background="butter1" foreground="aluminium4" bold="true"/>
  <style name="def:underlined"              italic="true" underline="true"/>

  <!-- Heading styles, uncomment to enable -->
  <!--
  <style name="def:heading0"                scale="5.0"/>
  <style name="def:heading1"                scale="2.5"/>
  <style name="def:heading2"                scale="2.0"/>
  <style name="def:heading3"                scale="1.7"/>
  <style name="def:heading4"                scale="1.5"/>
  <style name="def:heading5"                scale="1.3"/>
  <style name="def:heading6"                scale="1.2"/>
  -->

  <!-- Language specific -->
  <style name="diff:added-line"             foreground="butter2"/>
  <style name="diff:removed-line"           foreground="skyblue1"/>
  <style name="diff:changed-line"           foreground="plum1"/>
  <style name="diff:diff-file"              foreground="chameleon1" bold="true"/>
  <style name="diff:location"               foreground="chameleon1"/>
  <style name="diff:special-case"           foreground="white" bold="true"/>

  <style name="latex:command"               foreground="chameleon1" bold="true"/>
  <style name="latex:include"               use-style="def:preprocessor"/>

</style-scheme>

A-Shahbazi avatar May 11 '15 20:05 A-Shahbazi

Just to let you know, I made a package for creating and importing matlab colour scheme packages called MATLAB Schemer, which is available at scottclowe/matlab-schemer and also on FEX.

Oblivion is included in that (as is Solarized).

scottclowe avatar Nov 12 '15 16:11 scottclowe