1
0
mirror of https://github.com/catppuccin/misskey synced 2024-11-23 14:46:09 +09:00
catppuccin-misskey/misskey.tera

106 lines
3.4 KiB
Plaintext
Raw Permalink Normal View History

2024-05-15 06:22:11 +09:00
---
whiskers:
2024-05-28 03:35:28 +09:00
version: "2.3.0"
2024-05-15 06:22:11 +09:00
matrix:
2024-05-28 04:03:55 +09:00
- accent
- flavor
2024-05-28 21:40:04 +09:00
filename: "themes/{{ flavor.identifier }}/catppuccin-{{ flavor.identifier }}-{{ accent }}.json5"
2024-05-15 06:22:11 +09:00
---
{%- set palette = flavor.colors -%}
{
id: '{{ read_file(path="uuids.txt") | split(pat="\n") | nth(n=flavor.order * 14 + palette[accent].order) }}',
base: '{% if flavor.dark %}dark{% else %}light{% endif %}',
name: 'Catppuccin {{ flavor.name }} {{ accent | capitalize }}',
props: {
X2: ':darken<2<@panel',
X3: 'rgba(255, 255, 255, 0.05)',
X4: 'rgba(255, 255, 255, 0.1)',
X5: 'rgba(255, 255, 255, 0.05)',
X6: 'rgba(255, 255, 255, 0.15)',
X7: 'rgba(255, 255, 255, 0.05)',
X8: ':lighten<5<@accent',
X9: ':darken<5<@accent',
bg: '#{{ crust.hex }}',
fg: '#{{ text.hex }}',
X10: ':alpha<0.4<@accent',
X11: 'rgba(0, 0, 0, 0.3)',
X12: 'rgba(255, 255, 255, 0.1)',
X13: 'rgba(255, 255, 255, 0.15)',
X14: ':alpha<0.5<@navBg',
X15: ':alpha<0<@panel',
X16: ':alpha<0.7<@panel',
X17: ':alpha<0.8<@bg',
cwBg: '#{{ surface1.hex }}',
cwFg: '#{{ subtext1.hex }}',
link: '#{{ blue.hex }}',
warn: '#{{ peach.hex }}',
badge: '#{{ blue.hex }}',
error: '#{{ red.hex }}',
focus: ':alpha<0.3<@accent',
navBg: '@panel',
navFg: '@fg',
panel: ':lighten<3<@bg',
popup: ':lighten<3<@panel',
accent: '#{{ palette[accent].hex }}',
header: ':alpha<0.7<@panel',
infoBg: '#{{ surface0.hex }}',
infoFg: '#{{ subtext0.hex }}',
renote: '#{{ blue.hex }}',
shadow: 'rgba(0, 0, 0, 0.3)',
divider: 'rgba(255, 255, 255, 0.1)',
hashtag: '#{{ sapphire.hex }}',
mention: '@accent',
modalBg: 'rgba(0, 0, 0, 0.5)',
success: '#{{ green.hex }}',
buttonBg: 'rgba(255, 255, 255, 0.05)',
switchBg: 'rgba(255, 255, 255, 0.15)',
acrylicBg: ':alpha<0.5<@bg',
cwHoverBg: '#{{ surface2.hex }}',
indicator: '@accent',
mentionMe: '@mention',
messageBg: '@bg',
navActive: '@accent',
accentedBg: ':alpha<0.15<@accent',
codeNumber: '#{{ green.hex }}',
codeString: '#{{ peach.hex }}',
fgOnAccent: '#{{ base.hex }}',
infoWarnBg: '#{{ surface0.hex }}',
infoWarnFg: '#{{ subtext1.hex }}',
navHoverFg: ':lighten<17<@fg',
switchOnBg: '@accentedBg',
switchOnFg: '@accent',
codeBoolean: '@accent',
dateLabelFg: '@fg',
deckDivider: '#{{ overlay0.hex }}',
inputBorder: 'rgba(255, 255, 255, 0.1)',
panelBorder: 'solid 1px var(--divider)',
switchOffBg: 'rgba(255, 255, 255, 0.1)',
switchOffFg: '@fg',
accentDarken: ':darken<10<@accent',
acrylicPanel: ':alpha<0.5<@panel',
navIndicator: '@indicator',
windowHeader: ':alpha<0.85<@panel',
accentLighten: ':lighten<10<@accent',
buttonHoverBg: 'rgba(255, 255, 255, 0.1)',
driveFolderBg: ':alpha<0.3<@accent',
fgHighlighted: ':lighten<3<@fg',
fgTransparent: ':alpha<0.5<@fg',
panelHeaderBg: ':lighten<3<@panel',
panelHeaderFg: '@fg',
buttonGradateA: '@accent',
buttonGradateB: ':hue<20<@accent',
htmlThemeColor: '@bg',
panelHighlight: ':lighten<3<@panel',
listItemHoverBg: 'rgba(255, 255, 255, 0.03)',
scrollbarHandle: 'rgba(255, 255, 255, 0.2)',
inputBorderHover: 'rgba(255, 255, 255, 0.2)',
wallpaperOverlay: 'rgba(0, 0, 0, 0.5)',
fgTransparentWeak: ':alpha<0.75<@fg',
panelHeaderDivider: 'rgba(0, 0, 0, 0)',
scrollbarHandleHover: 'rgba(255, 255, 255, 0.4)',
},
author: 'Catppuccin'
}