Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions packages/preview/twilight-book/0.0.1/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
original/.*
docs/*.pdf
70 changes: 70 additions & 0 deletions packages/preview/twilight-book/0.0.1/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
# 更新日志 Changelog

本项目所有重大变更均将记录于此文件中.

All notable changes to this project will be documented in this file.

该格式基于[变更日志规范](https://keepachangelog.com/en/1.1.0/),
且本项目遵循[语义化版本控制](https://semver.org/spec/v2.0.0.html)。

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## 待发布 [Unreleased]

<details>

<!-- Write migration guide here -->

</details>

### 新增 Added

- [ ] 增加深渊主题

### 更改 Changed

- [ ] 拆分floeer-book函数为一个主函数和许多小函数,小函数内放置各个部分/功能的具体实现代码,主函数内调用各个小函数并执行全局性代码
- [ ] 完善测试流程

### 弃用 Deprecated

### 移除 Removed

### 修复 Fixed

### 安全 Security

## [0.0.0] - 2025-10-30

### 新增 Added

<!-- Describe the feature set of the initial release here -->

- 从FlowerBook项目中迁移
- 完善主题设置
- 增加主题设置函数

## [0.0.1] - 2025-11-10

### 新增 Added

<!-- Describe the feature set of the initial release here -->

- 增加主题状态

<!--
以下是每个版本的目标URL:
Below are the target URLs for each version
You can link version numbers (in level-2 headings)
to the corresponding tag on GitHub, or the diff
in comparison to the previous release

以下是每个版本的目标URL
您可以将版本号(位于二级标题中)链接至GitHub上的对应标签
或链接至与前一版本的差异对比
-->

[Unreleased]: https://github.com/CrossDark/TwilightBook/compare/latest...HEAD
[0.0.0]: https://github.com/CrossDark/TwilightBook/releases/tag/v0.0.0
[0.0.1]: https://github.com/CrossDark/TwilightBook/releases/tag/v0.0.1
21 changes: 21 additions & 0 deletions packages/preview/twilight-book/0.0.1/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2025 跨越晨昏

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
58 changes: 58 additions & 0 deletions packages/preview/twilight-book/0.0.1/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
# The `TwilightBook` Package `晨昏之书`

<div align="center">Version 0.0.1</div>

A twilight style template,offers numerous light and dark themes.

晨昏主题模板,提供许多浅色和深色主题.

## Getting Started 入门

These instructions will get you a copy of the project up and running on the typst web app. Perhaps a short code example on importing the package and a very simple teaser usage.

这些说明将为您提供在typst网络应用程序上启动和运行的项目副本。也许是导入软件包的简短代码示例和非常简单的预告使用。

```typ
#import "@preview/twilight-book:0.0.1": *

#show: flower-book.with()
#my-func()
```

<!--
<picture>
<source media="(prefers-color-scheme: dark)" srcset="./thumbnail-dark.svg">
<img src="./thumbnail-light.svg">
</picture>
-->

### Installation 安装

A step by step guide that will tell you how to get the development environment up and running. This should explain how to clone the repo, along with any pre-requisite software and installation steps.

一份逐步指南,将指导您如何搭建并运行开发环境。本指南应说明如何克隆代码库,并列明所需预装软件及安装步骤。

#### MacOS

```shell
git clone https://github.com/CrossDark/TwilightBook.git "$HOME/Library/Application Support/typst/packages/local/twilight-book/0.0.1"
```

## Usage

A more in-depth description of usage. Any template arguments? A complicated example that showcases most if not all of the functions the package provides? This is also an excellent place to signpost the manual.

更深入的用法描述。 有什么模板论据吗? 一个复杂的示例,展示了软件包提供的大多数(如果不是所有)功能? 这也是为手册贴路标的绝佳场所。

```typ
#import "@preview/twilight-book:0.0.1": *

// #let my-complicated-example = ...
```

## Additional Documentation and Acknowledgments 附加文件和知识点

* Project folder on server:
* Confluence link:
* Asana board:
* etc...
Loading
Loading