File tree Expand file tree Collapse file tree 1 file changed +7
-10
lines changed Expand file tree Collapse file tree 1 file changed +7
-10
lines changed Original file line number Diff line number Diff line change 1- @use " ./rpf_design_system/spacing" as * ;
2- @use " ./rpf_design_system/font-size" as * ;
3- @use " ../../../node_modules/@raspberrypifoundation/design-system-core/scss/mixins/typography" ;
1+ @forward ' @raspberrypifoundation/design-system-core/scss/properties/spacing' ;
2+ @use ' @raspberrypifoundation/design-system-core/scss/mixins/typography' as typography ;
43
54// Scrollbar-width is needed from scrollbar to show in Chrome
65.editor-wrapper {
2625 }
2726
2827 .cm-scroller {
29- @include typography .style-1 ();
30-
3128 // Needed here for horizontal scroll
3229 overflow : auto ;
3330 scrollbar-width : thin ;
3734
3835 .cm-content {
3936 flex : 1 ;
40- padding-block-start : $ space-0-5 ;
41- margin-inline-end : $ space-0-5 ;
37+ padding-block-start : var ( -- space-0-5) ;
38+ margin-inline-end : var ( -- space-0-5) ;
4239 }
4340 }
4441 }
4542
4643 & --small {
47- @include font-size-1 (regular );
44+ @include typography . style-1 ( );
4845 }
4946
5047 & --medium {
51- @include font-size- 1-5 (regular );
48+ @include typography . style- 1-5 ();
5249 }
5350
5451 & --large {
55- @include font-size-2 (regular );
52+ @include typography . style-2 ( );
5653 }
5754}
5855
You can’t perform that action at this time.
0 commit comments