matcha-theme 1.0.11 → 1.0.13

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.
@@ -390,12 +390,9 @@ $base-font-size: 16px;
390
390
 
391
391
  // Function to convert pixels to rem.
392
392
  @function px-to-rem($value-in-px) {
393
- @return calc($value-in-px / $base-font-size) * 1rem;
394
- }
395
-
396
- // Example of use of the function:
397
- // .example {
398
- // font-size: px-to-rem(24px); // Converte 24px para rem.
399
- // margin: px-to-rem(16px); // Converte 16px para rem.
400
- // padding: px-to-rem(8px); // Converte 8px para rem.
401
- // }
393
+ @if $value-in-px != 0 {
394
+ @return calc($value-in-px / $base-font-size) * 1rem;
395
+ } @else {
396
+ @return $value-in-px;
397
+ }
398
+ }
@@ -721,339 +721,40 @@
721
721
  // @ Border helpers
722
722
  // -----------------------------------------------------------------------------------------------------
723
723
  // none:0 thin:2 thick:4 thicker:8
724
- .b-0,
725
- .border-0 {
726
- border: 0 solid
727
- }
728
-
729
- .border-top-0,
730
- .bt-0 {
731
- border-top: 0 solid
732
- }
733
-
734
- .border-right-0,
735
- .br-0 {
736
- border-right: 0 solid
737
- }
738
-
739
- .bb-0,
740
- .border-bottom-0 {
741
- border-bottom: 0 solid
742
- }
743
-
744
- .bl-0,
745
- .border-left-0 {
746
- border-left: 0 solid
747
- }
748
-
749
- .border-horizontal-0,
750
- .bx-0 {
751
- border-left: 0 solid;
752
- border-right: 0 solid
753
- }
754
-
755
- .border-vertical-0,
756
- .by-0 {
757
- border-top: 0 solid;
758
- border-bottom: 0 solid
759
- }
760
-
761
- .b-1,
762
- .border-1 {
763
- border: 1px solid
764
- }
765
-
766
- .border-top-1,
767
- .bt-1 {
768
- border-top: 1px solid
769
- }
770
-
771
- .border-right-1,
772
- .br-1 {
773
- border-right: 1px solid
774
- }
775
-
776
- .bb-1,
777
- .border-bottom-1 {
778
- border-bottom: 1px solid
779
- }
780
-
781
- .bl-1,
782
- .border-left-1 {
783
- border-left: 1px solid
784
- }
785
-
786
- .border-horizontal-1,
787
- .bx-1 {
788
- border-left: 1px solid;
789
- border-right: 1px solid
790
- }
791
-
792
- .border-vertical-1,
793
- .by-1 {
794
- border-top: 1px solid;
795
- border-bottom: 1px solid
796
- }
797
-
798
- .b-2,
799
- .border-2 {
800
- border: 2px solid
801
- }
802
-
803
- .border-top-2,
804
- .bt-2 {
805
- border-top: 2px solid
806
- }
807
-
808
- .border-right-2,
809
- .br-2 {
810
- border-right: 2px solid
811
- }
812
-
813
- .bb-2,
814
- .border-bottom-2 {
815
- border-bottom: 2px solid
816
- }
817
-
818
- .bl-2,
819
- .border-left-2 {
820
- border-left: 2px solid
821
- }
822
-
823
- .border-horizontal-2,
824
- .bx-2 {
825
- border-left: 2px solid;
826
- border-right: 2px solid
827
- }
828
-
829
- .border-vertical-2,
830
- .by-2 {
831
- border-top: 2px solid;
832
- border-bottom: 2px solid
833
- }
834
-
835
- .b-3,
836
- .border-3 {
837
- border: 3px solid
838
- }
839
-
840
- .border-top-3,
841
- .bt-3 {
842
- border-top: 3px solid
843
- }
844
-
845
- .border-right-3,
846
- .br-3 {
847
- border-right: 3px solid
848
- }
849
-
850
- .bb-3,
851
- .border-bottom-3 {
852
- border-bottom: 3px solid
853
- }
854
-
855
- .bl-3,
856
- .border-left-3 {
857
- border-left: 3px solid
858
- }
859
-
860
- .border-horizontal-3,
861
- .bx-3 {
862
- border-left: 3px solid;
863
- border-right: 3px solid
864
- }
865
-
866
- .border-vertical-3,
867
- .by-3 {
868
- border-top: 3px solid;
869
- border-bottom: 3px solid
870
- }
871
-
872
- .b-4,
873
- .border-4 {
874
- border: 4px solid
875
- }
876
-
877
- .border-top-4,
878
- .bt-4 {
879
- border-top: 4px solid
880
- }
881
-
882
- .border-right-4,
883
- .br-4 {
884
- border-right: 4px solid
885
- }
886
-
887
- .bb-4,
888
- .border-bottom-4 {
889
- border-bottom: 4px solid
890
- }
891
-
892
- .bl-4,
893
- .border-left-4 {
894
- border-left: 4px solid
895
- }
896
-
897
- .border-horizontal-4,
898
- .bx-4 {
899
- border-left: 4px solid;
900
- border-right: 4px solid
901
- }
902
-
903
- .border-vertical-4,
904
- .by-4 {
905
- border-top: 4px solid;
906
- border-bottom: 4px solid
907
- }
908
-
909
- .b-5,
910
- .border-5 {
911
- border: 5px solid
912
- }
913
-
914
- .border-top-5,
915
- .bt-5 {
916
- border-top: 5px solid
917
- }
918
-
919
- .border-right-5,
920
- .br-5 {
921
- border-right: 5px solid
922
- }
923
-
924
- .bb-5,
925
- .border-bottom-5 {
926
- border-bottom: 5px solid
927
- }
928
-
929
- .bl-5,
930
- .border-left-5 {
931
- border-left: 5px solid
932
- }
933
-
934
- .border-horizontal-5,
935
- .bx-5 {
936
- border-left: 5px solid;
937
- border-right: 5px solid
938
- }
939
-
940
- .border-vertical-5,
941
- .by-5 {
942
- border-top: 5px solid;
943
- border-bottom: 5px solid
944
- }
945
-
946
- .b-6,
947
- .border-6 {
948
- border: 6px solid
949
- }
950
-
951
- .border-top-6,
952
- .bt-6 {
953
- border-top: 6px solid
954
- }
955
-
956
- .border-right-6,
957
- .br-6 {
958
- border-right: 6px solid
959
- }
960
-
961
- .bb-6,
962
- .border-bottom-6 {
963
- border-bottom: 6px solid
964
- }
965
-
966
- .bl-6,
967
- .border-left-6 {
968
- border-left: 6px solid
969
- }
970
-
971
- .border-horizontal-6,
972
- .bx-6 {
973
- border-left: 6px solid;
974
- border-right: 6px solid
975
- }
976
-
977
- .border-vertical-6,
978
- .by-6 {
979
- border-top: 6px solid;
980
- border-bottom: 6px solid
981
- }
982
-
983
- .b-7,
984
- .border-7 {
985
- border: 7px solid
986
- }
987
-
988
- .border-top-7,
989
- .bt-7 {
990
- border-top: 7px solid
991
- }
992
-
993
- .border-right-7,
994
- .br-7 {
995
- border-right: 7px solid
996
- }
997
-
998
- .bb-7,
999
- .border-bottom-7 {
1000
- border-bottom: 7px solid
1001
- }
1002
-
1003
- .bl-7,
1004
- .border-left-7 {
1005
- border-left: 7px solid
1006
- }
1007
-
1008
- .border-horizontal-7,
1009
- .bx-7 {
1010
- border-left: 7px solid;
1011
- border-right: 7px solid
1012
- }
1013
-
1014
- .border-vertical-7,
1015
- .by-7 {
1016
- border-top: 7px solid;
1017
- border-bottom: 7px solid
1018
- }
1019
-
1020
- .b-8,
1021
- .border-8 {
1022
- border: 8px solid
1023
- }
1024
-
1025
- .border-top-8,
1026
- .bt-8 {
1027
- border-top: 8px solid
1028
- }
1029
-
1030
- .border-right-8,
1031
- .br-8 {
1032
- border-right: 8px solid
1033
- }
1034
-
1035
- .bb-8,
1036
- .border-bottom-8 {
1037
- border-bottom: 8px solid
1038
- }
1039
-
1040
- .bl-8,
1041
- .border-left-8 {
1042
- border-left: 8px solid
1043
- }
1044
-
1045
- .border-horizontal-8,
1046
- .bx-8 {
1047
- border-left: 8px solid;
1048
- border-right: 8px solid
1049
- }
1050
-
1051
- .border-vertical-8,
1052
- .by-8 {
1053
- border-top: 8px solid;
1054
- border-bottom: 8px solid
1055
- }
1056
724
 
