mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 03:26:36 +00:00
docs: add truncate mixins
This commit is contained in:
parent
0aa38ec81a
commit
bebf22029f
1 changed files with 15 additions and 4 deletions
|
@ -1,9 +1,20 @@
|
||||||
@use '@carbon/styles' with (
|
@use "@carbon/styles" with (
|
||||||
$prefix: 'bx',
|
$prefix: "bx",
|
||||||
$use-flexbox-grid: true
|
$use-flexbox-grid: true
|
||||||
);
|
);
|
||||||
@use '@carbon/themes';
|
@use "@carbon/themes";
|
||||||
@use '@ibm/plex/scss/ibm-plex' with ( $font-prefix: '@ibm/plex');
|
@use "@ibm/plex/scss/ibm-plex" with (
|
||||||
|
$font-prefix: "@ibm/plex"
|
||||||
|
);
|
||||||
|
|
||||||
|
@use "@carbon/styles/scss/utilities" as *;
|
||||||
|
|
||||||
|
.bx--text-truncate-end {
|
||||||
|
@include text-truncate-end;
|
||||||
|
}
|
||||||
|
.bx--text-truncate-front {
|
||||||
|
@include text-truncate-front;
|
||||||
|
}
|
||||||
|
|
||||||
:root {
|
:root {
|
||||||
// Emit CSS Custom Properties for the current theme
|
// Emit CSS Custom Properties for the current theme
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue