generated from obsidianmd/obsidian-sample-theme
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy paththeme.css
2334 lines (2193 loc) · 74.8 KB
/
theme.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/*
* Pipe Likes Nord
*/
/* @settings
name: PLN by PipeItToDevNull
id: pln
settings:
-
id: pln-head-colours
title: Colours
type: heading
level: 2
collapsed: true
-
id: color-red
title: Red
type: variable-color
opacity: false
format: hex
alt-format:
-
id: color-red-rgb
format: rgb
default: '#bf616a'
-
id: color-orange
title: Orange
type: variable-color
opacity: false
format: hex
alt-format:
-
id: color-orange-rgb
format: rgb
default: '#d08770'
-
id: color-yellow-light
title: Yellow-Light
description: Used on the dark theme
type: variable-color
opacity: false
format: hex
alt-format:
-
id: color-yellow-light-rgb
format: rgb
default: '#ebcb8b'
-
id: color-yellow-dark
title: Yellow-Dark
description: Used on the light theme
type: variable-color
opacity: false
format: hex
alt-format:
-
id: color-yellow-dark-rgb
format: rgb
default: '#e4b860'
-
id: color-green
title: Green
type: variable-color
opacity: false
format: hex
alt-format:
-
id: color-green-rgb
format: rgb
default: '#a3be8c'
-
id: color-purple
title: Purple
type: variable-color
opacity: false
format: hex
alt-format:
-
id: color-purple-rgb
format: rgb
default: '#b48ead'
-
id: color-sea-green
title: Sea-Green
type: variable-color
opacity: false
format: hex
alt-format:
-
id: color-sea-green-rgb
format: rgb
default: '#8fbcbb'
-
id: color-cyan
title: Cyan
type: variable-color
opacity: false
format: hex
alt-format:
-
id: color-cyan-rgb
format: rgb
default: '#88c0d0'
-
id: color-frost
title: Frost
type: variable-color
opacity: false
format: hex
alt-format:
-
id: color-frost-rgb
format: rgb
default: '#81a1c1'
-
id: color-blue
title: Blue
type: variable-color
opacity: false
format: hex
alt-format:
-
id: color-blue-rgb
format: rgb
default: '#5e81ac'
-
id: color-salmon
title: Salmon
type: variable-color
opacity: false
format: hex
alt-format:
-
id: color-salmon-rgb
format: rgb
default: '#FC6E68'
-
id: accent-light-hsl
title: Accent Light
type: variable-color
opacity: false
format: hsl-split
default: '#5E81AC'
-
id: accent-dark-hsl
title: Accent Dark
type: variable-color
opacity: false
format: hsl-split
default: '#81a1c1'
-
id: b0
title: B0
type: variable-color
opacity: false
format: hex
alt-format:
-
id: b0-rgb
format: rgb
default: '#2E3440'
-
id: b1
title: B1
type: variable-color
opacity: false
format: hex
alt-format:
-
id: b1-rgb
format: rgb
default: '#3B4252'
-
id: b2
title: B2
type: variable-color
opacity: false
format: hex
alt-format:
-
id: b2-rgb
format: rgb
default: '#434C5E'
-
id: b3
title: B3
type: variable-color
opacity: false
format: hex
alt-format:
-
id: b3-rgb
format: rgb
default: '#4C566A'
-
id: w0
title: W0
type: variable-color
opacity: false
format: hex
alt-format:
-
id: w0-rgb
format: rgb
default: '#D8DEE9'
-
id: w1
title: W1
type: variable-color
opacity: false
format: hex
alt-format:
-
id: w1-rgb
format: rgb
default: '#E5E9F0'
-
id: w2
title: W2
type: variable-color
opacity: false
format: hex
alt-format:
-
id: w2-rgb
format: rgb
default: '#ECEFF4'
-
id: w3
title: W3
type: variable-color
opacity: false
format: hex
alt-format:
-
id: w3-rgb
format: rgb
default: '#f5f7f9'
-
id: text-highlight-bg
title: Text Highlight Background
type: variable-color
opacity: true
format: rgb
default: '180, 142, 173, 0.4'
-
id: text-highlight-bg-active
title: Text Highlight Background - Active
type: variable-color
opacity: true
format: rgb
default: '180, 142, 173, 0.4'
-
id: pln-head-fonts
title: Font sizes
type: heading
level: 2
collapsed: true
-
id: font-ui-smaller
title: Font-UI-Smaller
description: Used for settings panel category headers and other things
type: variable-number-slider
default: 10
min: 10
max: 30
step: 1
format: px
-
id: font-ui-small
title: Font-UI-Small
description: Used for folder names and other things
type: variable-number-slider
default: 10
min: 10
max: 30
step: 1
format: px
-
id: font-ui-medium
title: Font-UI-Medium
description: Used for settings panel body, calendar
type: variable-number-slider
default: 12
min: 10
max: 30
step: 1
format: px
-
id: font-ui-large
title: Font-UI-Large
description: Used for things
type: variable-number-slider
default: 14
min: 10
max: 30
step: 1
format: px
-
id: pln-head-gen
title: General modifications
type: heading
level: 2
collapsed: true
-
id: pln-link-mods
title: Link modifications
description: Underline only external links and remove the distinction from unresolved links
type: class-toggle
default: true
-
id: pln-hilite-mods
title: Highlight (mark) modifications
description: Change ==highlight== (mark) styling from the default. This may interfere with some plugins, disable this if you see issues.
type: class-toggle
default: true
-
id: pln-hi-line
title: Highlight active line
description: Highlight the active line
type: class-toggle
default: false
-
id: pln-hi-line-hover
title: Highlight cursor line
description: Highlight the line your mouse cursor is on
type: class-toggle
default: false
-
id: pln-hi-tr
title: Highlight table rows when hovering
description: Highlight the row in a table that your cursor is hovering over
type: class-toggle
default: false
-
id: pln-hide-files
title: Enable hidden directories and files
description: Hide any file/folder starting with _ (underscore)
type: class-toggle
default: false
-
id: pln-folder-icons
title: Use folder icons in the file tree
description: Replace the chevrons in the file tree with open/closed folder icons
type: class-toggle
default: false
-
id: pln-dv-mods
title: Dataview modifications
description: Globally toggle my various DV modifications
type: class-toggle
default: true
-
id: pln-dv-count
title: Dataview list count
description: Toggle the list count on a DV result
type: class-toggle
default: true
-
id: pln-view-invert
title: Invert view icons
description: Invert the Reading and Edit view icons in the top right of notes
type: class-toggle
default: false
-
id: pln-pin-protect
title: Protect the Pin icon
description: Blocks the click event on the Pin icon so it cannot be removed accidently
type: class-toggle
default: true
-
id: pln-pretty-pinned
title: Prettier pinned tabs
description: Shrink down pinned tabs to only the note icon. I recommend making prettier note icons as well if you do this.
type: class-toggle
default: false
-
id: pln-stacked-100
title: Stacked tabs 100% width
description: Make stacked tabs take up 100% of the window width instead of an annoying amount of unknown space
type: class-toggle
default: false
-
id: pln-boxed-tags
title: Box tags
description: Make tags more boxy with a solid border
type: class-toggle
default: true
-
id: pln-head-attachments
title: Attachment options
type: heading
level: 2
collapsed: true
-
id: pln-attachments
title: Hide attachments
description: Hide all attachments in the file explorer
type: class-toggle
default: false
-
id: pln-attachments-canvas
title: Unhide canvas files
type: class-toggle
default: false
-
id: pln-attachments-pdf
title: Unhide pdf files
type: class-toggle
default: false
-
id: pln-attachments-docx
title: Unhide docx files
type: class-toggle
default: false
-
id: pln-attachments-xlsx
title: Unhide xlsx files
type: class-toggle
default: false
-
id: pln-attachments-images
title: Unhide image files
type: class-toggle
default: false
-
id: pln-head-heads
title: Header colors
type: heading
level: 2
collapsed: true
-
id: pln-hdcl
title: Header color toggle
description: You must open each color and "save" it to render properly
type: class-toggle
default: false
-
id: pln-hdcl-1
title: H1 color
type: variable-color
opacity: false
format: hex
default: '#BF616A'
-
id: pln-hdcl-2
title: H2 color
type: variable-color
opacity: false
format: hex
default: '#D08770'
-
id: pln-hdcl-3
title: H3 color
type: variable-color
opacity: false
format: hex
default: '#EBCB8B'
-
id: pln-hdcl-4
title: H4 color
type: variable-color
opacity: false
format: hex
default: '#A3BE8C'
-
id: pln-hdcl-5
title: H5 color
type: variable-color
opacity: false
format: hex
default: '#8FBCBB'
-
id: pln-hdcl-6
title: H5 color
type: variable-color
opacity: false
format: hex
default: '#88C0D0'
-
id: pln-head-props
title: Properties modifications
type: heading
level: 2
collapsed: true
-
id: hide-properties
title: Hide properties in reading mode
description: Hide the metadata properties box when in reading mode. Add 'hide-properties' as a class to any file to selectively apply this.
type: class-toggle
default: true
-
id: pln-props-heading
title: Hide properties heading
description: We know it is a properties box, you don't need to label it.
type: class-toggle
default: true
-
id: pln-props-list
title: List 'list' properties
description: Put every property on its own line instead of a long single line list.
type: class-toggle
default: true
-
id: pln-head-embd
title: Embed modifications
type: heading
level: 2
collapsed: true
-
id: pln-embd-mods
title: Embed modifications
description: Globally toggle my various embed modifications
type: class-toggle
default: true
-
id: pln-embd-link
title: Embeded note link icon
description: Hide the link icon for an embedded note
type: class-toggle
default: true
-
id: pln-embd-title
title: Embeded note titles
description: Hide the title of an embeded note
type: class-toggle
default: true
-
id: pln-embd-first
title: Hide the first header in embeds
description: Do not display the first header in an embed
type: class-toggle
default: true
-
id: pln-embd-h1
title: Hide H1 in embeds
description: Do not display h1 in embeds
type: class-toggle
default: false
-
id: pln-embd-h2
title: Hide H2 in embeds
description: Do not display h2 in embeds
type: class-toggle
default: false
-
id: pln-embd-h3
title: Hide H3 in embeds
description: Do not display h3 in embeds
type: class-toggle
default: false
-
id: pln-embd-h4
title: Hide H4 in embeds
description: Do not display h4 in embeds
type: class-toggle
default: false
-
id: pln-embd-h5
title: Hide H5 in embeds
description: Do not display h5 in embeds
type: class-toggle
default: false
-
id: pln-embd-h6
title: Hide H6 in embeds
description: Do not display h6 in embeds
type: class-toggle
default: false
-
id: pln-head-rm
title: Removals
type: heading
level: 2
collapsed: true
-
id: pln-rm-folder-nav
title: Remove folder nav
description: Remove the folder navigation icons
type: class-toggle
default: false
-
id: pln-rm-settings
title: Remove settings pane
description: Remove the settings pane at the bottom of the left sidebar added in 1.6
type: class-toggle
default: false
-
id: pln-rm-rside
title: Remove sidebar indicators
description: Remove the sidebar indicators. They can still be opened with hotkeys
type: class-toggle
default: true
-
id: pln-rm-win-lside-tl
title: Remove mod top left
description: Remove the top tab container in the left sidebar in Windows in hidden frameless
type: class-toggle
default: false
-
id: pln-rm-status
title: Remove statusbar
description: Removes the bottom statusbar
type: class-toggle
default: true
-
id: pln-rm-tablist
title: Remove tablist icon
description: Removes the header tab list icon
type: class-toggle
default: true
-
id: pln-rm-nt
title: Remove new tab icon
description: Removes the new tab header icon
type: class-toggle
default: true
-
id: pln-rm-clstab
title: Remove close icon
description: Remove the close X from tabs
type: class-toggle
default: true
-
id: pln-rm-nav
title: Remove nav icons
description: Remove the back and forward icons
type: class-toggle
default: true
-
id: pln-rm-act
title: Remove view actions
description: Remove the view action icons from the top of notes
type: class-toggle
default: true
-
id: pln-rm-noteic
title: Remove note icon
description: Remove the note icon from stacked tabs (we all know is a note...)
type: class-toggle
default: true
-
id: pln-rm-scroll
title: Remove scroll bars
description: Hide scroll bars, hover to view them
type: class-toggle
default: true
-
id: pln-rm-mac-tside
title: Hide top bar in MacOS
description: Hide the top bar on MacOS when in stacked tabs. (Works best in Frameless/hidden title bars)
type: class-toggle
default: true
-
id: pln-rm-srchSug
title: Hide search help
description: Hide the pop up that appears when clicking the search field
type: class-toggle
default: true
-
id: pln-head-check
title: Checkbox modifications
type: heading
level: 2
collapsed: true
-
id: pln-checkboxes
title: Custom Checkboxes
description: Globally toggle custom checkbox types and changes made in PLN
type: class-toggle
default: true
-
id: pln-head-co
title: Callout modifications
type: heading
level: 2
collapsed: true
-
id: pln-rm-co-meta
title: Hide Meta callout in reading mode
description: Remove the custom "meta" callout in reading mode
type: class-toggle
default: false
-
id: pln-pdf-rm-co-meta
title: Hide Meta callout in PDF exports
description: Remove the custom "meta" callout in PDF exports only
type: class-toggle
default: true
-
id: pln-rm-co-links
title: Hide Links callout in reading mode
description: Remove the custom "links" callout in reading mode
type: class-toggle
default: false
-
id: pln-pdf-rm-co-links
title: Hide Links callout in PDF exports
description: Remove the custom "links" callout in PDF exports only
type: class-toggle
default: true
-
id: pln-head-cards
title: Kepano Cards modificationss
type: heading
level: 2
collapsed: true
-
id: pln-cards-sort
title: Hide Remove sort icon
description: Remove the sort icon from above a collection of cards
type: class-toggle
default: true
-
id: pln-cards-borders
title: Card border edits
description: Change the border of cards to match callouts. You are required to have Kepano's snippet, this just changes it's style
type: class-toggle
default: true
-
id: pln-cards-color-rgb
title: Card border color
type: variable-themed-color
format: rgb-values
opacity: false
default-light: 'rgb(216, 222, 233)'
default-dark: 'rgb(76, 86, 106)'
-
id: cards
title: Add cards class to all files, and allow export.
description: This will add the cards class to all files, a primary function for this will be cards rendering when you PDF export a file
type: class-toggle
default: false
-
id: pln-head-vi
title: High contrast modifications
type: heading
level: 2
collapsed: true
-
id: pln-vision
title: High contrast toggle
descriptioon: Change main text to a vision impaired yellow. You should change your accent colour to something that compliments #cccc00. Don't use this with light mode...
type: class-toggle
default: false
-
id: pln-vision-high
title: Primary color
description: This is the primary color to be used in vision impaired mode
type: variable-color
opacity: false
format: hex
default: '#cccc00'
-
id: pln-vision-low
title: Secondary color
description: This is used for code blocks and buttons mostly
type: variable-color
opacity: false
format: hex
default: '#4C4E52'
-
*/
.theme-light,
.theme-dark {
--color-red: #bf616a;
--color-orange: #d08770;
--color-yellow-light: #ebcb8b;
--color-yellow-dark: #e4b860;
--color-green: #a3be8c;
--color-purple: #b48ead;
--color-sea-green: #8fbcbb;
--color-cyan: #88c0d0;
--color-frost: #81a1c1;
--color-blue: #5e81ac;
--color-salmon: #FC6E68;
--accent-light-hsl-h: 213;
--accent-light-hsl-s: 32%;
--accent-light-hsl-l: 53%;
--accent-dark-hsl-h: 210;
--accent-dark-hsl-s: 34%;
--accent-dark-hsl-l: 63%;
--color-red-rgb: 191, 97, 106;
--color-orange-rgb: 208, 135, 112;
--color-yellow-light-rgb: 235, 203, 139;
--color-yellow-dark-rgb: 228, 184, 96;
--color-green-rgb: 163, 190, 140;
--color-purple-rgb: 180, 142, 173;
--color-sea-green-rgb: 143, 188, 187;
--color-cyan-rgb: 136, 192, 208;
--color-frost-rgb: 129, 161, 193;
--color-blue-rgb: 94, 129, 172;
--color-salmon-rgb: 252, 110, 104;
--b0: #2E3440;
--b1: #3B4252;
--b2: #434C5E;
--b3: #4C566A;
--w0: #D8DEE9;
--w1: #E5E9F0;
--w2: #ECEFF4;
--w3: #f5f7f9;
--w0-rgb: 216, 222, 233;
--b3-rgb: 76, 86, 106;
--text-error: var(--color-salmon);
--text-accent: var(--color-accent);
--text-highlight-bg: rgba(180, 142, 173, 0.4);
--text-highlight-bg-active: rgba(180, 142, 173, 0.4);
--bold-weight: var(--font-bold);
}
.theme-light {
--color-yellow: var(--color-yellow-dark);
--color-yellow-rgb: var(--color-yellow-dark-rgb);
--accent-h: var(--accent-light-hsl-h);
--accent-s: var(--accent-light-hsl-s);
--accent-l: var(--accent-light-hsl-l);
/* the note background */
--background-primary: var(--w3) ;
/* used for code blocks */
--background-primary-alt: var(--w2) ;
/* outside ui background */
/* background titlebar unfocused */
--background-secondary: var(--w2);
/* titlebar focused */
--background-secondary-alt: var(--w1);
/* lines between objects */
/* slider background */
--background-modifier-border: var(--w0);
/* main font */
--color-base-100: var(--b0);
--color-base-70: var(--b0);
--color-base-60: var(--b0);
/* bullets */
--color-base-50: var(--b1);
/* window outline (like settings) */
--color-base-40: var(--w2);
/* toggle background */
/* small line in tabs */
--color-base-35: var(--w0);
/* the lines in the ui */
--color-base-30: var(--w0);
--color-base-25: var(--b3);
--color-base-20: var(--w0);
--color-base-10: var(--w1);
--color-base-05: var(--w2);
--color-base-00: var(--w2);
}
.theme-dark {
--color-yellow: var(--color-yellow-light);
--color-yellow-rgb: var(--color-yellow-light-rgb);
--accent-h: var(--accent-dark-hsl-h);
--accent-s: var(--accent-dark-hsl-s);
--accent-l: var(--accent-dark-hsl-l);
/* the note background */
--background-primary: var(--b1) ;
/* used for code blocks */
--background-primary-alt: var(--b0) ;
/* outside ui background */
/* background titlebar unfocused */
--background-secondary: var(--b0);
/* titlebar focused */
--background-secondary-alt: var(--b0);
/* lines between objects */
/* slider background */
--background-modifier-border: var(--b3);
--color-base-00: var(--b0);
--color-base-10: var(--b0);
--color-base-20: var(--b0);
--color-base-25: var(--b0);
/* lines in the ui */
--color-base-30: var(--b1);
/* toggle backgroundse */
/* small line in tabs */
--color-base-35: var(--b3);
/* window outlines */
--color-base-40: var(--b0);
/* bullets */
--color-base-50: var(--w0);
--color-base-60: var(--w1);
--color-base-70: var(--w2);
/* main font */
--color-base-100: var(--w3);
}
/* any vision accomodations would be here */
.pln-vision {
--pln-vision-high: #cccc00;
--pln-vision-low: #4C4E52;
--text-normal: var(--pln-vision-high);
--text-faint: var(--pln-vision-high);
--text-muted: var(--pln-vision-high);
--background-primary: black;
--background-primary-alt: var(--pln-vision-low);
--background-secondary: black;
--background-secondary-alt: black;
--background-modifier-border: var(--pln-vision-high);
--text-on-accent: black;
--color-base-30: var(--pln-vision-low);
--color-base-35: var(--pln-vision-high);
--color-red: var(--pln-vision-high);
--color-orange: var(--pln-vision-high);
--color-yellow-light: var(--pln-vision-high);
--color-yellow-dark: var(--pln-vision-high);
--color-green: var(--pln-vision-high);
--color-purple: var(--pln-vision-high);
--color-sea-green: var(--pln-vision-high);
--color-cyan: var(--pln-vision-high);
--color-frost: var(--pln-vision-high);
--color-blue: var(--pln-vision-high);
--color-salmon: var(--pln-vision-high);
}
/* pdf fixes */
@media print {
.theme-dark {
--highlight-mix-blend-mode: darken;
--list-marker-color: var(--b0);
--code-background: var(--w2);
--code-normal: var(--b0);
--table-header-color: var(--b0);
--text-muted: var(--b0);
}
.pln-pdf-rm-co-links .callout[data-callout="links"],
.pln-pdf-rm-co-meta .callout[data-callout="meta"] {
display: none;
}
/* hacky method to make cards exportable */
.cards.pln-cards-borders.theme-dark,
.pln-cards-borders.theme-dark {
--pln-cards-color-rgb: var(--w0-rgb) !important;
}
.pln-embd-mods.pln-embd-first .markdown-embed :is(h1,h2,h3,h4,h5,h6):first-child {
display: none;
}
}
/*
* Main
*/
body {
--font-ui-smaller: 10px;
--font-ui-small: 10px;
--font-ui-medium: 12px;
--font-ui-large: 14px;
--header-height: 30px;
--file-folding-offset: 10px;
/* 1.1 fixes */
--checkbox-size: 1.1em;
--list-bullet-size: .5em;
/* Fix font sizes in 1.3.7 */
--h1-size: 2em;
--h2-size: 1.6em;
--h3-size: 1.37em;
--h4-size: 1.25em;
--h5-size: 1.12em;
--h6-size: 1.12em;
/*this is spacing before a header, it is stupid*/
--heading-spacing: 0;
--p-spacing: .5rem;
}
/* this brings back header spacing in reading mode */
/* default is 2.5 p-spacing and p-spacing default is 1rem */
.markdown-rendered {
--heading-spacing: calc(var(--p-spacing)*2);
}
/* changed in 1.4*/
hr {
margin: 1.5em;
}
/* change margins, default is 32 */
body {
--file-margins: 20px;
}
.mod-stacked {
--file-margins: 10px;
}
.mod-stacked:has(.cm-gutter) {
--file-margins: 2px