725
+ @mixin helper-border-size($helper-breakpoints){
726
+ @each $breakpoint, $materialBreakpoint in $helper-breakpoints {
727
+ @include media-breakpoint($materialBreakpoint) {
728
+ $infix: if($materialBreakpoint ==null, "", "-#{$breakpoint}");
729
+
730
+ @for $i from 0 through 4 {
731
+ $border-value: $i * 2;
732
+ $border-suffix: "-#{$border-value}";
733
+ // Gerar classes para todos os cantos
734
+ .border#{$infix}#{$border-suffix} {
735
+ border: #{$border-value}px solid!important;
736
+ }
737
+
738
+ @if($border-value != 0){
739
+ @each $direction, $abbrev in (bottom:bb, top:bt, left:bl, right:br) {
740
+ .border-#{$direction}#{$infix}#{$border-suffix},
741
+ .#{$abbrev}#{$infix}#{$border-suffix}{
742
+ border-#{$direction}:
743
+ if($direction == "bottom",#{$border-value}px solid,
744
+ if($direction == "top", #{$border-value}px solid,
745
+ if($direction == "left", #{$border-value}px solid,
746
+ #{$border-value}px solid
747
+ )
748
+ )
749
+ ) !important;
750
+ }
751
+ }
752
+ }
753
+ }
754
+ }
755
+ }
756
+ }
757
+ @include helper-border-size($helper-breakpoints);
1057
758
  .border-none {
1058
759
  border: none !important
1059
760
  }
