diff --git a/apps/nativescript-demo-ng/.gitignore b/apps/nativescript-demo-ng/.gitignore index 77984f1..496a3df 100644 --- a/apps/nativescript-demo-ng/.gitignore +++ b/apps/nativescript-demo-ng/.gitignore @@ -3,12 +3,6 @@ hooks/ node_modules/ platforms/ -# NativeScript Template -*.js.map -*.js -!webpack.config.js -!ngcc.config.js - # Logs logs *.log diff --git a/apps/nativescript-demo-ng/src/app/item2/item-detail2.component.html b/apps/nativescript-demo-ng/src/app/item2/item-detail2.component.html index b466c9f..1346c48 100644 --- a/apps/nativescript-demo-ng/src/app/item2/item-detail2.component.html +++ b/apps/nativescript-demo-ng/src/app/item2/item-detail2.component.html @@ -8,10 +8,19 @@ --> - + - - + + diff --git a/apps/nativescript-demo-ng/tailwind.config.js b/apps/nativescript-demo-ng/tailwind.config.js new file mode 100644 index 0000000..d791c88 --- /dev/null +++ b/apps/nativescript-demo-ng/tailwind.config.js @@ -0,0 +1,29 @@ +// tailwind.config.js +const plugin = require('tailwindcss/plugin'); + +/** @type {import('tailwindcss').Config} */ +module.exports = { + content: ['./app/**/*.{css,xml,html,vue,svelte,ts,tsx}'], + // use the .ns-dark class to control dark mode (applied by NativeScript) - since 'media' (default) is not supported. + darkMode: ['class', '.ns-dark'], + theme: { + extend: {}, + }, + plugins: [ + /** + * A simple inline plugin that adds the ios: and android: variants + * + * Example usage: + * + *