v1.0.4: 테마 경고 수정과 기본 다크모드 적용

Made-with: Cursor
This commit is contained in:
2026-04-27 18:09:10 +09:00
parent 319f30d6c5
commit a4cb6e4618
12 changed files with 36 additions and 17 deletions

View File

@@ -1,14 +1,14 @@
{{#if recommendations}}
<ul class="flex flex-col gap-1 rounded-theme overflow-hidden" data-recommendations="">
{{#each recommendations as |rec|}}
{{#foreach recommendations}}
<li>
<a class="py-1 text-[0.8rem] leading-tight flex items-center gap-2 hover:opacity-75" href="{{rec.url}}" data-recommendation="{{rec.id}}" target="_blank" rel="noopener">
{{#if rec.favicon}}
<img class="w-[18px] h-[18px] rounded-[8px] aspect-square object-cover" src="{{rec.favicon}}" alt="" loading="lazy" onerror="this.style.display='none'">
<a class="py-1 text-[0.8rem] leading-tight flex items-center gap-2 hover:opacity-75" href="{{url}}" data-recommendation="{{id}}" target="_blank" rel="noopener">
{{#if favicon}}
<img class="w-[18px] h-[18px] rounded-[8px] aspect-square object-cover" src="{{favicon}}" alt="" loading="lazy" onerror="this.style.display='none'">
{{/if}}
<h3 class="font-medium line-clamp-1 text-ellipsis overflow-hidden" title="{{rec.title}}">{{rec.title}}</h3>
<h3 class="font-medium line-clamp-1 text-ellipsis overflow-hidden" title="{{title}}">{{title}}</h3>
</a>
</li>
{{/each}}
{{/foreach}}
</ul>
{{/if}}

View File

@@ -83,7 +83,7 @@
</button>
<div class="sidebar-card__content sidebar-card__content--categories" x-cloak x-show="categoriesOpen">
<ul class="category-grid grid sm:grid-cols-2 gap-x-2 gap-0.5 mt-1 text-typ-tone font-medium text-[0.8rem] -mb-1.5" data-category-priority-list
data-category-priority-order="tech,business,health,science,design,travel,gaming,music,diy,photography,books"
data-category-priority-order="project, dev, tech, note, study, tools, review, lab, play, life"
data-category-priority-limit="10">
{{#get "tags" limit="100" include="count.posts" order="count.posts desc"}}
{{#foreach tags}}

View File

@@ -18,11 +18,11 @@
{{#is "post"}}
{{#post}}
{{#primary_author}}
<section class="px-4 sm:px-5 py-4 sm:py-5 xl:pr-1 flex flex-col gap-1.5 border-b border-brd">
<a class="flex gap-2 hover:opacity-80" href="{{url}}">{{#if profile_image}}
<img class="object-cover size-10 sm:size-12 aspect-square" src="{{img_url profile_image size="s" absolute="true"}}" alt="{{name}}">
<section class="px-4 sm:px-5 py-4 sm:py-5 xl:pr-1 flex flex-col gap-2.5 border-b border-brd">
<a class="flex items-start gap-2 hover:opacity-80" href="{{url}}">{{#if profile_image}}
<img class="w-12 h-12 min-h-12 shrink-0 aspect-square rounded-full object-cover" src="{{img_url profile_image absolute="true"}}" alt="{{name}}">
{{else}}
<div class="object-cover size-10 sm:size-12 aspect-square avatar--fallback">A</div>
<div class="w-12 h-12 min-h-12 shrink-0 aspect-square rounded-full avatar--fallback">A</div>
{{/if}}
<div class="flex-1 flex flex-col gap-1">
<h3 class="text-sm font-medium leading-tight flex items-center justify-between gap-1">{{name}}</h3>

View File

@@ -163,7 +163,7 @@
<span data-search-item data-search-type="tag" data-search-title="{{name}}" data-search-url="{{url}}"></span>
{{/foreach}}
{{/get}}
{{#get "posts" limit="150"}}
{{#get "posts" limit="100"}}
{{#foreach posts}}
<span data-search-item data-search-type="post" data-search-title="{{title}}" data-search-url="{{url}}" data-search-excerpt="{{excerpt words='24'}}"></span>
{{/foreach}}