@@ -1061,177 +762,47 @@
1061
762
  // -----------------------------------------------------------------------------------------------------
1062
763
  // @ Border Radius helpers
1063
764
  // -----------------------------------------------------------------------------------------------------
1064
- .border-radius-0,
1065
- .border-radius-b-0,
1066
- .border-radius-l-0,
1067
- .border-radius-r-0,
1068
- .border-radius-t-0 {
1069
- border-radius: 0 !important
1070
- }
1071
-
1072
- .border-radius-1 {
1073
- border-radius: 1px !important
1074
- }
1075
-
1076
- .border-radius-b-1 {
1077
- border-radius: 0 0 1px 1px !important
1078
- }
1079
-
1080
- .border-radius-t-1 {
1081
- border-radius: 1px 1px 0 0 !important
1082
- }
1083
-
1084
- .border-radius-l-1 {
1085
- border-radius: 1px 0 0 1px !important
1086
- }
1087
-
1088
- .border-radius-r-1 {
1089
- border-radius: 0 1px 1px 0 !important
1090
- }
1091
-
1092
- .border-radius-2 {
1093
- border-radius: 2px !important
1094
- }
1095
-
1096
- .border-radius-b-2 {
1097
- border-radius: 0 0 2px 2px !important
1098
- }
1099
-
1100
- .border-radius-t-2 {
1101
- border-radius: 2px 2px 0 0 !important
1102
- }
1103
-
1104
- .border-radius-l-2 {
1105
- border-radius: 2px 0 0 2px !important
1106
- }
1107
-
1108
- .border-radius-r-2 {
1109
- border-radius: 0 2px 2px 0 !important
1110
- }
1111
-
1112
- .border-radius-3 {
1113
- border-radius: 3px !important
1114
- }
1115
-
1116
- .border-radius-b-3 {
1117
- border-radius: 0 0 3px 3px !important
1118
- }
1119
-
1120
- .border-radius-t-3 {
1121
- border-radius: 3px 3px 0 0 !important
1122
- }
1123
-
1124
- .border-radius-l-3 {
1125
- border-radius: 3px 0 0 3px !important
1126
- }
1127
-
1128
- .border-radius-r-3 {
1129
- border-radius: 0 3px 3px 0 !important
1130
- }
1131
-
1132
- .border-radius-4 {
1133
- border-radius: 4px !important
1134
- }
1135
-
1136
- .border-radius-b-4 {
1137
- border-radius: 0 0 4px 4px !important
1138
- }
1139
-
1140
- .border-radius-t-4 {
1141
- border-radius: 4px 4px 0 0 !important
1142
- }
1143
-
1144
- .border-radius-l-4 {
1145
- border-radius: 4px 0 0 4px !important
1146
- }
1147
-
1148
- .border-radius-r-4 {
1149
- border-radius: 0 4px 4px 0 !important
1150
- }
1151
-
1152
- .border-radius-5 {
1153
- border-radius: 5px !important
1154
- }
1155
-
1156
- .border-radius-b-5 {
1157
- border-radius: 0 0 5px 5px !important
1158
- }
1159
-
1160
- .border-radius-t-5 {
1161
- border-radius: 5px 5px 0 0 !important
1162
- }
1163
-
1164
- .border-radius-l-5 {
1165
- border-radius: 5px 0 0 5px !important
1166
- }
1167
-
1168
- .border-radius-r-5 {
1169
- border-radius: 0 5px 5px 0 !important
1170
- }
1171
-
1172
- .border-radius-6 {
1173
- border-radius: 6px !important
1174
- }
1175
-
1176
- .border-radius-b-6 {
1177
- border-radius: 0 0 6px 6px !important
1178
- }
1179
-
1180
- .border-radius-t-6 {
1181
- border-radius: 6px 6px 0 0 !important
1182
- }
1183
-
1184
- .border-radius-l-6 {
1185
- border-radius: 6px 0 0 6px !important
1186
- }
765
+ @mixin helper-border-radius($helper-breakpoints){
766
+ @each $breakpoint, $materialBreakpoint in $helper-breakpoints {
767
+ @include media-breakpoint($materialBreakpoint) {
768
+ $infix: if($materialBreakpoint ==null, "", "-#{$breakpoint}");
769
+
770
+ @for $i from 0 through 8 {
771
+ $radius-value: $i * 2;
772
+ $radius-suffix: "-#{$radius-value}";
773
+ //Exemplo de classe gerada: .border-radius-md-4 ou .border-radius-4
774
+ .border-radius#{$infix}#{$radius-suffix} {
775
+ border-radius: #{$radius-value}px !important;
776
+ }
777
+
778
+ @if($radius-value != 0){
779
+ @each $direction, $abbrev in (bottom:b, top:t, left:l, right:r) {
780
+ //Exemplo de classe gerada: .border-radius-bottom-md-4 e .border-radius-b-md-4 ou .border-radius-bottom-4 e .border-radius-b-4
781
+ .border-radius-#{$direction}#{$infix}#{$radius-suffix},
782
+ .border-radius-#{$abbrev}#{$infix}#{$radius-suffix}{
783
+ border-radius:
784
+ if($direction == "bottom", 0 0 #{$radius-value}px #{$radius-value}px,
785
+ if($direction == "top", #{$radius-value}px #{$radius-value}px 0 0,
786
+ if($direction == "left", #{$radius-value}px 0 0 #{$radius-value}px,
787
+ 0 #{$radius-value}px #{$radius-value}px 0
788
+ )
789
+ )
790
+ )!important;
791
+ }
792
+ }
793
+ }
794
+ }
795
+ .border-radius#{$infix}-circle,
796
+ .border-radius#{$infix}-full,
797
+ .border-radius#{$infix}-round {
798
+ border-radius: 999px !important;
799
+ }
800
+ }
801
+ }
802
+ }
803
+ @include helper-border-radius($helper-breakpoints);
1187
804
 
