Skip to content
This repository was archived by the owner on May 30, 2023. It is now read-only.

Commit a36a679

Browse files
committed
v0.4.2
1 parent b4a592c commit a36a679

7 files changed

Lines changed: 26 additions & 17 deletions

File tree

CHANGELOG.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
# OrbitCSS Changelog
22

3+
## 0.4.2
4+
5+
### Improvements
6+
7+
* Move the <code>a</code> element into <code>typography.scss</code>.
8+
9+
### Bug fixes
10+
11+
* Fix <code>.has-link-inherit</code> not applying to deeper nested links.
12+
* Correct typo in changelog for v0.4.1.
13+
314
## 0.4.1
415

516
### Improvements
@@ -51,7 +62,7 @@
5162
<code>2px</code>
5263
</td>
5364
<td>
54-
<code>2px</code>
65+
<code>1px</code>
5566
</td>
5667
</tr>
5768
<tr>

css/orbit.css

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! Orbit CSS v0.4.1 | MIT license | https://orbitcss.com */
1+
/*! Orbit CSS v0.4.2 | MIT license | https://orbitcss.com */
22
@import url("https://fonts.googleapis.com/css?family=Lato|Roboto");
33
.has-text-primary {
44
color: #6e45e2 !important;
@@ -151,11 +151,6 @@ hr {
151151
margin: 20px 0;
152152
}
153153

154-
a {
155-
color: #495aff;
156-
text-decoration: none;
157-
}
158-
159154
p {
160155
margin-bottom: .65rem;
161156
}
@@ -299,7 +294,12 @@ abbr {
299294
text-decoration: none;
300295
}
301296

302-
.has-link-inherit > a {
297+
a {
298+
color: #495aff;
299+
text-decoration: none;
300+
}
301+
302+
.has-link-inherit a {
303303
color: inherit;
304304
}
305305

css/orbit.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "orbitcss",
3-
"version": "0.4.1",
3+
"version": "0.4.2",
44
"description": "Flexbox based CSS framework",
55
"main": "orbit.scss",
66
"homepage": "https://orbitcss.com",

scss/base/_general.scss

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,6 @@ hr {
4848
margin: $hr-margin;
4949
}
5050

51-
a {
52-
color: $link;
53-
text-decoration: none;
54-
}
55-
5651
p {
5752
margin-bottom: .65rem;
5853
}

scss/helpers/_typography.scss

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,10 @@ abbr {
135135
}
136136

137137
a {
138-
.has-link-inherit > & {
138+
color: $link;
139+
text-decoration: none;
140+
141+
.has-link-inherit & {
139142
color: inherit;
140143
}
141144

scss/main.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*! Orbit CSS v0.4.1 | MIT license | https://orbitcss.com */
1+
/*! Orbit CSS v0.4.2 | MIT license | https://orbitcss.com */
22

33
@function calculateRem($size) {
44
@return ($size / $font-base)+rem;

0 commit comments

Comments
 (0)