@rspress-theme-anatole/theme-default 0.5.1 → 0.5.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.
@@ -1,131 +1,103 @@
1
- /*!
2
- * Modified from GitHub's Dark Dimmed theme, licensed under the MIT License
1
+ /*! MIT License
3
2
  * Copyright (c) 2018 GitHub Inc.
4
3
  * https://github.com/primer/primitives/blob/main/LICENSE
5
4
  */
6
5
 
7
6
  main {
8
- --color-prettylights-syntax-comment: #768390;
9
- --color-prettylights-syntax-constant: #6cb6ff;
10
- --color-prettylights-syntax-entity: #dcbdfb;
11
- --color-prettylights-syntax-storage-modifier-import: #adbac7;
12
- --color-prettylights-syntax-entity-tag: #8ddb8c;
13
- --color-prettylights-syntax-keyword: #f47067;
14
- --color-prettylights-syntax-string: #96d0ff;
15
- --color-prettylights-syntax-variable: #f69d50;
16
- --color-prettylights-syntax-brackethighlighter-unmatched: #e5534b;
17
- --color-prettylights-syntax-invalid-illegal-text: #cdd9e5;
18
- --color-prettylights-syntax-invalid-illegal-bg: #922323;
19
- --color-prettylights-syntax-carriage-return-text: #cdd9e5;
20
- --color-prettylights-syntax-carriage-return-bg: #ad2e2c;
21
- --color-prettylights-syntax-string-regexp: #8ddb8c;
22
- --color-prettylights-syntax-markup-list: #eac55f;
23
- --color-prettylights-syntax-markup-heading: #316dca;
24
- --color-prettylights-syntax-markup-italic: #adbac7;
25
- --color-prettylights-syntax-markup-bold: #adbac7;
26
- --color-prettylights-syntax-markup-deleted-text: #ffd8d3;
27
- --color-prettylights-syntax-markup-deleted-bg: #78191b;
28
- --color-prettylights-syntax-markup-inserted-text: #b4f1b4;
29
- --color-prettylights-syntax-markup-inserted-bg: #1b4721;
30
- --color-prettylights-syntax-markup-changed-text: #ffddb0;
31
- --color-prettylights-syntax-markup-changed-bg: #682d0f;
32
- --color-prettylights-syntax-markup-ignored-text: #adbac7;
33
- --color-prettylights-syntax-markup-ignored-bg: #255ab2;
34
- --color-prettylights-syntax-meta-diff-range: #dcbdfb;
35
- --color-prettylights-syntax-brackethighlighter-angle: #768390;
36
- --color-prettylights-syntax-sublimelinter-gutter-mark: #545d68;
37
- --color-prettylights-syntax-constant-other-reference-link: #96d0ff;
38
- --color-btn-text: #adbac7;
39
- --color-btn-bg: #373e47;
40
- --color-btn-border: rgb(205 217 229 / 10%);
41
- --color-btn-shadow: 0 0 transparent;
42
- --color-btn-inset-shadow: 0 0 transparent;
43
- --color-btn-hover-bg: #444c56;
44
- --color-btn-hover-border: #768390;
45
- --color-btn-active-bg: hsl(213deg 12% 27% / 100%);
46
- --color-btn-active-border: #636e7b;
47
- --color-btn-selected-bg: #2d333b;
7
+ --color-prettylights-syntax-comment: #6e7781;
8
+ --color-prettylights-syntax-constant: #0550ae;
9
+ --color-prettylights-syntax-entity: #8250df;
10
+ --color-prettylights-syntax-storage-modifier-import: #24292f;
11
+ --color-prettylights-syntax-entity-tag: #116329;
12
+ --color-prettylights-syntax-keyword: #cf222e;
13
+ --color-prettylights-syntax-string: #0a3069;
14
+ --color-prettylights-syntax-variable: #953800;
15
+ --color-prettylights-syntax-brackethighlighter-unmatched: #82071e;
16
+ --color-prettylights-syntax-invalid-illegal-text: #f6f8fa;
17
+ --color-prettylights-syntax-invalid-illegal-bg: #82071e;
18
+ --color-prettylights-syntax-carriage-return-text: #f6f8fa;
19
+ --color-prettylights-syntax-carriage-return-bg: #cf222e;
20
+ --color-prettylights-syntax-string-regexp: #116329;
21
+ --color-prettylights-syntax-markup-list: #3b2300;
22
+ --color-prettylights-syntax-markup-heading: #0550ae;
23
+ --color-prettylights-syntax-markup-italic: #24292f;
24
+ --color-prettylights-syntax-markup-bold: #24292f;
25
+ --color-prettylights-syntax-markup-deleted-text: #82071e;
26
+ --color-prettylights-syntax-markup-deleted-bg: #ffebe9;
27
+ --color-prettylights-syntax-markup-inserted-text: #116329;
28
+ --color-prettylights-syntax-markup-inserted-bg: #dafbe1;
29
+ --color-prettylights-syntax-markup-changed-text: #953800;
30
+ --color-prettylights-syntax-markup-changed-bg: #ffd8b5;
31
+ --color-prettylights-syntax-markup-ignored-text: #eaeef2;
32
+ --color-prettylights-syntax-markup-ignored-bg: #0550ae;
33
+ --color-prettylights-syntax-meta-diff-range: #8250df;
34
+ --color-prettylights-syntax-brackethighlighter-angle: #57606a;
35
+ --color-prettylights-syntax-sublimelinter-gutter-mark: #8c959f;
36
+ --color-prettylights-syntax-constant-other-reference-link: #0a3069;
37
+ --color-btn-text: #24292f;
38
+ --color-btn-bg: #f6f8fa;
39
+ --color-btn-border: rgb(31 35 40 / 15%);
40
+ --color-btn-shadow: 0 1px 0 rgb(31 35 40 / 4%);
41
+ --color-btn-inset-shadow: inset 0 1px 0 rgb(255 255 255 / 25%);
42
+ --color-btn-hover-bg: #f3f4f6;
43
+ --color-btn-hover-border: rgb(31 35 40 / 15%);
44
+ --color-btn-active-bg: hsl(220deg 14% 93% / 100%);
45
+ --color-btn-active-border: rgb(31 35 40 / 15%);
46
+ --color-btn-selected-bg: hsl(220deg 14% 94% / 100%);
48
47
  --color-btn-primary-text: #fff;
49
- --color-btn-primary-bg: #347d39;
50
- --color-btn-primary-border: rgb(205 217 229 / 10%);
51
- --color-btn-primary-shadow: 0 0 transparent;
52
- --color-btn-primary-inset-shadow: 0 0 transparent;
53
- --color-btn-primary-hover-bg: #46954a;
54
- --color-btn-primary-hover-border: rgb(205 217 229 / 10%);
55
- --color-btn-primary-selected-bg: #347d39;
56
- --color-btn-primary-selected-shadow: 0 0 transparent;
57
- --color-btn-primary-disabled-text: rgb(205 217 229 / 50%);
58
- --color-btn-primary-disabled-bg: rgb(52 125 57 / 60%);
59
- --color-btn-primary-disabled-border: rgb(205 217 229 / 10%);
60
- --color-action-list-item-default-hover-bg: rgb(144 157 171 / 12%);
61
- --color-segmented-control-bg: rgb(99 110 123 / 10%);
62
- --color-segmented-control-button-bg: #22272e;
63
- --color-segmented-control-button-selected-border: #636e7b;
64
- --color-fg-default: #adbac7;
65
- --color-fg-muted: #768390;
66
- --color-fg-subtle: #545d68;
67
- --color-canvas-default: rgb(25 39 52);
68
- --color-canvas-overlay: #161b22;
69
- --color-canvas-inset: rgb(21 32 43 / 100%);
70
- --color-canvas-subtle: rgb(37 51 65);
71
- --color-border-default: #444c56;
72
- --color-border-muted: #373e47;
73
- --color-neutral-muted: rgb(99 110 123 / 40%);
74
- --color-accent-fg: #539bf5;
75
- --color-accent-emphasis: #316dca;
76
- --color-accent-muted: rgb(65 132 228 / 40%);
77
- --color-accent-subtle: rgb(56 139 253 / 10%);
78
- --color-success-fg: #57ab5a;
79
- --color-attention-fg: #c69026;
80
- --color-attention-muted: rgb(174 124 20 / 40%);
81
- --color-attention-subtle: rgb(174 124 20 / 15%);
82
- --color-danger-fg: #e5534b;
83
- --color-danger-muted: rgb(229 83 75 / 40%);
84
- --color-danger-subtle: rgb(229 83 75 / 10%);
85
- --color-primer-shadow-inset: 0 0 transparent;
86
- --color-scale-gray-7: #373e47;
87
- --color-scale-blue-8: #143d79;
48
+ --color-btn-primary-bg: #1f883d;
49
+ --color-btn-primary-border: rgb(31 35 40 / 15%);
50
+ --color-btn-primary-shadow: 0 1px 0 rgb(31 35 40 / 10%);
51
+ --color-btn-primary-inset-shadow: inset 0 1px 0 rgb(255 255 255 / 3%);
52
+ --color-btn-primary-hover-bg: #1a7f37;
53
+ --color-btn-primary-hover-border: rgb(31 35 40 / 15%);
54
+ --color-btn-primary-selected-bg: hsl(137deg 66% 28% / 100%);
55
+ --color-btn-primary-selected-shadow: inset 0 1px 0 rgb(0 45 17 / 20%);
56
+ --color-btn-primary-disabled-text: rgb(255 255 255 / 80%);
57
+ --color-btn-primary-disabled-bg: #94d3a2;
58
+ --color-btn-primary-disabled-border: rgb(31 35 40 / 15%);
59
+ --color-action-list-item-default-hover-bg: rgb(208 215 222 / 32%);
60
+ --color-segmented-control-bg: #eaeef2;
61
+ --color-segmented-control-button-bg: #fff;
62
+ --color-segmented-control-button-selected-border: #8c959f;
63
+ --color-fg-default: #1F2328;
64
+ --color-fg-muted: #656d76;
65
+ --color-fg-subtle: #6e7781;
66
+ --color-canvas-default: #fff;
67
+ --color-canvas-overlay: #fff;
68
+ --color-canvas-inset: #f6f8fa;
69
+ --color-canvas-subtle: #f6f8fa;
70
+ --color-border-default: #d0d7de;
71
+ --color-border-muted: hsl(210deg 18% 87% / 100%);
72
+ --color-neutral-muted: rgb(175 184 193 / 20%);
73
+ --color-accent-fg: #0969da;
74
+ --color-accent-emphasis: #0969da;
75
+ --color-accent-muted: rgb(84 174 255 / 40%);
76
+ --color-accent-subtle: #ddf4ff;
77
+ --color-success-fg: #1a7f37;
78
+ --color-attention-fg: #9a6700;
79
+ --color-attention-muted: rgb(212 167 44 / 40%);
80
+ --color-attention-subtle: #fff8c5;
81
+ --color-danger-fg: #d1242f;
82
+ --color-danger-muted: rgb(255 129 130 / 40%);
83
+ --color-danger-subtle: #ffebe9;
84
+ --color-primer-shadow-inset: inset 0 1px 0 rgb(208 215 222 / 20%);
85
+ --color-scale-gray-1: #eaeef2;
86
+ --color-scale-blue-1: #b6e3ff;
88
87
 
89
88
  /*! Extensions from @primer/css/alerts/flash.scss */
90
- --color-social-reaction-bg-hover: var(--color-scale-gray-7);
91
- --color-social-reaction-bg-reacted-hover: var(--color-scale-blue-8);
89
+ --color-social-reaction-bg-hover: var(--color-scale-gray-1);
90
+ --color-social-reaction-bg-reacted-hover: var(--color-scale-blue-1);
92
91
  }
