1
0
mirror of https://github.com/catppuccin/misskey synced 2024-11-30 15:58:07 +09:00

refactor: minimal diff!!!

This commit is contained in:
uncenter 2024-05-27 15:08:31 -04:00
parent d2e1b2edd6
commit 4e606f1f5c
No known key found for this signature in database
2 changed files with 5 additions and 5 deletions

View File

@ -9,4 +9,4 @@ whiskers:
{%- 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: '#{{ palette.crust.hex }}', fg: '#{{ palette.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: '#{{ palette.surface1.hex }}', cwFg: '#{{ palette.subtext1.hex }}', link: '#{{ palette.blue.hex }}', warn: '#{{ palette.peach.hex }}', badge: '#{{ palette.blue.hex }}', error: '#{{ palette.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: '#{{ palette.surface0.hex }}', infoFg: '#{{ palette.subtext0.hex }}', renote: '#{{ palette.blue.hex }}', shadow: 'rgba(0, 0, 0, 0.3)', divider: 'rgba(255, 255, 255, 0.1)', hashtag: '#{{ palette.sapphire.hex }}', mention: '@accent', modalBg: 'rgba(0, 0, 0, 0.5)', success: '#{{ palette.green.hex }}', buttonBg: 'rgba(255, 255, 255, 0.05)', switchBg: 'rgba(255, 255, 255, 0.15)', acrylicBg: ':alpha<0.5<@bg', cwHoverBg: '#{{ palette.surface2.hex }}', indicator: '@accent', mentionMe: '@mention', messageBg: '@bg', navActive: '@accent', accentedBg: ':alpha<0.15<@accent', codeNumber: '#{{ palette.green.hex }}', codeString: '#{{ palette.peach.hex }}', fgOnAccent: '#{{ palette.base.hex }}', infoWarnBg: '#{{ palette.surface0.hex }}', infoWarnFg: '#{{ palette.subtext1.hex }}', navHoverFg: ':lighten<17<@fg', switchOnBg: '@accentedBg', switchOnFg: '@accent', codeBoolean: '@accent', dateLabelFg: '@fg', deckDivider: '#{{ palette.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',}
{ 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.identifier }} {{ accent }}', 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: '#{{ palette.crust.hex }}', fg: '#{{ palette.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: '#{{ palette.surface1.hex }}', cwFg: '#{{ palette.subtext1.hex }}', link: '#{{ palette.blue.hex }}', warn: '#{{ palette.peach.hex }}', badge: '#{{ palette.blue.hex }}', error: '#{{ palette.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: '#{{ palette.surface0.hex }}', infoFg: '#{{ palette.subtext0.hex }}', renote: '#{{ palette.blue.hex }}', shadow: 'rgba(0, 0, 0, 0.3)', divider: 'rgba(255, 255, 255, 0.1)', hashtag: '#{{ palette.sapphire.hex }}', mention: '@accent', modalBg: 'rgba(0, 0, 0, 0.5)', success: '#{{ palette.green.hex }}', buttonBg: 'rgba(255, 255, 255, 0.05)', switchBg: 'rgba(255, 255, 255, 0.15)', acrylicBg: ':alpha<0.5<@bg', cwHoverBg: '#{{ palette.surface2.hex }}', indicator: '@accent', mentionMe: '@mention', messageBg: '@bg', navActive: '@accent', accentedBg: ':alpha<0.15<@accent', codeNumber: '#{{ palette.green.hex }}', codeString: '#{{ palette.peach.hex }}', fgOnAccent: '#{{ palette.base.hex }}', infoWarnBg: '#{{ palette.surface0.hex }}', infoWarnFg: '#{{ palette.subtext1.hex }}', navHoverFg: ':lighten<17<@fg', switchOnBg: '@accentedBg', switchOnFg: '@accent', codeBoolean: '@accent', dateLabelFg: '@fg', deckDivider: '#{{ palette.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: 'somebody ¯\_(ツ)_/¯',}

View File

@ -50,7 +50,7 @@ a05d4ae9-d3ae-4973-8796-e4fa4a2187e3
d5645807-5b68-4543-b747-f382c78350ec
11bb1ab5-b7b9-4060-b0fe-5083e767e87d
72156ad8-b965-461c-bada-ef89823b3336
7930bd84-3d9f-4603-8ab2-8a6f3849aef7
fc3b8b09-7f73-40cd-84f0-7438e3b06188
4ccfbe22-290d-4620-97f1-f8fe2accec89
2832ab96-5455-42eb-9ef2-db5ab2789acb
306cd9fb-d7ea-46e5-b191-827ad499e5d8
1ff4082f-2a45-4668-ae5e-dbcf61d2f244
f39f6217-a594-4dbd-9b0e-b001a0da383b
f69c50ff-837c-48f5-803b-c94efaea433f