Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit cc85d28

Browse files
srawlinscommit-bot@chromium.org
authored andcommitted
Migrator: Add preliminary styles to stack trace
Change-Id: Iac8fdccb18b5ba04b058236ac1ee9b60643f67cf Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/138924 Reviewed-by: Paul Berry <[email protected]> Commit-Queue: Samuel Rawlins <[email protected]>
1 parent 0def426 commit cc85d28

File tree

3 files changed

+3401
-3365
lines changed

3 files changed

+3401
-3365
lines changed

pkg/analysis_server/lib/src/edit/nnbd_migration/resources/migration.css

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -356,6 +356,31 @@ footer .wide {
356356
cursor: pointer;
357357
}
358358

359+
p.trace .type-description {
360+
/* From HLJS's .hljs-keyword, .hljs-selector-tag, .hljs-deletion */
361+
color: #cc7832;
362+
font-family: monospace;
363+
}
364+
365+
ul.trace {
366+
font-size: 13px;
367+
list-style-type: none;
368+
padding-left: 0px;
369+
}
370+
371+
ul.trace li {
372+
color: white;
373+
margin-left: 14px;
374+
text-indent: -14px;
375+
}
376+
377+
ul.trace li .function {
378+
/* From HLJS's .hljs-section, .hljs-title, .hljs-type */
379+
color: #ffc66d;
380+
font-family: monospace;
381+
font-weight: 600;
382+
}
383+
359384
.elevation-z4 {
360385
box-shadow: 0px 2px 4px -1px rgba(0, 0, 0, 0.2),
361386
0px 4px 5px 0px rgba(0, 0, 0, 0.14),

0 commit comments

Comments
 (0)