Skip to content

Commit 6d98bdc

Browse files
committed
Add sanoma-learning theme
1 parent cfe5660 commit 6d98bdc

File tree

6 files changed

+224
-4
lines changed

6 files changed

+224
-4
lines changed

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
@fortawesome:registry=https://npm.fontawesome.com/
12
@sanomalearning:registry=https://npm.pkg.github.com/

index.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
<meta charset="UTF-8">
55
<meta name="viewport" content="width=device-width, initial-scale=1.0">
66
<link rel="stylesheet" href="https://use.typekit.net/kes1hoh.css">
7+
<link rel="stylesheet" href="./node_modules/@sanomalearning/slds-sanoma-learning/all.css">
8+
<link rel="stylesheet" href="./node_modules/@sanomalearning/slds-sanoma-learning/fonts.css">
9+
<link rel="stylesheet" href="./node_modules/@sanomalearning/slds-sanoma-learning/typography.css">
710
<title>Demo</title>
811
</head>
912
<body>

package-lock.json

Lines changed: 191 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,22 @@
1818
},
1919
"wireit": {
2020
"start": {
21-
"command": "wds --open --watch"
21+
"command": "wds --open --watch",
22+
"files": [
23+
"web-dev-server.config.js"
24+
]
2225
}
2326
},
2427
"dependencies": {
25-
"@sanomalearning/slds-core": "^0.1.1"
28+
"@sanomalearning/slds-core": "^0.1.1",
29+
"@sanomalearning/slds-editor": "^0.0.2",
30+
"@sanomalearning/slds-grid": "^0.0.3",
31+
"@sanomalearning/slds-sanoma-learning": "^0.0.1"
2632
},
2733
"devDependencies": {
2834
"@web/dev-server": "^0.1.35",
2935
"@web/dev-server-esbuild": "^0.3.3",
36+
"typescript": "^5.0.2",
3037
"wireit": "^0.9.5"
3138
}
3239
}

src/app/app.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ export class App extends ScopedElementsMixin(LitElement) {
1212
}
1313

1414
static styles: CSSResultGroup = css`
15-
:host { display: block; }
15+
:host {
16+
display: block;
17+
}
1618
`;
1719

1820
render(): TemplateResult {

tsconfig.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"compilerOptions": {
3+
"target": "es2022",
4+
"experimentalDecorators": true,
5+
"emitDecoratorMetadata": true,
6+
"useDefineForClassFields": false,
7+
"module": "esnext",
8+
"moduleResolution": "node16",
9+
"sourceMap": true,
10+
"outDir": "dist",
11+
"importHelpers": true,
12+
"esModuleInterop": true,
13+
"forceConsistentCasingInFileNames": true,
14+
"strict": true,
15+
"skipDefaultLibCheck": true
16+
}
17+
}

0 commit comments

Comments
 (0)