-
Notifications
You must be signed in to change notification settings - Fork 2
/
codyhouse-snippets-scss.json
873 lines (873 loc) · 17.1 KB
/
codyhouse-snippets-scss.json
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
{
"srHide": {
"prefix": "srHide",
"body": [
"@include srHide;"
],
"description": "Hide content visually, but keep it accessible to SR"
},
"srShow": {
"prefix": "srShow",
"body": [
"@include srShow;"
],
"description": "show visually hidden (accessible) content"
},
"breakpoint (xs)": {
"prefix": "@xs",
"body": [
"@include breakpoint(xs) {",
" ${1}",
"}"
],
"description": "Add media query for breakpoint (xs)"
},
"breakpoint (sm)": {
"prefix": "@sm",
"body": [
"@include breakpoint(sm) {",
" ${1}",
"}"
],
"description": "Add media query for breakpoint (sm)"
},
"breakpoint (md)": {
"prefix": "@md",
"body": [
"@include breakpoint(md) {",
" ${1}",
"}"
],
"description": "Add media query for breakpoint (md)"
},
"breakpoint (lg)": {
"prefix": "@lg",
"body": [
"@include breakpoint(lg) {",
" ${1}",
"}"
],
"description": "Add media query for breakpoint (lg)"
},
"breakpoint (xl)": {
"prefix": "@xl",
"body": [
"@include breakpoint(xl) {",
" ${1}",
"}"
],
"description": "Add media query for breakpoint (xl)"
},
"Define Color Variable": {
"prefix": "defineColorHSL",
"body": [
"@include defineColorHSL(--${1}, ${2:250}, ${3:84}%, ${4:54}%);"
],
"description": "Define color variable"
},
"color primary darker": {
"prefix": "--color-primary-darker",
"body": [
"var(--color-primary-darker)"
],
"description": "color primary darker"
},
"color primary dark": {
"prefix": "--color-primary-dark",
"body": [
"var(--color-primary-dark)"
],
"description": "color primary dark"
},
"color primary": {
"prefix": "--color-primary",
"body": [
"var(--color-primary)"
],
"description": "color primary"
},
"color primary light": {
"prefix": "--color-primary-light",
"body": [
"var(--color-primary-light)"
],
"description": "color primary light"
},
"color primary lighter": {
"prefix": "--color-primary-lighter",
"body": [
"var(--color-primary-lighter)"
],
"description": "color primary lighter"
},
"color accent darker": {
"prefix": "--color-accent-darker",
"body": [
"var(--color-accent-darker)"
],
"description": "color accent darker"
},
"color accent dark": {
"prefix": "--color-accent-dark",
"body": [
"var(--color-accent-dark)"
],
"description": "color accent dark"
},
"color accent": {
"prefix": "--color-accent",
"body": [
"var(--color-accent)"
],
"description": "color accent"
},
"color accent light": {
"prefix": "--color-accent-light",
"body": [
"var(--color-accent-light)"
],
"description": "color accent light"
},
"color accent lighter": {
"prefix": "--color-accent-lighter",
"body": [
"var(--color-accent-lighter)"
],
"description": "color accent lighter"
},
"color black": {
"prefix": "--color-black",
"body": [
"var(--color-black)"
],
"description": "color black"
},
"color white": {
"prefix": "--color-white",
"body": [
"var(--color-white)"
],
"description": "color white"
},
"color success darker": {
"prefix": "--color-success-darker",
"body": [
"var(--color-success-darker)"
],
"description": "color success darker"
},
"color success dark": {
"prefix": "--color-success-dark",
"body": [
"var(--color-success-dark)"
],
"description": "color success dark"
},
"color success": {
"prefix": "--color-success",
"body": [
"var(--color-success)"
],
"description": "color success"
},
"color success light": {
"prefix": "--color-success-light",
"body": [
"var(--color-success-light)"
],
"description": "color success light"
},
"color success lighter": {
"prefix": "--color-success-lighter",
"body": [
"var(--color-success-lighter)"
],
"description": "color success lighter"
},
"color error darker": {
"prefix": "--color-error-darker",
"body": [
"var(--color-error-darker)"
],
"description": "color error darker"
},
"color error dark": {
"prefix": "--color-error-dark",
"body": [
"var(--color-error-dark)"
],
"description": "color error dark"
},
"color error": {
"prefix": "--color-error",
"body": [
"var(--color-error)"
],
"description": "color error"
},
"color error light": {
"prefix": "--color-error-light",
"body": [
"var(--color-error-light)"
],
"description": "color error light"
},
"color error lighter": {
"prefix": "--color-error-lighter",
"body": [
"var(--color-error-lighter)"
],
"description": "color error lighter"
},
"color warning darker": {
"prefix": "--color-warning-darker",
"body": [
"var(--color-warning-darker)"
],
"description": "color warning darker"
},
"color warning dark": {
"prefix": "--color-warning-dark",
"body": [
"var(--color-warning-dark)"
],
"description": "color warning dark"
},
"color warning": {
"prefix": "--color-warning",
"body": [
"var(--color-warning)"
],
"description": "color warning"
},
"color warning light": {
"prefix": "--color-warning-light",
"body": [
"var(--color-warning-light)"
],
"description": "color warning light"
},
"color warning lighter": {
"prefix": "--color-warning-lighter",
"body": [
"var(--color-warning-lighter)"
],
"description": "color warning lighter"
},
"color background darker": {
"prefix": "--color-bg-darker",
"body": [
"var(--color-bg-darker)"
],
"description": "color background darker"
},
"color background dark": {
"prefix": "--color-bg-dark",
"body": [
"var(--color-bg-dark)"
],
"description": "color background dark"
},
"color background": {
"prefix": "--color-bg",
"body": [
"var(--color-bg)"
],
"description": "color background"
},
"color background light": {
"prefix": "--color-bg-light",
"body": [
"var(--color-bg-light)"
],
"description": "color background light"
},
"color background lighter": {
"prefix": "--color-bg-lighter",
"body": [
"var(--color-bg-lighter)"
],
"description": "color background lighter"
},
"color contrast lower": {
"prefix": "--color-contrast-lower",
"body": [
"var(--color-contrast-lower)"
],
"description": "color contrast lower"
},
"color contrast low": {
"prefix": "--color-contrast-low",
"body": [
"var(--color-contrast-low)"
],
"description": "color contrast low"
},
"color contrast medium": {
"prefix": "--color-contrast-medium",
"body": [
"var(--color-contrast-medium)"
],
"description": "color contrast medium"
},
"color contrast high": {
"prefix": "--color-contrast-high",
"body": [
"var(--color-contrast-high)"
],
"description": "color contrast high"
},
"color contrast higher": {
"prefix": "--color-contrast-higher",
"body": [
"var(--color-contrast-higher)"
],
"description": "color contrast higher"
},
"fontSmooth": {
"prefix": "fontSmooth",
"body": [
"@include fontSmooth;"
],
"description": "smooth font rendering"
},
"lhCrop": {
"prefix": "lhCrop",
"body": [
"@include lhCrop(${1:lineHeight}, ${2:var(--font-primary-capital-letter): 1});"
],
"description": "crop top space on text elements"
},
"triangle": {
"prefix": "triangle",
"body": [
"@include triangle(${1:direction: up/down/left/right}, ${2:width: 12px}, ${3:color});"
],
"description": "CSS triangle"
},
"reset (mixin)": {
"prefix": "reset",
"body": [
"@include reset;"
],
"description": "reset user agent style"
},
"alpha": {
"prefix": "alpha",
"body": [
"alpha(${1:var(--color-name)}, ${2:opacity: 1});"
],
"description": "alpha color function"
},
"lightness": {
"prefix": "lightness",
"body": [
"lightness(${1:var(--color-name)}, ${2:lightnessMultiplier: 1});"
],
"description": "lightness color function"
},
"adjustHSLA": {
"prefix": "adjustHSLA",
"body": [
"adjustHSLA(${1:var(--color-name)}, ${2:hueMultiplier: 1}, ${3:saturationMultiplier: 1}, ${4:lightnessMultiplier: 1}, ${5:opacity: 1});"
],
"description": "adjustHSLA color function"
},
"spaceUnit": {
"prefix": "spaceUnit",
"body": [
"@include spaceUnit(${1:spaceUnit});"
],
"description": "edit space unit on a component level"
},
"textUnit": {
"prefix": "textUnit",
"body": [
"@include textUnit(${1:textUnit});"
],
"description": "edit text unit on a component level"
},
"ease-out-back timing function": {
"prefix": "--ease-out-back timing function",
"body": [
"var(--ease-out-back)"
],
"description": "ease-out-back timing function"
},
"ease-in-out timing function": {
"prefix": "--ease-in-out timing function",
"body": [
"var(--ease-in-out)"
],
"description": "ease-in-out timing function"
},
"ease-in timing function": {
"prefix": "--ease-in timing function",
"body": [
"var(--ease-in)"
],
"description": "ease-in timing function"
},
"ease-out timing function": {
"prefix": "--ease-out timing function",
"body": [
"var(--ease-out)"
],
"description": "ease-out timing function"
},
"radius sm": {
"prefix": "--radius-sm",
"body": [
"var(--radius-sm)"
],
"description": "radius size sm"
},
"radius md": {
"prefix": "--radius-md",
"body": [
"var(--radius-md)"
],
"description": "radius size md"
},
"radius lg": {
"prefix": "--radius-lg",
"body": [
"var(--radius-lg)"
],
"description": "radius size lg"
},
"shadow xs": {
"prefix": "--shadow-xs",
"body": [
"var(--shadow-xs)"
],
"description": "shadow size xs"
},
"shadow sm": {
"prefix": "--shadow-sm",
"body": [
"var(--shadow-sm)"
],
"description": "shadow size sm"
},
"shadow md": {
"prefix": "--shadow-md",
"body": [
"var(--shadow-md)"
],
"description": "shadow size md"
},
"shadow lg": {
"prefix": "--shadow-lg",
"body": [
"var(--shadow-lg)"
],
"description": "shadow size lg"
},
"shadow xl": {
"prefix": "--shadow-xl",
"body": [
"var(--shadow-xl)"
],
"description": "shadow size xl"
},
"inner glow": {
"prefix": "--inner-glow",
"body": [
"var(--inner-glow)"
],
"description": "inner glow"
},
"inner glow top": {
"prefix": "--inner-glow-top",
"body": [
"var(--inner-glow-top)"
],
"description": "inner glow top"
},
"space xxxxs": {
"prefix": "--space-xxxxs",
"body": [
"var(--space-xxxxs)"
],
"description": "space size xxxxs"
},
"space xxxs": {
"prefix": "--space-xxxs",
"body": [
"var(--space-xxxs)"
],
"description": "space size xxxs"
},
"space xxs": {
"prefix": "--space-xxs",
"body": [
"var(--space-xxs)"
],
"description": "space size xxs"
},
"space xs": {
"prefix": "--space-xs",
"body": [
"var(--space-xs)"
],
"description": "space size xs"
},
"space sm": {
"prefix": "--space-sm",
"body": [
"var(--space-sm)"
],
"description": "space size sm"
},
"space md": {
"prefix": "--space-md",
"body": [
"var(--space-md)"
],
"description": "space size md"
},
"space lg": {
"prefix": "--space-lg",
"body": [
"var(--space-lg)"
],
"description": "space size lg"
},
"space xl": {
"prefix": "--space-xl",
"body": [
"var(--space-xl)"
],
"description": "space size xl"
},
"space xxl": {
"prefix": "--space-xxl",
"body": [
"var(--space-xxl)"
],
"description": "space size xxl"
},
"space xxxl": {
"prefix": "--space-xxxl",
"body": [
"var(--space-xxxl)"
],
"description": "space size xxxl"
},
"space xxxxl": {
"prefix": "--space-xxxxl",
"body": [
"var(--space-xxxxl)"
],
"description": "space size xxxxl"
},
"component padding": {
"prefix": "--component-padding",
"body": [
"var(--component-padding)"
],
"description": "space = component padding"
},
"body line-height": {
"prefix": "--body-line-height",
"body": [
"--body-line-height"
],
"description": "body line-height"
},
"heading line-height": {
"prefix": "--heading-line-height",
"body": [
"--heading-line-height"
],
"description": "heading line-height"
},
"line-height multiplier": {
"prefix": "--line-height-multiplier",
"body": [
"--line-height-multiplier"
],
"description": "modify the line-height of text elements"
},
"text-component vertical space multiplier": {
"prefix": "--text-space-y-multiplier",
"body": [
"--text-space-y-multiplier"
],
"description": "modify block margins of text components"
},
"primary font-family": {
"prefix": "--font-primary",
"body": [
"var(--font-primary)"
],
"description": "primary font-family"
},
"body font-size": {
"prefix": "--text-base-size",
"body": [
"var(--text-base-size)"
],
"description": "body font-size"
},
"type scale multiplier": {
"prefix": "--text-scale-ratio",
"body": [
"var(--text-scale-ratio)"
],
"description": "type scale multiplier"
},
"text xs": {
"prefix": "--text-xs",
"body": [
"var(--text-xs)"
],
"description": "text size xs"
},
"text sm": {
"prefix": "--text-sm",
"body": [
"var(--text-sm)"
],
"description": "text size sm"
},
"text md": {
"prefix": "--text-md",
"body": [
"var(--text-md)"
],
"description": "text size md"
},
"text lg": {
"prefix": "--text-lg",
"body": [
"var(--text-lg)"
],
"description": "text size lg"
},
"text xl": {
"prefix": "--text-xl",
"body": [
"var(--text-xl)"
],
"description": "text size xl"
},
"text xxl": {
"prefix": "--text-xxl",
"body": [
"var(--text-xxl)"
],
"description": "text size xxl"
},
"text xxxl": {
"prefix": "--text-xxxl",
"body": [
"var(--text-xxxl)"
],
"description": "text size xxxl"
},
"text xxxxl": {
"prefix": "--text-xxxxl",
"body": [
"var(--text-xxxxl)"
],
"description": "text size xxxxl"
},
"display value": {
"prefix": "--display",
"body": [
"var(--display)"
],
"description": "display value for .is-visible/.is-hidden"
},
"z-index header": {
"prefix": "--z-index-header",
"body": [
"var(--z-index-header)"
],
"description": "z-index header"
},
"z-index popover": {
"prefix": "--z-index-popover",
"body": [
"var(--z-index-popover)"
],
"description": "z-index popover elements"
},
"z-index fixed": {
"prefix": "--z-index-fixed-element",
"body": [
"var(--z-index-fixed-element)"
],
"description": "z-index fixed elements"
},
"z-index overlay": {
"prefix": "--z-index-overlay",
"body": [
"var(--z-index-overlay)"
],
"description": "z-index overlay elements"
},
"max-width xxxxs": {
"prefix": "--max-width-xxxxs",
"body": [
"var(--max-width-xxxxs)"
],
"description": "max-width xxxxs"
},
"max-width xxxs": {
"prefix": "--max-width-xxxs",
"body": [
"var(--max-width-xxxs)"
],
"description": "max-width xxxs"
},
"max-width xxs": {
"prefix": "--max-width-xxs",
"body": [
"var(--max-width-xxs)"
],
"description": "max-width xxs"
},
"max-width xs": {
"prefix": "--max-width-xs",
"body": [
"var(--max-width-xs)"
],
"description": "max-width xs"
},
"max-width sm": {
"prefix": "--max-width-sm",
"body": [
"var(--max-width-sm)"
],
"description": "max-width sm"
},
"max-width md": {
"prefix": "--max-width-md",
"body": [
"var(--max-width-md)"
],
"description": "max-width md"
},
"max-width lg": {
"prefix": "--max-width-lg",
"body": [
"var(--max-width-lg)"
],
"description": "max-width lg"
},
"max-width xl": {
"prefix": "--max-width-xl",
"body": [
"var(--max-width-xl)"
],
"description": "max-width xl"
},
"max-width xxl": {
"prefix": "--max-width-xxl",
"body": [
"var(--max-width-xxl)"
],
"description": "max-width xxl"
},
"max-width xxxl": {
"prefix": "--max-width-xxxl",
"body": [
"var(--max-width-xxxl)"
],
"description": "max-width xxxl"
},
"max-width xxxxl": {
"prefix": "--max-width-xxxxl",
"body": [
"var(--max-width-xxxxl)"
],
"description": "max-width xxxxl"
},
"space unit": {
"prefix": "--space-unit",
"body": [
"--space-unit"
],
"description": "space unit variable"
},
"text unit": {
"prefix": "--text-unit",
"body": [
"--text-unit"
],
"description": "text unit variable"
},
"grid columns": {
"prefix": "--grid-columns",
"body": [
"--grid-columns"
],
"description": "set number of grid columns"
},
"icon xxxs": {
"prefix": "--icon-xxxs",
"body": [
"var(--icon-xxxs)"
],
"description": "icon size xxxs"
},
"icon xxs": {
"prefix": "--icon-xxs",
"body": [
"var(--icon-xxs)"
],
"description": "icon size xxs"
},
"icon xs": {
"prefix": "--icon-xs",
"body": [
"var(--icon-xs)"
],
"description": "icon size xs"
},
"icon sm": {
"prefix": "--icon-sm",
"body": [
"var(--icon-sm)"
],
"description": "icon size sm"
},
"icon md": {
"prefix": "--icon-md",
"body": [
"var(--icon-md)"
],
"description": "icon size md"
},
"icon lg": {
"prefix": "--icon-lg",
"body": [
"var(--icon-lg)"
],
"description": "icon size lg"
},
"icon xl": {
"prefix": "--icon-xl",
"body": [
"var(--icon-xl)"
],
"description": "icon size xl"
},
"icon xxl": {
"prefix": "--icon-xxl",
"body": [
"var(--icon-xxl)"
],
"description": "icon size xxl"
},
"icon xxxl": {
"prefix": "--icon-xxxl",
"body": [
"var(--icon-xxxl)"
],
"description": "icon size xxxl"
}
}