Skip to content

Commit

Permalink
[FEATURE] Ctag button colors (#88)
Browse files Browse the repository at this point in the history
OVERVIEW

In sidebars on the content collection pages, there are slide buttons that have persistent VHX colors. This PR addresses the button color changes for c-tag--button elements.

SOLUTION

incomponent-tag.js changed button colors from VHX colors to Vimeo colors
Added alert button color (already in Crystal)
NOTES

I could not actually find the element within app.js in quartz, but I assume this will work.
  • Loading branch information
ninjaofawesome authored Oct 9, 2017
1 parent 022af6e commit 7dcc602
Show file tree
Hide file tree
Showing 8 changed files with 181 additions and 30 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
### 1.5.9
**2017-10-9**
* changed base colors of c-tag--button elements.

### 1.5.8
**2017-10-6**
* added vimeo branded dropdown colors.
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.5.8
1.5.9
63 changes: 54 additions & 9 deletions app/public/quartz.css

Large diffs are not rendered by default.

62 changes: 53 additions & 9 deletions dist/default.css

Large diffs are not rendered by default.

63 changes: 54 additions & 9 deletions dist/quartz.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/quartz.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vhx/quartz",
"version": "1.5.8",
"version": "1.5.9",
"description": "VHX Style Guide and JS Components.",
"homepage": "https://github.com/vhx/quartz",
"author": "VHX",
Expand Down
13 changes: 13 additions & 0 deletions quartz-css/buttons/styles/default.scss
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,19 @@ select {
ffffff // loader
);
}

.btn-vimeo-red {
@extend .btn;
@include button-colors(
#ff4d4d, // background
#d93636, // background hover
#ffffff, // color
#ffffff, // color hover
#ff4d4d, // border color
#d93636, // border color hover
8699a6 // loader
);
}
/*.....................................
BUTTON ICONS
......................................*/
Expand Down

0 comments on commit 7dcc602

Please sign in to comment.