-
Notifications
You must be signed in to change notification settings - Fork 159
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(table-of-contents): support dark theme
Refs #4214.
- Loading branch information
Showing
6 changed files
with
58 additions
and
223 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
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
19 changes: 19 additions & 0 deletions
19
packages/react/src/components/TableOfContents/__stories__/TableOfContents.stories.scss
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,19 @@ | ||
// | ||
// Copyright IBM Corp. 2020 | ||
// | ||
// This source code is licensed under the Apache-2.0 license found in the | ||
// LICENSE file in the root directory of this source tree. | ||
// | ||
|
||
@import 'carbon-components/scss/globals/scss/vendor/@carbon/elements/scss/colors/colors'; | ||
@import 'carbon-components/scss/globals/scss/typography'; | ||
|
||
a[name] { | ||
display: block; | ||
color: $text-01; | ||
} | ||
|
||
h3 { | ||
padding-top: rem(16px); | ||
padding-bottom: rem(32px); | ||
} |
Oops, something went wrong.