Skip to content
This repository was archived by the owner on Dec 18, 2024. It is now read-only.

Commit b77dfc4

Browse files
committed
API reference text tweaks
1 parent 1910483 commit b77dfc4

File tree

2 files changed

+26
-6
lines changed

2 files changed

+26
-6
lines changed

src/styles/_typography-theme.scss

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
.docs-component-viewer-tabbed-content,
1111
.docs-guide-content {
12-
h1 {
12+
h1 {
1313
color: md-color($primary, 800);
1414
background: rgba(md-color($foreground, secondary-text), .03);
1515
}
@@ -39,5 +39,9 @@
3939
color: md-color($foreground, secondary-text);
4040
background: rgba(md-color($foreground, secondary-text), .03);
4141
}
42+
43+
.docs-api-method-name-cell {
44+
color: md-color($primary, 800);
45+
}
4246
}
4347
}

src/styles/_typography.scss

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,6 @@
2323
font-size: 16px;
2424
}
2525

26-
.md-tab-body-wrapper h2 {
27-
margin-top: 0px;
28-
}
29-
3026
p {
3127
font-size: 16px;
3228
line-height: 28px;
@@ -36,6 +32,25 @@
3632
text-decoration: none;
3733
}
3834

35+
.docs-api-input-marker,
36+
.docs-api-output-marker {
37+
font-weight: 500;
38+
padding-bottom:: 5px;
39+
}
40+
41+
.docs-api-method-name-cell {
42+
font-weight: 500;
43+
}
44+
45+
.docs-api-method-parameters-header-cell,
46+
.docs-api-method-returns-header-cell {
47+
font-size: 14px;
48+
}
49+
50+
.md-tab-body-wrapper h2 {
51+
margin-top: 0px;
52+
}
53+
3954
table {
4055
border-collapse: collapse;
4156
border-radius: 2px;
@@ -52,7 +67,7 @@
5267

5368
td {
5469
font-weight: 400;
55-
padding: 8px 30px;
70+
padding: 15px 30px;
5671

5772
p {
5873
margin: 0;
@@ -65,5 +80,6 @@
6580
padding: 13px 32px;
6681
text-align: left;
6782
}
83+
6884
}
6985
}

0 commit comments

Comments
 (0)