api-console-assets
Version:
This repo only exists to publish api console components to npm
116 lines (113 loc) • 3.07 kB
HTML
<!--
@license
Copyright 2017 The Advanced REST client authors <arc@mulesoft.com>
Licensed under the Apache License, Version 2.0 (the "License"); you may not
use this file except in compliance with the License. You may obtain a copy of
the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
License for the specific language governing permissions and limitations under
the License.
-->
<!--
Anypoint typography.
Currently this styles uses `rem` usints so set following css property so the sizes will be
calculated properly:
```
html {
font-size: 62.5%;
}
```
-->
<link rel="import" href="din-pro.html">
<style is="custom-style">
:root {
--anypoint-font-common-base: {
font-family: "Open Sans", "DIN Pro", sans-serif;
-webkit-font-smoothing: antialiased;
};
--anypoint-font-common-code: {
font-family: "Source Code Pro", 'Consolas', 'Menlo', monospace;
-webkit-font-smoothing: antialiased;
};
--anypoint-font-common-expensive-kerning: {
text-rendering: optimizeLegibility;
};
--anypoint-font-common-nowrap: {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
};
--anypoint-font-header1: {
@apply(--anypoint-font-common-base);
@apply(--anypoint-font-common-nowrap);
font-size: 30px;
font-weight: 100;
letter-spacing: -0.5px;
margin-bottom: 20px;
};
--anypoint-font-header2: {
@apply(--anypoint-font-common-base);
@apply(--anypoint-font-common-nowrap);
font-size: 25px;
font-weight: 100;
letter-spacing: -.3px;
margin-bottom: 20px;
};
--anypoint-font-header3: {
@apply(--anypoint-font-common-base);
font-size: 20px;
font-weight: 100;
letter-spacing: -.25px;
margin-bottom: 20px;
};
--anypoint-font-header4: {
@apply(--anypoint-font-common-base);
font-size: 18px;
font-weight: 100;
letter-spacing: -.2px;
margin-bottom: 20px;
};
--anypoint-font-header5: {
@apply(--anypoint-font-common-base);
font-size: 16px;
font-weight: 100;
letter-spacing: -.2px;
margin-bottom: 20px;
};
--anypoint-font-header6: {
@apply(--anypoint-font-common-base);
@apply(--anypoint-font-common-nowrap);
font-size: 12px;
font-weight: 700;
letter-spacing: 0;
margin-bottom: 20px;
};
--anypoint-font-body: {
@apply(--anypoint-font-common-base);
font-size: 14px;
letter-spacing: 0;
font-weight: 400;
};
--anypoint-font-body-small: {
@apply(--anypoint-font-common-base);
font-size: 14px;
letter-spacing: 0;
font-weight: 400;
};
--anypoint-font-blockquote: {
@apply(--anypoint-font-common-base);
font-style: italic;
font-weight: 200;
font-size: 18px;
};
--anypoint-font-code: {
@apply(--anypoint-font-common-code);
font-size: 14px;
font-weight: 500;
line-height: 20px;
};
}
</style>