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.
36 lines
921 B
TypeScript
36 lines
921 B
TypeScript
|
|
export const repoButtonRow = `
|
|
.gitea-github-theme-templates {
|
|
/* 仓库按钮行 */
|
|
&.repo-button-row {
|
|
margin: 0 0 16px 0;
|
|
.repo-button-row-left .repository-summary {
|
|
/* 分支/标签样式 */
|
|
> .item {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
border-radius: var(--border-radius);
|
|
color: var(--color-text-light-1);
|
|
padding: 4px;
|
|
height: 32px;
|
|
min-height: 32px;
|
|
&:hover {
|
|
background-color: var(--github-control-transparent-bgColor-hover);
|
|
text-decoration-line: none;
|
|
}
|
|
svg {
|
|
color: var(--github-button-invisible-iconColor-rest);
|
|
margin-right: 4px;
|
|
}
|
|
b {
|
|
color: var(--color-caret);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
`;
|
|
|
|
export const stylesheet = [repoButtonRow].join("\n\n");
|