mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-12-02 14:27:39 +01:00
[Client] Improve theming 🎨
This commit is contained in:
parent
84f1ce866b
commit
5692ae59a1
10 changed files with 15 additions and 9 deletions
|
@ -207,7 +207,7 @@ export default Vue.extend({
|
||||||
top -4px
|
top -4px
|
||||||
right 4px
|
right 4px
|
||||||
font-size 10px
|
font-size 10px
|
||||||
color var(--primary)
|
color var(--notificationIndicator)
|
||||||
|
|
||||||
&:hover
|
&:hover
|
||||||
color var(--faceTextButtonHover)
|
color var(--faceTextButtonHover)
|
||||||
|
|
|
@ -147,7 +147,7 @@ export default Vue.extend({
|
||||||
> [data-icon]:last-child
|
> [data-icon]:last-child
|
||||||
margin-left 5px
|
margin-left 5px
|
||||||
font-size 10px
|
font-size 10px
|
||||||
color var(--primary)
|
color var(--notificationIndicator)
|
||||||
|
|
||||||
@media (max-width 1100px)
|
@media (max-width 1100px)
|
||||||
margin-left -5px
|
margin-left -5px
|
||||||
|
|
|
@ -90,7 +90,7 @@ export default Vue.extend({
|
||||||
margin-left -5px
|
margin-left -5px
|
||||||
vertical-align super
|
vertical-align super
|
||||||
font-size 10px
|
font-size 10px
|
||||||
color var(--primary)
|
color var(--notificationIndicator)
|
||||||
|
|
||||||
> .pop
|
> .pop
|
||||||
$bgcolor = var(--face)
|
$bgcolor = var(--face)
|
||||||
|
|
|
@ -159,7 +159,7 @@ export default Vue.extend({
|
||||||
left 8px
|
left 8px
|
||||||
pointer-events none
|
pointer-events none
|
||||||
font-size 10px
|
font-size 10px
|
||||||
color var(--primary)
|
color var(--notificationIndicator)
|
||||||
|
|
||||||
> button:last-child
|
> button:last-child
|
||||||
display block
|
display block
|
||||||
|
|
|
@ -238,7 +238,7 @@ export default Vue.extend({
|
||||||
> i.circle
|
> i.circle
|
||||||
margin-left 6px
|
margin-left 6px
|
||||||
font-size 10px
|
font-size 10px
|
||||||
color var(--primary)
|
color var(--notificationIndicator)
|
||||||
|
|
||||||
> i:last-child
|
> i:last-child
|
||||||
position absolute
|
position absolute
|
||||||
|
|
|
@ -225,7 +225,7 @@ main
|
||||||
> .badge
|
> .badge
|
||||||
margin-left 6px
|
margin-left 6px
|
||||||
font-size 10px
|
font-size 10px
|
||||||
color var(--primary)
|
color var(--notificationIndicator)
|
||||||
|
|
||||||
> .tl
|
> .tl
|
||||||
max-width 680px
|
max-width 680px
|
||||||
|
@ -248,7 +248,7 @@ main
|
||||||
.badge
|
.badge
|
||||||
margin-left 6px
|
margin-left 6px
|
||||||
font-size 10px
|
font-size 10px
|
||||||
color var(--primary)
|
color var(--notificationIndicator)
|
||||||
vertical-align middle
|
vertical-align middle
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -24,6 +24,8 @@
|
||||||
scrollbarHandle: ':lighten<5<$secondary',
|
scrollbarHandle: ':lighten<5<$secondary',
|
||||||
scrollbarHandleHover: ':lighten<10<$secondary',
|
scrollbarHandleHover: ':lighten<10<$secondary',
|
||||||
|
|
||||||
|
notificationIndicator: '$primary',
|
||||||
|
|
||||||
face: '$secondary',
|
face: '$secondary',
|
||||||
faceText: '#fff',
|
faceText: '#fff',
|
||||||
faceHeader: ':lighten<5<$secondary',
|
faceHeader: ':lighten<5<$secondary',
|
||||||
|
|
|
@ -20,6 +20,7 @@
|
||||||
mfmMentionForeground: '#fff',
|
mfmMentionForeground: '#fff',
|
||||||
mfmUrl: 'rgb(69, 133, 136)',
|
mfmUrl: 'rgb(69, 133, 136)',
|
||||||
mfmLink: 'rgb(104, 157, 106)',
|
mfmLink: 'rgb(104, 157, 106)',
|
||||||
mfmHashtag: 'rgb(251, 73, 52)'
|
mfmHashtag: 'rgb(251, 73, 52)',
|
||||||
|
notificationIndicator: 'rgb(184, 187, 38)',
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
@ -24,6 +24,8 @@
|
||||||
scrollbarHandle: '#00000033',
|
scrollbarHandle: '#00000033',
|
||||||
scrollbarHandleHover: '#00000066',
|
scrollbarHandleHover: '#00000066',
|
||||||
|
|
||||||
|
notificationIndicator: '$primary',
|
||||||
|
|
||||||
face: '$secondary',
|
face: '$secondary',
|
||||||
faceText: '$text',
|
faceText: '$text',
|
||||||
faceHeader: ':lighten<5<$secondary',
|
faceHeader: ':lighten<5<$secondary',
|
||||||
|
|
|
@ -20,6 +20,7 @@
|
||||||
mfmMentionForeground: '#fff',
|
mfmMentionForeground: '#fff',
|
||||||
mfmUrl: '#66d9ef',
|
mfmUrl: '#66d9ef',
|
||||||
mfmLink: '#e6db74',
|
mfmLink: '#e6db74',
|
||||||
mfmHashtag: '#fd971f'
|
mfmHashtag: '#fd971f',
|
||||||
|
notificationIndicator: '#66d9ef',
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue