Skip to content

Commit 742aaab

Browse files
committed
fix sample, add live-editing config and bump igniteui-angular version
1 parent d1e40d4 commit 742aaab

File tree

4 files changed

+32
-23
lines changed

4 files changed

+32
-23
lines changed

live-editing/configs/ThemingConfigGenerator.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,14 @@ export class ThemingConfigGenerator implements IConfigGenerator {
6262
shortenComponentPathBy: '/theming/angular/'
6363
}));
6464

65+
configs.push(new Config({
66+
component: 'TailwindSampleComponent',
67+
appConfig: BaseAppConfig,
68+
shortenComponentPathBy: '/theming/tailwind/',
69+
additionalDependencies: ['tailwindcss', '@tailwindcss/postcss'],
70+
additionalFiles: [".postcssrc.json"],
71+
}));
72+
6573
return configs;
6674
}
6775
}

package-lock.json

Lines changed: 2 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,14 +72,13 @@
7272
"express": "^4.18.2",
7373
"file-saver": "^2.0.2",
7474
"hammerjs": "^2.0.8",
75-
"igniteui-angular": "20.0.2",
75+
"igniteui-angular": "^20.0.2",
7676
"igniteui-angular-charts": "^19.0.1",
7777
"igniteui-angular-core": "^19.0.1",
7878
"igniteui-angular-extras": "^20.0.0",
7979
"igniteui-angular-i18n": "^20.0.2",
8080
"igniteui-dockmanager": "^1.16.0",
8181
"igniteui-live-editing": "^3.0.3",
82-
"igniteui-theming": "19.1.2",
8382
"igniteui-webcomponents": "^6.0.1",
8483
"minireset.css": "0.0.6",
8584
"postcss": "^8.5.5",
Lines changed: 21 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,23 @@
1-
<main class="font-ig text-base grid surface-500 px-6 py-6">
2-
<div class="text-center shadow-elevation-4 pb-8">
3-
<p class="type-style-body-1 text-primary-600">404</p>
4-
<h1 class="type-style-h1 text-gray-900">Page not found</h1>
5-
<p class="type-style-body-1 text-gray-500">Sorry, we couldn’t find the page you’re looking for.</p>
6-
<div class="mt-10 flex items-center justify-center gap-x-6">
7-
<a href="#" class="type-style-button rounded-md bg-primary-500 text-primary-500-contrast px-3.5 py-2.5 shadow-elevation-2 hover:bg-primary-600 transition duration-150 ease-in-out">Go back home</a>
8-
<a href="#" class="type-style-button text-gray-900 hover:text-primary-600 transition duration-150 ease-in-out">Contact support <span aria-hidden="true">&rarr;</span></a>
1+
<main class="font-ig text-base grid bg-surface-500 px-6 py-6">
2+
<div class="text-center shadow-elevation-24 p-24 rounded-lg">
3+
<h3 class="type-style-h3 text-secondary-600 font-light">404</h3>
4+
<h3 class="type-style-h3 text-gray-800 uppercase font-bold">
5+
Page not found
6+
</h3>
7+
<p class="type-style-body-1 text-gray-600">
8+
Sorry, we couldn’t find the page you’re looking for.
9+
</p>
10+
<div class="mt-10 flex items-center justify-center gap-x-6 mb-16">
11+
<a
12+
href="#"
13+
class="type-style-button rounded-md bg-secondary-500 text-secondary-500-contrast px-3.5 py-2.5 shadow-elevation-2 hover:bg-secondary-600 transition duration-150 ease-in-out"
14+
>Go back home</a
15+
>
16+
<a
17+
href="#"
18+
class="type-style-button text-gray-800 hover:text-secondary-600 transition duration-150 ease-in-out"
19+
>Contact support <span aria-hidden="true">&rarr;</span></a
20+
>
21+
</div>
922
</div>
10-
</div>
1123
</main>

0 commit comments

Comments
 (0)