Skip to content
This repository has been archived by the owner on May 28, 2019. It is now read-only.

Commit

Permalink
Update ibm-tab custom properties
Browse files Browse the repository at this point in the history
  • Loading branch information
abdonrd committed Oct 11, 2016
1 parent c40658b commit df6c76a
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions ibm-tab.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@
<!--
`<ibm-tab>` is the tab for the `<ibm-tabs>`.
@demo demo/index.html
### Styling
Custom property | Description | Default
---------------------------|---------------------------------------|------------
`--ibm-tab-focused-color` | Focused tab text and underline color | `#3b6caa`
-->

<dom-module id="ibm-tab">
Expand All @@ -37,13 +41,13 @@
}

:host(:focus) {
color: var(--ibm-tabs-selected-color, #3b6caa);
color: var(--ibm-tab-focused-color, #3b6caa);
outline: none;
}

:host(:hover),
:host(.iron-selected) {
color: var(--ibm-tabs-selected-color, #3b6caa);
color: var(--ibm-tab-focused-color, #3b6caa);
}

:host::after {
Expand All @@ -61,7 +65,7 @@
-webkit-transform: translate3d(0, 4px, 0);
transform: translate3d(0, 4px, 0);

background: var(--ibm-tabs-selected-color, #3b6caa);
background: var(--ibm-tab-focused-color, #3b6caa);
}

:host(:focus)::after {
Expand Down

0 comments on commit df6c76a

Please sign in to comment.