real-world-css-libraries 1.0.2 → 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.
Files changed (55) hide show
  1. package/README.md +72 -7
  2. package/index.js +45 -6
  3. package/libs/30days30submits-18-v0.0.0.css +213 -0
  4. package/libs/amoled-cord-v5.0.11.css +894 -0
  5. package/libs/animating-hamburger-icons-v0.1.0.css +618 -0
  6. package/libs/bootplus-v1.0.5.css +6876 -0
  7. package/libs/cleanslate-v0.10.1.css +454 -0
  8. package/libs/colofilter-v0.0.0.css +232 -0
  9. package/libs/enferno-v13.1.1.css +75 -0
  10. package/libs/facebook-buttons-v1.0.0.css +223 -0
  11. package/libs/fileicon-v0.1.1.css +140 -0
  12. package/libs/fluentbird-v1.1.2.css +1060 -0
  13. package/libs/freebies-v0.0.0.css +1110 -0
  14. package/libs/gitweb-theme-v0.0.0.css +764 -0
  15. package/libs/gridism-v0.2.2.css +133 -0
  16. package/libs/holmes-v6.8.12.css +483 -0
  17. package/libs/justified-v0.0.0.css +14 -0
  18. package/libs/kickoff-v8.0.0.css +2267 -0
  19. package/libs/knacss-v8.2.0.css +1141 -0
  20. package/libs/less-framework-v0.0.0.css +168 -0
  21. package/libs/linktree-v0.0.0.css +803 -0
  22. package/libs/littlebox-v0.0.4.css +5833 -0
  23. package/libs/lynx-v1.4.0.css +1587 -0
  24. package/libs/medium.css-v1.0.2.css +287 -0
  25. package/libs/obnoxious-v3.5.2.css +1144 -0
  26. package/libs/obsidian-notebook-themes-v2.2.3.css +272 -0
  27. package/libs/off-canvas-menu-effects-v0.0.0.css +238 -0
  28. package/libs/patternbolt-v0.0.0.css +861 -0
  29. package/libs/progress-tracker-v3.0.0.css +352 -0
  30. package/libs/proxmorph-v2.7.3.css +3952 -0
  31. package/libs/sapc-apca-v0.0.0.css +5546 -0
  32. package/libs/select2-bootstrap-v1.2.5.css +120 -0
  33. package/libs/shina-fox-v0.1.0.css +1194 -0
  34. package/libs/simptip-v1.0.4.css +447 -0
  35. package/libs/social-signin-buttons-v0.0.0.css +387 -0
  36. package/libs/spicetify-bloom-v0.0.0.css +2725 -0
  37. package/libs/stackoverflow-dark-v5.1.2.css +4962 -0
  38. package/libs/swagger-ui-themes-2-v2.1.0.css +1730 -0
  39. package/libs/swagger-ui-themes-3-v3.0.1.css +1793 -0
  40. package/libs/tailwind-cards-v0.0.0.css +215592 -0
  41. package/libs/the-50-front-end-project-44-v0.0.0.css +459 -0
  42. package/libs/tocas-v5.7.0.css +19928 -0
  43. package/libs/utility-opentype-v0.1.4.css +515 -0
  44. package/libs/vim-css3-syntax-v2.10.0.css +1642 -0
  45. package/libs/waffle-grid-v1.3.6.css +544 -0
  46. package/libs/wenk-v1.0.8.css +126 -0
  47. package/libs/wikipedia-dark-v3.7.9.css +9990 -0
  48. package/libs/windows-95-v0.0.0.css +393 -0
  49. package/libs/woah-v1.3.1.css +1025 -0
  50. package/libs/yacy-v4.1.2.css +677 -0
  51. package/libs/yue-v1.1.1.css +180 -0
  52. package/package.json +3 -3
  53. package/test.js +3 -4
  54. /package/libs/{bootstrap-v4.6.2.css → bootstrap-4-v4.6.2.css} +0 -0
  55. /package/libs/{bootstrap-v5.3.8.css → bootstrap-5-v5.3.8.css} +0 -0
package/README.md CHANGED
@@ -1,9 +1,13 @@
1
1
  # real-world-css-libraries
2
2
 
3
- Repository of unminified, real-world, CSS files from open source projects.
3
+ Corpus of unminified, real-world, CSS files from open source projects.
4
4
 
5
5
  For use in minification tests and tooling benchmarks.
6
6
 
7
+ To see how various CSS Minification Tools perform when minifying these files:
8
+
9
+ * https://www.keithcirkel.co.uk/css-minify-tests/#real-world
10
+
7
11
 
8
12
  ## Usage
9
13
 
@@ -27,10 +31,11 @@ console.log(libraries);
27
31
  * {
28
32
  * fileName: '960.gs-v0.0.0.css',
29
33
  * name: '960.gs',
30
- * version: 'v1.0.0',
34
+ * version: 'v0.0.0',
31
35
  * license: 'GPL-3.0 or MIT',
32
36
  * source: '/*\n 960 Grid System ~ Core CSS.\n Learn more ~ http://9...',
33
- * size: 9989
37
+ * size: 9989,
38
+ * url: 'https://github.com/nathansmith/960-Grid-System/blob/master/code/css/960.css'
34
39
  * },
35
40
  * {
36
41
  * fileName: 'animate-v4.1.1.css',
@@ -38,7 +43,8 @@ console.log(libraries);
38
43
  * version: 'v4.1.1',
39
44
  * license: 'Hippocratic-2.1',
40
45
  * source: '@charset "UTF-8";\n/*!\n * animate.css - https://animate.s...',
41
- * size: 95377
46
+ * size: 95377,
47
+ * url: 'https://github.com/animate-css/animate.css/blob/main/animate.css'
42
48
  * },
