minearm-website 0.0.3-beta.3 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/Dockerfile +12 -0
  2. package/{LICENSE → LICENSE.md} +2 -2
  3. package/README.md +19 -4
  4. package/astro.config.ts +37 -32
  5. package/cz.yaml +7 -0
  6. package/docker-compose.yml +11 -0
  7. package/netlify.toml +4 -0
  8. package/package.json +63 -63
  9. package/public/13.png +0 -0
  10. package/public/scripts/mdata.json +3 -3
  11. package/public/scripts/searchData.json +47 -0
  12. package/src/content/blog/{default/history → history}//350/277/221/344/273/243/347/257/207//344/270/255/345/233/275/345/205/261/344/272/247/345/205/232/345/205/232/345/217/262.md +2361 -2361
  13. package/src/content/blog/{default/it → it}/Rust/345/237/272/346/234/254/350/257/255/346/263/225.md +41 -29
  14. package/src/content/config.ts +1 -0
  15. package/src/layouts/BaseLayout.astro +0 -1
  16. package/src/layouts/DefaultMdLayout.astro +0 -4
  17. package/src/layouts/HomeLayout.astro +0 -2
  18. package/src/layouts/TagsLayout.astro +0 -1
  19. package/src/pages/404.md +1 -2
  20. package/src/pages/[...page].astro +8 -4
  21. package/src/pages/about/index.md +19 -5
  22. package/src/pages/categories/index.astro +2 -2
  23. package/src/pages/friends/index.md +2 -2
  24. package/src/pages/tags/index.astro +3 -2
  25. package/src/styles/blog/dist/blog.css +59 -0
  26. package/src/styles/blog/dist/code.css +59 -0
  27. package/src/styles/blog/dist/index.css +1 -0
  28. package/src/styles/blog/dist/post.css +246 -0
  29. package/src/styles/components/dist/footer.css +29 -0
  30. package/src/styles/components/dist/index.css +1 -0
  31. package/src/styles/components/dist/page-content.css +60 -0
  32. package/src/styles/dist/animation.css +8 -0
  33. package/src/styles/dist/custom.css +10 -0
  34. package/src/styles/dist/global.css +1095 -0
  35. package/src/styles/dist/mixin.css +0 -0
  36. package/src/theme_config.ts +4 -4
  37. package/src/components/Search.astro +0 -30
  38. package/src/components/icons/game.astro +0 -10
  39. package/src/components/postlist/postsList.astro +0 -57
  40. /package/src/content/blog/{default/Extended Search.md → Extended Search.md} +0 -0
  41. /package/src/content/blog/{default/Mail.md → Mail.md} +0 -0
  42. /package/src/content/blog/{default/history → history}//345/205/254/345/205/203/345/211/215//347/247/246/345/247/213/347/232/207/347/273/237/344/270/200/345/205/255/345/233/275.md" +0 -0
@@ -14,13 +14,15 @@ category: 'Rust'
14
14
  ---
15
15
  # Rust 基础语法
16
16
 
17
- (说明) 复制滴别想,抄作业滴不要,若需要,滴开启超级复制插件
17
+ # 说明
18
+
19
+ 复制滴别想,抄作业滴不要,若需要,滴开启超级复制插件
18
20
 
19
21
  变量,基本类型,函数,注释和控制流,这些几乎是每种编程语言都具有的编程概念。
20
22
 
21
23
  这些基础概念将存在于每个 Rust 程序中,及早学习它们将使你以最快的速度学习 Rust 的使用。
22
24
 
23
- 变量
25
+ # 变量
24
26
  首先必须说明,Rust 是强类型语言,但具有自动判断变量类型的能力。这很容易让人与弱类型语言产生混淆。
25
27
 
26
28
  默认情况下,Rust 中的变量是不可变的,除非使用 mut 关键字声明为可变变量。
@@ -81,22 +83,25 @@ let a: u64 = 114;
81
83
 
82
84
  这里声明了 a 为无符号 64 位整型变量,如果没有声明类型,a 将自动被判断为有符号 32 位整型变量,这对于 a 的取值范围有很大的影响。
83
85
 
84
- 数据类型
86
+ # 数据类型
87
+
85
88
  Rust 是静态类型语言,在变量声明时可以显式指定类型,但通常可以依赖类型推断。
86
89
 
87
90
  基本类型: i32 (32位有符号整数), u32 (32位无符号整数), f64 (64位浮点数), bool (布尔类型), char (字符)
