mirror of
https://github.com/paricafe/misskey.git
synced 2024-11-30 23:26:44 -06:00
themes and settings
This commit is contained in:
parent
5dfdc6b318
commit
163a6fac00
3 changed files with 13 additions and 11 deletions
|
@ -256,11 +256,13 @@ export const defaultStore = markRaw(new Storage('base', {
|
||||||
},
|
},
|
||||||
useBlurEffectForModal: {
|
useBlurEffectForModal: {
|
||||||
where: 'device',
|
where: 'device',
|
||||||
default: !/mobile|iphone|android/.test(navigator.userAgent.toLowerCase()), // 循環参照するのでdevice-kind.tsは参照できない
|
default: true,
|
||||||
|
//default: !/mobile|iphone|android/.test(navigator.userAgent.toLowerCase()), // 循環参照するのでdevice-kind.tsは参照できない
|
||||||
},
|
},
|
||||||
useBlurEffect: {
|
useBlurEffect: {
|
||||||
where: 'device',
|
where: 'device',
|
||||||
default: !/mobile|iphone|android/.test(navigator.userAgent.toLowerCase()), // 循環参照するのでdevice-kind.tsは参照できない
|
default: true,
|
||||||
|
//default: !/mobile|iphone|android/.test(navigator.userAgent.toLowerCase()), // 循環参照するのでdevice-kind.tsは参照できない
|
||||||
},
|
},
|
||||||
showFixedPostForm: {
|
showFixedPostForm: {
|
||||||
where: 'device',
|
where: 'device',
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
X7: 'rgba(255, 255, 255, 0.05)',
|
X7: 'rgba(255, 255, 255, 0.05)',
|
||||||
X8: ':lighten<5<@accent',
|
X8: ':lighten<5<@accent',
|
||||||
X9: ':darken<5<@accent',
|
X9: ':darken<5<@accent',
|
||||||
bg: '#191724',
|
bg: ':alpha<0.8<#191724',
|
||||||
fg: '#e0def4',
|
fg: '#e0def4',
|
||||||
X10: ':alpha<0.4<@accent',
|
X10: ':alpha<0.4<@accent',
|
||||||
X11: 'rgba(0, 0, 0, 0.3)',
|
X11: 'rgba(0, 0, 0, 0.3)',
|
||||||
|
@ -28,19 +28,19 @@
|
||||||
warn: '#f6c177',
|
warn: '#f6c177',
|
||||||
badge: '#ebbcba',
|
badge: '#ebbcba',
|
||||||
error: '#eb6f92',
|
error: '#eb6f92',
|
||||||
focus: ':alpha<0.3<@accent',
|
focus: ':alpha<0.5<@accent',
|
||||||
navBg: '@panel',
|
navBg: '@panel',
|
||||||
navFg: '@fg',
|
navFg: '@fg',
|
||||||
panel: ':lighten<3<@bg',
|
panel: ':lighten<6<@bg',
|
||||||
popup: ':lighten<3<@panel',
|
popup: ':lighten<3<@panel',
|
||||||
accent: '#c4a7e7',
|
accent: '#c4a7e7',
|
||||||
header: ':alpha<0.7<@panel',
|
header: '@panel',
|
||||||
infoBg: '#253142',
|
infoBg: '#253142',
|
||||||
infoFg: '#fff',
|
infoFg: '#fff',
|
||||||
renote: '#229e82',
|
renote: '#5d80f5',
|
||||||
shadow: 'rgba(0, 0, 0, 0.3)',
|
shadow: 'rgba(0, 0, 0, 0.3)',
|
||||||
divider: 'rgba(255, 255, 255, 0.1)',
|
divider: 'rgba(255, 255, 255, 0.1)',
|
||||||
hashtag: '#ff9156',
|
hashtag: '#f1b1fa',
|
||||||
mention: '@accent',
|
mention: '@accent',
|
||||||
modalBg: 'rgba(0, 0, 0, 0.5)',
|
modalBg: 'rgba(0, 0, 0, 0.5)',
|
||||||
success: '#ebbcba',
|
success: '#ebbcba',
|
||||||
|
@ -50,7 +50,7 @@
|
||||||
cwHoverBg: '#26233a',
|
cwHoverBg: '#26233a',
|
||||||
indicator: '@accent',
|
indicator: '@accent',
|
||||||
mentionMe: '@mention',
|
mentionMe: '@mention',
|
||||||
messageBg: '@bg',
|
messageBg: ':alpha<0.6<@bg',
|
||||||
navActive: '@accent',
|
navActive: '@accent',
|
||||||
accentedBg: ':alpha<0.15<@accent',
|
accentedBg: ':alpha<0.15<@accent',
|
||||||
fgOnAccent: '#e0def4',
|
fgOnAccent: '#e0def4',
|
||||||
|
@ -71,7 +71,7 @@
|
||||||
panelHeaderBg: ':lighten<3<@panel',
|
panelHeaderBg: ':lighten<3<@panel',
|
||||||
panelHeaderFg: '@fg',
|
panelHeaderFg: '@fg',
|
||||||
buttonGradateA: '@accent',
|
buttonGradateA: '@accent',
|
||||||
buttonGradateB: ':hue<20<@accent',
|
buttonGradateB: ':hue<25<@accent',
|
||||||
htmlThemeColor: '@bg',
|
htmlThemeColor: '@bg',
|
||||||
panelHighlight: ':lighten<3<@panel',
|
panelHighlight: ':lighten<3<@panel',
|
||||||
listItemHoverBg: 'rgba(255, 255, 255, 0.03)',
|
listItemHoverBg: 'rgba(255, 255, 255, 0.03)',
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
X7: 'rgba(255, 255, 255, 0.05)',
|
X7: 'rgba(255, 255, 255, 0.05)',
|
||||||
X8: ':lighten<5<@accent',
|
X8: ':lighten<5<@accent',
|
||||||
X9: ':darken<5<@accent',
|
X9: ':darken<5<@accent',
|
||||||
bg: '#FFF9FB',
|
bg: ':alpha<0.9<#FFF9FB',
|
||||||
fg: '#7f6666',
|
fg: '#7f6666',
|
||||||
X10: ':alpha<0.4<@accent',
|
X10: ':alpha<0.4<@accent',
|
||||||
X11: 'rgba(0, 0, 0, 0.3)',
|
X11: 'rgba(0, 0, 0, 0.3)',
|
||||||
|
|
Loading…
Reference in a new issue