43
49
  * ...
44
50
  * ]
@@ -56,6 +62,8 @@ console.log(namesOfLibrariesCompatibleWithMITLicense);
56
62
  // ['960.gs', '98', 'AdminLTE', ...]
57
63
  ```
58
64
 
65
+ **Note:** The `size` is from the original file size on disk. This will be different from `source.length`. If you are comparing the output of a minifier, for example, by using `output.length` of it as a string, then to get a more accurate comparison for percentage of size reduction, you should use `output.length / source.length` instead of `output.length / size`. Counting the number of characters is different than the actual filesize, because not all characters are 1 byte.
66
+
59
67
 
60
68
  ## Non-npm usage
61
69
 
@@ -69,6 +77,8 @@ If you are using a different programming language/package management system and
69
77
  1. Manually download repo as a ZIP file:
70
78
  * https://github.com/TheJaredWilcurt/real-world-css-libraries/archive/refs/heads/main.zip
71
79
 
80
+ Then you can loop over the files in the `libs` folder yourself for your usage.
81
+
72
82
 
73
83
  ## Adding a library
74
84
 
@@ -84,6 +94,11 @@ If you are using a different programming language/package management system and
84
94
  * If the new library's name needs correcting (like `Mycssrepo` should be `My CSS Repo`), update `nameMap` in `index.js` and run `npm t` again.
85
95
 
86
96
 
97
+ ## License
98
+
99
+ This repo and all original work within is licensed under MIT. However, the files in the `libs` folder have their own licenses, which can be seen below. I've modified each file to include a single line comment at the top with a link to the original source file, and where needed, ensured there is a single empty return at the end of each file. For simplicity, each of these changes is re-licensed using the exact same original license that was associated with that library. So the (slightly) modified copy of FF-Ultima in `/libs/ff-ultima-v4.3.0.css`, for example, retains it's original `MPL-2.0` license. Effectively all the files in the `/lib` folder have a "pass-through" license back to their original in the sense that my modifications are intentionally minor and inconsequential and therefor should not require a re-licensing of them, but if in a legal sense these minor changes require re-licensing, they are intentionally re-licensed with a matching license of the original. No other changes were made to these files, as I want to keep them representative to what exists in the real world, bugs and all.
100
+
101
+
87
102
  ## Skipped Libraries
88
103
 
89
104
  These libraries were explicitly not included because they lack a compatible license. Issues have been created for them to add a license, if they do in the future, they can be included in this repo.
@@ -93,20 +108,24 @@ These libraries were explicitly not included because they lack a compatible lice
93
108
  * https://github.com/pattle/simpsons-in-css/issues/3
94
109
  * https://github.com/soulwire/Makisu/pull/23
95
110
  * https://github.com/jackyzha0/sunlit/issues/4
111
+ * https://github.com/replete/obsidian-minimal-theme-css-snippets/issues/13
96
112
 
97
113
 
98
114
  ## Libraries included:
99
115
 
100
- There are **151** files totaling **33.32MB** of unminified CSS.
116
+ There are **200** files totaling **40.75MB** of unminified CSS.
101
117
 
102
118
  Library | License
103
119
  :-- | :--
120
+ [30 Days 30 Submits #18](https://github.com/ShaifArfan/30days30submits/blob/master/day-18/style.css) | MIT
104
121
  [3D transforms](https://github.com/desandro/3dtransforms/blob/gh-pages/css/style.css) | MIT
105
122
  [960.gs](https://github.com/nathansmith/960-Grid-System/blob/master/code/css/960.css) | GPL-3.0 or MIT
106
123
  [98](https://github.com/jdan/98.css/blob/main/style.css) | MIT
107
124
  [Academicons](https://github.com/jpswalsh/academicons/blob/v1.9.6/css/academicons.css) | MIT
108
125
  [AdminLTE](https://github.com/ColorlibHQ/AdminLTE/blob/master/dist/css/adminlte.css) | MIT
126
+ [AMOLED-cord](https://github.com/LuckFire/amoled-cord/blob/main/src/amoled-cord.css) | MIT
109
127
  [Animate](https://github.com/animate-css/animate.css/blob/main/animate.css) | Hippocratic-2.1
128
+ [Animating Hamburger Icons](https://github.com/callmenick/Animating-Hamburger-Icons/blob/master/css/style.css) | MIT
110
129
  [Animo](https://github.com/ThrivingKings/animo.js/blob/master/animate-animo.css) | MIT
111
130
  [Animsition](https://github.com/blivesta/animsition/blob/master/dist/css/animsition.css) | MIT
112
131
  [Awesome Bootstrap Checkbox](https://github.com/flatlogic/awesome-bootstrap-checkbox/blob/master/awesome-bootstrap-checkbox.css) | MIT
@@ -116,8 +135,9 @@ Library | License
116
135
  [Blue-Topaz Obsidian](https://raw.githubusercontent.com/PKM-er/Blue-Topaz_Obsidian-css/refs/heads/master/obsidian.css) | MIT
117
136
  [Boilerform](https://github.com/Andy-set-studio/boilerform/blob/master/dist/css/boilerform.css) | MIT
118
137
  [Bojler](https://unpkg.com/@slicejack/bojler@3.2.1/dist/inline.css) | MIT
119
- [Bootstrap](https://github.com/twbs/bootstrap/releases/tag/v4.6.2) | MIT
120
- [Bootstrap](https://github.com/twbs/bootstrap/releases/tag/v5.3.8) | MIT
138
+ [Bootplus](https://github.com/aozora/bootplus/blob/master/docs/assets/css/bootplus.css) | Apache-2.0 or GPL-2.0
139
+ [Bootstrap 4](https://github.com/twbs/bootstrap/releases/tag/v4.6.2) | MIT
140
+ [Bootstrap 5](https://github.com/twbs/bootstrap/releases/tag/v5.3.8) | MIT
121
141
  [Bttn](https://github.com/ganapativs/bttn.css/blob/master/dist/bttn.css) | MIT
122
142
  [Bulma](https://github.com/jgthms/bulma/blob/main/css/bulma.css) | MIT
123
143
  [Carbon](https://unpkg.com/@carbon/styles@1.107.0/css/styles.css) | Apache-2.0
@@ -125,7 +145,9 @@ Library | License
125
145
  [Chota](https://github.com/jenil/chota/blob/main/dist/chota.css) | MIT
126
146
  [Cirrus](https://github.com/Spiderpig86/Cirrus/blob/master/dist/cirrus.css) | MIT
127
147
  [Classless](https://github.com/DigitallyTailored/Classless.css/blob/main/classless.css) | MIT
148
+ [CleanSlate](https://github.com/premasagar/cleanslate/blob/master/cleanslate.css) | MIT
128
149
  [CodeFrame](https://github.com/codyhouse/codyframe/blob/main/main/css/style.css) | MIT
150
+ [Colofilter](https://github.com/LukyVj/colofilter.css/blob/master/styles/colofilter.css) | MIT
129
151
  [Concise](https://unpkg.com/concise.css@4.1.2/dist/concise.css) | MIT
130
152
  [CrookedStyleSheets](https://github.com/jbtronics/CrookedStyleSheets/blob/master/screen.css) | MIT
131
153
  [cs16.css](https://github.com/ekmas/cs16.css/blob/main/css/cs16.css) | MIT
@@ -145,35 +167,51 @@ Library | License
145
167
  [Doxygen Awesome](https://github.com/jothepro/doxygen-awesome-css/blob/main/doxygen-awesome.css) | MIT
146
168
  [Effeckt](https://github.com/h5bp/Effeckt.css/blob/master/css/effeckt.css) | MIT
147
169
  [ElegantFin](https://github.com/lscambo13/ElegantFin/blob/main/Theme/ElegantFin-theme-v25.12.31.css) | MIT
170
+ [Enferno](https://github.com/level09/enferno/blob/master/enferno/static/css/app.css) | MIT
148
171
  [Evil](https://github.com/tlrobinson/evil.css/blob/master/evil.css) | Public Domain
172
+ [Facebook Buttons](https://github.com/necolas/css3-facebook-buttons/blob/master/fb-buttons.css) | MIT
149
173
  [FF-Ultima](https://github.com/soulhotel/FF-ULTIMA/blob/main/theme/ffu-internal-appearance.css) | MPL-2.0
174
+ [Fileicon](https://github.com/picturepan2/fileicon.css/blob/master/fileicon.css) | MIT
150
175
  [Flakes](https://github.com/kumailht/flakes/blob/master/css/all.css) | MIT
151
176
  [Flex Layout Attribute](https://github.com/StefanKovac/flex-layout-attribute/blob/master/css/flex-layout-attribute.css) | MIT
177
+ [FluentBird](https://github.com/Deathbyteacup/fluentbird/blob/main/userChrome.css) | MIT
152
178
  [Fomantic UI](https://github.com/fomantic/Fomantic-UI/blob/develop/dist/semantic.css) | MIT
153
179
  [Font Awesome](https://github.com/FortAwesome/Font-Awesome/releases/tag/7.2.0) | MIT
154
180
  [Foundation](https://github.com/foundation/foundation-sites/releases/tag/v6.9.0) | MIT
181
+ [Freebies](https://github.com/uisual/freebies/blob/master/curve/style.css) | MIT
155
182
  [Furatto](https://github.com/IcaliaLabs/furatto/blob/master/dist/css/furatto.css) | MIT
156
183
  [Gallery](https://github.com/benschwarz/gallery-css/blob/master/dist/gallery.prefixed.css) | MIT
157
184
  [GitHub-Dark](https://github.com/StylishThemes/GitHub-Dark/blob/master/github-dark.user.css) | BSD-2-Clause
158
185
  [GitHub-Markdown](https://github.com/sindresorhus/github-markdown-css/blob/main/github-markdown.css) | MIT
159
186
  [GitHub-Windows](https://github.com/Athari/CssGitHubWindows/blob/master/GitHubWindows.user.css) | MIT
187
+ [gitweb-theme](https://github.com/kogakure/gitweb-theme/blob/master/gitweb.css) | MIT
160
188
  [google-type](https://github.com/femmebot/google-type/blob/master/css/google-type.css) | MIT
189
+ [Gridism](https://github.com/cobyism/gridism/blob/master/gridism.css) | MIT
161
190
  [Gridlex](https://github.com/devlint/gridlex/blob/master/dist/gridlex.css) | MIT
162
191
  [Gumby](https://github.com/GumbyFramework/Gumby/blob/master/css/gumby.css) | MIT
163
192
  [Gutenberg](https://github.com/BafS/Gutenberg/blob/master/dist/gutenberg.css) | MIT
164
193
  [Halfmoon](https://github.com/halfmoonui/halfmoon/blob/master/css/halfmoon.css) | MIT
165
194
  [HalfStyle](https://github.com/arbelh/HalfStyle/blob/master/css/halfstyle.css) | MIT
166
195
  [Hint](https://github.com/chinchang/hint.css/blob/master/hint.css) | MIT
196
+ [Holmes](https://github.com/redroot/holmes/blob/master/holmes.css) | GPL-3.0
167
197
  [HTML Sheets of Paper](https://github.com/delight-im/HTML-Sheets-of-Paper/blob/gh-pages/css/sheets-of-paper.css) | MIT
168
198
  [Hugo Universal Theme](https://github.com/devcows/hugo-universal-theme/blob/master/static/css/style.default.css) | MIT
169
199
  [Icon Hover Effects](https://github.com/codrops/IconHoverEffects/blob/master/css/component.css) | MIT
170
200
  [Instagram.css](https://github.com/picturepan2/instagram.css/blob/master/dist/instagram.css) | MIT
171
201
  [Jupyter Themes](https://github.com/dunovank/jupyter-themes/blob/master/jupyterthemes/styles/compiled/gruvboxd.css) | MIT
202
+ [Justified](https://github.com/nitinhayaran/Justified.js/blob/master/jquery.justified.css) | MIT
203
+ [Kickoff](https://github.com/TryKickoff/kickoff/blob/master/assets/dist/css/styleguide.css) | MIT
204
+ [KNACSS](https://github.com/alsacreations/KNACSS/blob/master/assets/css/natives.css) | WTFPL
205
+ [Less Framework](https://github.com/jonikorpi/Less-Framework/blob/master/main-17px.css) | MIT
206
+ [Linktree](https://github.com/johnggli/linktree/blob/master/style.css) | MIT
207
+ [littlebox](https://github.com/cmaddux/littlebox/blob/master/lib/littlebox.css) | MIT
172
208
  [Load Awesome](https://labs.danielcardoso.net/load-awesome/assets/loaders.css) | MIT
173
209
  [Loaders](https://github.com/ConnorAtherton/loaders.css/blob/master/loaders.css) | MIT
174
210
  [Luxbar](https://github.com/balzss/luxbar/blob/master/build/luxbar.css) | MIT
211
+ [Lynx](https://github.com/jpanther/lynx/blob/dev/assets/css/compiled/main.css) | MIT
175
212
  [markdown-css](https://github.com/mrcoles/markdown-css/blob/master/markdown.css) | MIT
176
213
  [Material for Bootstrap](https://github.com/Daemonite/material/blob/master/css/material.css) | MIT
214
+ [medium.css](https://github.com/lucagez/medium.css/blob/master/demo/src/medium_extended.css) | MIT
177
215
  [Meyer](https://meyerweb.com/eric/tools/css/reset/reset.css) | Public Domain
178
216
  [Microsoft Metro Buttons](https://github.com/ace-subido/css3-microsoft-metro-buttons#license) | CC-BY-3.0
179
217
  [Microtip](https://github.com/ghosh/microtip/blob/master/microtip.css) | MIT
@@ -188,10 +226,14 @@ Library | License
188
226
  [NES.css](https://unpkg.com/nes.css@2.3.0/css/nes.css) | MIT
189
227
  [Normalize](https://github.com/necolas/normalize.css/blob/master/normalize.css) | MIT
190
228
  [object-fit Polyfill](https://github.com/anselmh/object-fit/blob/master/dist/polyfill.object-fit.css) | MIT
229
+ [Obnoxious](https://github.com/tholman/obnoxious.css/blob/master/obnoxious.css) | MIT
191
230
  [Obsidian Colored Sidebar](https://github.com/CyanVoxel/Obsidian-Colored-Sidebar/blob/main/Colored%20Sidebar%20Items.css) | MIT
192
231
  [Obsidian Modular CSS Layout](https://github.com/efemkay/obsidian-modular-css-layout/blob/main/MCL%20Multi%20Column.css) | GPL-3.0
232
+ [Obsidian Notebook Themes](https://github.com/CyanVoxel/Obsidian-Notebook-Themes/blob/main/Notebook%20Backgrounds.css) | MIT
233
+ [OffCanvasMenuEffects](https://github.com/codrops/OffCanvasMenuEffects/blob/master/css/menu_cornermorph.css) | MIT
193
234
  [Orbit](https://unpkg.com/@zumer/orbit@1.4.11/dist/orbit.css) | MIT
194
235
  [Paper](https://github.com/cognitom/paper-css/blob/master/paper.css) | MIT
236
+ [PatternBolt](https://github.com/buseca/patternbolt/blob/gh-pages/css/style-demo.css) | MIT
195
237
  [PatternFly](https://unpkg.com/@patternfly/patternfly@6.5.2/patternfly.css) | MIT
196
238
  [Pesticide](https://github.com/mrmrs/pesticide/blob/main/css/pesticide.css) | MIT
197
239
  [Photon](https://github.com/connors/photon/blob/master/dist/css/photon.css) | MIT
@@ -201,6 +243,8 @@ Library | License
201
243
  [Portfolio Template](https://github.com/nisarhassan12/portfolio-template/blob/master/index.css) | GPL-3.0
202
244
  [Preboot](https://github.com/mdo/preboot/blob/gh-pages/css/docs-compiled.css) | MIT
203
245
  [Pretty Checkbox](https://github.com/lokesh-coder/pretty-checkbox/blob/master/dist/pretty-checkbox.css) | MIT
246
+ [Progress Tracker](https://github.com/NigelOToole/progress-tracker/blob/master/src/styles/progress-tracker.css) | MIT
247
+ [ProxMorph](https://github.com/IT-BAER/proxmorph/blob/main/themes/theme-unifi.css) | MIT
204
248
  [Pure](https://cdn.jsdelivr.net/npm/purecss@3.0.0/build/pure.css) | BSD-3-Clause
205
249
  [Pygments Fruity](https://github.com/richleland/pygments-css/blob/master/fruity.css) | Unlicense
206
250
  [Ratchet](https://github.com/twbs/ratchet/blob/master/dist/css/ratchet.css) | MIT
@@ -214,27 +258,39 @@ Library | License
214
258
  [Ripple UI](https://unpkg.com/rippleui@1.12.1/dist/css/styles.css) | MIT
215
259
  [Sakura](https://github.com/oxalorg/sakura/blob/master/css/sakura.css) | MIT
216
260
  [Sanitize](https://github.com/csstools/sanitize.css/blob/main/sanitize.css) | CC0-1.0
261
+ [SAPC-APCA](https://github.com/Myndex/SAPC-APCA/blob/master/CSS/MyndexbDark.css) | AGPL-3.0
262
+ [Select2 Bootstrap](https://github.com/t0m/select2-bootstrap-css/blob/master/select2-bootstrap.css) | MIT
217
263
  [Select](https://github.com/filamentgroup/select-css/blob/master/src/select-css.css) | MIT
218
264
  [Semantic UI](https://github.com/Semantic-Org/Semantic-UI/blob/master/dist/semantic.css) | MIT
219
265
  [Shards](https://github.com/DesignRevision/shards-ui/blob/master/dist/css/shards.css) | MIT
266
+ [Shina Fox](https://github.com/Shina-SG/Shina-Fox/blob/main/userChrome.css) | MPL-2.0
220
267
  [Sierra](https://unpkg.com/sierra-library@3.5.0/dist/sierra.css) | GPL-2.0
221
268
  [Simple Grid](https://github.com/zachacole/Simple-Grid/blob/master/simple-grid.css) | MIT
222
269
  [Simple Line Icons](https://github.com/thesabbir/simple-line-icons/blob/master/dist/styles/simple-line-icons.css) | MIT
223
270
  [Simple](https://codeberg.org/kevquirk/simple.css/src/branch/main/simple.css) | MIT
271
+ [SimpTip](https://github.com/arashmanteghi/simptip/blob/master/simptip.css) | MIT
224
272
  [Skeleton](https://github.com/dhg/Skeleton/blob/master/css/skeleton.css) | MIT
273
+ [Social Sign-in Buttons](https://github.com/necolas/css3-social-signin-buttons/blob/gh-pages/auth-buttons.css) | Unlicense
225
274
  [SPCSS](https://github.com/susam/spcss/blob/main/sp.css) | MIT
226
275
  [Spectre](https://github.com/picturepan2/spectre/blob/master/dist/spectre.css) | MIT
276
+ [Spicetify Bloom](https://github.com/nimsandu/spicetify-bloom/blob/main/src/user.css) | MIT
227
277
  [Spicetify Dribbblish](https://github.com/spicetify/spicetify-themes/blob/master/Dribbblish/user.css) | MIT
228
278
  [Spicetify Text](https://github.com/spicetify/spicetify-themes/blob/master/text/user.css) | MIT
229
279
  [Spinkit](https://github.com/tobiasahlin/SpinKit/blob/master/spinkit.css) | MIT
230
280
  [Stackicons](https://github.com/parkerbennett/stackicons/blob/master/css/stackicons-social.css) | MIT
281
+ [StackOverflow-Dark](https://github.com/StylishThemes/StackOverflow-Dark/blob/v5.1.2/stackoverflow-dark.user.css) | CC-BY-SA-4.0
231
282
  [Stacks](https://unpkg.com/@stackoverflow/stacks@2.8.6/dist/css/stacks.css) | MIT
283
+ [Swagger UI Themes 2](https://github.com/ostranme/swagger-ui-themes/blob/develop/themes/2.x/theme-monokai.css) | MIT
284
+ [Swagger UI Themes 3](https://github.com/ostranme/swagger-ui-themes/blob/develop/themes/3.x/theme-monokai.css) | MIT
232
285
  [System](https://github.com/sakofchit/system.css/blob/main/style.css) | MIT
233
286
  [Tablecloth](https://github.com/bwsewell/tablecloth/blob/master/assets/css/tablecloth.css) | MIT
234
287
  [Tachyons](https://github.com/tachyons-css/tachyons/blob/main/css/tachyons.css) | MIT
288
+ [Tailwind Cards](https://github.com/hasinhayder/tailwind-cards/blob/master/tailwind.css) | MIT
235
289
  [Tailwind](https://unpkg.com/tailwindcss@2.2.19/dist/tailwind.css) | MIT
290
+ [The 50 Front-end Project #44](https://github.com/SudeepAcharjee/The-50-Front-end-Project/blob/main/44.Admin%20panel%20Dashboard/Admin%20Dashboard%20Panel/style.css) | BSL-1.0
236
291
  [The New CSS Reset](https://github.com/elad2412/the-new-css-reset/blob/main/css/reset.css) | MIT
237
292
  [Toast](https://github.com/daneden/Toast/blob/master/css/grid.css) | MIT
293
+ [Tocas](https://github.com/teacat/tocas/blob/master/dist/tocas.css) | MIT
238
294
  [Tooltip Twispy](https://github.com/HubSpot/tooltip/blob/master/dist/css/tooltip-theme-twipsy.css) | MIT
239
295
  [Tufte](https://unpkg.com/tufte-css@1.8.0/tufte.css) | MIT
240
296
  [Tui](https://github.com/vinibiavatti1/TuiCss/blob/master/dist/tuicss.css) | MIT
@@ -242,13 +298,22 @@ Library | License
242
298
  [UIkit](https://github.com/uikit/uikit/blob/develop/dist/css/uikit.css) | MIT
243
299
  [Universal.css](https://raw.githubusercontent.com/marmelab/universal.css/refs/heads/master/universal.css) | WTFPL
244
300
  [USWDS](https://unpkg.com/@uswds/uswds@3.13.0/dist/css/uswds.css) | CC0-1.0
301
+ [Utility OpenType](https://github.com/kennethormandy/utility-opentype/blob/master/css/utility-opentype.css) | MIT
302
+ [Vim CSS3 Syntax](https://github.com/hail2u/vim-css3-syntax/blob/main/test/test.css) | MIT
245
303
  [VitePress](https://github.com/vuejs/vitepress/blob/v1.6.4/src/client/theme-default/styles/components/vp-doc.css) | MIT
246
304
  [Vivify](https://github.com/Martz90/vivify/blob/master/vivify.css) | MIT
247
305
  [Voxels](https://github.com/HunterLarco/voxel.css/blob/master/src/voxel.css) | MIT
306
+ [Waffle Grid](https://github.com/pr1mer-tech/waffle-grid/blob/master/dist/waffle-grid.css) | MIT
248
307
  [Water](https://cdn.jsdelivr.net/npm/water.css@2.1.1/out/water.css) | MIT
249
308
  [Weather Icons](https://github.com/erikflowers/weather-icons/tree/master/css) | MIT
250
309
  [Webgradients](https://github.com/itmeo/webgradients/blob/master/webgradients.css) | MIT
310
+ [Wenk](https://github.com/tiaanduplessis/wenk/blob/master/dist/wenk.cssnext.css) | MIT
311
+ [Wikipedia Dark](https://github.com/StylishThemes/Wikipedia-Dark/blob/master/wikipedia-dark.user.css) | CC-BY-SA-4.0
312
+ [Windows 95](https://github.com/h01000110/windows-95/blob/master/_sass/_main.scss) | MIT
251
313
  [Windows 98](https://github.com/yocontra/windows_98.css/blob/master/dist/win98.css) | MIT
252
314
  [Wing](https://github.com/kbrsh/wing/blob/master/dist/wing.css) | MIT
315
+ [Woah](https://github.com/joerez/Woah.css/blob/master/woah.css) | MIT
253
316
  [WTF Forms](https://github.com/mdo/wtf-forms/blob/master/wtf-forms.css) | MIT
317
+ [YaCy](https://github.com/yacy/yacy_webclient_yaml4/blob/master/yaml/forms/gray-theme.css) | CC-BY-2.0
318
+ [Yue](https://github.com/typlog/yue.css/blob/master/src/yue.css) | MIT
254
319
  [Zotero Dark Theme](https://github.com/Rosmaninho/Zotero-Dark-Theme/blob/main/userChrome.css) | GPL-3.0
package/index.js CHANGED
@@ -8,10 +8,13 @@ import { join } from 'node:path';
8
8
  const __dirname = import.meta.dirname;
9
9
 
10
10
  const nameMap = {
11
+ '30days30submits-18': '30 Days 30 Submits #18',
11
12
  '3dtransforms': '3D transforms',
12
13
  'admin-lte': 'AdminLTE',
14
+ 'amoled-cord': 'AMOLED-cord',
13
15
  beercss: 'Beer CSS',
14
16
  'blue-topaz-obsidian': 'Blue-Topaz Obsidian',
17
+ cleanslate: 'CleanSlate',
15
18
  codyframe: 'CodeFrame',
16
19
  crookedstylesheets: 'CrookedStyleSheets',
17
20
  'cs16': 'cs16.css',
@@ -26,16 +29,21 @@ const nameMap = {
26
29
  'csszengarden-215': 'CSS Zen Garden #215',
27
30
  'elegantfin': 'ElegantFin',
28
31
  'ff-ultima': 'FF-Ultima',
32
+ fluentbird: 'FluentBird',
29
33
  fomantic: 'Fomantic UI',
30
34
  'github-dark': 'GitHub-Dark',
31
35
  'github-markdown': 'GitHub-Markdown',
32
36
  'github-windows': 'GitHub-Windows',
37
+ 'gitweb-theme': 'gitweb-theme',
33
38
  'google-type': 'google-type',
34
39
  halfstyle: 'HalfStyle',
35
40
  'html-sheets-of-paper': 'HTML Sheets of Paper',
36
41
  instagram: 'Instagram.css',
42
+ knacss: 'KNACSS',
43
+ littlebox: 'littlebox',
37
44
  'material-for-bootstrap': 'Material for Bootstrap',
38
45
  'markdown-css': 'markdown-css',
46
+ 'medium.css': 'medium.css',
39
47
  'microsoft-metro-buttons': 'Microsoft Metro Buttons',
40
48
  minireset: 'Mini Reset',
41
49
  'modern-css-resets': 'Modern CSS Resets',
@@ -43,23 +51,39 @@ const nameMap = {
43
51
  nes: 'NES.css',
44
52
  'object-fit-polyfill': 'object-fit Polyfill',
45
53
  'obsidian-modular-css-layout': 'Obsidian Modular CSS Layout',
54
+ 'off-canvas-menu-effects': 'OffCanvasMenuEffects',
55
+ patternbolt: 'PatternBolt',
46
56
  patternfly: 'PatternFly',
57
+ proxmorph: 'ProxMorph',
47
58
  rippleui: 'Ripple UI',
59
+ 'sapc-apca': 'SAPC-APCA',
48
60
  semantic: 'Semantic UI',
61
+ simptip: 'SimpTip',
62
+ 'social-signin-buttons': 'Social Sign-in Buttons',
49
63
  spcss: 'SPCSS',
64
+ 'stackoverflow-dark': 'StackOverflow-Dark',
65
+ 'swagger-ui-themes-2': 'Swagger UI Themes 2',
66
+ 'swagger-ui-themes-3': 'Swagger UI Themes 3',
67
+ 'the-50-front-end-project-44': 'The 50 Front-end Project #44',
50
68
  'the-new-css-reset': 'The New CSS Reset',
51
69
  'tw-animate-css': 'tw-animate-css',
52
70
  uikit: 'UIkit',
71
+ 'utility-opentype': 'Utility OpenType',
53
72
  universal: 'Universal.css',
54
73
  uswds: 'USWDS',
74
+ 'vim-css3-syntax': 'Vim CSS3 Syntax',
55
75
  vitepress: 'VitePress',
56
- 'wtf-forms': 'WTF Forms'
76
+ 'wikipedia-dark': 'Wikipedia Dark',
77
+ 'wtf-forms': 'WTF Forms',
78
+ yacy: 'YaCy'
57
79
  };
58
- // Prefer keywords listed here:
80
+ // Prefer identifiers listed here:
59
81
  // https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/licensing-a-repository#searching-github-by-license-type
82
+ // spdx.org/licenses
60
83
  const nameLicenseMap = {
61
84
  '960.gs': 'GPL-3.0 or MIT',
62
85
  animate: 'Hippocratic-2.1',
86
+ bootplus: 'Apache-2.0 or GPL-2.0',
63
87
  carbon: 'Apache-2.0',
64
88
  'css-diner': 'MPL-2.0',
65
89
  'css-extras': 'CC0-1.0 or MIT',
@@ -69,7 +93,10 @@ const nameLicenseMap = {
69
93
  cutestrap2: 'GPL-3.0',
70
94
  evil: 'Public Domain',
71
95
  'ff-ultima': 'MPL-2.0',
96
+ 'stackoverflow-dark': 'CC-BY-SA-4.0',
72
97
  'github-dark': 'BSD-2-Clause',
98
+ holmes: 'GPL-3.0',
99
+ knacss: 'WTFPL',
73
100
  meyer: 'Public Domain',
74
101
  'microsoft-metro-buttons': 'CC-BY-3.0',
75
102
  missing: 'BSD-2-Clause',
@@ -80,9 +107,15 @@ const nameLicenseMap = {
80
107
  remedy: 'MPL-2.0',
81
108
  'remedy-quotes': 'MPL-2.0',
82
109
  sanitize: 'CC0-1.0',
110
+ 'sapc-apca': 'AGPL-3.0',
111
+ 'shina-fox': 'MPL-2.0',
83
112
  sierra: 'GPL-2.0',
113
+ 'social-signin-buttons': 'Unlicense',
114
+ 'the-50-front-end-project-44': 'BSL-1.0',
84
115
  universal: 'WTFPL',
85
116
  uswds: 'CC0-1.0',
117
+ 'wikipedia-dark': 'CC-BY-SA-4.0',
118
+ yacy: 'CC-BY-2.0',
86
119
  'zotero-dark-theme': 'GPL-3.0'
87
120
  };
88
121
 
@@ -101,10 +134,16 @@ function getFullName (file) {
101
134
  const name = getName(file);
102
135
  return nameMap[name] || titleCase(name);
103
136
  }
104
- function getVersion (file) {
105
- return 'v' + file
106
- .replace('.css', '')
107
- .split('-v')[1];
137
+ export const getVersion = function (file) {
138
+ // 'ultimate-victory.css-v1.0.2.css' => ['ultimate', 'ictory', '1.0.2']
139
+ const versionGroup = file
140
+ .replaceAll('.css', '')
141
+ .split('-v');
142
+
143
+ // '1.0.2'
144
+ const version = versionGroup[versionGroup.length - 1];
145
+
146
+ return 'v' + version;
108
147
  }
109
148
  function getLicences (file) {
110
149
  const name = getName(file);
@@ -0,0 +1,213 @@
1
+ /* https://github.com/ShaifArfan/30days30submits/blob/master/day-18/style.css */
2
+
3
+ *{
4
+ margin: 0;
5
+ padding: 0;
6
+ box-sizing: border-box;
7
+ }
8
+ html{
9
+ font-size: 16px;
10
+ font-family: 'Montserrat';
11
+ }
12
+ body{
13
+ background-color: azure;
14
+ width: 100%;
15
+ }
16
+
17
+ section{
18
+ height: 100vh;
19
+ width: 100%;
20
+ display: flex;
21
+ align-items: center;
22
+ justify-content: center;
23
+ overflow-x: hidden;
24
+ }
25
+ .container{
26
+ width: 90%;
27
+ max-width: 1200px;
28
+ margin: 0 auto;
29
+ position: relative;
30
+ }
31
+ .container img{
32
+ height: 100%;
33
+ width: 100%;
34
+ }
35
+ .all-tooltip{
36
+ position: absolute;
37
+ height: 100%;
38
+ width: 100%;
39
+ left: 0;
40
+ top: 0;
41
+ }
42
+
43
+ .tooltip-content{
44
+ position: absolute;
45
+ background-color: rgb(255, 255, 255);
46
+ box-shadow: 0px 0px 20px #00000020;
47
+ padding: 30px;
48
+ border-radius:8px;
49
+ width: 90vw;
50
+ max-width: 300px;
51
+ opacity: 0;
52
+ pointer-events: none;
53
+ /* left: -50%; */
54
+ z-index: 2;
55
+ }
56
+ .tooltip-content .arrow{
57
+ position: absolute;
58
+ width: 10px;
59
+ height: 10px;
60
+ border: 10px solid transparent;
61
+ border-bottom-color: rgb(255, 255, 255);
62
+ top: 0px;
63
+ left: 50%;
64
+ transform:translate(-50%, -100%) rotate(0deg);
65
+ }
66
+ .pin{
67
+ position: absolute;
68
+ content: '';
69
+ top: 50%;
70
+ left: 80%;
71
+ height: 25px;
72
+ width: 25px;
73
+ background-color: rgb(255, 255, 255);
74
+ border-radius: 50%;
75
+ cursor: pointer;
76
+ }
77
+ .pin:after{
78
+ content: '';
79
+ position: absolute;
80
+ top: 0;
81
+ left: 0;
82
+ height: 100%;
83
+ width: 100%;
84
+ background-color: rgb(255, 255, 255);
85
+ border-radius: 50%;
86
+ animation: puls-effect 1s ease infinite;
87
+ }
88
+ .tooltip.active .tooltip-content{
89
+ opacity: 1;
90
+ pointer-events: all;
91
+ display: block;
92
+ }
93
+
94
+ /* Custom Style for tooltip-1 */
95
+
96
+ .tooltip-1 .pin{
97
+ top: 40%;
98
+ left: 82%;
99
+ height: 15px;
100
+ width: 15px;
101
+ background-color: rgb(255, 255, 255);
102
+ }
103
+ .tooltip-1 .tooltip-content{
104
+ display: flex;
105
+ max-width: 500px;
106
+ align-items: stretch;
107
+ justify-content: center;
108
+ padding: 0;
109
+ background-color: aliceblue;
110
+ }
111
+ .tooltip-1.active .tooltip-content{
112
+ display: flex;
113
+ }
114
+ .tooltip-1 .tooltip-content .img{
115
+ width: 50%;
116
+ object-fit: cover;
117
+ }
118
+ .tooltip-1 .tooltip-content .content{
119
+ width: 50%;
120
+ padding: 20px;
121
+ }
122
+ .tooltip-1 .tooltip-content .content h1{
123
+ font-size: 24px;
124
+ }
125
+ .tooltip-1 .tooltip-content .content p{
126
+ font-size: 14px;
127
+ }
128
+ .tooltip-1 .tooltip-content .content button{
129
+ font-family: 'Montserrat';
130
+ font-size: 18px;
131
+ font-weight: 400;
132
+ border: none;
133
+ outline: none;
134
+ background-color: white;
135
+ color: black;
136
+ padding: 10px;
137
+ cursor: pointer;
138
+ margin-top: 20px;
139
+ border-radius: 4px;
140
+ box-shadow: 0px 0px 20px #00000020;
141
+ }
142
+
143
+ /* custom style for tooltip-2 */
144
+
145
+ .tooltip-2 .pin{
146
+ top: 80%;
147
+ left: 35%;
148
+ height: 15px;
149
+ width: 15px;
150
+ }
151
+ .tooltip-2 .tooltip-content .content h1{
152
+ margin: 20px 0;
153
+ }
154
+ .tooltip-2 .tooltip-content{
155
+ background-color: aliceblue;
156
+ }
157
+ .tooltip-2 .tooltip-content button{
158
+ font-family: 'Montserrat';
159
+ font-size: 18px;
160
+ font-weight: 400;
161
+ border: none;
162
+ outline: none;
163
+ background-color: white;
164
+ color: black;
165
+ padding: 10px;
166
+ cursor: pointer;
167
+ margin-top: 20px;
168
+ border-radius: 4px;
169
+ box-shadow: 0px 0px 20px #00000020;
170
+ }
171
+
172
+ /* Custom style for tooltip-3 */
173
+
174
+ .tooltip-3 .pin{
175
+ top: 20%;
176
+ left: 5%;
177
+ height: 15px;
178
+ width: 15px;
179
+ }
180
+ /* Custom style for tooltip-4 */
181
+
182
+ .tooltip-4 .pin{
183
+ top: 80%;
184
+ left: 5%;
185
+ height: 15px;
186
+ width: 15px;
187
+ }
188
+
189
+ /* Puls Effect For Pins */
190
+
191
+ @keyframes puls-effect{
192
+ 0%{
193
+ transform: scale(1);
194
+ opacity: 1;
195
+ }
196
+ 100%{
197
+ transform: scale(3);
198
+ opacity: 0;
199
+ }
200
+ }
201
+
202
+ /* Media Query */
203
+
204
+ @media (max-width: 768px){
205
+ .tooltip-1 .tooltip-content{
206
+ flex-direction: column;
207
+ max-width: 300px;
208
+ }
209
+ .tooltip-1 .tooltip-content .content,
210
+ .tooltip-1 .tooltip-content .img{
211
+ width: 100%;
212
+ }
213
+ }