88
91
 
89
- 实例
92
+ - 实例
90
93
  ```rust
91
94
  let x: i32 = 42;
92
95
  let y: f64 = 3.14;
93
96
  let is_true: bool = true;
94
97
  let letter: char = 'A';
95
98
  ```
96
- 函数
99
+
100
+ # 函数
101
+
97
102
  Rust 函数通过 fn 关键字定义,函数的返回类型通过箭头符号 -> 指定。
98
103
 
99
- 实例
104
+ - 实例
100
105
  ```rust
101
106
  fn add(a: i32, b: i32) -> i32 {
102
107
  a + b
@@ -104,10 +109,10 @@ fn add(a: i32, b: i32) -> i32 {
104
109
  ```
105
110
  如果函数没有返回值,类型默认为 ()(即空元组)。
106
111
 
107
- 控制流
108
- if 表达式
112
+ **控制流**
113
+ # if 表达式
109
114
 
110
- 实例
115
+ - 实例
111
116
  ```rust
112
117
  let number = 7;
113
118
  if number < 5 {
@@ -116,9 +121,11 @@ if number < 5 {
116
121
  println!("大于等于 5");
117
122
  }
118
123
  ```
119
- loop 循环: loop 是 Rust 中的无限循环,可以使用 break 退出循环。
124
+ # loop 循环
125
+
126
+ loop 是 Rust 中的无限循环,可以使用 break 退出循环。
120
127
 
121
- 实例
128
+ - 实例
122
129
  ```rust
123
130
  let mut counter = 0;
124
131
  loop {
@@ -128,9 +135,10 @@ loop {
128
135
  }
129
136
  }
130
137
  ```
131
- while 循环
132
138
 
133
- 实例
139
+ # while 循环
140
+
141
+ - 实例
134
142
  ```rust
135
143
  let mut number = 3;
136
144
  while number != 0 {
@@ -139,15 +147,15 @@ while number != 0 {
139
147
  }
140
148
  ```
141
149
 
142
- for 循环
150
+ # for 循环
143
151
 
144
- 实例
152
+ - 实例
145
153
  ```rust
146
154
  for number in 1..4 {
147
155
  println!("{}!", number);
148
156
  }
149
157
  ```
150
- 所有权 (Ownership)
158
+ # 所有权
151
159
  Rust 中的所有权是独特的内存管理机制,核心概念包括所有权 (ownership)、借用 (borrowing) 和引用 (reference)。
152
160
 
153
161
  所有权规则:
@@ -160,7 +168,8 @@ let s1 = String::from("hello");
160
168
  let s2 = s1; // s1 的所有权被转移给了 s2
161
169
  // println!("{}", s1); // 此处编译会报错,因为 s1 已不再拥有该值
162
170
  ```
163
- 借用和引用: 借用允许引用数据而不获取所有权,通过 & 符号实现。
171
+ # 借用和引用
172
+ 借用允许引用数据而不获取所有权,通过 & 符号实现。
164
173
  ```rust
