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.
Files changed (38) hide show
  1. package/README.md +36 -1
  2. package/index.js +36 -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/enferno-v13.1.1.css +75 -0
  8. package/libs/facebook-buttons-v1.0.0.css +223 -0
  9. package/libs/fluentbird-v1.1.2.css +1060 -0
  10. package/libs/freebies-v0.0.0.css +1110 -0
  11. package/libs/gitweb-theme-v0.0.0.css +764 -0
  12. package/libs/justified-v0.0.0.css +14 -0
  13. package/libs/kickoff-v8.0.0.css +2267 -0
  14. package/libs/knacss-v8.2.0.css +1141 -0
  15. package/libs/linktree-v0.0.0.css +803 -0
  16. package/libs/littlebox-v0.0.4.css +5833 -0
  17. package/libs/lynx-v1.4.0.css +1587 -0
  18. package/libs/obnoxious-v3.5.2.css +1144 -0
  19. package/libs/obsidian-notebook-themes-v2.2.3.css +272 -0
  20. package/libs/patternbolt-v0.0.0.css +861 -0
  21. package/libs/progress-tracker-v3.0.0.css +352 -0
  22. package/libs/proxmorph-v2.7.3.css +3952 -0
  23. package/libs/sapc-apca-v0.0.0.css +5546 -0
  24. package/libs/shina-fox-v0.1.0.css +1194 -0
  25. package/libs/social-signin-buttons-v0.0.0.css +387 -0
  26. package/libs/tailwind-cards-v0.0.0.css +215592 -0
  27. package/libs/the-50-front-end-project-44-v0.0.0.css +459 -0
  28. package/libs/tocas-v5.7.0.css +19928 -0
  29. package/libs/utility-opentype-v0.1.4.css +515 -0
  30. package/libs/vim-css3-syntax-v2.10.0.css +1642 -0
  31. package/libs/waffle-grid-v1.3.6.css +544 -0
  32. package/libs/wikipedia-dark-v3.7.9.css +9990 -0
  33. package/libs/windows-95-v0.0.0.css +393 -0
  34. package/libs/woah-v1.3.1.css +1025 -0
  35. package/libs/yacy-v4.1.2.css +677 -0
  36. package/libs/yue-v1.1.1.css +180 -0
  37. package/package.json +1 -1
  38. package/test.js +3 -4
