aboutsummaryrefslogtreecommitdiffstats
path: root/examples/html5/app/Frontend/styles/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'examples/html5/app/Frontend/styles/README.md')
-rw-r--r--examples/html5/app/Frontend/styles/README.md28
1 files changed, 28 insertions, 0 deletions
diff --git a/examples/html5/app/Frontend/styles/README.md b/examples/html5/app/Frontend/styles/README.md
new file mode 100644
index 0000000..dc50ced
--- /dev/null
+++ b/examples/html5/app/Frontend/styles/README.md
@@ -0,0 +1,28 @@
+WARNING note about global style dir
+-------------------------------------
+
+ - styles placed in Frontend/styles is global and will be posted in dist.prod/styles
+ - styles defined within widget or page directory will be place in dist.prof/opa/styles
+
+This model allows to share global styles by multiple applications.
+
+To change this behaviour just rename styles directory on something else [eg: appstyles]
+
+
+ |---- /Frontend
+ | |
+ | |---- /styles
+ | | |
+ | | |---- _settings.scss
+ | | |---- app.scss
+ | |
+ | |---- /Widgets
+ | | |
+ | | |--- widget.js
+ | | |--- widget.sccs
+ | |
+ | |-----/Pages
+ | |--- page-partial.html
+ | |--- page-cntrl.js
+ | |--- page-style.scss
+ |