1188
- .border-radius-r-6 {
1189
- border-radius: 0 6px 6px 0 !important
1190
- }
1191
-
1192
- .border-radius-7 {
1193
- border-radius: 7px !important
1194
- }
1195
-
1196
- .border-radius-b-7 {
1197
- border-radius: 0 0 7px 7px !important
1198
- }
1199
-
1200
- .border-radius-t-7 {
1201
- border-radius: 7px 7px 0 0 !important
1202
- }
1203
-
1204
- .border-radius-l-7 {
1205
- border-radius: 7px 0 0 7px !important
1206
- }
1207
805
 
1208
- .border-radius-r-7 {
1209
- border-radius: 0 7px 7px 0 !important
1210
- }
1211
-
1212
- .border-radius-8 {
1213
- border-radius: 8px !important
1214
- }
1215
-
1216
- .border-radius-b-8 {
1217
- border-radius: 0 0 8px 8px !important
1218
- }
1219
-
1220
- .border-radius-t-8 {
1221
- border-radius: 8px 8px 0 0 !important
1222
- }
1223
-
1224
- .border-radius-l-8 {
1225
- border-radius: 8px 0 0 8px !important
1226
- }
1227
-
1228
- .border-radius-r-8 {
1229
- border-radius: 0 8px 8px 0 !important
1230
- }
1231
-
1232
- .border-radius-circle {
1233
- border-radius: 999px !important
1234
- }
1235
806
 
