real-world-css-libraries 1.0.3 → 1.0.4
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/README.md +36 -1
- package/index.js +36 -6
- package/libs/30days30submits-18-v0.0.0.css +213 -0
- package/libs/amoled-cord-v5.0.11.css +894 -0
- package/libs/animating-hamburger-icons-v0.1.0.css +618 -0
- package/libs/bootplus-v1.0.5.css +6876 -0
- package/libs/enferno-v13.1.1.css +75 -0
- package/libs/facebook-buttons-v1.0.0.css +223 -0
- package/libs/fluentbird-v1.1.2.css +1060 -0
- package/libs/freebies-v0.0.0.css +1110 -0
- package/libs/gitweb-theme-v0.0.0.css +764 -0
- package/libs/justified-v0.0.0.css +14 -0
- package/libs/kickoff-v8.0.0.css +2267 -0
- package/libs/knacss-v8.2.0.css +1141 -0
- package/libs/linktree-v0.0.0.css +803 -0
- package/libs/littlebox-v0.0.4.css +5833 -0
- package/libs/lynx-v1.4.0.css +1587 -0
- package/libs/obnoxious-v3.5.2.css +1144 -0
- package/libs/obsidian-notebook-themes-v2.2.3.css +272 -0
- package/libs/patternbolt-v0.0.0.css +861 -0
- package/libs/progress-tracker-v3.0.0.css +352 -0
- package/libs/proxmorph-v2.7.3.css +3952 -0
- package/libs/sapc-apca-v0.0.0.css +5546 -0
- package/libs/shina-fox-v0.1.0.css +1194 -0
- package/libs/social-signin-buttons-v0.0.0.css +387 -0
- package/libs/tailwind-cards-v0.0.0.css +215592 -0
- package/libs/the-50-front-end-project-44-v0.0.0.css +459 -0
- package/libs/tocas-v5.7.0.css +19928 -0
- package/libs/utility-opentype-v0.1.4.css +515 -0
- package/libs/vim-css3-syntax-v2.10.0.css +1642 -0
- package/libs/waffle-grid-v1.3.6.css +544 -0
- package/libs/wikipedia-dark-v3.7.9.css +9990 -0
- package/libs/windows-95-v0.0.0.css +393 -0
- package/libs/woah-v1.3.1.css +1025 -0
- package/libs/yacy-v4.1.2.css +677 -0
- package/libs/yue-v1.1.1.css +180 -0
- package/package.json +1 -1
- package/test.js +3 -4
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
/* https://github.com/typlog/yue.css/blob/master/src/yue.css */
|
|
2
|
+
.yue {
|
|
3
|
+
font-family: var(--yue-f-base);
|
|
4
|
+
}
|
|
5
|
+
.yue h1,
|
|
6
|
+
.yue h2,
|
|
7
|
+
.yue h3,
|
|
8
|
+
.yue h4,
|
|
9
|
+
.yue h5,
|
|
10
|
+
.yue h6 {
|
|
11
|
+
font-family: var(--yue-f-heading);
|
|
12
|
+
color: var(--yue-c-strong);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.yue h1 {
|
|
16
|
+
font-weight: 700;
|
|
17
|
+
font-size: 1.8em;
|
|
18
|
+
margin: 0 0 3em;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.yue h2 {
|
|
22
|
+
font-weight: 700;
|
|
23
|
+
font-size: 1.42em;
|
|
24
|
+
margin-top: 1.42em;
|
|
25
|
+
margin-bottom: 0.4em;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.yue h3 {
|
|
29
|
+
font-size: 1.17em;
|
|
30
|
+
margin-top: 1.62em;
|
|
31
|
+
margin-bottom: 1em;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.yue h4,
|
|
35
|
+
.yue h5,
|
|
36
|
+
.yue h6 {
|
|
37
|
+
font-size: 1em;
|
|
38
|
+
margin-top: 1.4em;
|
|
39
|
+
margin-bottom: 0.8em;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.yue h6 {
|
|
43
|
+
font-weight: 500;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.yue p {
|
|
47
|
+
margin-top: 0;
|
|
48
|
+
margin-bottom: 1.12em;
|
|
49
|
+
hyphens: auto;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.yue h1 a, .yue h2 a, .yue h3 a {
|
|
53
|
+
text-decoration: none;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.yue strong,
|
|
57
|
+
.yue b {
|
|
58
|
+
font-weight: 700;
|
|
59
|
+
color: var(--yue-c-strong);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.yue em,
|
|
63
|
+
.yue i {
|
|
64
|
+
font-style: italic;
|
|
65
|
+
color: var(--yue-c-strong);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.yue a img {
|
|
69
|
+
border: none;
|
|
70
|
+
vertical-align: middle;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.yue a {
|
|
74
|
+
color: var(--yue-c-accent);
|
|
75
|
+
text-decoration: none;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.yue a:hover {
|
|
79
|
+
text-decoration: underline;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.yue figure {
|
|
83
|
+
margin: 0;
|
|
84
|
+
}
|
|
85
|
+
.yue figcaption {
|
|
86
|
+
margin-top: 4px;
|
|
87
|
+
font-size: 13px;
|
|
88
|
+
text-align: center;
|
|
89
|
+
color: var(--yue-c-light);
|
|
90
|
+
}
|
|
91
|
+
.yue figcaption a {
|
|
92
|
+
color: var(--yue-c-light);
|
|
93
|
+
}
|
|
94
|
+
.yue figcaption a:hover {
|
|
95
|
+
color: var(--yue-c-accent);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.yue hr {
|
|
99
|
+
display: block;
|
|
100
|
+
width: 90%;
|
|
101
|
+
max-width: 100px;
|
|
102
|
+
border: 0;
|
|
103
|
+
border-top: 5px solid var(--yue-c-divider);
|
|
104
|
+
margin: 2.4em auto;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.yue blockquote {
|
|
108
|
+
position: relative;
|
|
109
|
+
margin: 0 0 1.64em 0;
|
|
110
|
+
padding: 34px 1em 0.1em 20px;
|
|
111
|
+
font-size: 1.12em;
|
|
112
|
+
font-family: var(--yue-f-quote);
|
|
113
|
+
border-left: 4px solid var(--yue-c-accent);
|
|
114
|
+
}
|
|
115
|
+
.yue blockquote::before {
|
|
116
|
+
content: '\201c';
|
|
117
|
+
position: absolute;
|
|
118
|
+
top: 0;
|
|
119
|
+
left: 20px;
|
|
120
|
+
color: var(--yue-c-accent);
|
|
121
|
+
font: bold 48px/1 "Times New Roman", Georgia, Palatino, Times, serif;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.yue ul,
|
|
125
|
+
.yue ol {
|
|
126
|
+
margin: 0 0 24px 6px;
|
|
127
|
+
padding-left: 16px;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.yue li {
|
|
131
|
+
margin-bottom: 0.2em;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
.yue li ul,
|
|
135
|
+
.yue li ol {
|
|
136
|
+
margin-top: 0;
|
|
137
|
+
margin-bottom: 0;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.yue li p {
|
|
141
|
+
margin: 0.4em 0 0.6em;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.yue li > code,
|
|
145
|
+
.yue p > code,
|
|
146
|
+
.yue p > tt {
|
|
147
|
+
font-size: 0.86em;
|
|
148
|
+
font-family: var(--yue-f-mono);
|
|
149
|
+
font-weight: 600;
|
|
150
|
+
padding: 1px 3px;
|
|
151
|
+
word-wrap: break-word;
|
|
152
|
+
border-radius: 2px;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.yue pre {
|
|
156
|
+
font-family: var(--yue-f-mono);
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.yue iframe {
|
|
160
|
+
display: block;
|
|
161
|
+
max-width: 100%;
|
|
162
|
+
margin-bottom: 1.5em;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.yue figure iframe {
|
|
166
|
+
margin: auto;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
:lang(zh) .yue em,
|
|
170
|
+
:lang(zh-hant) .yue em,
|
|
171
|
+
:lang(zh-hans) .yue em,
|
|
172
|
+
:lang(ja) .yue em {
|
|
173
|
+
font-style: normal;
|
|
174
|
+
text-emphasis: filled dot var(--yue-c-light);
|
|
175
|
+
text-emphasis-position: under;
|
|
176
|
+
}
|
|
177
|
+
.yue em:lang(en) {
|
|
178
|
+
font-style: italic !important;
|
|
179
|
+
text-emphasis: none !important;
|
|
180
|
+
}
|
package/package.json
CHANGED
package/test.js
CHANGED
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
} from 'node:fs';
|
|
6
6
|
import { join } from 'node:path';
|
|
7
7
|
|
|
8
|
-
import getRealWorldCSS from './index.js';
|
|
8
|
+
import getRealWorldCSS, { getVersion } from './index.js';
|
|
9
9
|
|
|
10
10
|
const __dirname = import.meta.dirname;
|
|
11
11
|
|
|
@@ -83,9 +83,8 @@ function checkLibsFolder (libraries) {
|
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
const filesMissingVersion = files.filter((file) => {
|
|
86
|
-
const version = file
|
|
87
|
-
|
|
88
|
-
.split('-v')[1];
|
|
86
|
+
const version = getVersion(file).replace('v', '');
|
|
87
|
+
// ['1', '0', '2']
|
|
89
88
|
const [major, minor, patch] = version.split('.');
|
|
90
89
|
return !(
|
|
91
90
|
version.split('.').length === 3 &&
|