Files
gitea-themes/styles/primitives/modal.ts
T
chuan 434161de5b
Release / release (push) Failing after 13s
Refactor theme management and update documentation
- 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.
2026-05-18 01:26:17 +08:00

30 lines
669 B
TypeScript

export const modal = `
.ui.modal {
animation: overlayAppearDown 200ms cubic-bezier(0.33, 1, 0.68, 1);;
border: 1.5px solid var(--color-light-border);
> .header {
background-color: var(--color-menu);
border-bottom: 1.5px solid var(--color-light-border);
}
> .content,
form > .content {
background-color: var(--color-menu);
}
> .actions,
.content + .actions,
.content + form > .actions {
background-color: var(--color-menu);
border-top: 1.5px solid var(--color-light-border);
}
.actions > .ui.button {
padding: 8px 12px;
}
}
`;
export const stylesheet = [modal].join("\n\n");