93
92
 
94
93
  main .pagination-loader-container {
95
- background-image: url("https://github.com/images/modules/pulls/progressive-disclosure-line-dark.svg");
94
+ background-image: url("https://github.com/images/modules/pulls/progressive-disclosure-line.svg");
96
95
  }
97
96
 
98
- /*! Custom CSS */
99
-
100
- .gsc-reactions-count {
101
- display: none;
102
- }
103
-
104
- .gsc-timeline {
105
- flex-direction: column-reverse;
106
- }
107
-
108
- .gsc-header {
109
- padding-bottom: 1rem;
110
- }
111
-
112
- .gsc-comments > .gsc-header {
113
- order: 1;
114
- }
115
-
116
- .gsc-comments > .gsc-comment-box {
117
- order: 2;
118
- margin-bottom: 1rem;
119
- }
120
-
121
- .gsc-comments > .gsc-timeline {
122
- order: 3;
97
+ main .gsc-loading-image {
98
+ background-image: url("https://github.githubassets.com/images/mona-loading-default.gif");
123
99
  }
124
100
 
125
- .gsc-homepage-bg {
126
- background-color: #15202b;
101
+ main .gsc-comment-box {
102
+ width: calc(100% - 20px);
127
103
  }
128
-
129
- main .gsc-loading-image {
130
- background-image: url("https://github.githubassets.com/images/mona-loading-dimmed.gif");
131
- }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@rspress-theme-anatole/theme-default",
3
3
  "author": "Anatole Tong",
4
- "version": "0.5.001",
4
+ "version": "0.5.3",
5
5
  "license": "MIT",
6
6
  "sideEffects": [
7
7
  "*.css",