Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(devenv): make pictograms themeable #4729

Merged
merged 2 commits into from
Dec 15, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
//
// 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/theme-tokens';

/* stylelint-disable-next-line selector-type-no-unknown */
dds-pictogram-item svg g {
stroke: $text-01;
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import readme from './README.stories.mdx';
import textNullable from '../../../../.storybook/knob-text-nullable';
import '../../pictogram-item/pictogram-item';
import '../../content-item/content-item-heading';
import styles from './content-group-pictograms.stories.scss';

const pictogramsItems = [
{
Expand Down Expand Up @@ -47,6 +48,9 @@ export default {
title: 'Components/Content Group Pictograms',
decorators: [
story => html`
<style>
${styles}
</style>
<div>${story()}</div>
`,
],
Expand Down Expand Up @@ -90,7 +94,7 @@ export const Default = ({ parameters }) => {
<g id="touch_screen">
<g id="touch_screen_1_">
<path
style="fill:none;stroke:#000000;stroke-width:0.72;stroke-linejoin:round;stroke-miterlimit:10;"
style="fill:none;stroke-width:0.72;stroke-linejoin:round;stroke-miterlimit:10;"
d="M15,29H9V10h25v19h-7
M34,26h-7 M15,26H9 M30,29v8h9V21h-5 M30,34h9 M20.998,27.621c0-0.573-0.447-1.037-0.998-1.037s-0.998,0.464-0.998,1.037v2.378
l-0.005-6.962c0-0.573-0.447-1.037-0.998-1.037S17,22.464,17,23.037v5.882v4.924C17,36.139,18.792,38,21.002,38
Expand Down