create-aziz-app 2.0.3 → 2.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,190 @@
1
+ /* ============================================================
2
+ GLOBAL STYLES
3
+ Base styles that work with all CSS frameworks
4
+ ============================================================ */
5
+
6
+ /* Reset */
7
+ * {
8
+ margin: 0;
9
+ padding: 0;
10
+ box-sizing: border-box;
11
+ }
12
+
13
+ /* Body */
14
+ body {
15
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
16
+ 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
17
+ sans-serif;
18
+ -webkit-font-smoothing: antialiased;
19
+ -moz-osx-font-smoothing: grayscale;
20
+ background-color: #f5f5f5;
21
+ color: #333;
22
+ min-height: 100vh;
23
+ display: flex;
24
+ flex-direction: column;
25
+ }
26
+
27
+ /* Code */
28
+ code {
29
+ font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', monospace;
30
+ }
31
+
32
+ /* ============================================================
33
+ CUSTOM CSS FRAMEWORK STYLES (when not using Bootstrap/Tailwind)
34
+ ============================================================ */
35
+
36
+ /* Navbar */
37
+ nav {
38
+ background-color: #282c34;
39
+ padding: 16px 32px;
40
+ display: flex;
41
+ align-items: center;
42
+ gap: 24px;
43
+ }
44
+
45
+ nav .brand {
46
+ color: #61dafb;
47
+ font-size: 20px;
48
+ font-weight: bold;
49
+ cursor: pointer;
50
+ }
51
+
52
+ nav a {
53
+ color: #ffffffcc;
54
+ text-decoration: none;
55
+ font-size: 15px;
56
+ transition: color 0.2s;
57
+ }
58
+
59
+ nav a:hover,
60
+ nav a.active {
61
+ color: #61dafb;
62
+ }
63
+
64
+ /* Page wrapper */
65
+ #root {
66
+ flex: 1;
67
+ padding: 40px 32px;
68
+ max-width: 900px;
69
+ width: 100%;
70
+ margin: 0 auto;
71
+ }
72
+
73
+ /* Footer */
74
+ footer {
75
+ background-color: #282c34;
76
+ color: #888;
77
+ text-align: center;
78
+ padding: 16px;
79
+ font-size: 13px;
80
+ }
81
+
82
+ /* Typography */
83
+ h1 {
84
+ margin-bottom: 16px;
85
+ color: #282c34;
86
+ }
87
+
88
+ h2 {
89
+ margin-bottom: 12px;
90
+ }
91
+
92
+ p {
93
+ line-height: 1.6;
94
+ margin-bottom: 12px;
95
+ color: #555;
96
+ }
97
+
98
+ /* Card */
99
+ .card {
100
+ background: white;
101
+ border-radius: 10px;
102
+ padding: 24px;
103
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
104
+ margin-bottom: 20px;
105
+ }
106
+
107
+ /* Buttons */
108
+ .btn {
109
+ display: inline-block;
110
+ padding: 10px 22px;
111
+ border: none;
112
+ border-radius: 8px;
113
+ cursor: pointer;
114
+ font-size: 15px;
115
+ transition: opacity 0.2s;
116
+ }
117
+
118
+ .btn:hover {
119
+ opacity: 0.85;
120
+ }
121
+
122
+ .btn-primary {
123
+ background-color: #61dafb;
124
+ color: #282c34;
125
+ font-weight: bold;
126
+ }
127
+
128
+ .btn-danger {
129
+ background-color: #ff6b6b;
130
+ color: white;
131
+ }
132
+
133
+ .btn-grey {
134
+ background-color: #ccc;
135
+ color: #333;
136
+ }
137
+
138
+ /* Counter */
139
+ .count-display {
140
+ font-size: 64px;
141
+ font-weight: bold;
142
+ color: #282c34;
143
+ margin: 16px 0;
144
+ text-align: center;
145
+ }
146
+
147
+ .counter-actions {
148
+ display: flex;
149
+ gap: 12px;
150
+ justify-content: center;
151
+ margin-top: 8px;
152
+ }
153
+
154
+ /* Forms */
155
+ form {
156
+ display: flex;
157
+ flex-direction: column;
158
+ gap: 12px;
159
+ }
160
+
161
+ input,
162
+ textarea {
163
+ padding: 10px 14px;
164
+ border: 1px solid #ddd;
165
+ border-radius: 8px;
166
+ font-size: 15px;
167
+ outline: none;
168
+ transition: border-color 0.2s;
169
+ }
170
+
171
+ input:focus,
172
+ textarea:focus {
173
+ border-color: #61dafb;
174
+ }
175
+
176
+ textarea {
177
+ resize: vertical;
178
+ min-height: 100px;
179
+ }
180
+
181
+ /* 404 */
182
+ .not-found {
183
+ text-align: center;
184
+ padding: 60px 0;
185
+ }
186
+
187
+ .not-found h1 {
188
+ font-size: 80px;
189
+ color: #61dafb;
190
+ }
@@ -0,0 +1,122 @@
1
+ /* ============================================================
2
+ TAILWIND CSS STYLES
3
+ Custom styles when using Tailwind CSS
4
+ ============================================================ */
5
+
6
+ @tailwind base;
7
+ @tailwind components;
8
+ @tailwind utilities;
9
+
10
+ /* Reset */
11
+ @layer base {
12
+ * {
13
+ @apply m-0 p-0 box-border;
14
+ }
15
+
16
+ body {
17
+ @apply min-h-screen flex flex-col bg-gray-50 text-gray-900;
18
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
19
+ 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
20
+ sans-serif;
21
+ -webkit-font-smoothing: antialiased;
22
+ -moz-osx-font-smoothing: grayscale;
23
+ }
24
+
25
+ code {
26
+ font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', monospace;
27
+ }
28
+ }
29
+
30
+ /* Custom Components */
31
+ @layer components {
32
+ /* Page wrapper */
33
+ #root {
34
+ @apply flex-1 py-10 px-8 max-w-4xl w-full mx-auto;
35
+ }
36
+
37
+ /* Card */
38
+ .card {
39
+ @apply bg-white rounded-lg p-6 shadow-md mb-5;
40
+ }
41
+
42
+ /* Buttons */
43
+ .btn {
44
+ @apply inline-block py-2.5 px-6 border-0 rounded-lg cursor-pointer text-base transition-opacity;
45
+ }
46
+
47
+ .btn:hover {
48
+ @apply opacity-85;
49
+ }
50
+
51
+ .btn-primary {
52
+ @apply bg-primary text-dark font-bold;
53
+ }
54
+
55
+ .btn-danger {
56
+ @apply bg-red-500 text-white;
57
+ }
58
+
59
+ .btn-grey {
60
+ @apply bg-gray-300 text-gray-800;
61
+ }
62
+
63
+ /* Counter */
64
+ .count-display {
65
+ @apply text-6xl font-bold text-gray-800 my-4 text-center;
66
+ }
67
+
68
+ .counter-actions {
69
+ @apply flex gap-3 justify-center mt-2;
70
+ }
71
+
72
+ /* Forms */
73
+ form {
74
+ @apply flex flex-col gap-3;
75
+ }
76
+
77
+ input,
78
+ textarea {
79
+ @apply py-2.5 px-3.5 border border-gray-300 rounded-lg text-base outline-none transition-colors;
80
+ }
81
+
82
+ input:focus,
83
+ textarea:focus {
84
+ @apply border-primary ring-2 ring-primary ring-opacity-50;
85
+ }
86
+
87
+ textarea {
88
+ @apply resize-y min-h-[100px];
89
+ }
90
+
91
+ /* 404 */
92
+ .not-found {
93
+ @apply text-center py-16;
94
+ }
95
+
96
+ .not-found h1 {
97
+ @apply text-8xl text-primary;
98
+ }
99
+ }
100
+
101
+ /* Custom Utilities */
102
+ @layer utilities {
103
+ .text-primary {
104
+ color: #61dafb;
105
+ }
106
+
107
+ .bg-primary {
108
+ background-color: #61dafb;
109
+ }
110
+
111
+ .text-dark {
112
+ color: #282c34;
113
+ }
114
+
115
+ .bg-dark {
116
+ background-color: #282c34;
117
+ }
118
+
119
+ .border-primary {
120
+ border-color: #61dafb;
121
+ }
122
+ }