1236
807
  // -----------------------------------------------------------------------------------------------------
1237
808
  // @ Overflow helpers
@@ -2378,437 +1949,84 @@
2378
1949
  // -----------------------------------------------------------------------------------------------------
2379
1950
  // @ Font Weight
2380
1951
  // -----------------------------------------------------------------------------------------------------
2381
- .font-weight-100,
2382
- .fw-100 {
2383
- font-weight: 100
2384
- }
2385
-
2386
- .font-weight-200,
2387
- .fw-200 {
2388
- font-weight: 200
2389
- }
2390
-
2391
- .font-weight-300,
2392
- .fw-300 {
2393
- font-weight: 300
2394
- }
2395
-
2396
- .font-weight-400,
2397
- .fw-400 {
2398
- font-weight: 400
2399
- }
2400
-
2401
- .font-weight-500,
2402
- .fw-500 {
2403
- font-weight: 500
2404
- }
2405
-
2406
- .font-weight-600,
2407
- .fw-600 {
2408
- font-weight: 600
2409
- }
2410
-
2411
- .font-weight-700,
2412
- .fw-700 {
2413
- font-weight: 700
2414
- }
2415
-
2416
- .font-weight-800,
2417
- .fw-800 {
2418
- font-weight: 800
2419
- }
2420
-
2421
- .font-weight-900,
2422
- .fw-900 {
2423
- font-weight: 900
2424
- }
1952
+ @mixin helper-font-weight($helper-breakpoints){
1953
+ @each $breakpoint, $materialBreakpoint in $helper-breakpoints {
1954
+ @include media-breakpoint($materialBreakpoint) {
1955
+ $infix: if($materialBreakpoint ==null, "", "-#{$breakpoint}");
1956
+
1957
+ @for $index from 1 through 9 {
1958
+ $weight: $index * 100;
1959
+ .font-weight#{$infix}-#{$weight},
1960
+ .fw#{$infix}-#{$weight} {
1961
+ font-weight: $weight !important;
1962
+ }
1963
+ }
1964
+ }
1965
+ }
1966
+ }
1967
+ @include helper-font-weight($helper-breakpoints);
2425
1968
 
2426
1969
  // -----------------------------------------------------------------------------------------------------
2427
1970
  // @ Font Size
2428
1971
  // -----------------------------------------------------------------------------------------------------
