7
7
<div class =" summary__header" >
8
8
<div class =" summary__header__actions" >
9
9
<div class =" summary__header__info" >
10
- <NcIconSvgWrapper :size =" 20" :svg =" creationGradient " name =" creation" />
10
+ <NcIconSvgWrapper :size =" 20" :svg =" creation " name =" creation" />
11
11
<div class =" summary__header__text" >
12
12
<div class =" summary__header__title" >
13
13
{{ t('mail', 'Thread summary') }}
41
41
</template >
42
42
<script >
43
43
import ArrowDownIcon from ' vue-material-design-icons/ArrowDown.vue'
44
- import creationGradient from ' @mdi/svg/svg /creation-gradient.svg?raw'
44
+ import creation from ' ../../img /creation-gradient.svg?raw'
45
45
import NcButton from ' @nextcloud/vue/components/NcButton'
46
46
import NcIconSvgWrapper from ' @nextcloud/vue/components/NcIconSvgWrapper'
47
47
import LoadingSkeleton from ' ./LoadingSkeleton.vue'
@@ -66,7 +66,7 @@ export default {
66
66
},
67
67
data () {
68
68
return {
69
- creationGradient ,
69
+ creation ,
70
70
}
71
71
},
72
72
computed: {
@@ -164,5 +164,15 @@ export default {
164
164
color : var (--color-text-maxcontrast );
165
165
}
166
166
}
167
+ @media (prefers-color-scheme : dark ) {
168
+ body [data-theme-default ] .summary {
169
+ background : linear-gradient (#221D2B ) padding-box ,
170
+ linear-gradient (125deg , #0C3A65 50% , #6204A5 125% ) border-box ;
171
+ }
172
+ }
173
+ body [data-theme-dark ] .summary {
174
+ background : linear-gradient (#221D2B ) padding-box ,
175
+ linear-gradient (125deg , #0C3A65 50% , #6204A5 125% ) border-box ;
176
+ }
167
177
168
178
</style >
0 commit comments