Skip to content

Commit

Permalink
Use Roboto (lit#769)
Browse files Browse the repository at this point in the history
* Use Roboto

* Load Roboto
  • Loading branch information
keanulee authored and justinfagnani committed Jan 31, 2019
1 parent 48235f5 commit 7660fd7
Show file tree
Hide file tree
Showing 23 changed files with 23 additions and 8 deletions.
1 change: 1 addition & 0 deletions docs/_api/theme/layouts/default.hbs
Expand Up @@ -11,6 +11,7 @@
<link rel="stylesheet" href="{{relativeURL "../css/main.css"}}">
<link rel="stylesheet" href="{{relativeURL "../css/pygments.css"}}">
<link rel="stylesheet" href="{{relativeURL "../css/theme.css"}}">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto">

{{!-- Add margin-top to offset our custom fixed top nav. --}}
<style>
Expand Down
2 changes: 1 addition & 1 deletion docs/_layouts/default.html
Expand Up @@ -10,7 +10,7 @@
<link rel="stylesheet" href="{{site.baseurl}}/css/main.css">
<link rel="stylesheet" href="{{site.baseurl}}/css/theme.css">
<link rel="stylesheet" href="{{site.baseurl}}/css/pygments.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Google+Sans:400,500">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto">
{% if site.google_analytics %}
{% include analytics.html %}
{% endif %}
Expand Down
1 change: 1 addition & 0 deletions docs/api/classes/lit_html.attributecommitter.html
Expand Up @@ -10,6 +10,7 @@
<link rel="stylesheet" href="../../css/main.css">
<link rel="stylesheet" href="../../css/pygments.css">
<link rel="stylesheet" href="../../css/theme.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto">
<style>
body {
position: relative;
Expand Down
1 change: 1 addition & 0 deletions docs/api/classes/lit_html.attributepart.html
Expand Up @@ -10,6 +10,7 @@
<link rel="stylesheet" href="../../css/main.css">
<link rel="stylesheet" href="../../css/pygments.css">
<link rel="stylesheet" href="../../css/theme.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto">
<style>
body {
position: relative;
Expand Down
1 change: 1 addition & 0 deletions docs/api/classes/lit_html.booleanattributepart.html
Expand Up @@ -10,6 +10,7 @@
<link rel="stylesheet" href="../../css/main.css">
<link rel="stylesheet" href="../../css/pygments.css">
<link rel="stylesheet" href="../../css/theme.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto">
<style>
body {
position: relative;
Expand Down
1 change: 1 addition & 0 deletions docs/api/classes/lit_html.defaulttemplateprocessor.html
Expand Up @@ -10,6 +10,7 @@
<link rel="stylesheet" href="../../css/main.css">
<link rel="stylesheet" href="../../css/pygments.css">
<link rel="stylesheet" href="../../css/theme.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto">
<style>
body {
position: relative;
Expand Down
1 change: 1 addition & 0 deletions docs/api/classes/lit_html.eventpart.html
Expand Up @@ -10,6 +10,7 @@
<link rel="stylesheet" href="../../css/main.css">
<link rel="stylesheet" href="../../css/pygments.css">
<link rel="stylesheet" href="../../css/theme.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto">
<style>
body {
position: relative;
Expand Down
1 change: 1 addition & 0 deletions docs/api/classes/lit_html.nodepart.html
Expand Up @@ -10,6 +10,7 @@
<link rel="stylesheet" href="../../css/main.css">
<link rel="stylesheet" href="../../css/pygments.css">
<link rel="stylesheet" href="../../css/theme.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto">
<style>
body {
position: relative;
Expand Down
1 change: 1 addition & 0 deletions docs/api/classes/lit_html.propertycommitter.html
Expand Up @@ -10,6 +10,7 @@
<link rel="stylesheet" href="../../css/main.css">
<link rel="stylesheet" href="../../css/pygments.css">
<link rel="stylesheet" href="../../css/theme.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto">
<style>
body {
position: relative;
Expand Down
1 change: 1 addition & 0 deletions docs/api/classes/lit_html.propertypart.html
Expand Up @@ -10,6 +10,7 @@
<link rel="stylesheet" href="../../css/main.css">
<link rel="stylesheet" href="../../css/pygments.css">
<link rel="stylesheet" href="../../css/theme.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto">
<style>
body {
position: relative;
Expand Down
1 change: 1 addition & 0 deletions docs/api/classes/lit_html.svgtemplateresult.html
Expand Up @@ -10,6 +10,7 @@
<link rel="stylesheet" href="../../css/main.css">
<link rel="stylesheet" href="../../css/pygments.css">
<link rel="stylesheet" href="../../css/theme.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto">
<style>
body {
position: relative;
Expand Down
1 change: 1 addition & 0 deletions docs/api/classes/lit_html.template.html
Expand Up @@ -10,6 +10,7 @@
<link rel="stylesheet" href="../../css/main.css">
<link rel="stylesheet" href="../../css/pygments.css">
<link rel="stylesheet" href="../../css/theme.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto">
<style>
body {
position: relative;
Expand Down
1 change: 1 addition & 0 deletions docs/api/classes/lit_html.templateinstance.html
Expand Up @@ -10,6 +10,7 @@
<link rel="stylesheet" href="../../css/main.css">
<link rel="stylesheet" href="../../css/pygments.css">
<link rel="stylesheet" href="../../css/theme.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto">
<style>
body {
position: relative;
Expand Down
1 change: 1 addition & 0 deletions docs/api/classes/lit_html.templateresult.html
Expand Up @@ -10,6 +10,7 @@
<link rel="stylesheet" href="../../css/main.css">
<link rel="stylesheet" href="../../css/pygments.css">
<link rel="stylesheet" href="../../css/theme.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto">
<style>
body {
position: relative;
Expand Down
1 change: 1 addition & 0 deletions docs/api/globals.html
Expand Up @@ -10,6 +10,7 @@
<link rel="stylesheet" href="../css/main.css">
<link rel="stylesheet" href="../css/pygments.css">
<link rel="stylesheet" href="../css/theme.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto">
<style>
body {
position: relative;
Expand Down
1 change: 1 addition & 0 deletions docs/api/index.html
Expand Up @@ -10,6 +10,7 @@
<link rel="stylesheet" href="../css/main.css">
<link rel="stylesheet" href="../css/pygments.css">
<link rel="stylesheet" href="../css/theme.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto">
<style>
body {
position: relative;
Expand Down
1 change: 1 addition & 0 deletions docs/api/interfaces/lit_html.part.html
Expand Up @@ -10,6 +10,7 @@
<link rel="stylesheet" href="../../css/main.css">
<link rel="stylesheet" href="../../css/pygments.css">
<link rel="stylesheet" href="../../css/theme.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto">
<style>
body {
position: relative;
Expand Down
1 change: 1 addition & 0 deletions docs/api/interfaces/lit_html.renderoptions.html
Expand Up @@ -10,6 +10,7 @@
<link rel="stylesheet" href="../../css/main.css">
<link rel="stylesheet" href="../../css/pygments.css">
<link rel="stylesheet" href="../../css/theme.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto">
<style>
body {
position: relative;
Expand Down
1 change: 1 addition & 0 deletions docs/api/interfaces/lit_html.templateprocessor.html
Expand Up @@ -10,6 +10,7 @@
<link rel="stylesheet" href="../../css/main.css">
<link rel="stylesheet" href="../../css/pygments.css">
<link rel="stylesheet" href="../../css/theme.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto">
<style>
body {
position: relative;
Expand Down
1 change: 1 addition & 0 deletions docs/api/interfaces/shady_render.shadyrenderoptions.html
Expand Up @@ -10,6 +10,7 @@
<link rel="stylesheet" href="../../css/main.css">
<link rel="stylesheet" href="../../css/pygments.css">
<link rel="stylesheet" href="../../css/theme.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto">
<style>
body {
position: relative;
Expand Down
1 change: 1 addition & 0 deletions docs/api/modules/lit_html.html
Expand Up @@ -10,6 +10,7 @@
<link rel="stylesheet" href="../../css/main.css">
<link rel="stylesheet" href="../../css/pygments.css">
<link rel="stylesheet" href="../../css/theme.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto">
<style>
body {
position: relative;
Expand Down
1 change: 1 addition & 0 deletions docs/api/modules/shady_render.html
Expand Up @@ -10,6 +10,7 @@
<link rel="stylesheet" href="../../css/main.css">
<link rel="stylesheet" href="../../css/pygments.css">
<link rel="stylesheet" href="../../css/theme.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto">
<style>
body {
position: relative;
Expand Down
8 changes: 1 addition & 7 deletions docs/css/main.css
Expand Up @@ -2,7 +2,7 @@
body {
margin: 0;
padding: 0;
font-family: 'Google Sans', 'Roboto', 'Noto', sans-serif;
font-family: 'Roboto', 'Noto', sans-serif;
-webkit-font-smoothing: antialiased;
color: #222222;
font-size: 16px;
Expand Down Expand Up @@ -394,12 +394,6 @@ article h4 {
margin: 32px 0 8px 0;
}

article table,
article p,
article li {
font-family: 'Roboto', 'Noto', sans-serif;
}

article p {
margin: 16px 0;
max-width: 640px;
Expand Down

0 comments on commit 7660fd7

Please sign in to comment.