2429
- .font-size-2,
2430
- .fs-2 {
2431
- font-size: 2px !important
2432
- }
2433
-
2434
- .font-size-4,
2435
- .fs-4 {
2436
- font-size: 4px !important
2437
- }
2438
-
2439
- .font-size-6,
2440
- .fs-6 {
2441
- font-size: 6px !important
2442
- }
2443
-
2444
- .font-size-8,
2445
- .fs-8 {
2446
- font-size: 8px !important
2447
- }
2448
-
2449
- .font-size-10,
2450
- .fs-10 {
2451
- font-size: 10px !important
2452
- }
2453
-
2454
- .font-size-12,
2455
- .fs-12 {
2456
- font-size: 12px !important
2457
- }
2458
-
2459
- .font-size-14,
2460
- .fs-14 {
2461
- font-size: 14px !important
2462
- }
2463
-
2464
- .font-size-16,
2465
- .fs-16 {
2466
- font-size: 16px !important
2467
- }
2468
-
2469
- .font-size-18,
2470
- .fs-18 {
2471
- font-size: 18px !important
2472
- }
2473
-
2474
- .font-size-20,
2475
- .fs-20 {
2476
- font-size: 20px !important
2477
- }
2478
-
2479
- .font-size-22,
2480
- .fs-22 {
2481
- font-size: 22px !important
2482
- }
2483
-
2484
- .font-size-24,
2485
- .fs-24 {
2486
- font-size: 24px !important
2487
- }
2488
-
2489
- .font-size-26,
2490
- .fs-26 {
2491
- font-size: 26px !important
2492
- }
2493
-
2494
- .font-size-28,
2495
- .fs-28 {
2496
- font-size: 28px !important
2497
- }
2498
-
2499
- .font-size-30,
2500
- .fs-30 {
2501
- font-size: 30px !important
2502
- }
2503
-
2504
- .font-size-32,
2505
- .fs-32 {
2506
- font-size: 32px !important
2507
- }
2508
-
2509
- .font-size-34,
2510
- .fs-34 {
2511
- font-size: 34px !important
2512
- }
2513
-
2514
- .font-size-36,
2515
- .fs-36 {
2516
- font-size: 36px !important
2517
- }
2518
-
2519
- .font-size-38,
2520
- .fs-38 {
2521
- font-size: 38px !important
2522
- }
2523
-
2524
- .font-size-40,
2525
- .fs-40 {
2526
- font-size: 40px !important
2527
- }
2528
-
2529
- .font-size-42,
2530
- .fs-42 {
2531
- font-size: 42px !important
2532
- }
2533
-
2534
- .font-size-44,
2535
- .fs-44 {
2536
- font-size: 44px !important
2537
- }
2538
-
2539
- .font-size-46,
2540
- .fs-46 {
2541
- font-size: 46px !important
2542
- }
2543
-
2544
- .font-size-48,
2545
- .fs-48 {
2546
- font-size: 48px !important
2547
- }
2548
-
2549
- .font-size-50,
2550
- .fs-50 {
2551
- font-size: 50px !important
2552
- }
2553
-
2554
- .font-size-52,
2555
- .fs-52 {
2556
- font-size: 52px !important
2557
- }
2558
-
2559
- .font-size-54,
2560
- .fs-54 {
2561
- font-size: 54px !important
2562
- }
2563
-
2564
- .font-size-56,
2565
- .fs-56 {
2566
- font-size: 56px !important
2567
- }
2568
-
2569
- .font-size-58,
2570
- .fs-58 {
2571
- font-size: 58px !important
2572
- }
2573
-
2574
- .font-size-60,
2575
- .fs-60 {
2576
- font-size: 60px !important
2577
- }
2578
-
2579
- .font-size-62,
2580
- .fs-62 {
2581
- font-size: 62px !important
2582
- }
2583
-
2584
- .font-size-64,
2585
- .fs-64 {
2586
- font-size: 64px !important
2587
- }
2588
-
2589
- .font-size-66,
2590
- .fs-66 {
2591
- font-size: 66px !important
2592
- }
2593
-
2594
- .font-size-68,
2595
- .fs-68 {
2596
- font-size: 68px !important
2597
- }
2598
-
2599
- .font-size-70,
2600
- .fs-70 {
2601
- font-size: 70px !important
2602
- }
2603
-
2604
- .font-size-72,
2605
- .fs-72 {
2606
- font-size: 72px !important
2607
- }
1972
+ @mixin helper-font-size($helper-breakpoints){
1973
+ @each $breakpoint, $materialBreakpoint in $helper-breakpoints {
1974
+ @include media-breakpoint($materialBreakpoint) {
1975
+ $infix: if($materialBreakpoint ==null, "", "-#{$breakpoint}");
1976
+
1977
+ $index: 0;
1978
+ @while $index <= 18 {
1979
+ $size: $index * 4;
1980
+ .font-size#{$infix}-#{$size},
1981
+ .fs#{$infix}-#{$size} {
1982
+ font-size: #{$size}px !important;
1983
+ }
1984
+ $index: $index + 1;
1985
+ }
1986
+ }
1987
+ }
1988
+ }
1989
+ @include helper-font-size($helper-breakpoints);
2608
1990
 
