-
-
Notifications
You must be signed in to change notification settings - Fork 166
/
obsidian.css
9080 lines (8356 loc) · 361 KB
/
obsidian.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
/*===============================================================
AnuPpuccin
----------
Personal theme for Obsidian
AnuPpuccin is licensed under the GPL-3.0 license which allows you
to modify the code freely, however the Copyright and license
notices must be preserved in your CSS. If you redistribute a part
of my code, please credit my theme in your CSS file, and specify
which code you are using. Please keep my Buy Me a Coffee link
in your README if you do so.
https://www.buymeacoffee.com/anubisnekhet
*===============================================================*/
/* @settings
name: AnuPpuccin
id: anuppuccin-theme-settings
settings:
# Colors
-
id: anp-colors-section-header
title: Colors
description: Theme Accent and Flavors, Color Overrides, Extended Color Schemes
type: heading
level: 1
collapsed: true
-
id: anuppuccin-theme-light
title: Light Theme Flavor
description: Select your preferred light mode flavor
type: class-select
allowEmpty: false
default: ctp-latte
options:
-
label: Latte
value: ctp-latte
-
label: Rosé Pine
value: ctp-rosepine-light
-
id: anuppuccin-theme-dark
title: Dark Theme Flavor
description: Select your preferred dark mode flavor
type: class-select
allowEmpty: false
default: ctp-mocha
options:
-
label: Frappe
value: ctp-frappe
-
label: Macchiato
value: ctp-macchiato
-
label: Mocha
value: ctp-mocha
-
label: Mocha Old
value: ctp-mocha-old
-
id: anuppuccin-light-theme-accents
title: Light Theme Accent
description: Select your preferred light theme accent (Defaults to dark theme accent if left empty)
type: class-select
allowEmpty: true
default: none
options:
-
label: Rosewater
value: ctp-accent-light-rosewater
-
label: Flamingo
value: ctp-accent-light-flamingo
-
label: Pink
value: ctp-accent-light-pink
-
label: Mauve
value: ctp-accent-light-mauve
-
label: Red
value: ctp-accent-light-red
-
label: Maroon
value: ctp-accent-light-maroon
-
label: Peach
value: ctp-accent-light-peach
-
label: Yellow
value: ctp-accent-light-yellow
-
label: Green
value: ctp-accent-light-green
-
label: Teal
value: ctp-accent-light-teal
-
label: Sky
value: ctp-accent-light-sky
-
label: Sapphire
value: ctp-accent-light-sapphire
-
label: Blue
value: ctp-accent-light-blue
-
label: Lavender
value: ctp-accent-light-lavender
-
id: anuppuccin-theme-accents
title: Dark Theme Accent
description: Select your preferred accent
type: class-select
allowEmpty: false
default: ctp-accent-rosewater
options:
-
label: Rosewater
value: ctp-accent-rosewater
-
label: Flamingo
value: ctp-accent-flamingo
-
label: Pink
value: ctp-accent-pink
-
label: Mauve
value: ctp-accent-mauve
-
label: Red
value: ctp-accent-red
-
label: Maroon
value: ctp-accent-maroon
-
label: Peach
value: ctp-accent-peach
-
label: Yellow
value: ctp-accent-yellow
-
label: Green
value: ctp-accent-green
-
label: Teal
value: ctp-accent-teal
-
label: Sky
value: ctp-accent-sky
-
label: Sapphire
value: ctp-accent-sapphire
-
label: Blue
value: ctp-accent-blue
-
label: Lavender
value: ctp-accent-lavender
-
id: anuppuccin-accent-toggle
title: Force Custom Accents
description: Forces colorscheme-specific custom accents to be utilised instead of default obsidian accent
type: class-toggle
default: true
-
id: anuppuccin-url-extended-colorschemes
title: Extended Color Schemes Snippet
description: "Download the snippet by clicking on [this link](https://github.com/AnubisNekhet/AnuPpuccin/blob/main/snippets/extended-colorschemes.css)."
type: info-text
markdown: true
# Colors :: Color Overrides
-
id: anp-color-overrides-header
title: Color Overrides
description:
type: heading
level: 2
collapsed: true
-
id: ctp-custom-rosewater
title: Rosewater
type: variable-themed-color
default-light: '#'
default-dark: '#'
format: 'rgb-values'
-
id: ctp-custom-flamingo
title: Flamingo
type: variable-themed-color
default-light: '#'
default-dark: '#'
format: 'rgb-values'
-
id: ctp-custom-pink
title: Pink
type: variable-themed-color
default-light: '#'
default-dark: '#'
format: 'rgb-values'
-
id: ctp-custom-mauve
title: Mauve
type: variable-themed-color
default-light: '#'
default-dark: '#'
format: 'rgb-values'
-
id: ctp-custom-red
title: Red
type: variable-themed-color
default-light: '#'
default-dark: '#'
format: 'rgb-values'
-
id: ctp-custom-maroon
title: Maroon
type: variable-themed-color
default-light: '#'
default-dark: '#'
format: 'rgb-values'
-
id: ctp-custom-peach
title: Peach
type: variable-themed-color
default-light: '#'
default-dark: '#'
format: 'rgb-values'
-
id: ctp-custom-yellow
title: Yellow
type: variable-themed-color
default-light: '#'
default-dark: '#'
format: 'rgb-values'
-
id: ctp-custom-green
title: Green
type: variable-themed-color
default-light: '#'
default-dark: '#'
format: 'rgb-values'
-
id: ctp-custom-teal
title: Teal
type: variable-themed-color
default-light: '#'
default-dark: '#'
format: 'rgb-values'
-
id: ctp-custom-sky
title: Sky
type: variable-themed-color
default-light: '#'
default-dark: '#'
format: 'rgb-values'
-
id: ctp-custom-sapphire
title: Sapphire
type: variable-themed-color
default-light: '#'
default-dark: '#'
format: 'rgb-values'
-
id: ctp-custom-blue
title: Blue
type: variable-themed-color
default-light: '#'
default-dark: '#'
format: 'rgb-values'
-
id: ctp-custom-lavender
title: Lavender
type: variable-themed-color
default-light: '#'
default-dark: '#'
format: 'rgb-values'
-
id: ctp-custom-text
title: Text
type: variable-themed-color
default-light: '#'
default-dark: '#'
format: 'rgb-values'
-
id: ctp-custom-subtext1
title: Subtext 1
type: variable-themed-color
default-light: '#'
default-dark: '#'
format: 'rgb-values'
-
id: ctp-custom-subtext0
title: Subtext0
type: variable-themed-color
default-light: '#'
default-dark: '#'
format: 'rgb-values'
-
id: ctp-custom-overlay2
title: Overlay 2
type: variable-themed-color
default-light: '#'
default-dark: '#'
format: 'rgb-values'
-
id: ctp-custom-overlay1
title: Overlay 1
type: variable-themed-color
default-light: '#'
default-dark: '#'
format: 'rgb-values'
-
id: ctp-custom-overlay0
title: Overlay 0
type: variable-themed-color
default-light: '#'
default-dark: '#'
format: 'rgb-values'
-
id: ctp-custom-surface2
title: Surface 2
type: variable-themed-color
default-light: '#'
default-dark: '#'
format: 'rgb-values'
-
id: ctp-custom-surface1
title: Surface 1
type: variable-themed-color
default-light: '#'
default-dark: '#'
format: 'rgb-values'
-
id: ctp-custom-surface0
title: Surface 0
type: variable-themed-color
default-light: '#'
default-dark: '#'
format: 'rgb-values'
-
id: ctp-custom-base
title: Base
type: variable-themed-color
default-light: '#'
default-dark: '#'
format: 'rgb-values'
-
id: ctp-custom-mantle
title: Mantle
type: variable-themed-color
default-light: '#'
default-dark: '#'
format: 'rgb-values'
-
id: ctp-custom-crust
title: Crust
type: variable-themed-color
default-light: '#'
default-dark: '#'
format: 'rgb-values'
# File Editor
-
id: anp-editor-header
title: File Editor & Markdown Elements
description: Callouts, Checkboxes, Codeblocks, Lists, Tables, Tags, etc.
type: heading
level: 1
collapsed: true
-
id: anp-active-line
title: Active line highlight
type: class-select
allowEmpty: false
default: anp-no-highlight
options:
-
label: None
value: anp-no-highlight
-
label: Highlight
value: anp-current-line
-
label: Highlight + Border
value: anp-current-line-border
-
label: Border Only
value: anp-current-line-border-only
# File Editor & Markdown Elements :: Callouts
-
id: anp-callout-header
title: Callouts
description: Callout styles, border radius, custom colors
type: heading
level: 2
collapsed: true
-
id: anp-callout-select
title: Callout Style
type: class-select
default: none
allowEmpty: false
options:
-
label: Default
value: none
-
label: Sleek
value: anp-callout-sleek
-
label: Block
value: anp-callout-block
-
label: Vanilla Normal
value: anp-callout-vanilla-normal
-
label: Vanilla Plus
value: anp-callout-vanilla-plus
-
id: anp-callout-color-toggle
title: Enable Custom Callout Colors
type: class-toggle
-
id: callout-radius
title: Callout Radius
type: variable-number
default: 4
format: px
-
id: callout-padding
title: Callout Padding
description: Be careful, it does not properly work with all the callouts style yet.
type: variable-text
default: 0px
-
id: callout-title-padding
title: Callout Title Padding
type: variable-text
default: 8px
-
id: callout-title-opacity
title: Callout Title Background Opacity
description: Applies to Sleek, Vanilla and Vanilla Plus callouts
type: variable-number-slider
default: 0.1
min: 0
max: 1
step: 0.05
-
id: callout-content-padding
title: Callout Content Padding
type: variable-text
default: 8px
-
id: anp-callout-fold-position
title: Callout Fold Position
type: variable-select
default: '0'
options:
-
label: Left
value: 0
-
label: Right
value: 1
# File Editor & Markdown Elements :: Checkboxes
-
id: anp-custom-checkboxes-header
title: Checkboxes
description: Custom checkboxes and speech bubbles
type: heading
level: 2
collapsed: true
-
id: anp-custom-checkboxes
title: Enable Custom Checkboxes
type: class-toggle
-
id: anp-speech-bubble
title: Enable Speech Bubbles
type: class-toggle
# File Editor & Markdown Elements :: Codeblocks
-
id: anp-codeblock-header
title: Codeblocks
description: Codeblock wrapping, line numbering
type: heading
level: 2
collapsed: true
-
id: anp-codeblock-numbers
title: Enable Codeblock Numbering
type: class-toggle
-
id: anp-codeblock-wrap-edit
title: Codeblock Line Wrap (Edit Mode)
description: Does not work for codeblocks with syntax highlighting
type: class-select
default: none
options:
-
label: Wrap
value: none
-
label: No Wrap
value: anp-codeblock-edit-nowrap
-
id: anp-codeblock-wrap-preview
title: Codeblock Line Wrap (Preview Mode)
description: Does not work for codeblocks with syntax highlighting
type: class-select
default: none
options:
-
label: Wrap
value: none
-
label: No Wrap
value: anp-codeblock-preview-nowrap
-
id: anp-codeblock-wrap-hl-preview
title: Syntax Highlighted Codeblock Line Wrap (Preview Mode)
type: class-select
default: none
options:
-
label: Wrap
value: none
-
label: No Wrap
value: anp-codeblock-preview-hl-nowrap
-
id: anp-code-bg-color
title: Codeblock Background Color
type: variable-themed-color
allowEmpty: true
format: hex
opacity: false
default-light: '#'
default-dark: '#'
-
id: anp-code-text-color
title: Codeblock Text Color
type: variable-themed-color
description: Applies to codeblocks without syntax highlighting
allowEmpty: true
format: hex
opacity: false
default-light: '#'
default-dark: '#'
# File Editor & Markdown Elements :: Embeds
-
id: anp-embed-header
title: Embeds
description: Images, videos, iframes, etc.
type: heading
level: 2
collapsed: true
-
id: embed-corner-radius
title: Embed Corner Radius
type: variable-number
default: 4
format: px
# File Editor & Markdown Elements :: LaTeX
-
id: anp-latex-header
title: LaTex
type: heading
description: LaTeX (Math) color, font size
level: 2
collapsed: true
-
id: anp-latex-inline-color
title: LaTeX Inline Color
type: class-select
allowEmpty: true
default: anp-latex-inline-text
options:
-
label: Rosewater
value: anp-latex-inline-rosewater
-
label: Flamingo
value: anp-latex-inline-flamingo
-
label: Pink
value: anp-latex-inline-pink
-
label: Mauve
value: anp-latex-inline-mauve
-
label: Red
value: anp-latex-inline-red
-
label: Maroon
value: anp-latex-inline-maroon
-
label: Peach
value: anp-latex-inline-peach
-
label: Yellow
value: anp-latex-inline-yellow
-
label: Green
value: anp-latex-inline-green
-
label: Teal
value: anp-latex-inline-teal
-
label: Sky
value: anp-latex-inline-sky
-
label: Sapphire
value: anp-latex-inline-sapphire
-
label: Blue
value: anp-latex-inline-blue
-
label: Lavender
value: anp-latex-inline-lavender
-
label: Text
value: anp-latex-inline-text
-
label: Subtext 1
value: anp-latex-inline-subtext1
-
label: Subtext 0
value: anp-latex-inline-subtext0
-
label: Overlay 2
value: anp-latex-inline-overlay2
-
label: Overlay 1
value: anp-latex-inline-overlay1
-
label: Overlay 0
value: anp-latex-inline-overlay0
-
label: Surface 2
value: anp-latex-inline-surface2
-
label: Surface 1
value: anp-latex-inline-surface1
-
label: Surface 0
value: anp-latex-inline-surface0
-
id: anp-latex-block-color
title: LaTeX Block Color
type: class-select
allowEmpty: true
default: anp-latex-block-text
options:
-
label: Rosewater
value: anp-latex-block-rosewater
-
label: Flamingo
value: anp-latex-block-flamingo
-
label: Pink
value: anp-latex-block-pink
-
label: Mauve
value: anp-latex-block-mauve
-
label: Red
value: anp-latex-block-red
-
label: Maroon
value: anp-latex-block-maroon
-
label: Peach
value: anp-latex-block-peach
-
label: Yellow
value: anp-latex-block-yellow
-
label: Green
value: anp-latex-block-green
-
label: Teal
value: anp-latex-block-teal
-
label: Sky
value: anp-latex-block-sky
-
label: Sapphire
value: anp-latex-block-sapphire
-
label: Blue
value: anp-latex-block-blue
-
label: Lavender
value: anp-latex-block-lavender
-
label: Text
value: anp-latex-block-text
-
label: Subtext 1
value: anp-latex-block-subtext1
-
label: Subtext 0
value: anp-latex-block-subtext0
-
label: Overlay 2
value: anp-latex-block-overlay2
-
label: Overlay 1
value: anp-latex-block-overlay1
-
label: Overlay 0
value: anp-latex-block-overlay0
-
label: Surface 2
value: anp-latex-block-surface2
-
label: Surface 1
value: anp-latex-block-surface1
-
label: Surface 0
value: anp-latex-block-surface0
-
id: anp-latex-block-font-size
title: LaTeX Block Font Size
description: Change the font size of LaTeX blocks.
type: variable-number
default: 100
format: "%"
# File Editor & Markdown Elements :: Lists
-
id: anp-list-header
title: Lists
description: Styling, indent, spacing
type: heading
level: 2
collapsed: true
-
id: anp-list-toggle
title: Enable List Styling
type: class-toggle
-
id: list-indent
title: List Indent
type: variable-number
default: 2
format: em
-
id: list-spacing
title: List Spacing
type: variable-number
default: 0.075
format: em
-
id: list-marker-color
title: Unordered list bullet color
type: variable-themed-color
default-light: '#'
default-dark: '#'
format: 'hex'
-
id: list-numbered-style
title: Ordered list style
type: variable-select
default: decimal
options:
-
label: "Decimal"
value: decimal
-
label: "Decimal with leading zeroes"
value: decimal-leading-zero
-
label: "Lowercase alphabetical"
value: lower-alpha
-
label: "Uppercase alphabetical"
value: upper-alpha
-
label: "Lowercase Roman Numerals"
value: lower-roman
-
label: "Uppercase Roman Numerals"
value: upper-roman
-
label: "Lowercase Latin"
value: lower-latin
-
label: "Uppercase Latin"
value: upper-latin
-
label: "Lowercase Greek"
value: lower-greek
-
label: "Uppercase Greek"
value: upper-greek
-
label: "Hiragana"
value: hiragana
-
label: "Hiragana Iroha"
value: hiragana-iroha
-
label: "Katakana"
value: armenian
-
label: "Katakana Iroha"
value: katakana-iroha
-
label: "Armenian"
value: armenian
-
label: "CJK Ideographic"
value: cjk-ideographic
-
label: "Hebrew"
value: hebrew
# File Editor & Markdown Elements :: Tables
-
id: anp-table-header
title: Tables
description: Table width, alignment, table element highlight and alignment, border width
type: heading
level: 2
collapsed: true
-
id: anp-table-toggle
title: Enable Table Styling
type: class-toggle
-
id: anp-table-width
title: Enable Custom Table Width
description: Use anp-table-width for yaml syntax
type: class-toggle
-
id: anp-table-auto
title: Center Tables
description: Use anp-table-auto for yaml syntax
type: class-toggle
-
id: anp-table-th-highlight
title: <th> Highlight
type: class-toggle
-
id: anp-td-highlight
title: <td> Highlight
type: class-select
default: anp-td-none
allowEmpty: false
options:
-
label: None
value: none
-
label: Alternate Rows
value: anp-table-row-alt
-
label: Alternate Columns
value: anp-table-col-alt
-
label: Checkered
value: anp-table-checkered
-
label: Full
value: anp-table-full
-
id: anp-table-highlight-opacity
title: Highlight Opacity
default: 0.5
type: variable-number-slider
min: 0
max: 1
step: 0.1
-
id: anp-table-align-th
title: <th> Text Align
type: variable-select
default: center
options:
-
label: Left
value: left
-
label: Center
value: center
-
label: Right
value: right
-
id: anp-table-align-td
title: <td> Text Align
type: variable-select
default: center
options:
-
label: Left
value: left
-
label: Center
value: center
-
label: Right
value: right
-
id: anp-table-thickness
title: Custom Table Border Width
type: variable-number
default: 2
format: px
-
id: anp-table-width-pct
title: Custom Table Width
type: variable-number
default: 100
format: "%"
# File Editor & Markdown Elements :: Tags
-
id: anp-tags-header
title: Tags
description: Border Width and Border Radius of Tags
type: heading
level: 2
collapsed: true
-
id: tag-border-width
title: Tag Border Width
type: variable-number
default: 0
format: px
-
id: tag-radius
title: Tag Radius
type: variable-number-slider
default: 2
max: 2
min: 0
step: 0.1
format: em
# File Preview
-
id: anp-preview-header
title: File Preview
description: File Preview Margins and Word-Wrap Width
type: heading
level: 1
collapsed: true
-
id: anp-toggle-preview
title: Enable Custom Preview Margins
type: class-toggle
-
id: file-margins
title: File Margins
type: variable-number
default: 32
format: px
-
id: anp-preview-width-pct
title: Preview Width
type: variable-number
default: 80
format: "%"
-
id: file-line-width
title: Maximum Preview Width
type: variable-number
default: 700
format: px
# Integrations
-
id: anp-plugin-header
title: Integrations
description: Kanban, MAKE.md, Minimal Cards Snippet, etc.