@@ -0,0 +1,272 @@
1
+ /* https://github.com/CyanVoxel/Obsidian-Notebook-Themes/blob/main/Notebook%20Backgrounds.css */
2
+ /*------------------------------------------------------------------------------
3
+ Notebook Background Color Schemes by CyanVoxel v2.2.3
4
+
5
+ These a few CSS classes that mimic a few of my real-world pages and pen colors.
6
+ Go ahead and try it out! You can change or add new color variables or entire new
7
+ classes and combinations. Inside Obsidian, apply a page class with an optional
8
+ pen color class to see the effects. Add the recolor-images class to recolor
9
+ the images in your notes, too!
10
+
11
+ Website used to generate Color Filters:
12
+ https://angel-rs.github.io/css-color-filter-generator
13
+
14
+ ------------------------------------------------------------------------------*/
15
+
16
+ /* Global Variables */
17
+ :root {
18
+ /* Base Pen Colors */
19
+ --pen-white: #edf1fc;
20
+ --pen-gray: #5f5d58;
21
+ --pen-black: #26241f;
22
+ --pen-red: #e14a49;
23
+ --pen-green: #15b64f;
24
+ --pen-blue: #3f76ed;
25
+ --pen-light-blue: #54b6f8;
26
+ --pen-purple: #9b4ff0;
27
+
28
+ --neutral-pen-black: #272727;
29
+ --neutral-pen-black-trans: #27272722;
30
+
31
+ /* Page Colors */
32
+ --page-white: #ffffff;
33
+ --page-manila: #f3deaf;
34
+ --page-blue: #3f76ed;
35
+
36
+ --grid-size: 32px;
37
+ }
38
+
39
+ /* Recolors images on the page with the current accent color. */
40
+ .recolor-images img {
41
+ filter: var(--image-effect);
42
+ }
43
+
44
+ /* ---------------------------- Page Backgrounds ---------------------------- */
45
+ /* All Pages */
46
+ .page-manila,
47
+ .page-white,
48
+ .page-blueprint {
49
+ --text-normal: var(--accent-color);
50
+ --text-muted: var(--accent-color);
51
+ --text-faint: var(--accent-color-trans);
52
+ --h1-color: var(--accent-color);
53
+ --h2-color: var(--accent-color);
54
+ --h3-color: var(--accent-color);
55
+ --h4-color: var(--accent-color);
56
+ --h5-color: var(--accent-color);
57
+ --h6-color: var(--accent-color);
58
+ --link-color: var(--pen-blue);
59
+ --link-color-hover: var(--pen-light-blue);
60
+ --link-unresolved-color: var(--pen-red);
61
+
62
+ --hr-color: var(--accent-color);
63
+ --blockquote-border-color: var(--accent-color);
64
+ --embed-border-left: 2px solid var(--accent-color);
65
+ --collapse-icon-color-collapsed: var(--accent-color);
66
+ --checkbox-color: var(--accent-color);
67
+ --checkbox-marker-color: var(--page-color);
68
+ --checkbox-color-hover: var(--accent-color-trans);
69
+ --checkbox-border-color: var(--accent-color);
70
+ --checklist-done-color: var(--accent-color);
71
+ --list-marker-color: var(--accent-color);
72
+
73
+ --interactive-accent: var(--accent-color);
74
+ --metadata-label-text-color: var(--accent-color);
75
+ --metadata-input-text-color: var(--accent-color);
76
+ --tag-color: var(--accent-color);
77
+ --tag-background: var(--accent-color-trans);
78
+ --pill-cover-hover: color-mix(in srgb, var(--accent-color) 60%, transparent);
79
+ --background-modifier-border-focus: var(--accent-color);
80
+ --background-modifier-border: var(--accent-color-trans);
81
+ --background-modifier-hover: color-mix(
82
+ in srgb,
83
+ var(--accent-color) 60%,
84
+ transparent
85
+ );
86
+
87
+ color: var(--accent-color);
88
+ background-color: var(--page-color);
89
+ font-weight: bold;
90
+ }
91
+
92
+ /* ----------------------- Manila/Tan Page Background ----------------------- */
93
+ /* Defaults to Black Pen */
94
+ .page-manila {
95
+ --page-color: var(--page-manila);
96
+ --accent-color: var(--pen-black);
97
+ --accent-color-trans: color-mix(
98
+ in srgb,
99
+ var(--accent-color) 15%,
100
+ transparent
101
+ );
102
+ --image-effect: brightness(0) saturate(100%) invert(14%) sepia(19%)
103
+ saturate(296%) hue-rotate(5deg) brightness(90%) contrast(96%);
104
+ color-scheme: light;
105
+ }
106
+ .embed-manila img {
107
+ background-color: var(--page-manila);
108
+ }
109
+
110
+ /* --------------------------- White Page Background ------------------------ */
111
+ /* Defaults to Black Pen */
112
+ .page-white {
113
+ --page-color: var(--page-white);
114
+ --accent-color: var(--neutral-pen-black);
115
+ --accent-color-trans: color-mix(
116
+ in srgb,
117
+ var(--accent-color) 15%,
118
+ transparent
119
+ );
120
+ --image-effect: brightness(0) saturate(100%) invert(14%) sepia(19%)
121
+ saturate(296%) hue-rotate(5deg) brightness(90%) contrast(96%);
122
+ color-scheme: light;
123
+ }
124
+ .embed-white img {
125
+ background-color: var(--page-white);
126
+ }
127
+
128
+ /* -------------------------- Blueprint Styled Page ------------------------- */
129
+ /* Defaults to White Pen */
130
+ .page-blueprint {
131
+ --page-color: var(--page-blue);
132
+ --accent-color: var(--pen-white);
133
+ --accent-color-trans: color-mix(
134
+ in srgb,
135
+ var(--accent-color) 15%,
136
+ transparent
137
+ );
138
+ --image-effect: brightness(0) saturate(100%) invert(89%) sepia(1%)
139
+ saturate(2714%) hue-rotate(196deg) brightness(107%) contrast(98%);
140
+ color-scheme: dark;
141
+
142
+ --link-color: color-mix(in srgb, var(--pen-light-blue) 60%, var(--pen-white));
143
+ --link-color-hover: color-mix(
144
+ in srgb,
145
+ var(--pen-light-blue) 20%,
146
+ var(--pen-white)
147
+ );
148
+ }
149
+ .embed-blueprint img {
150
+ background-color: var(--page-blue);
151
+ }
152
+
153
+ /* Adds a grid layout on page background */
154
+ .page-grid {
155
+ background-image: linear-gradient(
156
+ 0deg,
157
+ transparent 0px,
158
+ var(--accent-color-trans) 1px,
159
+ var(--accent-color-trans) 2px,
160
+ transparent 3px
161
+ ),
162
+ linear-gradient(
163
+ 90deg,
164
+ transparent calc(var(--grid-size) - 3px),
165
+ var(--accent-color-trans) calc(var(--grid-size) - 2px),
166
+ var(--accent-color-trans) calc(var(--grid-size) - 1px),
167
+ transparent var(--grid-size)
168
+ );
169
+ background-size: var(--grid-size) var(--grid-size);
170
+ }
171
+
172
+ /* ------------------------------- Pen Colors ------------------------------- */
173
+ /* Image Effects generated with:
174
+ https://angel-rs.github.io/css-color-filter-generator */
175
+
176
+ /* SVGs */
177
+ :is(
178
+ .page-white,
179
+ .page-manila,
180
+ .page-blueprint,
181
+ .pen-white,
182
+ .pen-blue,
183
+ .pen-red,
184
+ .pen-green,
185
+ .pen-black,
186
+ .pen-gray,
187
+ .pen-purple
188
+ )
189
+ svg {
190
+ color: color-mix(in srgb, var(--accent-color) 60%, transparent);
191
+ }
192
+
193
+ /* Code Blocks */
194
+ :is(.page-white, .page-manila, .page-blueprint) :is(code,
195
+ .HyperMD-codeblock, .cm-inline-code) {
196
+ --code-normal: var(--accent-color);
197
+ --code-background: color-mix(
198
+ in srgb,
199
+ var(--page-color) 80%,
200
+ black
201
+ ) !important;
202
+ }
203
+ div > pre {
204
+ --code-background: color-mix(
205
+ in srgb,
206
+ var(--page-color) 80%,
207
+ black
208
+ ) !important;
209
+ }
210
+
211
+ :is(.page-white, .page-manila, .page-blueprint) {
212
+ --metadata-input-background-active: var(--accent-color-trans);
213
+ }
214
+
215
+ /* ------------------------------- Pen Colors ------------------------------- */
216
+
217
+ .pen-white {
218
+ --accent-color: var(--pen-white);
219
+ --accent-color-trans: color-mix(in srgb, var(--pen-white) 15%, transparent);
220
+ color: var(--accent-color);
221
+ --hr-color: var(--accent-color);
222
+ --image-effect: brightness(0) saturate(100%) invert(89%) sepia(1%)
223
+ saturate(2714%) hue-rotate(196deg) brightness(107%) contrast(98%);
224
+ }
225
+ .pen-blue {
226
+ --accent-color: var(--pen-blue);
227
+ --accent-color-trans: color-mix(in srgb, var(--pen-blue) 15%, transparent);
228
+ color: var(--accent-color);
229
+ --hr-color: var(--accent-color);
230
+ --image-effect: brightness(0) saturate(100%) invert(36%) sepia(95%)
231
+ saturate(945%) hue-rotate(199deg) brightness(95%) contrast(95%);
232
+ }
233
+ .pen-red {
234
+ --accent-color: var(--pen-red);
235
+ --accent-color-trans: color-mix(in srgb, var(--pen-red) 15%, transparent);
236
+ color: var(--accent-color);
237
+ --hr-color: var(--accent-color);
238
+ --image-effect: brightness(0) saturate(100%) invert(40%) sepia(41%)
239
+ saturate(1024%) hue-rotate(316deg) brightness(99%) contrast(94%);
240
+ }
241
+ .pen-green {
242
+ --accent-color: var(--pen-green);
243
+ --accent-color-trans: color-mix(in srgb, var(--pen-green) 15%, transparent);
244
+ color: var(--accent-color);
245
+ --hr-color: var(--accent-color);
246
+ --image-effect: brightness(0) saturate(100%) invert(52%) sepia(60%)
247
+ saturate(2521%) hue-rotate(105deg) brightness(96%) contrast(84%);
248
+ }
249
+ .pen-black {
250
+ --accent-color: var(--pen-black);
251
+ --accent-color-trans: color-mix(in srgb, var(--pen-black) 15%, transparent);
252
+ color: var(--accent-color);
253
+ --hr-color: var(--accent-color);
254
+ --image-effect: brightness(0) saturate(100%) invert(14%) sepia(19%)
255
+ saturate(296%) hue-rotate(5deg) brightness(90%) contrast(96%);
256
+ }
257
+ .pen-gray {
258
+ --accent-color: var(--pen-gray);
259
+ --accent-color-trans: color-mix(in srgb, var(--pen-gray) 15%, transparent);
260
+ color: var(--accent-color);
261
+ --hr-color: var(--accent-color);
262
+ --image-effect: brightness(0) saturate(100%) invert(35%) sepia(13%)
263
+ saturate(189%) hue-rotate(5deg) brightness(96%) contrast(86%);
264
+ }
265
+ .pen-purple {
266
+ --accent-color: var(--pen-purple);
267
+ --accent-color-trans: color-mix(in srgb, var(--pen-purple) 15%, transparent);
268
+ color: var(--accent-color);
269
+ --hr-color: var(--accent-color);
270
+ --image-effect: brightness(0) saturate(100%) invert(33%) sepia(59%)
271
+ saturate(2620%) hue-rotate(249deg) brightness(98%) contrast(93%);
272
+ }