File tree Expand file tree Collapse file tree 4 files changed +30
-46
lines changed Expand file tree Collapse file tree 4 files changed +30
-46
lines changed Original file line number Diff line number Diff line change 41
41
@include carbon-content-overrides ;
42
42
}
43
43
44
- .cs--page-layout-content {
44
+ @mixin default-project-type () {
45
+ h1 ,
46
+ dd {
47
+ @include type-style (' heading-07' );
48
+
49
+ margin-block-end : $spacing-08 ;
50
+ }
51
+
52
+ h3 {
53
+ margin-block-end : $spacing-05 ;
54
+ }
55
+
56
+ p ,
57
+ dt {
58
+ margin-block-end : $spacing-05 ;
59
+ margin-inline-end : $spacing-08 ;
60
+ }
61
+
62
+ dt {
63
+ @include type-style (' label-02' );
64
+ }
65
+ }
66
+
67
+ :where(.cs--page-layout-content ) {
68
+ // low specificity to make it easier to override defaults
45
69
@include default-type ;
46
70
71
+ // after Carbon default type
72
+ @include default-project-type ;
73
+ }
74
+
75
+ .cs--page-layout-content {
47
76
// These following styles size the content area and move the scroll
48
77
// from the body to this content area
49
78
block-size : calc (100vh - $spacing-09 );
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 8
8
@use ' @carbon/react/scss/grid' as * ;
9
9
@use ' @carbon/react/scss/spacing' as * ;
10
10
@use ' @carbon/react/scss/type' as * ;
11
- @use ' ../page-common' as common ;
12
-
13
- .cs--dashboard {
14
- @include common .page-common ;
15
- }
16
11
17
12
.cs--dashboard__tile {
18
13
margin-block : $spacing-05 ;
Original file line number Diff line number Diff line change 8
8
@use ' @carbon/react/scss/spacing' as * ;
9
9
@use ' @carbon/react/scss/type' as * ;
10
10
@use ' @carbon/react/scss/breakpoint' as * ;
11
- @use ' ../page-common' as common ;
12
-
13
- .cs--welcome {
14
- @include common .page-common ;
15
- }
16
11
17
12
.cs--welcome__about {
18
13
margin-block-start : $spacing-07 ;
You can’t perform that action at this time.
0 commit comments