feat: add new first screen design #7

Merged
reya merged 7 commits from feat/first-screen into master 2026-08-30 13:31:37 +00:00
Showing only changes of commit ffe74594b4 - Show all commits
+3 -3
View File
@@ -23,7 +23,7 @@ use super::RepoDetailView;
use crate::image_cache::{MAX_IMAGES, image_cache};
const COLUMNS: usize = 2;
const CARD_HEIGHT: f32 = 32. + 64. + 48. + 2. + 6.;
const CARD_HEIGHT: f32 = 40. + 64. + 48. + 2. + 6.;
/// How many of the newest repositories the "Recent" sort shows.
const RECENT_COUNT: usize = 10;
@@ -233,7 +233,7 @@ impl RepoListView {
.hover(|this| this.bg(cx.theme().list_hover))
.child(
h_flex()
.h_8()
.h_10()
.text_sm()
.font_semibold()
.whitespace_nowrap()
@@ -244,7 +244,7 @@ impl RepoListView {
div()
.h_16()
.min_w_0()
.text_sm()
.text_xs()
.text_color(cx.theme().muted_foreground)
.line_clamp(2)
.text_ellipsis()