-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(Tag): add Tag to @carbon/styles
- Loading branch information
Showing
3 changed files
with
730 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
// | ||
// Copyright IBM Corp. 2016, 2018 | ||
// | ||
// This source code is licensed under the Apache-2.0 license found in the | ||
// LICENSE file in the root directory of this source tree. | ||
// | ||
|
||
@use '../../config' as *; | ||
|
||
/// @access private | ||
/// @group tag | ||
@mixin tag-theme($bg-color, $text-color, $filter-hover-color: $bg-color) { | ||
background-color: $bg-color; | ||
color: $text-color; | ||
|
||
&.#{$prefix}--tag--interactive, | ||
.#{$prefix}--tag__close-icon { | ||
&:hover { | ||
background-color: $filter-hover-color; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.