Material Design Light

rated
0
Submitted by Alex

Light, relatively low contrast theme. Made entirely with Material Design Colors.

Following bonus settings could be placed in the end of the list, inside downloaded .vssettings

<!-- ReSharper Color Identifiers -->
<Item Name="ReSharper Class Identifier" Foreground="0x00008FFF" Background="0x01000001" BoldFont="No"/>
<Item Name="ReSharper Constant Identifier" Foreground="0x007A40EC" Background="0x01000001" BoldFont="Yes"/>
<Item Name="ReSharper Delegate Identifier" Foreground="0x00008FFF" Background="0x01000001" BoldFont="No"/>
<Item Name="ReSharper Enum Identifier" Foreground="0x001543D8" Background="0x01000001" BoldFont="No"/>
<Item Name="ReSharper Event Identifier" Foreground="0x00B0279C" Background="0x01000001" BoldFont="No"/>
<Item Name="ReSharper Extension Method Identifier" Foreground="0x00C06515" Background="0x01000001" BoldFont="No"/>
<Item Name="ReSharper Field Identifier" Foreground="0x00631EE9" Background="0x01000001" BoldFont="No"/>
<Item Name="ReSharper Hyperlink" Foreground="0x00BD7702" Background="0x01000001" BoldFont="No"/>
<Item Name="ReSharper Interface Identifier" Foreground="0x00008FFF" Background="0x01000001" BoldFont="No"/>
<Item Name="ReSharper Local Function Identifier" Foreground="0x00C06515" Background="0x01000001" BoldFont="No"/>
<Item Name="ReSharper Method Identifier" Foreground="0x00C06515" Background="0x01000001" BoldFont="No"/>
<Item Name="ReSharper Mutable Local Variable Identifier" Foreground="0x00645A45" Background="0x01000001" BoldFont="Yes"/>
<Item Name="ReSharper Namespace Identifier" Foreground="0x008B7D60" Background="0x01000001" BoldFont="No"/>
<Item Name="ReSharper Operator Identifier" Foreground="0x00889600" Background="0x01000001" BoldFont="No"/>
<Item Name="ReSharper Static Class Identifier" Foreground="0x00008FFF" Background="0x01000001" BoldFont="No"/>
<Item Name="ReSharper Struct Identifier" Foreground="0x001543D8" Background="0x01000001" BoldFont="No"/>
<Item Name="ReSharper Type Parameter Identifier" Foreground="0x00008FFF" Background="0x01000001" BoldFont="No"/>
<Item Name="ReSharper Usage of element under cursor" Foreground="0x01000000" Background="0x00C9E6C8" BoldFont="No"/>
<Item Name="ReSharper Current Line Highlight" Foreground="0x00F1EFEC" Background="0x00DCD8CF" BoldFont="No"/>
<Item Name="ReSharper Matched Brace" Foreground="0x00C4CB80" Background="0x00DBDFB2" BoldFont="No"/>
<Item Name="ReSharper Unmatched Brace" Foreground="0x0080CCFF" Background="0x00B2E0FF" BoldFont="No"/>
<Item Name="ReSharper Suggestion" Foreground="0x0050AF4C" Background="0x01000001" BoldFont="No"/>
<Item Name="ReSharper Warning" Foreground="0x00F39621" Background="0x01000001" BoldFont="No"/>

