Skip to content

Commit f61ca3c

Browse files
authored
Merge pull request #143 from ember-learn/upgrade-ec-tailwind
Upgrade Ember CLI Tailwind
2 parents 7489728 + ac3aa32 commit f61ca3c

38 files changed

+225
-174
lines changed

addon/tailwind/components/.gitkeep

Whitespace-only changes.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
.docs-btn {
2+
@apply bg-grey-light border-b-2 border-grey-dark py-2 px-4 outline-none;
3+
}
4+
.docs-btn:hover {
5+
@apply bg-grey;
6+
}
7+
.docs-btn:focus {
8+
@apply outline-none;
9+
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.docs-container {
2+
@apply px-4 max-w-3xl mx-auto;
3+
}
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
.docs-md {
2+
-webkit-font-smoothing: antialiased;
3+
}
4+
5+
.docs-md__h1,
6+
.docs-h1 {
7+
@apply mb-6 text-grey-darkest text-4xl font-extrabold leading-tight;
8+
}
9+
.docs-md__h2,
10+
.docs-h2 {
11+
@apply mt-8 mb-4 text-grey-darkest leading-tight;
12+
}
13+
.docs-md__h3,
14+
.docs-h3 {
15+
@apply mb-2 text-grey-darkest leading-tight;
16+
}
17+
.docs-md p {
18+
@apply mb-4;
19+
}
20+
.docs-md ul {
21+
@apply mb-4;
22+
}
23+
.docs-md ol {
24+
@apply mb-4;
25+
}
26+
.docs-md li {
27+
@apply mb-2;
28+
}
29+
.docs-md aside {
30+
@apply mb-4 mt-6 bg-grey-lightest italic px-4 py-3 text-sm;
31+
}
32+
33+
/* mb-4 on pre interferes with docs-snippet and others, really want Renderer
34+
to generate its own class...
35+
pre {
36+
@apply .mb-4;
37+
} */
38+
39+
.docs-md__blockquote {
40+
@apply pl-4 text-grey-dark border-l-4;
41+
}
42+
43+
/* Applied to fenced code in compiled markdown */
44+
.docs-md__code {
45+
@apply bg-grey-lightest my-8 p-6 overflow-x-scroll text-sm;
46+
}
47+
48+
.docs-md__a {
49+
@apply no-underline border-b border-grey text-inherit;
50+
}
51+
.docs-md__a:hover,
52+
.docs-md__a:focus {
53+
@apply border-grey-dark;
54+
}
55+
56+
.docs-md__hr {
57+
@apply py-0 my-8 h-px border-b;
58+
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)