Skip to content

Commit d17514d

Browse files
Fix typo and colors (#19)
1 parent 5468de2 commit d17514d

File tree

2 files changed

+30
-2
lines changed

2 files changed

+30
-2
lines changed

docs/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<h1>
2-
<img align="middle" src="https://user-images.githubusercontent.com/84136/83958672-e99bba00-a8b7-11ea-81c7-0397f23e8a04.png" alt="react-resource-router logo" height="100" />
3-
<span>react-sweet-state</span>
2+
<img align="middle" src="https://user-images.githubusercontent.com/84136/83958672-e99bba00-a8b7-11ea-81c7-0397f23e8a04.png" alt="react-resource-router logo" height="80" /> &nbsp;
3+
<span>react-resource-router</span>
44
</h1>
55

66
React Resource Router (RRR) is a configuration driven routing solution for React that manages single page application route matching, data fetching and progressive rendering.

docs/index.html

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,41 @@
1616
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"
1717
/>
1818
<link rel="stylesheet" href="//unpkg.com/docsify/lib/themes/vue.css" />
19+
<style type="text/css">
20+
:root {
21+
--theme-color: #00c353;
22+
}
23+
.markdown-section > div:first-child {
24+
position: relative;
25+
float: right;
26+
z-index: 2;
27+
}
28+
.markdown-section > div:first-child p {
29+
margin: 0.5em 0 0;
30+
}
31+
.markdown-section > div:first-child + * {
32+
margin-top: 0;
33+
}
34+
.markdown-section code,
35+
.token.keyword,
36+
.token.function {
37+
color: var(--theme-color);
38+
}
39+
.token.boolean,
40+
.token.number,
41+
.token.function-variable,
42+
.token.string {
43+
color: inherit;
44+
}
45+
</style>
1946
</head>
2047
<body>
2148
<div id="app"></div>
2249
<script>
2350
window.$docsify = {
2451
name: 'react-resource-router',
2552
repo: 'https://github.com/atlassian-labs/react-resource-router',
53+
themeColor: '#00c353',
2654
loadSidebar: true,
2755
subMaxLevel: 2,
2856
};

0 commit comments

Comments
 (0)