mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-11-16 17:58:16 +00:00
Merge #1546
1546: prettier colors r=matklad a=matklad Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
This commit is contained in:
commit
092936f20a
3 changed files with 21 additions and 18 deletions
|
@ -9,14 +9,15 @@ pre { color: #DCDCCC; background: #3F3F3F; font-size: 22px; padd
|
||||||
.parameter { color: #94BFF3; }
|
.parameter { color: #94BFF3; }
|
||||||
.builtin { color: #DD6718; }
|
.builtin { color: #DD6718; }
|
||||||
.text { color: #DCDCCC; }
|
.text { color: #DCDCCC; }
|
||||||
.attribute { color: #BFEBBF; }
|
.attribute { color: #94BFF3; }
|
||||||
.literal { color: #DFAF8F; }
|
.literal { color: #BFEBBF; }
|
||||||
.macro { color: #DFAF8F; }
|
.macro { color: #94BFF3; }
|
||||||
.variable\.mut { color: #DFAF8F; }
|
.variable { color: #DCDCCC; }
|
||||||
|
.variable\.mut { color: #DCDCCC; text-decoration: underline; }
|
||||||
|
|
||||||
.keyword { color: #F0DFAF; }
|
.keyword { color: #F0DFAF; }
|
||||||
.keyword\.unsafe { color: #F0DFAF; font-weight: bold; }
|
.keyword\.unsafe { color: #DFAF8F; }
|
||||||
.keyword\.control { color: #DC8CC3; }
|
.keyword\.control { color: #F0DFAF; font-weight: bold; }
|
||||||
</style>
|
</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>
|
<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> {
|
<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; }
|
.parameter { color: #94BFF3; }
|
||||||
.builtin { color: #DD6718; }
|
.builtin { color: #DD6718; }
|
||||||
.text { color: #DCDCCC; }
|
.text { color: #DCDCCC; }
|
||||||
.attribute { color: #BFEBBF; }
|
.attribute { color: #94BFF3; }
|
||||||
.literal { color: #DFAF8F; }
|
.literal { color: #BFEBBF; }
|
||||||
.macro { color: #DFAF8F; }
|
.macro { color: #94BFF3; }
|
||||||
.variable\.mut { color: #DFAF8F; }
|
.variable { color: #DCDCCC; }
|
||||||
|
.variable\.mut { color: #DCDCCC; text-decoration: underline; }
|
||||||
|
|
||||||
.keyword { color: #F0DFAF; }
|
.keyword { color: #F0DFAF; }
|
||||||
.keyword\.unsafe { color: #F0DFAF; font-weight: bold; }
|
.keyword\.unsafe { color: #DFAF8F; }
|
||||||
.keyword\.control { color: #DC8CC3; }
|
.keyword\.control { color: #F0DFAF; font-weight: bold; }
|
||||||
</style>
|
</style>
|
||||||
<pre><code><span class="keyword">fn</span> <span class="function">main</span>() {
|
<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>;
|
<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; }
|
.parameter { color: #94BFF3; }
|
||||||
.builtin { color: #DD6718; }
|
.builtin { color: #DD6718; }
|
||||||
.text { color: #DCDCCC; }
|
.text { color: #DCDCCC; }
|
||||||
.attribute { color: #BFEBBF; }
|
.attribute { color: #94BFF3; }
|
||||||
.literal { color: #DFAF8F; }
|
.literal { color: #BFEBBF; }
|
||||||
.macro { color: #DFAF8F; }
|
.macro { color: #94BFF3; }
|
||||||
.variable\\.mut { color: #DFAF8F; }
|
.variable { color: #DCDCCC; }
|
||||||
|
.variable\\.mut { color: #DCDCCC; text-decoration: underline; }
|
||||||
|
|
||||||
.keyword { color: #F0DFAF; }
|
.keyword { color: #F0DFAF; }
|
||||||
.keyword\\.unsafe { color: #F0DFAF; font-weight: bold; }
|
.keyword\\.unsafe { color: #DFAF8F; }
|
||||||
.keyword\\.control { color: #DC8CC3; }
|
.keyword\\.control { color: #F0DFAF; font-weight: bold; }
|
||||||
</style>
|
</style>
|
||||||
";
|
";
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue