mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-12 08:36:03 +00:00
prettier colors
This commit is contained in:
parent
8a6d270ecc
commit
2c4c233ba8
@ -9,14 +9,15 @@ pre { color: #DCDCCC; background: #3F3F3F; font-size: 22px; padd
|
||||
.parameter { color: #94BFF3; }
|
||||
.builtin { color: #DD6718; }
|
||||
.text { color: #DCDCCC; }
|
||||
.attribute { color: #BFEBBF; }
|
||||
.literal { color: #DFAF8F; }
|
||||
.macro { color: #DFAF8F; }
|
||||
.variable\.mut { color: #DFAF8F; }
|
||||
.attribute { color: #94BFF3; }
|
||||
.literal { color: #BFEBBF; }
|
||||
.macro { color: #94BFF3; }
|
||||
.variable { color: #DCDCCC; }
|
||||
.variable\.mut { color: #DCDCCC; text-decoration: underline; }
|
||||
|
||||
.keyword { color: #F0DFAF; }
|
||||
.keyword\.unsafe { color: #F0DFAF; font-weight: bold; }
|
||||
.keyword\.control { color: #DC8CC3; }
|
||||
.keyword\.unsafe { color: #DFAF8F; }
|
||||
.keyword\.control { color: #F0DFAF; font-weight: bold; }
|
||||
</style>
|
||||
<pre><code><span class="attribute">#</span><span class="attribute">[</span><span class="attribute">derive</span><span class="attribute">(</span><span class="attribute">Clone</span><span class="attribute">,</span><span class="attribute"> </span><span class="attribute">Debug</span><span class="attribute">)</span><span class="attribute">]</span>
|
||||
<span class="keyword">struct</span> <span class="type">Foo</span> {
|
||||
|
@ -9,14 +9,15 @@ pre { color: #DCDCCC; background: #3F3F3F; font-size: 22px; padd
|
||||
.parameter { color: #94BFF3; }
|
||||
.builtin { color: #DD6718; }
|
||||
.text { color: #DCDCCC; }
|
||||
.attribute { color: #BFEBBF; }
|
||||
.literal { color: #DFAF8F; }
|
||||
.macro { color: #DFAF8F; }
|
||||
.variable\.mut { color: #DFAF8F; }
|
||||
.attribute { color: #94BFF3; }
|
||||
.literal { color: #BFEBBF; }
|
||||
.macro { color: #94BFF3; }
|
||||
.variable { color: #DCDCCC; }
|
||||
.variable\.mut { color: #DCDCCC; text-decoration: underline; }
|
||||
|
||||
.keyword { color: #F0DFAF; }
|
||||
.keyword\.unsafe { color: #F0DFAF; font-weight: bold; }
|
||||
.keyword\.control { color: #DC8CC3; }
|
||||
.keyword\.unsafe { color: #DFAF8F; }
|
||||
.keyword\.control { color: #F0DFAF; font-weight: bold; }
|
||||
</style>
|
||||
<pre><code><span class="keyword">fn</span> <span class="function">main</span>() {
|
||||
<span class="keyword">let</span> <span class="variable" data-binding-hash="3888301305669440875" style="color: hsl(242,59%,59%);">hello</span> = <span class="string">"hello"</span>;
|
||||
|
@ -283,14 +283,15 @@ pre { color: #DCDCCC; background: #3F3F3F; font-size: 22px; padd
|
||||
.parameter { color: #94BFF3; }
|
||||
.builtin { color: #DD6718; }
|
||||
.text { color: #DCDCCC; }
|
||||
.attribute { color: #BFEBBF; }
|
||||
.literal { color: #DFAF8F; }
|
||||
.macro { color: #DFAF8F; }
|
||||
.variable\\.mut { color: #DFAF8F; }
|
||||
.attribute { color: #94BFF3; }
|
||||
.literal { color: #BFEBBF; }
|
||||
.macro { color: #94BFF3; }
|
||||
.variable { color: #DCDCCC; }
|
||||
.variable\\.mut { color: #DCDCCC; text-decoration: underline; }
|
||||
|
||||
.keyword { color: #F0DFAF; }
|
||||
.keyword\\.unsafe { color: #F0DFAF; font-weight: bold; }
|
||||
.keyword\\.control { color: #DC8CC3; }
|
||||
.keyword\\.unsafe { color: #DFAF8F; }
|
||||
.keyword\\.control { color: #F0DFAF; font-weight: bold; }
|
||||
</style>
|
||||
";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user