summaryrefslogtreecommitdiffstats
path: root/templates/html5/app/Frontend/styles/README.md
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-05-04 13:59:00 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2017-05-04 13:59:00 +0200
commit5a87b82700a736e7c443023399da3d2a31098895 (patch)
tree66c306b27d3c61b362536d334ec283b912f5dd67 /templates/html5/app/Frontend/styles/README.md
parent437f25048ab184e532059f3d31fcf47011abe9fe (diff)
Rename to more meaningful name directories
Change-Id: Ib3990308c1f2358b3e330cd0068719098c4dab56 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'templates/html5/app/Frontend/styles/README.md')
-rw-r--r--templates/html5/app/Frontend/styles/README.md28
1 files changed, 28 insertions, 0 deletions
diff --git a/templates/html5/app/Frontend/styles/README.md b/templates/html5/app/Frontend/styles/README.md
new file mode 100644
index 0000000..dc50ced
--- /dev/null
+++ b/templates/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
+ |