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

fix(typography): rename md-typescale.js to md-typescale-styles.js #5535

Merged
merged 1 commit into from
Mar 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
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
2 changes: 1 addition & 1 deletion divider/demo/stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import '@material/web/divider/divider.js';

import {MaterialStoryInit} from './material-collection.js';
import {styles as typescaleStyles} from '@material/web/typography/md-typescale.js';
import {styles as typescaleStyles} from '@material/web/typography/md-typescale-styles.js';
import {css, html} from 'lit';

/** Knob types for divider stories. */
Expand Down
2 changes: 1 addition & 1 deletion docs/theming/typography.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ stylesheet.
Class names follow the naming convention `.md-typescale-<scale>-<size>`.

```ts
import {styles as typescaleStyles} from '@material/web/typography/md-typescale.js';
import {styles as typescaleStyles} from '@material/web/typography/md-typescale-styles.js';

// `typescaleStyles.styleSheet` is a `CSSStyleSheet` that can be added to a
// document or shadow root's `adoptedStyleSheets` to use the `.md-typescale-*`
Expand Down
2 changes: 1 addition & 1 deletion iconbutton/demo/stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import '@material/web/iconbutton/icon-button.js';
import '@material/web/iconbutton/outlined-icon-button.js';

import {MaterialStoryInit} from './material-collection.js';
import {styles as typescaleStyles} from '@material/web/typography/md-typescale.js';
import {styles as typescaleStyles} from '@material/web/typography/md-typescale-styles.js';
import {css, html} from 'lit';

/** Knob types for icon button stories. */
Expand Down
2 changes: 1 addition & 1 deletion labs/card/demo/stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import '@material/web/labs/card/filled-card.js';
import '@material/web/labs/card/outlined-card.js';

import {MaterialStoryInit} from './material-collection.js';
import {styles as typescaleStyles} from '@material/web/typography/md-typescale.js';
import {styles as typescaleStyles} from '@material/web/typography/md-typescale-styles.js';
import {css, html} from 'lit';

/** Knob types for card stories. */
Expand Down
2 changes: 1 addition & 1 deletion tabs/demo/stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import {MaterialStoryInit} from './material-collection.js';
import {MdTabs} from '@material/web/tabs/tabs.js';
import {css, html, nothing} from 'lit';
import {ref} from 'lit/directives/ref.js';
import {styles as typescaleStyles} from '../../typography/md-typescale.js';
import {styles as typescaleStyles} from '../../typography/md-typescale-styles.js';

/** Knob types for Tabs stories. */
export interface StoryKnobs {
Expand Down
File renamed without changes.
Loading