<!-- Visual Studio 2017 additions and overrides -->
<Item Name="class name" Foreground="0x00008FFF" Background="0x01000001" BoldFont="No"/>
<Item Name="compiler error" Foreground="0x00F39621" Background="0x01000001" BoldFont="No"/>
<Item Name="compiler warning" Foreground="0x0050AF4C" Background="0x01000001" BoldFont="No"/>
<Item Name="CurrentLineActiveFormat" Foreground="0x00F1EFEC" Background="0x00DCD8CF" BoldFont="No"/>
<Item Name="delegate name" Foreground="0x00008FFF" Background="0x01000001" BoldFont="No"/>
<Item Name="enum name" Foreground="0x001543D8" Background="0x01000001" BoldFont="No"/>
<Item Name="interface name" Foreground="0x00008FFF" Background="0x01000001" BoldFont="No"/>
<Item Name="Literal" Foreground="0x002828C6" Background="0x01000001" BoldFont="No"/>
<Item Name="MarkerFormatDefinition/HighlightedReference" Foreground="0x02000000" Background="0x00C9E6C8" BoldFont="No"/>
<Item Name="module name" Foreground="0x00008FFF" Background="0x01000001" BoldFont="No"/>
<Item Name="Number" Foreground="0x002828C6" Background="0x02000000" BoldFont="No"/>
<Item Name="other error" Foreground="0x00B0279C" Background="0x01000001" BoldFont="No"/>
<Item Name="outlining.collapsehintadornment" Foreground="0x00FAFAFA" Background="0x00FAFAFA" BoldFont="No"/>
<Item Name="outlining.square" Foreground="0x00757575" Background="0x00E2E2E2" BoldFont="No"/>
<Item Name="outlining.verticalrule" Foreground="0x00E0E0E0" Background="0x02000000" BoldFont="No"/>
<Item Name="OverviewMarginBackground" Foreground="0x01000000" Background="0x00F5F5F5" BoldFont="No"/>
<Item Name="OverviewMarginCaret" Foreground="0x008B7D60" Background="0x01000001" BoldFont="No"/>
<Item Name="OverviewMarginCollapsedRegion" Foreground="0x01000000" Background="0x009E9E9E" BoldFont="No"/>
<Item Name="OverviewMarginVisible" Foreground="0x00000000" Background="0x00FAFAFA" BoldFont="No"/>
<Item Name="preprocessor text" Foreground="0x008B7D60" Background="0x01000001" BoldFont="No"/>
<Item Name="punctuation" Foreground="0x008B7D60" Background="0x01000001" BoldFont="No"/>
<Item Name="string - verbatim" Foreground="0x00327D2E" Background="0x01000001" BoldFont="No"/>
<Item Name="struct name" Foreground="0x001543D8" Background="0x01000001" BoldFont="No"/>
<Item Name="syntax error" Foreground="0x003643F4" Background="0x01000001" BoldFont="No"/>
<Item Name="type parameter name" Foreground="0x00008FFF" Background="0x01000001" BoldFont="No"/>
<Item Name="Visible Whitespace" Foreground="0x00C4CB80" Background="0x01000001" BoldFont="No"/>
<Item Name="xml doc comment - text" Foreground="0x009AA626" Background="0x01000001" BoldFont="No"/>
<Item Name="xml doc comment - name" Foreground="0x009E9E9E" Background="0x01000001" BoldFont="No"/>
<Item Name="xml doc comment - delimiter" Foreground="0x00BDBDBD" Background="0x01000001" BoldFont="No"/>
<Item Name="xml doc comment - attribute value" Foreground="0x009AA626" Background="0x01000001" BoldFont="No"/>
<Item Name="xml doc comment - attribute quotes" Foreground="0x00BDBDBD" Background="0x01000001" BoldFont="No"/>
<Item Name="xml doc comment - attribute name" Foreground="0x009E9E9E" Background="0x01000001" BoldFont="No"/>

Do you like it? Hot or not

for
We're using the default font. Log in to change your preferred font


C# code

#region Studio Style
class Program : IThemeable
{
    static int _I = 1;
    delegate void DoSomething();

    /// <summary>
    /// The quick brown fox jumps over the lazy dog
    /// THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG
    /// </summary>
    static void Main(string[] args)
    {
        string normalStr = "The time now is approximately " + DateTime.Now;
        Uri Illegal1Uri = new Uri("http://packmyboxwith/jugs.html?q=five-dozen&t=liquor");
        Regex OperatorRegex = new Regex(@"\S#$", RegexOptions.IgnorePatternWhitespace);

        for (int O = 0; O < 123456789; O++)
        {
            _I += (O % 3) * ((O / 1) ^ 2) - 5;
            if (!OperatorRegex.IsMatch(Illegal1Uri.ToString()))
            {
                // no idea what this does!?
                Console.WriteLine(Illegal1Uri + normalStr);

            }
        }
    }
}
#endregion

Advanced highlighting