2609
1991
  // -----------------------------------------------------------------------------------------------------
2610
1992
  // @ Line Height
2611
1993
  // -----------------------------------------------------------------------------------------------------
2612
- .lh-2,
2613
- .line-height-2 {
2614
- line-height: 2px !important
2615
- }
2616
-
2617
- .lh-4,
2618
- .line-height-4 {
2619
- line-height: 4px !important
2620
- }
2621
-
2622
- .lh-6,
2623
- .line-height-6 {
2624
- line-height: 6px !important
2625
- }
2626
-
2627
- .lh-8,
2628
- .line-height-8 {
2629
- line-height: 8px !important
2630
- }
2631
-
2632
- .lh-10,
2633
- .line-height-10 {
2634
- line-height: 10px !important
2635
- }
2636
-
2637
- .lh-12,
2638
- .line-height-12 {
2639
- line-height: 12px !important
2640
- }
2641
-
2642
- .lh-14,
2643
- .line-height-14 {
2644
- line-height: 14px !important
2645
- }
2646
-
2647
- .lh-16,
2648
- .line-height-16 {
2649
- line-height: 16px !important
2650
- }
2651
-
2652
- .lh-18,
2653
- .line-height-18 {
2654
- line-height: 18px !important
2655
- }
2656
-
2657
- .lh-20,
2658
- .line-height-20 {
2659
- line-height: 20px !important
2660
- }
2661
-
2662
- .lh-22,
2663
- .line-height-22 {
2664
- line-height: 22px !important
2665
- }
2666
-
2667
- .lh-24,
2668
- .line-height-24 {
2669
- line-height: 24px !important
2670
- }
2671
-
2672
- .lh-26,
2673
- .line-height-26 {
2674
- line-height: 26px !important
2675
- }
2676
-
2677
- .lh-28,
2678
- .line-height-28 {
2679
- line-height: 28px !important
2680
- }
2681
-
2682
- .lh-30,
2683
- .line-height-30 {
2684
- line-height: 30px !important
2685
- }
2686
-
2687
- .lh-32,
2688
- .line-height-32 {
2689
- line-height: 32px !important
2690
- }
2691
-
2692
- .lh-34,
2693
- .line-height-34 {
2694
- line-height: 34px !important
2695
- }
2696
-
2697
- .lh-36,
2698
- .line-height-36 {
2699
- line-height: 36px !important
2700
- }
2701
-
2702
- .lh-38,
2703
- .line-height-38 {
2704
- line-height: 38px !important
2705
- }
2706
-
2707
- .lh-40,
2708
- .line-height-40 {
2709
- line-height: 40px !important
2710
- }
2711
-
2712
- .lh-42,
2713
- .line-height-42 {
2714
- line-height: 42px !important
2715
- }
2716
-
2717
- .lh-44,
2718
- .line-height-44 {
2719
- line-height: 44px !important
2720
- }
2721
-
2722
- .lh-46,
2723
- .line-height-46 {
2724
- line-height: 46px !important
2725
- }
2726
-
2727
- .lh-48,
2728
- .line-height-48 {
2729
- line-height: 48px !important
2730
- }
2731
-
2732
- .lh-50,
2733
- .line-height-50 {
2734
- line-height: 50px !important
2735
- }
2736
-
2737
- .lh-52,
2738
- .line-height-52 {
2739
- line-height: 52px !important
2740
- }
2741
-
2742
- .lh-54,
2743
- .line-height-54 {
2744
- line-height: 54px !important
2745
- }
2746
-
2747
- .lh-56,
2748
- .line-height-56 {
2749
- line-height: 56px !important
2750
- }
2751
-
2752
- .lh-58,
2753
- .line-height-58 {
2754
- line-height: 58px !important
2755
- }
2756
-
2757
- .lh-60,
2758
- .line-height-60 {
2759
- line-height: 60px !important
2760
- }
2761
-
2762
- .lh-62,
2763
- .line-height-62 {
2764
- line-height: 62px !important
2765
- }
2766
-
2767
- .lh-64,
2768
- .line-height-64 {
2769
- line-height: 64px !important
2770
- }
2771
-
2772
- .lh-66,
2773
- .line-height-66 {
2774
- line-height: 66px !important
2775
- }
2776
-
2777
- .lh-68,
2778
- .line-height-68 {
2779
- line-height: 68px !important
2780
- }
2781
-
2782
- .lh-70,
2783
- .line-height-70 {
2784
- line-height: 70px !important
2785
- }
2786
-
2787
- .lh-72,
2788
- .line-height-72 {
2789
- line-height: 72px !important
2790
- }
2791
-
2792
- // .line-height-1{line-height:1}
2793
- // .line-height-1\.25{line-height:1.25}
2794
- // .line-height-1\.5{line-height:1.5}
2795
- // .line-height-1\.75{line-height:1.75}
1994
+ @mixin helper-line-height($helper-breakpoints){
1995
+ @each $breakpoint, $materialBreakpoint in $helper-breakpoints {
1996
+ @include media-breakpoint($materialBreakpoint) {
1997
+ $infix: if($materialBreakpoint ==null, "", "-#{$breakpoint}");
1998
+
1999
+ $index: 0;
2000
+ @while $index <= 36 {
2001
+ $height: $index * 2;
2002
+ .line-height#{$infix}-#{$height},
2003
+ .lh#{$infix}-#{$height} {
2004
+ line-height: #{$height}px !important;
2005
+ }
2006
+ $index: $index + 1;
2007
+ }
2008
+ }
2009
+ }
2010
+ }
2011
+ @include helper-line-height($helper-breakpoints);
2796
2012
 
