You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: css/hybrid-projects/Readme.md
+13-5Lines changed: 13 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,19 +31,27 @@ A hybrid project has a stylesheet specific to the OS. So a typical app project f
31
31
``android.css`` will include all of the web styles and override them as needed. Building on top of whats there with all the styles specific to that OS will help in keeping the system maintainable. The system used to build out an example ``android.css`` would look something like this:
32
32
33
33
```scss
34
-
// Web Styles
34
+
// Android Styles
35
+
// ===
36
+
37
+
38
+
// Web Base Styles
39
+
// ---
40
+
35
41
@importstylesheet.scss
36
42
37
-
//
38
-
// Android Styles
39
-
//
40
43
41
44
// Components
45
+
// ---
46
+
42
47
@import'android/components/arrange';
43
48
@import'android/components/card';
44
49
@import'android/components/stack';
45
50
51
+
46
52
// Templates
53
+
// ---
54
+
47
55
@import'android/templates/login';
48
56
@import'android/templates/store-finder';
49
57
@import'android/templates/store-details';
@@ -56,4 +64,4 @@ Stylesheets will be generated and served to the page depending on the context. I
56
64
57
65
The current intended strategy in mind for future new builds is to have a single stylesheet for all platforms. Incorporating platform-specific theming and components into our existing CSS system.
58
66
59
-
This could serve to decrease the complexity associated with the system we use for legacy Mobify sites and potentially make hybrid projects easier to maintain.
67
+
This could serve to decrease the complexity associated with the system we use for legacy Mobify sites and potentially make hybrid projects easier to maintain.
0 commit comments