public class Highlighting {
    string inactiveSelection = "select this";
    string highlightedRef;

    Collapsed text

public void CollapsibleRegion() { string warning = "assigned but not used"; }
public void Features() { highlightedRef = "again";
var break = "breakpoint";
SyntaxError(); CompilerError(); #if UNDEFINED_SYMBOL object excludedCode = null; #endif break = "current statement"; // current line (active) // current line (inactive) } }

HTML / ASP.NET (with CSS and Javascript)

<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<List<Person>>" %>
<!DOCTYPE html>
<html>
<head>
    <title>Studio Style ASP.NET</title>
    <style type="text/css">
    .people {
        font-family: 'Arial Narrow';
        font-size: 100% !important; /* comment */
    }
    </style>
</head>
<body>
    <h1>A test page</h1>
    <!-- list of people -->
    <ul class="people">
    <% foreach(Person person in Model) { %>
        <li>
            <%: person.Name %> &gt; (<%: Html.ActionLink("edit", "Edit", new { id = 1 }) %>)
        </li>
    <% } %>
    </ul>

    <script type="text/javascript">
        // TODO: use jQuery instead
        window.onload = function() {
            for(var i = 0; i < 23; i++) {
                alert("Hello");
            }
        }
    </script>
</body>
</html>

Razor (ASP.NET view engine)

@model List<Person>

@{
    ViewBag.Title = "Razor";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<h1>Razor</h1>
<ul class="people">
@foreach(Person person in Model) {
    <li>
        @person.Name &gt; (@Html.ActionLink("edit", "Edit", new { id = 1 }))
    </li>
}
</ul>

C++

#pragma once
#include "Header.h" // Contains ISomeClass and includes <vector>, <list>
#define PREPROCESSOR_DEFINITION

namespace MyNamespace
{
void GlobalFunction() {}
bool GlobalVariable = true;
/// <summary>
/// The quick brown fox jumps over the lazy dog
/// THE QUICK BROWN FOX JUMPS OVER THE LAZY DOG
/// </summary>
class SomeClass    : public ISomeClass
{
public:
    enum SomeEnum
    {
        ENUM_0 = 0,
        ENUM_1 = 1
    };
    struct SomeData
    {
        int m_Integer;
        float m_Float;
    };

    SomeClass() { m_Data = new SomeData(); }
    ~SomeClass() { delete m_Data; m_Data = 0; }

    static int DoSomethingStatic( int _Arg0, float _Arg1 )
    {
        std::vector<float> Vec = std::vector<float>();
        
        float f = 0.0f;
        for (int i = 0; i < _Arg0; ++i)
        {
            if (i % 3 != 0)
            {
                f += _Arg1;
                Vec.push_back(f);
            }
        }
        return Vec.size;
    }

    template<class _T>
    int DoSomethingNonStatic() const;
private:
    SomeData* m_Data;
    static SomeData* m_StaticData;
};

}    // MyNamespace

XML

<?xml version="1.0" encoding="utf-8" ?>
<!-- this is an example XML file -->
<people xmlns:x="http://studiostyles.info">
  <person name="Jim Jones" ID="27">
    <email html="yes">jim@example.invalid</email>
    <address>
      <post>123 Example St, &#160;South Brisbane</post>
      <city>Brisbane</city>
    </address>
    <x:comments>
    <![CDATA[ See? Data. Don't worry about this <tag>. ]]>
    </x:comments>
  </person>
</people>

XAML

<Window x:Class="WpfApplication1.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="MainWindow" Height="100" Width="300">
    <Grid>
        <!-- A comment -->
        <StackPanel HorizontalAlignment="Left">
            <Button Click="Clicked">A button</Button>
            <StackPanel.Resources>
                <Style TargetType="{x:Type Button}">
                    <Setter
                         Property="Rectangle.Stroke"
                         Value="{DynamicResource {x:Static SystemColors.ControlBrush}}" />
                </Style>
            </StackPanel.Resources>
        </StackPanel>
        <x:Code>
            <![CDATA[
            void Clicked(object sender, RoutedEventArgs e) {
                ((Button)sender).Content = "Hello World";
            }
            ]]>
        </x:Code>
    </Grid>
</Window>