2797
2013
  // -----------------------------------------------------------------------------------------------------
2798
2014
  // @ Letter spacing helpers
2799
2015
  // -----------------------------------------------------------------------------------------------------
2016
+
2800
2017
  .letter-spacing-condensed {
2801
- letter-spacing: -.08em
2018
+ letter-spacing: -.08em !important;
2802
2019
  }
2803
2020
 
2804
2021
  .letter-spacing-normal {
2805
- letter-spacing: normal
2022
+ letter-spacing: normal !important;
2806
2023
  }
2807
2024
 
2808
2025
  .letter-spacing-relaxed {
2809
- letter-spacing: .08em
2026
+ letter-spacing: .08em !important;
2810
2027
  }
2811
2028
 
2029
+
2812
2030
  // -----------------------------------------------------------------------------------------------------
2813
2031
  // @ Cursor helpers
2814
2032
  // -----------------------------------------------------------------------------------------------------
@@ -2851,7 +2069,9 @@
2851
2069
  // -----------------------------------------------------------------------------------------------------
2852
2070
  // @ Clear Shadows
2853
2071
  // -----------------------------------------------------------------------------------------------------
2854
- .flatten {
2072
+ .flatten,
2073
+ .no-shadow,
2074
+ .shadow-none {
2855
2075
  box-shadow: none !important;
2856
2076
  }
2857
2077
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "matcha-theme",
3
- "version": "1.0.11",
3
+ "version": "1.0.13",
4
4
  "description": "styles for matcha-design-system",
5
5
  "main": "main.scss",
6
6
  "scripts": {