Skip to content

Commit b34b453

Browse files
authored
Docs colors logo (flutter#5176)
* update the color and logo for the docs site * update the color and logo for the docs site * remove unused file * removed unused script code * tweak styles for inherited names
1 parent 56a2d22 commit b34b453

File tree

3 files changed

+10
-19
lines changed

3 files changed

+10
-19
lines changed

dev/bots/docs.sh

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -14,24 +14,6 @@ dart dev/tools/dartdoc.dart
1414
# Ensure google webmaster tools can verify our site.
1515
cp dev/docs/google2ed1af765c529f57.html dev/docs/doc
1616

17-
# Upload the docs to cloud storage.
18-
# TODO: remove this when we're comfortable with Firebase hosting.
19-
20-
if [ "$1" = "--upload" ]; then
21-
# This isn't great, because we're uploading our files twice. But,
22-
# we're ensuring we're not leaving any deleted files on the server.
23-
# And we're ensuring we're compressing text files.
24-
# Unfortunately, rsync can't set Content-Encoding for a subset of files,
25-
# and rsync can't run in a "only delete files on server that are no
26-
# longer in the local source dir".
27-
28-
# Ensure files on server are deleted when no longer in local generated source.
29-
gsutil -m rsync -d -r dev/docs/doc/ gs://docs.flutter.io/
30-
31-
# Ensure compressable files are gzipped and then stored.
32-
gsutil -m cp -r -z "js,json,html,css" dev/docs/doc/* gs://docs.flutter.io/
33-
fi
34-
3517
# Upload new API docs when on Travis and branch is master
3618

3719
if [ "$TRAVIS_PULL_REQUEST" = "false" ]; then

dev/docs/favicon.ico

-3.06 KB
Binary file not shown.

dev/docs/styles.html

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
<!-- style overrides for dartdoc -->
2+
<style>
3+
@import 'https://fonts.googleapis.com/css?family=Roboto:100i';
4+
</style>
5+
26
<style>
37
header {
4-
background-color: #917FFF;
8+
background-color: #01579b;
59
}
610

711
body {
@@ -105,6 +109,11 @@
105109
i.material-icons.md-48 {
106110
vertical-align: bottom;
107111
}
112+
113+
/* thinify the inherited names in lists */
114+
li.inherited a {
115+
font-weight: 100;
116+
}
108117
</style>
109118

110119
<!-- The following rules are from http://google.github.io/material-design-icons/ -->

0 commit comments

Comments
 (0)