Skip to content

Commit bcf2c0e

Browse files
committed
refactor: typography
1 parent a1702d0 commit bcf2c0e

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

packages/components/core/styles/typography/_typography.scss

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,27 +299,44 @@
299299
@mixin kbq-markdown-base-typography() {
300300
// h1, h2, h3, h4, h5, h6
301301
@for $i from 1 through 6 {
302+
// DEPRECATED: .md-h# class is deprecated, use .kbq-md-h# instead
303+
.md-h#{$i},
302304
.kbq-md-h#{$i} {
303305
@include kbq-typography-level-to-styles-css-variables(md-typography, md-h#{$i});
304306
}
305307
}
306308

309+
// DEPRECATED: .md-body class is deprecated, use .kbq-md-body instead
310+
/* stylelint-disable-next-line selector-class-pattern */
311+
.md-body,
307312
.kbq-md-body {
308313
@include kbq-typography-level-to-styles-css-variables(md-typography, md-body);
309314
}
310315

316+
// DEPRECATED: .md-body-mono class is deprecated, use .kbq-md-body-mono instead
317+
/* stylelint-disable-next-line selector-class-pattern */
318+
.md-body-mono,
311319
.kbq-md-body-mono {
312320
@include kbq-typography-level-to-styles-css-variables(md-typography, md-body-mono);
313321
}
314322

323+
// DEPRECATED: .md-caption class is deprecated, use .kbq-md-caption instead
324+
/* stylelint-disable-next-line selector-class-pattern */
325+
.md-caption,
315326
.kbq-md-caption {
316327
@include kbq-typography-level-to-styles-css-variables(md-typography, md-caption);
317328
}
318329

330+
// DEPRECATED: .md-table-cell class is deprecated, use .kbq-md-table-cell instead
331+
/* stylelint-disable-next-line selector-class-pattern */
332+
.md-table-cell,
319333
.kbq-md-table-cell {
320334
@include kbq-typography-level-to-styles-css-variables(md-typography, md-table-cell);
321335
}
322336

337+
// DEPRECATED: .md-table-header class is deprecated, use .kbq-md-table-header instead
338+
/* stylelint-disable-next-line selector-class-pattern */
339+
.md-table-header,
323340
.kbq-md-table-header {
324341
@include kbq-typography-level-to-styles-css-variables(md-typography, md-table-header);
325342
}

0 commit comments

Comments
 (0)