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

Commit f2826e4

Browse files
committed
Provide accent color to buttons and notices
1 parent 7ea8b61 commit f2826e4

4 files changed

+17
-1
lines changed

_sass/so-simple/_buttons.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
}
3030

3131
/* button colors */
32-
$buttoncolors: (primary, $primary-color), (inverse, #fff),
32+
$buttoncolors: (primary, $primary-color), (accent, $accent-color), (inverse, #fff),
3333
(light-outline, transparent), (success, $success-color),
3434
(warning, $warning-color), (danger, $danger-color), (info, $info-color),
3535
(facebook, $facebook-color), (twitter, $twitter-color),

_sass/so-simple/_notices.scss

+6
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,12 @@
6868
@include notice(mix(#fff, $primary-color, 70%));
6969
}
7070

71+
/* Accent notice */
72+
73+
.notice--accent {
74+
@include notice(mix(#fff, $accent-color, 70%));
75+
}
76+
7177
/* Info notice */
7278

7379
.notice--info {

docs/_posts/2013-01-11-markup-html-elements-and-formatting.md

+5
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ Make any link standout more when applying the `.btn` class.
115115

116116
[Default Button](#){: .btn}
117117
[Primary Button](#){: .btn .btn--primary}
118+
[Accent Button](#){: .btn .btn--accent}
118119
[Success Button](#){: .btn .btn--success}
119120
[Warning Button](#){: .btn .btn--warning}
120121
[Danger Button](#){: .btn .btn--danger}
@@ -125,6 +126,7 @@ Make any link standout more when applying the `.btn` class.
125126
```markdown
126127
[Default Button Text](#link){: .btn}
127128
[Primary Button Text](#link){: .btn .btn--primary}
129+
[Accent Button Text](#link){: .btn .btn--accent}
128130
[Success Button Text](#link){: .btn .btn--success}
129131
[Warning Button Text](#link){: .btn .btn--warning}
130132
[Danger Button Text](#link){: .btn .btn--danger}
@@ -153,6 +155,9 @@ Make any link standout more when applying the `.btn` class.
153155
**Watch out!** This paragraph of text has been [emphasized](#) with the `{: .notice--primary}` class.
154156
{: .notice--primary}
155157

158+
**Watch out!** This paragraph of text has been [emphasized](#) with the `{: .notice--accent}` class.
159+
{: .notice--accent}
160+
156161
**Watch out!** This paragraph of text has been [emphasized](#) with the `{: .notice--info}` class.
157162
{: .notice--info}
158163

example/_posts/2013-01-11-markup-html-elements-and-formatting.md

+5
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ Make any link standout more when applying the `.btn` class.
115115

116116
[Default Button](#){: .btn}
117117
[Primary Button](#){: .btn .btn--primary}
118+
[Accent Button](#){: .btn .btn--accent}
118119
[Success Button](#){: .btn .btn--success}
119120
[Warning Button](#){: .btn .btn--warning}
120121
[Danger Button](#){: .btn .btn--danger}
@@ -125,6 +126,7 @@ Make any link standout more when applying the `.btn` class.
125126
```markdown
126127
[Default Button Text](#link){: .btn}
127128
[Primary Button Text](#link){: .btn .btn--primary}
129+
[Accent Button Text](#link){: .btn .btn--accent}
128130
[Success Button Text](#link){: .btn .btn--success}
129131
[Warning Button Text](#link){: .btn .btn--warning}
130132
[Danger Button Text](#link){: .btn .btn--danger}
@@ -153,6 +155,9 @@ Make any link standout more when applying the `.btn` class.
153155
**Watch out!** This paragraph of text has been [emphasized](#) with the `{: .notice--primary}` class.
154156
{: .notice--primary}
155157

158+
**Watch out!** This paragraph of text has been [emphasized](#) with the `{: .notice--accent}` class.
159+
{: .notice--accent}
160+
156161
**Watch out!** This paragraph of text has been [emphasized](#) with the `{: .notice--info}` class.
157162
{: .notice--info}
158163

0 commit comments

Comments
 (0)