diff --git a/projects/ng-devtools/src/lib/devtools-tabs/devtools-tabs.component.scss b/projects/ng-devtools/src/lib/devtools-tabs/devtools-tabs.component.scss index 9972daf3797c2..beb739f283013 100644 --- a/projects/ng-devtools/src/lib/devtools-tabs/devtools-tabs.component.scss +++ b/projects/ng-devtools/src/lib/devtools-tabs/devtools-tabs.component.scss @@ -31,7 +31,7 @@ mat-tab-group { } #version-number { - color: #3f51b5; + color: #1b1aa5; cursor: text; -moz-user-select: text; -khtml-user-select: text; @@ -96,7 +96,7 @@ mat-tab-group { :host-context(.dark-theme) { #version-number { - color: #5CAACE; + color: #5caace; } } @@ -114,4 +114,4 @@ mat-tab-group { #app-angular-version { display: none; } -} \ No newline at end of file +} diff --git a/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/breadcrumbs/breadcrumbs.component.scss b/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/breadcrumbs/breadcrumbs.component.scss index 07432ade28b53..83bcdbb90bd85 100644 --- a/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/breadcrumbs/breadcrumbs.component.scss +++ b/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/breadcrumbs/breadcrumbs.component.scss @@ -13,20 +13,30 @@ .mat-stroked-button { height: 20px; line-height: 20px; - font-size: 0.8em; + font-size: 1em; margin-right: 5px; width: fit-content; + + &:hover { + background-color: #ebf1fb; + } } .mat-card.breadcrumb-card span { - color: #3f51b5; + color: #8a1882; } } :host-context(.dark-theme) { ::ng-deep { .mat-card.breadcrumb-card span { - color: #5CAACE; + color: #5caace; + } + + .mat-stroked-button { + &:hover { + background-color: #093e69; + } } } } diff --git a/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/directive-forest/directive-forest.component.scss b/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/directive-forest/directive-forest.component.scss index b2d8f2e42af5c..9ecad55526359 100644 --- a/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/directive-forest/directive-forest.component.scss +++ b/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/directive-forest/directive-forest.component.scss @@ -4,9 +4,8 @@ overflow: auto; .tree-node { - padding-top: 2px; - padding-bottom: 2px; position: relative; + color: #8a1882; cursor: default; font-family: Menlo, monospace; @@ -21,7 +20,7 @@ padding: 0; position: absolute; background-color: transparent; - top: 5px; + top: 2px; } .mat-icon { @@ -31,33 +30,32 @@ display: inline-block; } + .dir-names { + color: #9b4807; + } + + .console-reference { + color: #748591; + padding-left: 8px; + font-style: italic; + } + &:hover { - background-color: #cce7df; - color: rgba(0, 0, 0, 0.87); + background-color: #ebf1fb; cursor: pointer; } &.matched { - background-color: #d2e6e4; - color: rgba(0, 0, 0, 0.87); + background-color: #ebf1fb; &:hover { - background-color: #85CDC9; - } - - .dir-names, .console-reference { - opacity: 0.7; + background-color: #cfe8fc; } } &.selected, &.highlighted { - background-color: #4db6ac; - color: rgba(0, 0, 0, 0.87); - - .dir-names, .console-reference { - opacity: 1.0; - } + background-color: #cfe8fc; } } } @@ -67,7 +65,8 @@ background-color: transparent; } 50% { - background-color: #FECF4A; + background-color: #fecf4a; + color: #748591; } 100% { background-color: transparent; @@ -113,7 +112,7 @@ .angular-element { content: ''; - color: #3f51b5; + color: #1b1aa5; &::before { content: '<'; @@ -124,43 +123,34 @@ } } -.dir-names { - opacity: 0.7; -} - -.console-reference { - padding-left: 8px; - opacity: 0.7; - font-style: italic; -} - :host-context(.dark-theme) { - .tree-node, .tree-node .mat-icon { - color: #fff; + .tree-node, + .tree-node .mat-icon { + color: #5cadd3; + + .dir-names { + color: #91adcb; + } .angular-element { - color: #5CAACE; + color: #dc8c61; } - + &:hover { - background-color: #7b5681; + background-color: #262d36; } &.matched { - background-color: #61193f; + background-color: #093e69; &:hover { - background-color: #880e4f; + background-color: #073d69; } } &.selected, &.highlighted { - background-color: #ce93d8; - color: black; - .mat-icon { - color: black; - } + background-color: #073d69; } } } diff --git a/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-tab/property-tab-body/property-view/property-view-body/property-view-tree/property-editor/property-editor.component.scss b/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-tab/property-tab-body/property-view/property-view-body/property-view-tree/property-editor/property-editor.component.scss index 6c6e4e0529d1d..ec070ee61ebbe 100644 --- a/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-tab/property-tab-body/property-view/property-view-body/property-view-tree/property-editor/property-editor.component.scss +++ b/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-tab/property-tab-body/property-view/property-view-body/property-view-tree/property-editor/property-editor.component.scss @@ -1,3 +1,10 @@ .editor { cursor: text; + border: none; + width: fit-content; +} + +input { + border: none; + width: fit-content; } diff --git a/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-tab/property-tab-body/property-view/property-view-body/property-view-tree/property-view-tree.component.scss b/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-tab/property-tab-body/property-view/property-view-body/property-view-tree/property-view-tree.component.scss index 4cad66ef576a4..166ca7f100910 100644 --- a/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-tab/property-tab-body/property-view/property-view-body/property-view-tree/property-view-tree.component.scss +++ b/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-tab/property-tab-body/property-view/property-view-body/property-view-tree/property-view-tree.component.scss @@ -35,7 +35,7 @@ margin: 5px 5px 5px 15px; mat-tree-node { .name { - color: #880e4f; + color: #ce271e; font-weight: 500; } } diff --git a/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-tab/property-tab-body/property-view/property-view-header/property-view-header.component.html b/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-tab/property-tab-body/property-view/property-view-header/property-view-header.component.html index 3cbe4eca7c19c..aff2a226661f6 100644 --- a/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-tab/property-tab-body/property-view/property-view-header/property-view-header.component.html +++ b/projects/ng-devtools/src/lib/devtools-tabs/directive-explorer/property-tab/property-tab-body/property-view/property-view-header/property-view-header.component.html @@ -1 +1 @@ -Properties of {{ directive }} +Properties of {{ directive }} diff --git a/projects/ng-devtools/src/lib/devtools-tabs/profiler/recording/timeline/recording-visualizer/timeline-visualizer.component.html b/projects/ng-devtools/src/lib/devtools-tabs/profiler/recording/timeline/recording-visualizer/timeline-visualizer.component.html index f88db35548337..b09e8ef45cff1 100644 --- a/projects/ng-devtools/src/lib/devtools-tabs/profiler/recording/timeline/recording-visualizer/timeline-visualizer.component.html +++ b/projects/ng-devtools/src/lib/devtools-tabs/profiler/recording/timeline/recording-visualizer/timeline-visualizer.component.html @@ -18,7 +18,7 @@ - {{ selectedEntry.label }} details + {{ selectedEntry.label }} details
{{ selectedEntry.value | number }}ms diff --git a/projects/ng-devtools/src/lib/devtools-tabs/profiler/recording/timeline/timeline.component.html b/projects/ng-devtools/src/lib/devtools-tabs/profiler/recording/timeline/timeline.component.html index edbc6a29def6f..a8aff56c2a806 100644 --- a/projects/ng-devtools/src/lib/devtools-tabs/profiler/recording/timeline/timeline.component.html +++ b/projects/ng-devtools/src/lib/devtools-tabs/profiler/recording/timeline/timeline.component.html @@ -1,10 +1,8 @@ -

- There's no information to show. -

+

There's no information to show.

-
+
-

- Select a bar to preview a particular change detection cycle. -

+

Select a bar to preview a particular change detection cycle.

force size to 0. */ diff --git a/src/styles.scss b/src/styles.scss index 87ce2f8745cab..cada1ef6b6c08 100644 --- a/src/styles.scss +++ b/src/styles.scss @@ -10,7 +10,7 @@ body { } // Light theme -$light-primary: mat-palette($mat-grey, 700); +$light-primary: mat-palette($mat-grey, 700, 200); $light-accent: mat-palette($mat-teal, 300); $light-theme: mat-light-theme($light-primary, $light-accent);