Skip to content

Commit 0eafcd2

Browse files
committed
general font size
1 parent 7c86e45 commit 0eafcd2

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

packages/uui-css/lib/custom-properties/sizes.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@
5353
--uui-border-radius: var(--uui-size-1);
5454

5555
/** Typography */
56-
--uui-type-default-size: var(--uui-size-5);
57-
--uui-type-small-size: var(--uui-size-4);
56+
--uui-type-default-size: 14px;
57+
--uui-type-small-size: 12px;
5858
--uui-type-h1-size: 60px; /*--uui-size-20*/
5959
--uui-type-h2-size: 42px; /*--uui-size-14*/
6060
--uui-type-h3-size: 30px; /*--uui-size-10*/

packages/uui-css/lib/uui-text.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
.uui-text {
1414
font-family: 'Lato', 'Helvetica Neue', Helvetica, Arial, sans-serif;
1515
font-size: 14px;
16-
line-height: calc(var(--uui-size-2) * 4);
16+
line-height: 21px;
1717
-webkit-font-smoothing: antialiased;
1818
}
1919

@@ -114,6 +114,7 @@
114114
.uui-p-lead,
115115
.uui-text p.uui-lead {
116116
font-size: var(--uui-size-6);
117+
line-height: var(--uui-size-8);
117118
}
118119

119120
.uui-a,
@@ -135,22 +136,21 @@
135136
.uui-text small {
136137
display: inline-block;
137138
font-size: var(--uui-type-small-size);
138-
line-height: calc(var(--uui-size-2) * 3);
139-
margin-bottom: var(--uui-size-layout-1);
139+
line-height: 18px;
140140
}
141141

142142
.uui-quoteblock,
143143
.uui-text blockquote {
144144
float: right;
145145
font-size: 14px;
146+
line-height: inherit;
146147
font-weight: 700;
147148
font-style: italic;
148149
margin-top: 0;
149150
margin-bottom: var(--uui-size-layout-1);
150151
margin-right: -0.035em;
151152
max-width: 16em;
152153
quotes: '“' '”' '‘' '’';
153-
line-height: inherit;
154154
}
155155

156156
.uui-quoteblock:before,

0 commit comments

Comments
 (0)