@capybara-hq/plugin-theme-cyberpunk 0.0.0-stage → 0.1.0-rc.1
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.
- package/.capybara-plugin/plugin.json +22 -0
- package/LICENSE +202 -0
- package/NOTICE +2 -0
- package/OFL-ChakraPetch.txt +93 -0
- package/OFL-JetBrainsMono.txt +93 -0
- package/README.md +67 -2
- package/favicon.svg +1 -0
- package/fonts/ChakraPetch-400.woff2 +0 -0
- package/fonts/ChakraPetch-600.woff2 +0 -0
- package/fonts/ChakraPetch-700.woff2 +0 -0
- package/fonts/JetBrainsMono-400.woff2 +0 -0
- package/fonts/JetBrainsMono-500.woff2 +0 -0
- package/fonts/JetBrainsMono-600.woff2 +0 -0
- package/fonts/JetBrainsMono-700.woff2 +0 -0
- package/logo.svg +1 -0
- package/package.json +11 -4
- package/themes/cyberpunk.json +94 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://capybarahq.com/schemas/plugin.v1.schema.json",
|
|
3
|
+
"schemaVersion": 1,
|
|
4
|
+
"name": "theme-cyberpunk",
|
|
5
|
+
"version": "0.1.0-rc.1",
|
|
6
|
+
"publisher": "Capybara",
|
|
7
|
+
"description": {
|
|
8
|
+
"en": "Cyberpunk theme: neon yellow on deep blue-black with cyan glow, techno fonts and a neon pixel capybara",
|
|
9
|
+
"zh": "赛博朋克主题:深蓝黑底上的霓虹黄与青色辉光,科技感字体,霓虹像素水豚标志"
|
|
10
|
+
},
|
|
11
|
+
"displayName": {
|
|
12
|
+
"zh": "赛博朋克",
|
|
13
|
+
"en": "Cyberpunk"
|
|
14
|
+
},
|
|
15
|
+
"icon": "./favicon.svg",
|
|
16
|
+
"homepage": "https://github.com/capybara-hq/plugins/tree/main/plugins/theme-cyberpunk#readme",
|
|
17
|
+
"themes": [
|
|
18
|
+
{
|
|
19
|
+
"path": "./themes/cyberpunk.json"
|
|
20
|
+
}
|
|
21
|
+
]
|
|
22
|
+
}
|
package/LICENSE
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
+
|
|
181
|
+
To apply the Apache License to your work, attach the following
|
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
+
replaced with your own identifying information. (Don't include
|
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
+
comment syntax for the file format. We also recommend that a
|
|
186
|
+
file or class name and description of purpose be included on the
|
|
187
|
+
same "printed page" as the copyright notice for easier
|
|
188
|
+
identification within third-party archives.
|
|
189
|
+
|
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
|
191
|
+
|
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
+
you may not use this file except in compliance with the License.
|
|
194
|
+
You may obtain a copy of the License at
|
|
195
|
+
|
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
+
|
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
+
See the License for the specific language governing permissions and
|
|
202
|
+
limitations under the License.
|
package/NOTICE
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
Copyright 2018 The Chakra Petch Project Authors (https://github.com/m4rc1e/Chakra-Petch.git) ChakraPetch-LightItalic.ttf: Copyright 2018 The Chakra Petch Project Authors (https://github.com/m4rc1e/Chakra-Petch.git) ChakraPetch-Regular.ttf: Copyright 2018 The Chakra Petch Project Authors (https://github.com/m4rc1e/Chakra-Petch.git) ChakraPetch-Italic.ttf: Copyright 2018 The Chakra Petch Project Authors (https://github.com/m4rc1e/Chakra-Petch.git) ChakraPetch-Medium.ttf: Copyright 2018 The Chakra Petch Project Authors (https://github.com/m4rc1e/Chakra-Petch.git) ChakraPetch-MediumItalic.ttf: Copyright 2018 The Chakra Petch Project Authors (https://github.com/m4rc1e/Chakra-Petch.git) ChakraPetch-SemiBold.ttf: Copyright 2018 The Chakra Petch Project Authors (https://github.com/m4rc1e/Chakra-Petch.git) ChakraPetch-SemiBoldItalic.ttf: Copyright 2018 The Chakra Petch Project Authors (https://github.com/m4rc1e/Chakra-Petch.git) ChakraPetch-Bold.ttf: Copyright 2018 The Chakra Petch Project Authors (https://github.com/m4rc1e/Chakra-Petch.git) ChakraPetch-BoldItalic.ttf: Copyright 2018 The Chakra Petch Project Authors (https://github.com/m4rc1e/Chakra-Petch.git)
|
|
2
|
+
|
|
3
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
4
|
+
This license is copied below, and is also available with a FAQ at:
|
|
5
|
+
http://scripts.sil.org/OFL
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
-----------------------------------------------------------
|
|
9
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
10
|
+
-----------------------------------------------------------
|
|
11
|
+
|
|
12
|
+
PREAMBLE
|
|
13
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
14
|
+
development of collaborative font projects, to support the font creation
|
|
15
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
16
|
+
open framework in which fonts may be shared and improved in partnership
|
|
17
|
+
with others.
|
|
18
|
+
|
|
19
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
20
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
21
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
22
|
+
redistributed and/or sold with any software provided that any reserved
|
|
23
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
24
|
+
however, cannot be released under any other type of license. The
|
|
25
|
+
requirement for fonts to remain under this license does not apply
|
|
26
|
+
to any document created using the fonts or their derivatives.
|
|
27
|
+
|
|
28
|
+
DEFINITIONS
|
|
29
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
30
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
31
|
+
include source files, build scripts and documentation.
|
|
32
|
+
|
|
33
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
34
|
+
copyright statement(s).
|
|
35
|
+
|
|
36
|
+
"Original Version" refers to the collection of Font Software components as
|
|
37
|
+
distributed by the Copyright Holder(s).
|
|
38
|
+
|
|
39
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
40
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
41
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
42
|
+
new environment.
|
|
43
|
+
|
|
44
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
45
|
+
writer or other person who contributed to the Font Software.
|
|
46
|
+
|
|
47
|
+
PERMISSION & CONDITIONS
|
|
48
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
49
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
50
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
51
|
+
Software, subject to the following conditions:
|
|
52
|
+
|
|
53
|
+
1) Neither the Font Software nor any of its individual components,
|
|
54
|
+
in Original or Modified Versions, may be sold by itself.
|
|
55
|
+
|
|
56
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
57
|
+
redistributed and/or sold with any software, provided that each copy
|
|
58
|
+
contains the above copyright notice and this license. These can be
|
|
59
|
+
included either as stand-alone text files, human-readable headers or
|
|
60
|
+
in the appropriate machine-readable metadata fields within text or
|
|
61
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
62
|
+
|
|
63
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
64
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
65
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
66
|
+
presented to the users.
|
|
67
|
+
|
|
68
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
69
|
+
Software shall not be used to promote, endorse or advertise any
|
|
70
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
71
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
72
|
+
permission.
|
|
73
|
+
|
|
74
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
75
|
+
must be distributed entirely under this license, and must not be
|
|
76
|
+
distributed under any other license. The requirement for fonts to
|
|
77
|
+
remain under this license does not apply to any document created
|
|
78
|
+
using the Font Software.
|
|
79
|
+
|
|
80
|
+
TERMINATION
|
|
81
|
+
This license becomes null and void if any of the above conditions are
|
|
82
|
+
not met.
|
|
83
|
+
|
|
84
|
+
DISCLAIMER
|
|
85
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
86
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
87
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
88
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
89
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
90
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
91
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
92
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
93
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
Copyright 2020 The JetBrains Mono Project Authors (https://github.com/JetBrains/JetBrainsMono) JetBrainsMono-Italic[wght].ttf: Copyright 2020 The JetBrains Mono Project Authors (https://github.com/JetBrains/JetBrainsMono)
|
|
2
|
+
|
|
3
|
+
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
4
|
+
This license is copied below, and is also available with a FAQ at:
|
|
5
|
+
http://scripts.sil.org/OFL
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
-----------------------------------------------------------
|
|
9
|
+
SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
|
|
10
|
+
-----------------------------------------------------------
|
|
11
|
+
|
|
12
|
+
PREAMBLE
|
|
13
|
+
The goals of the Open Font License (OFL) are to stimulate worldwide
|
|
14
|
+
development of collaborative font projects, to support the font creation
|
|
15
|
+
efforts of academic and linguistic communities, and to provide a free and
|
|
16
|
+
open framework in which fonts may be shared and improved in partnership
|
|
17
|
+
with others.
|
|
18
|
+
|
|
19
|
+
The OFL allows the licensed fonts to be used, studied, modified and
|
|
20
|
+
redistributed freely as long as they are not sold by themselves. The
|
|
21
|
+
fonts, including any derivative works, can be bundled, embedded,
|
|
22
|
+
redistributed and/or sold with any software provided that any reserved
|
|
23
|
+
names are not used by derivative works. The fonts and derivatives,
|
|
24
|
+
however, cannot be released under any other type of license. The
|
|
25
|
+
requirement for fonts to remain under this license does not apply
|
|
26
|
+
to any document created using the fonts or their derivatives.
|
|
27
|
+
|
|
28
|
+
DEFINITIONS
|
|
29
|
+
"Font Software" refers to the set of files released by the Copyright
|
|
30
|
+
Holder(s) under this license and clearly marked as such. This may
|
|
31
|
+
include source files, build scripts and documentation.
|
|
32
|
+
|
|
33
|
+
"Reserved Font Name" refers to any names specified as such after the
|
|
34
|
+
copyright statement(s).
|
|
35
|
+
|
|
36
|
+
"Original Version" refers to the collection of Font Software components as
|
|
37
|
+
distributed by the Copyright Holder(s).
|
|
38
|
+
|
|
39
|
+
"Modified Version" refers to any derivative made by adding to, deleting,
|
|
40
|
+
or substituting -- in part or in whole -- any of the components of the
|
|
41
|
+
Original Version, by changing formats or by porting the Font Software to a
|
|
42
|
+
new environment.
|
|
43
|
+
|
|
44
|
+
"Author" refers to any designer, engineer, programmer, technical
|
|
45
|
+
writer or other person who contributed to the Font Software.
|
|
46
|
+
|
|
47
|
+
PERMISSION & CONDITIONS
|
|
48
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
49
|
+
a copy of the Font Software, to use, study, copy, merge, embed, modify,
|
|
50
|
+
redistribute, and sell modified and unmodified copies of the Font
|
|
51
|
+
Software, subject to the following conditions:
|
|
52
|
+
|
|
53
|
+
1) Neither the Font Software nor any of its individual components,
|
|
54
|
+
in Original or Modified Versions, may be sold by itself.
|
|
55
|
+
|
|
56
|
+
2) Original or Modified Versions of the Font Software may be bundled,
|
|
57
|
+
redistributed and/or sold with any software, provided that each copy
|
|
58
|
+
contains the above copyright notice and this license. These can be
|
|
59
|
+
included either as stand-alone text files, human-readable headers or
|
|
60
|
+
in the appropriate machine-readable metadata fields within text or
|
|
61
|
+
binary files as long as those fields can be easily viewed by the user.
|
|
62
|
+
|
|
63
|
+
3) No Modified Version of the Font Software may use the Reserved Font
|
|
64
|
+
Name(s) unless explicit written permission is granted by the corresponding
|
|
65
|
+
Copyright Holder. This restriction only applies to the primary font name as
|
|
66
|
+
presented to the users.
|
|
67
|
+
|
|
68
|
+
4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
|
69
|
+
Software shall not be used to promote, endorse or advertise any
|
|
70
|
+
Modified Version, except to acknowledge the contribution(s) of the
|
|
71
|
+
Copyright Holder(s) and the Author(s) or with their explicit written
|
|
72
|
+
permission.
|
|
73
|
+
|
|
74
|
+
5) The Font Software, modified or unmodified, in part or in whole,
|
|
75
|
+
must be distributed entirely under this license, and must not be
|
|
76
|
+
distributed under any other license. The requirement for fonts to
|
|
77
|
+
remain under this license does not apply to any document created
|
|
78
|
+
using the Font Software.
|
|
79
|
+
|
|
80
|
+
TERMINATION
|
|
81
|
+
This license becomes null and void if any of the above conditions are
|
|
82
|
+
not met.
|
|
83
|
+
|
|
84
|
+
DISCLAIMER
|
|
85
|
+
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
86
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
|
87
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
|
88
|
+
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
|
|
89
|
+
COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
90
|
+
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
|
91
|
+
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
92
|
+
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
|
93
|
+
OTHER DEALINGS IN THE FONT SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,68 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @capybara-hq/plugin-theme-cyberpunk
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
赛博朋克 / Cyberpunk: the official showcase theme for Capybara. It restyles the web UI with
|
|
4
|
+
neon yellow on deep blue-black, a cyan glow, sharp corners, a techno type pair and a neon pixel
|
|
5
|
+
capybara. It is our own design and uses no third-party game assets, names or fonts.
|
|
6
|
+
|
|
7
|
+
This version is an **L0 theme** (core spec `2026-11-08-themes-design.md`): a declarative plugin
|
|
8
|
+
with no extension code, so it needs no permission approval. It carries one theme file,
|
|
9
|
+
[`themes/cyberpunk.json`](./themes/cyberpunk.json), plus the fonts and the logo it uses.
|
|
10
|
+
|
|
11
|
+
## The theme `cyberpunk`
|
|
12
|
+
|
|
13
|
+
- **Dark only** (single-scheme): while it is active the scheme toggle is hidden.
|
|
14
|
+
- **Palette** (design tokens it overrides; every other token keeps Capybara's dark value):
|
|
15
|
+
|
|
16
|
+
| Token | Value | Role |
|
|
17
|
+
|---|---|---|
|
|
18
|
+
| `bg` | `#070A12` | page ground, deep blue-black |
|
|
19
|
+
| `panel` / `raised` / `sidebar` | `#0C1120` / `#101629` / `#0A0E1B` | surfaces |
|
|
20
|
+
| `hover` / `selected` / `sidebar-active` | `#141C33` / `#1D2945` / `#1B2642` | states |
|
|
21
|
+
| `ink` / `muted` | `#E6F4FF` / `#93A7C6` | text |
|
|
22
|
+
| `accent` / `on-accent` | `#FFE600` / `#0A0B00` | neon yellow and the text on it |
|
|
23
|
+
| `line-card`, `scroll-thumb`, `focus-ring` | cyan `rgba(0,229,255,…)` | cyan secondary touches |
|
|
24
|
+
| `ok` / `warn` / `fail` | `#3DFFA2` / `#FF9F1C` / `#FF5470` | status |
|
|
25
|
+
| shadows | cyan glow, e.g. `0 0 16px rgba(0,229,255,0.12)` | depth |
|
|
26
|
+
| radius | `sm` 0, `md` 2, `bubble` 2 | sharp corners |
|
|
27
|
+
|
|
28
|
+
It passes every contrast and separation floor of Capybara's design tokens (checked by
|
|
29
|
+
`capybara-plugin check` and at import), e.g. `ink` on `bg` 17.7:1, `muted` on `selected`
|
|
30
|
+
5.9:1, `on-accent` on `accent` 15.6:1.
|
|
31
|
+
- **Fonts**: JetBrains Mono for the UI font (`mono`, 400 / 500 / 600 / 700) and Chakra Petch for
|
|
32
|
+
prose (`prose`, 400 / 600 / 700), Latin subsets; Chinese and other scripts fall back to the
|
|
33
|
+
built-in stacks (Sarasa Mono SC, Source Han Sans SC).
|
|
34
|
+
- **Logo**: [`logo.svg`](./logo.svg), Capybara's 14×10 pixel capybara redrawn in neon: a yellow
|
|
35
|
+
body, a cyan eye and a one-pixel cyan offset like a misaligned display. The favicon
|
|
36
|
+
[`favicon.svg`](./favicon.svg) is the same mark on a square dark ground (also the plugin
|
|
37
|
+
icon). The wordmark reads `CYBERBARA`.
|
|
38
|
+
|
|
39
|
+
## Install
|
|
40
|
+
|
|
41
|
+
A super admin imports the plugin from the official marketplace (or uploads the tgz); an org admin
|
|
42
|
+
may also upload it to their org, where it takes effect at once since it contains no code. Then
|
|
43
|
+
pick it in 平台设置 › 外观 (platform default), 组织设置 › 外观 (org default) or
|
|
44
|
+
个人设置 › 偏好设置 › 外观 (your own pick).
|
|
45
|
+
|
|
46
|
+
## What comes next
|
|
47
|
+
|
|
48
|
+
Later versions of this plugin follow the next layers of Capybara's plugin UI (slots, client
|
|
49
|
+
components, decoration): a HUD panel, scanlines and other effects. The layout of this directory
|
|
50
|
+
leaves room for them (an extension under `src/`, UI under `ui/`).
|
|
51
|
+
|
|
52
|
+
## Fonts and licenses
|
|
53
|
+
|
|
54
|
+
The plugin's own files (theme, logo, docs) are under Apache-2.0 (`LICENSE`). The fonts are under
|
|
55
|
+
the SIL Open Font License 1.1, whose full text ships next to them:
|
|
56
|
+
|
|
57
|
+
| Font | Files | Source | License |
|
|
58
|
+
|---|---|---|---|
|
|
59
|
+
| JetBrains Mono | `fonts/JetBrainsMono-{400,500,600,700}.woff2` (Latin) | [`@fontsource/jetbrains-mono`](https://www.npmjs.com/package/@fontsource/jetbrains-mono) 5.3.0, © 2020 The JetBrains Mono Project Authors | OFL-1.1, [`OFL-JetBrainsMono.txt`](./OFL-JetBrainsMono.txt) |
|
|
60
|
+
| Chakra Petch | `fonts/ChakraPetch-{400,600,700}.woff2` (Latin) | [`@fontsource/chakra-petch`](https://www.npmjs.com/package/@fontsource/chakra-petch) 5.3.0, © 2018 The Chakra Petch Project Authors | OFL-1.1, [`OFL-ChakraPetch.txt`](./OFL-ChakraPetch.txt) |
|
|
61
|
+
|
|
62
|
+
## 中文简介
|
|
63
|
+
|
|
64
|
+
赛博朋克主题是 Capybara 官方的展示主题:深蓝黑底、霓虹黄强调色、青色辉光与直角,界面字体用
|
|
65
|
+
JetBrains Mono,正文字体用 Chakra Petch(仅拉丁字符,中文回落到内置字体),标志是霓虹配色的像素
|
|
66
|
+
水豚,字标为 `CYBERBARA`。本版本是 L0 声明式主题,不含扩展代码,无需权限审批;只有深色一种配色,
|
|
67
|
+
并通过全部对比度与分隔度下限。后续版本会随插槽、客户端组件与装饰层加入 HUD 面板、扫描线等效果。
|
|
68
|
+
字体均为 SIL OFL 1.1 授权,许可证全文随插件分发。
|
package/favicon.svg
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" shape-rendering="crispEdges"><title>Cyberbara</title><path fill="#070A12" d="M0 0h16v16h-16z"/><path fill="#FFE600" d="M11 3h1v1h-1zM10 4h3v1h-3zM4 5h11v1h-11zM3 6h9v1h-9zM13 6h2v1h-2zM2 7h13v1h-13zM2 8h13v1h-13zM2 9h12v1h-12zM3 10h10v1h-10zM3 11h2v1h-2zM7 11h1v1h-1zM10 11h2v1h-2zM3 12h2v1h-2zM7 12h1v1h-1zM10 12h2v1h-2z"/><path fill="#00E5FF" d="M12 6h1v1h-1z"/></svg>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/logo.svg
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 15 10" shape-rendering="crispEdges"><title>Cyberbara</title><path fill="#00E5FF" d="M10 0h1v1h-1zM9 1h3v1h-3zM3 2h11v1h-11zM2 3h9v1h-9zM12 3h2v1h-2zM1 4h13v1h-13zM1 5h13v1h-13zM1 6h12v1h-12zM2 7h10v1h-10zM2 8h2v1h-2zM6 8h1v1h-1zM9 8h2v1h-2zM2 9h2v1h-2zM6 9h1v1h-1zM9 9h2v1h-2zM11 3h1v1h-1z"/><path fill="#FFE600" d="M11 0h1v1h-1zM10 1h3v1h-3zM4 2h11v1h-11zM3 3h9v1h-9zM13 3h2v1h-2zM2 4h13v1h-13zM2 5h13v1h-13zM2 6h12v1h-12zM3 7h10v1h-10zM3 8h2v1h-2zM7 8h1v1h-1zM10 8h2v1h-2zM3 9h2v1h-2zM7 9h1v1h-1zM10 9h2v1h-2z"/><path fill="#00E5FF" d="M12 3h1v1h-1z"/></svg>
|
package/package.json
CHANGED
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@capybara-hq/plugin-theme-cyberpunk",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.1.0-rc.1",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"license": "Apache-2.0 AND OFL-1.1",
|
|
6
|
+
"description": "Cyberpunk theme: neon yellow on deep blue-black with cyan glow, techno fonts and a neon pixel capybara",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://github.com/capybara-hq/plugins.git",
|
|
10
|
+
"directory": "plugins/theme-cyberpunk"
|
|
11
|
+
},
|
|
12
|
+
"homepage": "https://github.com/capybara-hq/plugins/tree/main/plugins/theme-cyberpunk#readme"
|
|
13
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://capybarahq.com/schemas/theme.v1.schema.json",
|
|
3
|
+
"name": { "en": "Cyberpunk", "zh": "赛博朋克" },
|
|
4
|
+
"description": {
|
|
5
|
+
"en": "Neon yellow on deep blue-black, cyan glow, sharp corners and a techno type pair.",
|
|
6
|
+
"zh": "深蓝黑底上的霓虹黄,青色辉光,直角与科技感字体。"
|
|
7
|
+
},
|
|
8
|
+
"schemes": {
|
|
9
|
+
"dark": {
|
|
10
|
+
"color": {
|
|
11
|
+
"bg": "#070A12",
|
|
12
|
+
"panel": "#0C1120",
|
|
13
|
+
"panel-2": "#0A0E1A",
|
|
14
|
+
"sidebar": "#0A0E1B",
|
|
15
|
+
"sidebar-active": "#1B2642",
|
|
16
|
+
"raised": "#101629",
|
|
17
|
+
"selected": "#1D2945",
|
|
18
|
+
"hover": "#141C33",
|
|
19
|
+
"line-soft": "#151D33",
|
|
20
|
+
"line": "#24324F",
|
|
21
|
+
"line-strong": "#36496F",
|
|
22
|
+
"line-card": "rgba(0,229,255,0.14)",
|
|
23
|
+
"scroll-thumb": "rgba(0,229,255,0.24)",
|
|
24
|
+
"ink": "#E6F4FF",
|
|
25
|
+
"muted": "#93A7C6",
|
|
26
|
+
"faint": "#56688A",
|
|
27
|
+
"disabled": "#71829F",
|
|
28
|
+
"accent": "#FFE600",
|
|
29
|
+
"accent-hover": "#FFF04D",
|
|
30
|
+
"accent-press": "#E6CF00",
|
|
31
|
+
"on-accent": "#0A0B00",
|
|
32
|
+
"focus-ring": "rgba(0,229,255,0.45)",
|
|
33
|
+
"ok": "#3DFFA2",
|
|
34
|
+
"fail": "#FF5470",
|
|
35
|
+
"warn": "#FF9F1C",
|
|
36
|
+
"scrim": "rgba(2,4,10,0.72)",
|
|
37
|
+
"diff-add": "rgba(61,255,162,0.10)",
|
|
38
|
+
"diff-del": "rgba(255,84,112,0.10)"
|
|
39
|
+
},
|
|
40
|
+
"shadow": {
|
|
41
|
+
"shadow-1": "0 0 16px rgba(0,229,255,0.12)",
|
|
42
|
+
"shadow-2": "0 0 32px rgba(0,229,255,0.18)",
|
|
43
|
+
"shadow-sheet": "-16px 0 40px rgba(0,0,0,0.60)",
|
|
44
|
+
"shadow-float": "0 0 24px rgba(0,229,255,0.16)"
|
|
45
|
+
},
|
|
46
|
+
"radius": { "sm": 0, "md": 2, "bubble": 2 }
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"fonts": [
|
|
50
|
+
{
|
|
51
|
+
"family": "JetBrains Mono",
|
|
52
|
+
"file": "./fonts/JetBrainsMono-400.woff2",
|
|
53
|
+
"weight": 400,
|
|
54
|
+
"role": "mono"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"family": "JetBrains Mono",
|
|
58
|
+
"file": "./fonts/JetBrainsMono-500.woff2",
|
|
59
|
+
"weight": 500,
|
|
60
|
+
"role": "mono"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"family": "JetBrains Mono",
|
|
64
|
+
"file": "./fonts/JetBrainsMono-600.woff2",
|
|
65
|
+
"weight": 600,
|
|
66
|
+
"role": "mono"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"family": "JetBrains Mono",
|
|
70
|
+
"file": "./fonts/JetBrainsMono-700.woff2",
|
|
71
|
+
"weight": 700,
|
|
72
|
+
"role": "mono"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"family": "Chakra Petch",
|
|
76
|
+
"file": "./fonts/ChakraPetch-400.woff2",
|
|
77
|
+
"weight": 400,
|
|
78
|
+
"role": "prose"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"family": "Chakra Petch",
|
|
82
|
+
"file": "./fonts/ChakraPetch-600.woff2",
|
|
83
|
+
"weight": 600,
|
|
84
|
+
"role": "prose"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"family": "Chakra Petch",
|
|
88
|
+
"file": "./fonts/ChakraPetch-700.woff2",
|
|
89
|
+
"weight": 700,
|
|
90
|
+
"role": "prose"
|
|
91
|
+
}
|
|
92
|
+
],
|
|
93
|
+
"logo": { "mark": "./logo.svg", "wordmark": "CYBERBARA", "favicon": "./favicon.svg" }
|
|
94
|
+
}
|