434161de5b
Release / release (push) Failing after 13s
- Removed `.github-theme` from .gitignore as it is no longer needed. - Updated `official-style-map.md` to clarify the maintenance of GitHub Light style increments within the current repository. - Revised `rules.md` to reflect the new approach to maintaining GitHub Light theme increments. - Changed test script in `package.json` to verify generated theme instead of GitHub migration. - Added `verify-generated-theme.ts` script to validate the generated theme files. - Migrated various styles from `.github-theme` to the new structure, updating comments and references accordingly.
75 lines
1.8 KiB
TypeScript
75 lines
1.8 KiB
TypeScript
|
|
export const stars = `
|
|
.page-content.user.profile {
|
|
.stars {
|
|
> .flex-list {
|
|
> .flex-item {
|
|
padding: 24px 0;
|
|
&:first-child {
|
|
padding-top: 14px;
|
|
}
|
|
/* 仓库头像 */
|
|
> .flex-item-leading {
|
|
img,
|
|
svg {
|
|
color: var(--color-text-light-1);
|
|
}
|
|
}
|
|
/* 仓库信息 */
|
|
> .flex-item-main {
|
|
/* 仓库标题 */
|
|
> .flex-item-header {
|
|
/* 仓库名称 */
|
|
> .flex-item-title {
|
|
font-size: 20px;
|
|
gap: 8px;
|
|
/* 仓库中间的间隔线 */
|
|
&:not(a) {
|
|
color: var(--color-primary);
|
|
}
|
|
}
|
|
/* 仓库语言, 星标 */
|
|
> .flex-item-trailing {
|
|
color: var(--color-text-light-1);
|
|
gap: 16px;
|
|
font-size: 12px;
|
|
> .flex-text-inline .color-icon {
|
|
width: 12px;
|
|
height: 12px;
|
|
margin-right: 0 !important;
|
|
}
|
|
}
|
|
}
|
|
/* 描述和更新时间 */
|
|
> .flex-item-body {
|
|
margin-top: 10px;
|
|
/* 更新时间 */
|
|
&:last-child {
|
|
font-size: 12px;
|
|
}
|
|
}
|
|
/* 主题标签 */
|
|
> .label-list {
|
|
margin-top: 10px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
`;
|
|
|
|
export const profileCard = `
|
|
.page-content.user.profile {
|
|
#profile-avatar-card {
|
|
#profile-avatar {
|
|
img.ui.avatar {
|
|
border-radius: 9999px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
`;
|
|
|
|
export const stylesheet = [stars, profileCard].join("\n\n");
|