Skip to content

Commit 02d79ae

Browse files
example-and-external-config
1 parent 4fa7b14 commit 02d79ae

File tree

4 files changed

+25
-0
lines changed

4 files changed

+25
-0
lines changed

packages/kaizen-tg/_templates/drupal-9-theme/new/.stylelintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@
22
to: <%= h.src() %>/<%= h.changeCase.lower(name) %>/.stylelintignore
33
---
44
/color/*.css
5+
*_external.css

packages/kaizen-tg/_templates/drupal-9-theme/new/packages/components/_typography.css

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,20 @@
11
---
22
to: <%= h.src() %>/<%= h.changeCase.lower(name) %>/packages/components/_typography.css
33
---
4+
/* Uncomment to import font example */
5+
/*
6+
@font-face {
7+
font-family: "ExampleFont";
8+
src:
9+
local(""),
10+
url("../../fonts/ExampleFont.woff2") format("woff2"),
11+
url("../../fonts/ExampleFont.woff") format("woff");
12+
13+
font-weight: 400;
14+
font-style: normal;
15+
font-display: swap;
16+
}
17+
*/
418
html {
519
font-size: var(--root-font-size);
620
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
/* uncomment next line to import css file external */
2+
/*
3+
@import "libraryURL/css";
4+
*/
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
/* stylelint-disable */
2+
3+
/* uncomment next line to import css file external */
4+
/* @import "@themeName/components/component_example_external"; */
5+
6+
/* stylelint-enable */

0 commit comments

Comments
 (0)