Skip to content

Commit

Permalink
#131 - added bg color to #000000
Browse files Browse the repository at this point in the history
  • Loading branch information
dortiz authored and dortiz committed Jun 29, 2021
1 parent 4e4de0d commit 748c38e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/ids-color/example.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
<ids-text font-size="12" type="h1">Color</ids-text>
</ids-layout-grid>

<ids-color hex="#000"></ids-color>
<ids-color hex="#00000"></ids-color>
2 changes: 1 addition & 1 deletion src/ids-color-picker/ids-color-picker.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class IdsColorPicker extends mix(IdsElement).with(IdsEventsMixin, IdsKeyboardMix
swatchInput = this.root.querySelector('.color-input')

// Reference to the color picker input
colorPickerInput = this.root.querySelector(this.label === '' ? '.color-input-value-no-label' : '.color-input-value')
colorPickerInput = this.root.querySelector(/* istanbul ignore next */ this.label === '' ? '.color-input-value-no-label' : '.color-input-value')

// Reference to the color preview
colorPreview = this.root.querySelector('.color-preview')
Expand Down
1 change: 1 addition & 0 deletions src/ids-color/ids-color.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
@import '../ids-base/ids-base';

.ids-color {
background-color: var(--ids-color-palette-black);
cursor: pointer;
display: inline-flex;
align-items: center;
Expand Down

0 comments on commit 748c38e

Please sign in to comment.