Skip to content

Commit 64981d2

Browse files
committed
docs: update styling
1 parent 2b61056 commit 64981d2

File tree

5 files changed

+52
-3
lines changed

5 files changed

+52
-3
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
.idea/
2+
.DS_Store
23
npm-debug.log*
34
lerna-debug.log
45
node_modules

docs/README.md

+5
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,11 @@ commitlint --from=HEAD~1
6262
* **Concepts** - Overarching topics important to understand the use of `commitlint`
6363
* **Reference** - Mostly technical documentation
6464

65+
## Attributions
66+
67+
* `commitlint` is possible because of the hard work of the folks of the `conventional-changelog` project
68+
* Thanks [@markusoelhafen](https://github.com/markusoelhafen) for providing
69+
the `commitlint` icon
6570

6671
[0]: https://img.shields.io/badge/stability-stable-green.svg?style=flat-square
6772
[1]: https://nodejs.org/api/documentation.html#documentation_stability_index

docs/assets/icon.png

3.18 KB
Loading

docs/assets/icon.svg

+5
Loading

docs/index.html

+41-3
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,15 @@
77
<meta name="description" content="Lint commit messages">
88
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
99
<link rel="stylesheet" href="https://unpkg.com/docsify/lib/themes/dark.css">
10+
<link rel="icon" type="image/png" href="./assets/icon.png">
11+
<link rel="icon" type="image/svg+xml" href="./assets/icon.svg">
1012
<style>
13+
:root {
14+
--theme-color: #51b1dd;
15+
}
16+
body {
17+
background: #121212;
18+
}
1119
.app-nav.app-nav {
1220
display: flex;
1321
justify-content: flex-end;
@@ -16,7 +24,7 @@
1624
margin: 0;
1725
padding: 0 15px;
1826
height: 60px;
19-
background: #3f3f3f;
27+
background: #121212;
2028
}
2129
svg {
2230
pointer-events: none;
@@ -27,7 +35,16 @@
2735
}
2836
a:hover svg {
2937
fill: #ea6f5a;
30-
fill: var(--theme-color,#ea6f5a);
38+
fill: var(--theme-color, #51b1dd);
39+
}
40+
.results-panel {
41+
background: #121212;
42+
}
43+
.sidebar.sidebar {
44+
background: #121212;
45+
}
46+
.sidebar-toggle.sidebar-toggle {
47+
background: #121212;
3148
}
3249
.search.search {
3350
border: none;
@@ -37,7 +54,7 @@
3754
background: transparent;
3855
line-height: 40px;
3956
padding: 6px;
40-
background: rgba(255, 255, 255, 0.05);
57+
background: #000;
4158
border-bottom: 1px solid transparent;
4259
}
4360
.search.search input:focus {
@@ -75,6 +92,27 @@
7592
right: 0;
7693
bottom: 0;
7794
}
95+
.app-name-link {
96+
display: flex;
97+
align-items: center;
98+
margin: 6px 15px;
99+
}
100+
.app-name-link::before {
101+
content: '';
102+
display: inline-block;
103+
width: 40px;
104+
height: 40px;
105+
background: url(./assets/icon.svg);
106+
background-size: 100%;
107+
margin-right: 15px;
108+
}
109+
.markdown-section.markdown-section p.warn {
110+
background: var(--theme-color, #51b1dd);
111+
color: #fff;
112+
}
113+
.markdown-section.markdown-section a {
114+
color: #fff;
115+
}
78116
</style>
79117
</head>
80118

0 commit comments

Comments
 (0)