165
174
  fn main() {
166
175
  let s = String::from("hello");
@@ -172,10 +181,11 @@ fn calculate_length(s: &String) -> usize {
172
181
  s.len()
173
182
  }
174
183
  ```
175
- 结构体 (Structs)
184
+ # 结构体
185
+
176
186
  结构体用于创建自定义类型,字段可以包含多种数据类型。
177
187
 
178
- 实例
188
+ - 实例
179
189
  ```rust
180
190
  struct User {
181
191
  username: String,
@@ -191,10 +201,11 @@ let user1 = User {
191
201
  active: true,
192
202
  };
193
203
  ```
194
- 枚举 (Enums)
204
+ # 枚举
205
+
195
206
  枚举允许定义可能的几种数据类型中的一种。
196
207
 
197
- 实例
208
+ - 实例
198
209
  ```rust
199
210
  enum IpAddrKind {
200
211
  V4,
@@ -204,10 +215,10 @@ enum IpAddrKind {
204
215
  let four = IpAddrKind::V4;
205
216
  let six = IpAddrKind::V6;
206
217
  ```
207
- 模式匹配 (match)
218
+ # 模式匹配
208
219
  match 是 Rust 中强大的控制流工具,类似于 switch 语句。
209
220
 
210
- 实例
221
+ - 实例
211
222
  ```rust
212
223
  enum Coin {
213
224
  Penny,
@@ -225,13 +236,13 @@ fn value_in_cents(coin: Coin) -> u8 {
225
236
  }
226
237
  }
227
238
  ```
228
- 错误处理
239
+ # 错误处理
229
240
 
230
241
  Rust 有两种主要的错误处理方式:Result<T, E> 和 Option<T>。
231
242
 
232
243
  Result:
233
244
 
234
- 实例
245
+ - 实例
235
246
  ```rust
236
247
  enum Result<T, E> {
237
248
  Ok(T),
@@ -248,7 +259,7 @@ fn divide(a: i32, b: i32) -> Result<i32, String> {
248
259
  ```
249
260
  Option:
250
261
 
251
- 实例
262
+ - 实例
252
263
  ```rust
253
264
  fn get_element(index: usize, vec: &Vec<i32>) -> Option<i32> {
254
265
  if index < vec.len() {
@@ -261,7 +272,7 @@ fn get_element(index: usize, vec: &Vec<i32>) -> Option<i32> {
261
272
  所有权与借用的生命周期
262
273
  Rust 使用生命周期来确保引用的有效性。生命周期标注用 'a 等来表示,但常见的情况下,编译器会自动推导。
263
274
 
264
- 实例
275
+ - 实例
265
276
  ```rust
266
277
  fn longest<'a>(x: &'a str, y: &'a str) -> &'a str {
267
278
  if x.len() > y.len() {
@@ -271,12 +282,13 @@ fn longest<'a>(x: &'a str, y: &'a str) -> &'a str {
271
282
  }
272
283
  }
273
284
  ```
274
- 重影(Shadowing)
285
+ # 重影
286
+
275
287
  重影的概念与其他面向对象语言里的"重写"(Override)或"重载"(Overload)是不一样的。重影就是刚才讲述的所谓"重新绑定",之所以加引号就是为了在没有介绍这个概念的时候代替一下概念。
276
288
 
277
289
  重影就是指变量的名称可以被重新使用的机制:
278
290
 
279
- 实例
291
+ - 实例
280
292
  ```rust
281
293
  fn main() {
282
294
  let x = 5;
@@ -1,5 +1,6 @@
1
1
  import { defineCollection, z } from "astro:content";
2
2
  import { utils } from "@utils/utils";
3
+
3
4
  const blogCollection = defineCollection({
4
5
  schema: z.object({
5
6
  title: z.string(),
@@ -2,7 +2,6 @@
2
2
  import "@style/global.scss";
3
3
  import "@style/components/page-content.scss";
4
4
  import HeadInsert from "@comp/HeadInject.astro";
5
- import { ViewTransitions } from 'astro:transitions';
6
5
  import BodyInsert from "@comp/BodyInject.astro";
7
6
  import { ThemeConfig } from "@src/theme_config";
8
7
  import Header from "@comp/header/Header.astro";
@@ -1,9 +1,7 @@
1
1
  ---
2
2
  import HeroWave from "@comp/header/heroWave.astro";
3
3
  import PostLayout from "@src/layouts/PostLayout.astro";
4
- import { ViewTransitions } from 'astro:transitions';
5
4
  import { ThemeConfig } from "@src/theme_config";
6
- import Code from '../components/icons/code.astro';
7
5
  interface FrontMatter {
8
6
  title: string;
9
7
  description?: string;
@@ -36,11 +34,9 @@ const { frontmatter } = Astro.props;
36
34
  slot="post-hero"
37
35
  heroColor={frontmatter.heroColor}
38
36
  >
39
-
40
37
  <div class="post-info">
41
38
  <h1 class="post-title">{frontmatter.title}</h1>
42
39
  </div>
43
40
  </HeroWave>
44
41
  <slot />
45
42
  </PostLayout>
46
- <ViewTransitions />
@@ -1,7 +1,6 @@
1
1
  ---
2
2
  import "@style/components/main.scss";
3
3
  import BaseLayout from "./BaseLayout.astro";
4
- import { ViewTransitions } from 'astro:transitions';
5
4
  import Aside from "@comp/aside/aside.astro";
6
5
  import { ThemeConfig } from "@src/theme_config";
7
6
  interface Props {
@@ -24,4 +23,3 @@ const { asideDir } = Astro.props;
24
23
  </main>
25
24
  </article>
26
25
  </BaseLayout>
27
- <ViewTransitions />
@@ -1,6 +1,5 @@
1
1
  ---
2
2
  import PostsList from "@comp/postlist/postsList.astro";
3
- import { ViewTransitions } from 'astro:transitions';
4
3
  import Pagination from "@comp/postlist/pagination.astro";
5
4
  import HomeLayout from "@layout/HomeLayout.astro";
6
5
  import HeroWave from "@comp/header/heroWave.astro";
package/src/pages/404.md CHANGED
@@ -6,5 +6,4 @@ heroColor: "#007aff"
6
6
  useComments: false
7
7
  useToc: false
8
8
  ---
9
- # 404了,非常抱歉,你要找的页面被作者吃了[doge]
10
- ## 点击[这里](/)返回首页
9
+ # 404了,非常抱歉,你要找的页面被作者吃了[doge]
@@ -3,9 +3,9 @@ import HomeLayout from "@src/layouts/HomeLayout.astro";
3
3
  import PostsList from "@comp/postlist/postsList.astro";
4
4
  import Pagination from "@comp/postlist/pagination.astro";
5
5
  import { ThemeConfig } from "@src/theme_config";
6
- import { ViewTransitions } from 'astro:transitions';
7
6
  import { utils } from "@src/utils/utils";
8
7
  import { type CollectionEntry, getCollection } from "astro:content";
8
+
9
9
  export async function getStaticPaths({ paginate }: any) {
10
10
  const posts: CollectionEntry<"blog">[] = (await getCollection("blog")).sort(
11
11
  (a: { data: { pubDate: string; }; }, b: { data: { pubDate: string; }; }) => utils.compareDates(a.data.pubDate, b.data.pubDate)
@@ -14,8 +14,12 @@ export async function getStaticPaths({ paginate }: any) {
14
14
  }
15
15
 
16
16
  const { page } = Astro.props;
17
- ---
18
17
 
18
+ // 确保 page 对象包含正确的数据
19
+ if (!page || !page.data) {
20
+ throw new Error("Invalid page data");
21
+ }
22
+ ---
19
23
  <HomeLayout>
20
24
  {
21
25
  ThemeConfig.homePage.heroShoot && (
@@ -37,10 +41,10 @@ const { page } = Astro.props;
37
41
  page.lastPage > 1 && (
38
42
  <Pagination
39
43
  baseurl="/"
40
- pageSize={page.lastPage}
44
+ pageSize={page.pageSize}
41
45
  activePage={page.currentPage}
42
46
  />
43
47
  )
44
48
  }
45
49
  </Fragment>
46
- </HomeLayout>
50
+ </HomeLayout>
@@ -7,14 +7,19 @@ useComments: true
7
7
  useToc: true
8
8
  ---
9
9
  # Minearm & Website
10
-
11
10
  # 本主题是从[HusBlog](https://github.com/KraHsu/HsuBlog.git)改进而来的
11
+ 最新的正式版是0.1.3
12
+ 最新的测试版是0.0.3-beta.4
12
13
 
13
- 但是Minearm & Website做出了很大的改变,比如修复了scss警告和升级astro版本到4.16.13
14
+ 但是Minearm & Website做出了很大的改变,比如修复了scss警告和升级astro版本到5.1.2
14
15
 
15
16
  # 效果
16
17
  ![Minearm](https://portal.astro.build/_image?href=https%3A%2F%2Fstorage.googleapis.com%2Fdev-portal-bucket%2Fkotpt1ztaalrk5frua5pnwdvoh185ylgg0rio9.webp)
17
18
 
19
+ # node(环境)
20
+
21
+ 要让 Astro 在你的系统上运行,你还需要安装 Node.js,版本 v18.17.1 或 v20.3.0 或更高版本。(不支持 v19)
22
+
18
23
  # 文件结构
19
24
 
20
25
  ```bash
@@ -56,29 +61,38 @@ root
56
61
  ~~~bash
57
62
  # 安装主题
58
63
  npm i minearm-website
64
+ git clone https://github.com/Minearm-RPM/Minearm.git node_modules/
59
65
  ~~~
60
66
 
67
+ # 进入astro目录
68
+ ~~~bash
69
+ cd node_modules/minearm-website
70
+ # 或者(对应上面两种方法)
71
+ cd node_modules/
61
72
  ~~~
73
+
74
+ ~~~bash
62
75
  # 安装依赖
63
76
  npm install
64
77
  # 更新
65
78
  npm update
66
79
  ~~~
67
80
 
68
- ~~~
81
+ ~~~bash
69
82
  # 启动开发预览
70
83
  npm run dev
71
84
  ~~~
72
85
 
73
- ~~~
86
+ ~~~bash
74
87
  # 构建和预览
75
88
  npm run build
76
89
  npm run preview
77
90
  ~~~
78
91
 
79
92
  # 许可证
93
+
80
94
  本项目在MIT许可证下授权,版权所有©2024
81
95
 
82
96
  由Minearm-RPM构建的
83
97
 
84
- # 转载时需标明出处!。
98
+ # 转载时需标明出处
@@ -1,11 +1,11 @@
1
1
  ---
2
2
  import "@style/tags/tags.scss";
3
3
  import TagsLayout from "@src/layouts/TagsLayout.astro";
4
- import { getCollection, type CollectionEntry } from "astro:content";
4
+ import { getCollection, CollectionEntry } from "astro:content";
5
5
  import { utils } from "@src/utils/utils";
6
6
 
7
7
  const allPosts: CollectionEntry<"blog">[] = (await getCollection("blog")).sort(
8
- (a: { data: { pubDate: string; }; }, b: { data: { pubDate: string; }; }) => utils.compareDates(a.data.pubDate, b.data.pubDate)
8
+ (a, b) => utils.compareDates(a.data.pubDate, b.data.pubDate)
9
9
  );
10
10
 
11
11
  const categories: string[] = [
@@ -1,5 +1,5 @@
1
1
  ---
2
- layout: ../../layouts/DefaultMdLayout.astro
2
+ layout: "../../layouts/DefaultMdLayout.astro"
3
3
  title: Minearm盟友
4
4
  description: ""
5
5
  heroColor: "#007aff"
@@ -21,4 +21,4 @@ useToc: true
21
21
 
22
22
  ::link[三的根号]{logo="/3.png" desc="√3每日发疯" link="https://space.bilibili.com/1832902560"}
23
23
 
24
- ::link[智宇]{logo="https://zhiyuhub.top/upload/be2bb1bb-8d91-4e9b-8b4d-00d4c45774ae.png" desc="root@kali:/#" link="https://zhiyuhub.top/"}
24
+ ::link[只鱼]{logo="https://zhiyuhub.top/upload/be2bb1bb-8d91-4e9b-8b4d-00d4c45774ae.png" desc="root@kali:/#" link="https://zhiyuhub.top/"}
@@ -1,10 +1,11 @@
1
1
  ---
2
2
  import "@style/tags/tags.scss";
3
3
  import TagsLayout from "@src/layouts/TagsLayout.astro";
4
- import { getCollection, type CollectionEntry } from "astro:content";
4
+ import { getCollection, CollectionEntry } from "astro:content";
5
5
  import { utils } from "@src/utils/utils";
6
+
6
7
  const allPosts: CollectionEntry<"blog">[] = (await getCollection("blog")).sort(
7
- (a: { data: { pubDate: string; }; }, b: { data: { pubDate: string; }; }) => utils.compareDates(a.data.pubDate, b.data.pubDate)
8
+ (a, b) => utils.compareDates(a.data.pubDate, b.data.pubDate)
8
9
  );
9
10
 
10
11
  const uniqueTags: string[] = [
@@ -0,0 +1,59 @@
1
+ .post-header {
2
+ width: 100%;
3
+ padding-top: calc(var(--header-nav-height) + 2rem);
4
+ font-family: var(--heading-font-family);
5
+ user-select: none;
6
+ display: flex;
7
+ flex-direction: column;
8
+ justify-content: center;
9
+ align-items: center;
10
+ background: linear-gradient(var(--theme-color), var(--body-background-color));
11
+ }
12
+ .post-header .post-header-waves-area {
13
+ position: relative;
14
+ bottom: 0;
15
+ margin-top: 2rem;
16
+ margin-bottom: -10px;
17
+ }
18
+ .post-header .post-info .post-title {
19
+ font-size: 50px;
20
+ color: var(--font-white-black);
21
+ }
22
+ .post-header .post-info .post-metas {
23
+ display: flex;
24
+ flex-direction: column;
25
+ align-items: center;
26
+ }
27
+ .post-header .post-info .post-metas .post-meta {
28
+ display: flex;
29
+ margin: 0.3rem 0;
30
+ }
31
+ .post-header .post-info .post-metas .post-meta .meta-icon {
32
+ font-size: 18px;
33
+ margin: 0 0.3rem;
34
+ color: var(--font-white-black);
35
+ }
36
+ .post-container {
37
+ margin-top: 2rem;
38
+ max-width: 1400px;
39
+ width: 100%;
40
+ display: flex;
41
+ }
42
+ .post-container .post-main {
43
+ margin: 1rem 1rem;
44
+ border-radius: 15px;
45
+ background: white;
46
+ }
47
+ .post-container .post-aside {
48
+ border-radius: 15px;
49
+ }
50
+ .post-container .post-main {
51
+ flex: 4;
52
+ order: 2;
53
+ padding: 1rem 2rem;
54
+ @card-style ();
55
+ }
56
+ .post-container .post-aside {
57
+ flex: 1;
58
+ order: 1;
59
+ }
@@ -0,0 +1,59 @@
1
+ [data-theme=dark]:root {
2
+ --astro-code-color-background: #1f2430;
3
+ --astro-code-color-text: #cccac2;
4
+ --astro-code-token-constant: #dfbfff;
5
+ --astro-code-token-string: #d5ff80;
6
+ --astro-code-token-comment: #b8cfe6;
7
+ --astro-code-token-keyword: #ffad66;
8
+ --astro-code-token-parameter: #695380;
9
+ --astro-code-token-function: #ffcb6f;
10
+ --astro-code-token-string-expression: #5ccfe6;
11
+ --astro-code-token-punctuation: #cccac2;
12
+ --astro-code-token-link: #87d96c;
13
+ --astro-code-color-ansi-black: #000000;
14
+ --astro-code-color-ansi-black-dim: #00000080;
15
+ --astro-code-color-ansi-red: #bb0000;
16
+ --astro-code-color-ansi-red-dim: #bb000080;
17
+ --astro-code-color-ansi-green: #00bb00;
18
+ --astro-code-color-ansi-green-dim: #00bb0080;
19
+ --astro-code-color-ansi-yellow: #bbbb00;
20
+ --astro-code-color-ansi-yellow-dim: #bbbb0080;
21
+ --astro-code-color-ansi-blue: #0000bb;
22
+ --astro-code-color-ansi-blue-dim: #0000bb80;
23
+ --astro-code-color-ansi-magenta: #ff00ff;
24
+ --astro-code-color-ansi-magenta-dim: #ff00ff80;
25
+ --astro-code-color-ansi-cyan: #00bbbb;
26
+ --astro-code-color-ansi-cyan-dim: #00bbbb80;
27
+ --astro-code-color-ansi-white: #eeeeee;
28
+ --astro-code-color-ansi-white-dim: #eeeeee80;
29
+ --astro-code-color-ansi-bright-black: #555555;
30
+ --astro-code-color-ansi-bright-black-dim: #55555580;
31
+ --astro-code-color-ansi-bright-red: #ff5555;
32
+ --astro-code-color-ansi-bright-red-dim: #ff555580;
33
+ --astro-code-color-ansi-bright-green: #00ff00;
34
+ --astro-code-color-ansi-bright-green-dim: #00ff0080;
35
+ --astro-code-color-ansi-bright-yellow: #ffff55;
36
+ --astro-code-color-ansi-bright-yellow-dim: #ffff5580;
37
+ --astro-code-color-ansi-bright-blue: #5555ff;
38
+ --astro-code-color-ansi-bright-blue-dim: #5555ff80;
39
+ --astro-code-color-ansi-bright-magenta: #ff55ff;
40
+ --astro-code-color-ansi-bright-magenta-dim: #ff55ff80;
41
+ --astro-code-color-ansi-bright-cyan: #55ffff;
42
+ --astro-code-color-ansi-bright-cyan-dim: #55ffff80;
43
+ --astro-code-color-ansi-bright-white: #ffffff;
44
+ --astro-code-color-ansi-bright-white-dim: #ffffff80;
45
+ }
46
+
47
+ [data-theme=light]:root {
48
+ --astro-code-color-background: #fdfdfd;
49
+ --astro-code-color-text: #8a9199;
50
+ --astro-code-token-constant: #a37acc;
51
+ --astro-code-token-string: #86b300;
52
+ --astro-code-token-comment: #787b8099;
53
+ --astro-code-token-keyword: #fa8d3e;
54
+ --astro-code-token-parameter: #9f40ffcc;
55
+ --astro-code-token-function: #f2ae49;
56
+ --astro-code-token-string-expression: #55b4d4;
57
+ --astro-code-token-punctuation: #5c6166;
58
+ --astro-code-token-link: #6cbf43;
59
+ }
@@ -0,0 +1 @@
1
+ @import url();