-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
651 lines (443 loc) · 33 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta charset="utf-8">
<meta name="robots" content="index, follow">
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="description" content="Create beautiful, responsive web interfaces effortlessly using our robust CSS components.">
<meta name="author" content="Rume Aluya"><meta name="keywords" content="CSS Framework,Responsive Design,Web devlopment,Front-End Framework,UI Components,Grid System,CSS Library,Web design tool,Modern CSS Framework,Customizable Framework">
<meta property="og:image" content="./Screenshot (1).png">
<meta name="twitter:image" content="./Screenshot (1).png">
<meta property="og:title" content="Astral.CSS ">
<meta property="og:description" content="Create beautiful, responsive web interfaces effortlessly using our robust CSS components.">
<meta name="twitter:card" content="Create beautiful, responsive web interfaces effortlessly using our robust CSS components.">
<meta name="twitter:site" content="@AstralCSS">
<meta name="twitter:creator" content="@thaboyaluya">
<meta name="msapplication-TileColor" content="#00aba9">
<meta name="theme-color" content="#00304a">
<link rel="canonical" href="https://thaboyaluya.github.io/" />
<link rel="apple-touch-icon" sizes="180x180" href="./favicon_package_v0.16/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="./favicon_package_v0.16/favicon-32x32.png">
<link rel="manifest" href="./site.webmanifest">
<link rel="mask-icon" href="./favicon_package_v0.16/safari-pinned-tab.svg" color="#5bbad5">
<link rel="icon" type="image/png" sizes="16x16" href="./favicon_package_v0.16/favicon-16x16.png">
<link rel="stylesheet" href="./css/github.css">
<link rel="stylesheet" href="./css/docs.css">
<link rel="stylesheet" href="./css/font-awesome.min.css">
<link rel="stylesheet" href="./css/aos.css">
<title>Astral.CSS - Craft Beautiful Web Interfaces, One Class at a Time.</title>
</head>
<body>
<header class=" flex items-center justify-between px-5 py-3 ">
<div class="flex items-center gap-2">
<a title="Astral.CSS" class="flex" href="./index.html">
<img width="32px" height="32px" alt="Astal.CSS Logo" src="./favicon_package_v0.16/favicon-32x32.png">
</a>
</div>
<nav class="flex items-center gap-5">
<a title="Astral Docs" class="hidden footer-link d-sm-inline-flex items-center gap-1 text-sm border-b text-slate-900 " href="./astral/documentation/get-started/introduction/get-started.html">Documentation</a>
<a title="Download Astral.CSS" href="https://github.com/thaboyaluya/astral.css-V3.0/archive/refs/heads/master.zip" target="_blank" rel="noopener" class="d-sm-inline-flex footer-link items-center gap-1 text-sm border-b text-slate-900 ">
<span>Download</span>
<svg width="15" height="15" viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg" class="w-3 h-3"><path d="M3 2C2.44772 2 2 2.44772 2 3V12C2 12.5523 2.44772 13 3 13H12C12.5523 13 13 12.5523 13 12V8.5C13 8.22386 12.7761 8 12.5 8C12.2239 8 12 8.22386 12 8.5V12H3V3L6.5 3C6.77614 3 7 2.77614 7 2.5C7 2.22386 6.77614 2 6.5 2H3ZM12.8536 2.14645C12.9015 2.19439 12.9377 2.24964 12.9621 2.30861C12.9861 2.36669 12.9996 2.4303 13 2.497L13 2.5V2.50049V5.5C13 5.77614 12.7761 6 12.5 6C12.2239 6 12 5.77614 12 5.5V3.70711L6.85355 8.85355C6.65829 9.04882 6.34171 9.04882 6.14645 8.85355C5.95118 8.65829 5.95118 8.34171 6.14645 8.14645L11.2929 3H9.5C9.22386 3 9 2.77614 9 2.5C9 2.22386 9.22386 2 9.5 2H12.4999H12.5C12.5678 2 12.6324 2.01349 12.6914 2.03794C12.7504 2.06234 12.8056 2.09851 12.8536 2.14645Z" fill="currentColor" fill-rule="evenodd" clip-rule="evenodd">
</path>
</svg>
</a>
<details class="details-reset details-overlay">
<summary id="js-cycle" aria-haspopup="true">
<svg width="15" height="15" viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg" class="w-4 cursor-pointer h-4"><path d="M7.5 0C7.77614 0 8 0.223858 8 0.5V2.5C8 2.77614 7.77614 3 7.5 3C7.22386 3 7 2.77614 7 2.5V0.5C7 0.223858 7.22386 0 7.5 0ZM2.1967 2.1967C2.39196 2.00144 2.70854 2.00144 2.90381 2.1967L4.31802 3.61091C4.51328 3.80617 4.51328 4.12276 4.31802 4.31802C4.12276 4.51328 3.80617 4.51328 3.61091 4.31802L2.1967 2.90381C2.00144 2.70854 2.00144 2.39196 2.1967 2.1967ZM0.5 7C0.223858 7 0 7.22386 0 7.5C0 7.77614 0.223858 8 0.5 8H2.5C2.77614 8 3 7.77614 3 7.5C3 7.22386 2.77614 7 2.5 7H0.5ZM2.1967 12.8033C2.00144 12.608 2.00144 12.2915 2.1967 12.0962L3.61091 10.682C3.80617 10.4867 4.12276 10.4867 4.31802 10.682C4.51328 10.8772 4.51328 11.1938 4.31802 11.3891L2.90381 12.8033C2.70854 12.9986 2.39196 12.9986 2.1967 12.8033ZM12.5 7C12.2239 7 12 7.22386 12 7.5C12 7.77614 12.2239 8 12.5 8H14.5C14.7761 8 15 7.77614 15 7.5C15 7.22386 14.7761 7 14.5 7H12.5ZM10.682 4.31802C10.4867 4.12276 10.4867 3.80617 10.682 3.61091L12.0962 2.1967C12.2915 2.00144 12.608 2.00144 12.8033 2.1967C12.9986 2.39196 12.9986 2.70854 12.8033 2.90381L11.3891 4.31802C11.1938 4.51328 10.8772 4.51328 10.682 4.31802ZM8 12.5C8 12.2239 7.77614 12 7.5 12C7.22386 12 7 12.2239 7 12.5V14.5C7 14.7761 7.22386 15 7.5 15C7.77614 15 8 14.7761 8 14.5V12.5ZM10.682 10.682C10.8772 10.4867 11.1938 10.4867 11.3891 10.682L12.8033 12.0962C12.9986 12.2915 12.9986 12.608 12.8033 12.8033C12.608 12.9986 12.2915 12.9986 12.0962 12.8033L10.682 11.3891C10.4867 11.1938 10.4867 10.8772 10.682 10.682ZM5.5 7.5C5.5 6.39543 6.39543 5.5 7.5 5.5C8.60457 5.5 9.5 6.39543 9.5 7.5C9.5 8.60457 8.60457 9.5 7.5 9.5C6.39543 9.5 5.5 8.60457 5.5 7.5ZM7.5 4.5C5.84315 4.5 4.5 5.84315 4.5 7.5C4.5 9.15685 5.84315 10.5 7.5 10.5C9.15685 10.5 10.5 9.15685 10.5 7.5C10.5 5.84315 9.15685 4.5 7.5 4.5Z" fill="currentColor" fill-rule="evenodd" clip-rule="evenodd"></path>
</svg>
</summary>
<div class="SelectMenu right-0">
<div class="SelectMenu-modal w-auto">
<div id="js-themes" class="SelectMenu-list js-themes">
<button data-scheme="light" class="SelectMenu-item" role="menuitem">
Light Mode <span class="tag ml-5 dark cycle">active</span>
</button>
<button data-scheme="dark" class="SelectMenu-item" role="menuitem">
Dark Mode <span class="tag ml-5 dark cycle">active</span>
</button>
<button data-scheme="system" class="SelectMenu-item" role="menuitem">
System <span class="tag ml-5 dark cycle ">active</span>
</button>
</div>
</div>
</div>
</details>
</nav>
</header>
<div class="main-background"></div>
<div class="max-w-2xl text-center mx-auto py-24 px-5">
<h1 class="text-3xl headline md:text-6xl font-bold tracking-tight mt-2">Astral.CSS : Craft Beautiful Web Interfaces, One Class at a Time.</h1>
<h2 class="mt-3 main-subtext text-gray-700 md:text-lg">
Create beautiful, responsive web interfaces effortlessly using our robust CSS components.</h2>
<p class="text-muted mb-0 mt-5">
Currently <strong>v3.0</strong>
<span class="px-1">·</span>
<a title="Download Astral.CSS" href="./astral/documentation/get-started/download/download.html">Download</a>
</p>
<div class="flex justify-center flex-col md:flex-row mt-5 gap-3">
<a title="Astral.CSS Github" class="button button-large " href="https://github.com/thaboyaluya/thaboyaluya.github.io" target="_blank">Github</a>
<a title="Astral.CSS Docs" class="button button-large button-outline-primary " href="./astral/documentation/get-started/introduction/get-started.html"><span class="mr-2">Documentation</span> <svg width="15" height="15" viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M8.14645 3.14645C8.34171 2.95118 8.65829 2.95118 8.85355 3.14645L12.8536 7.14645C13.0488 7.34171 13.0488 7.65829 12.8536 7.85355L8.85355 11.8536C8.65829 12.0488 8.34171 12.0488 8.14645 11.8536C7.95118 11.6583 7.95118 11.3417 8.14645 11.1464L11.2929 8H2.5C2.22386 8 2 7.77614 2 7.5C2 7.22386 2.22386 7 2.5 7H11.2929L8.14645 3.85355C7.95118 3.65829 7.95118 3.34171 8.14645 3.14645Z" fill="currentColor" fill-rule="evenodd" clip-rule="evenodd"></path></svg></a>
</div>
</div>
<div data-aos="fade-up" data-aos-delay="0" data-aos-duration="600" class=" section aos-init aos-animate">
<div class="columns align-items-center">
<div class="col-sm-12 col-md-5">
<h2 class=" headline">Installation</h2>
<p class="py-4 text-gray-700 font-light fs-6">
Install Astral.CSS's source CSS and JavaScript files via npm.
</p>
</div>
<div class="col-sm-12 col-md-7">
<pre class="user-select-all"><code data-language="html"> npm i astral.css</code></pre>
</div>
</div>
</div>
<div data-aos="fade-up" data-aos-delay="0" data-aos-duration="600" class=" section aos-init aos-animate">
<div class="columns align-items-center">
<div class="col-sm-12 col-md-5">
<h2 class=" headline">jsDelivr</h2>
<p class="py-4 text-gray-700 font-light fs-6">
When you only need to include Astral.CSS's compiled CSS or JS, you can use <a href="https://www.jsdelivr.com/">jsDelivr</a>.
</p>
<p class="py-4 text-gray-700 font-light fs-6">
See it in action with our simple <a class="text-gray-500" style="text-decoration: underline !important" href="./astral.css template/starter-template/index.html">starter template</a> to jumpstart your next project.
</p>
</div>
<div class="col-sm-12 col-md-7">
<pre class="user-select-all"><code data-language="html"><link href="https://cdn.jsdelivr.net/gh/thaboyaluya/astral.css-V3.0@master/css/astral.css-v3.0.min.css" rel="stylesheet"></code></pre>
<pre class="user-select-all"><code data-language="html"><script src="https://cdn.jsdelivr.net/gh/thaboyaluya/astral.css-V3.0@master/js/astral-v3.0.min.js"> </script > </code></pre>
</div>
</div>
</div>
<div data-aos="fade-up" data-aos-delay="0" data-aos-duration="600" class="text-center section aos-init aos-animate">
<h2 class=" headline">Get started any way you want</h2>
<h3 class="py-4 px-2 fs-6 text-gray-700 font-light">
You can dive right in and start building with Astral.CSS! Just choose the option that works best for you: use the CDN or download the source code directly.</h3>
<a title="Astral.CSS Installation" class="button button-large button-outline-primary " href="./astral/documentation/get-started/download/download.html"><span class="mr-2">Read installation docs</span> <svg width="15" height="15" viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M8.14645 3.14645C8.34171 2.95118 8.65829 2.95118 8.85355 3.14645L12.8536 7.14645C13.0488 7.34171 13.0488 7.65829 12.8536 7.85355L8.85355 11.8536C8.65829 12.0488 8.34171 12.0488 8.14645 11.8536C7.95118 11.6583 7.95118 11.3417 8.14645 11.1464L11.2929 8H2.5C2.22386 8 2 7.77614 2 7.5C2 7.22386 2.22386 7 2.5 7H11.2929L8.14645 3.85355C7.95118 3.65829 7.95118 3.34171 8.14645 3.14645Z" fill="currentColor" fill-rule="evenodd" clip-rule="evenodd"></path></svg></a>
</div>
<div class="section text-is-center">
<h2 class=" headline">Features</h2>
<div class="d-grid gap-2 grid-cols-1-sm grid-cols-2-md grid-cols-3-smd grid-cols-4-lg grid-cols-4-xl">
<div data-aos="fade-up" data-aos-delay="0" data-aos-duration="600" class="text-center aos-init aos-animate">
<i class="fa fa-3x text-primary fa-check"></i>
<h2 class="font-semibold fs-4">Extensive Components Library</h2>
<h3 class="py-4 px-2 fs-6 text-gray-700 font-light">
Astral.CSS offers a well-rounded collection of UI components, making it easier for developers to simplify their workflow and craft beautiful designs without building everything from the ground up.</h3>
</div>
<div data-aos="fade-up" data-aos-delay="0" data-aos-duration="800" class="text-center aos-init aos-animate" >
<i class="fa fa-cubes text-primary fa-3x"></i>
<h2 class="font-semibold fs-4">Fully Responsive Design</h2>
<h3 class="py-4 px-2 text-gray-700 fs-6 font-light">Designed with a mobile-first approach, our framework ensures every component looks exceptional across all devices—be it desktop, tablet, or smartphone.</h3>
</div>
<div data-aos="fade-up" data-aos-delay="0" data-aos-duration="1000" class="text-center aos-init aos-animate" >
<i class="fa fa-css3 text-primary fa-3x"></i>
<h2 class="font-semibold fs-4">Modern</h2>
<h3 class="text-gray-700 py-4 px-2 fs-6 font-light">Enjoy a sleek, modern design that prioritizes user experience and keeps things simple for top-notch performance.</h3>
</div>
<div data-aos="fade-up" data-aos-delay="0" data-aos-duration="1200" class="text-center aos-init aos-animate" >
<i class="fa fa-smile-o text-primary fa-3x"></i>
<h2 class="font-semibold text-xl fs-4">Easy Integration</h2>
<h3 class="py-4 px-2 text-gray-700 font-light fs-6">You’ll find our framework easy to integrate into your existing projects, making it simple to mix and match components without any fuss.</h3>
</div>
</div>
</div>
<div class="section text-center mt-40">
<h2 class=" headline fs-4">How It Works</h2>
<div class="d-grid gap-2 grid-cols-1-sm grid-cols-2-md grid-cols-3-smd grid-cols-3-lg">
<div data-aos="fade-up" data-aos-delay="0" data-aos-duration="600" class="text-center aos-init aos-animate">
<i class="fa fa-3x text-primary fa-download"></i>
<div class="card-header"><h3 class="font-semibold text-xl">Download the CSS Framework</h3></div>
<h3 class="text-gray-700 py-4 fs-6 px-2 font-light ">
Start your journey by downloading the Astral.CSS framework from our <a class="text-gray-500" style="text-decoration: underline !important" href="https://github.com/thaboyaluya/astral" target="_blank" rel="noopener"> GitHub repository.</a> Explore a wide range of components, all readily available to streamline your web development experience.
</h3>
</div>
<div data-aos="fade-up" data-aos-delay="300" data-aos-duration="600" class="text-center aos-init aos-animate">
<i class="fa fa-search text-primary fa-3x"></i>
<div class="card-header">
<h2 class="font-semibold text-xl fs-4">Explore the Component Library</h2>
</div>
<h3 class="text-gray-700 font-light fs-6 py-4 px-2 ">Explore our vast collection of frontend components, crafted to elevate your web development projects. From forms and cards to navigation bars, we have everything you need to bring your ideas to life!</h3>
</div>
<div data-aos="fade-up" data-aos-delay="600" data-aos-duration="600" class="text-center aos-init aos-animate">
<i class="fa fa-pencil-square-o text-primary fa-3x"></i>
<div class="card-header"><h2 class="font-semibold text-xl fs-4">Customize and Combine</h2></div>
<h3 class="text-gray-700 font-light py-4 px-2 fs-6 ">Effortlessly tailor components to fit your project’s needs. With Astral.CSS, you have the tools to craft unique web interfaces that truly stand out.</h3>
</div>
</div>
</div>
<div data-aos="fade-up" data-aos-delay="300" data-aos-duration="600" style="background-color: #0a0a0a;" class="p-6 text-center aos-init aos-animate mt-40">
<h2 class=" text-light headline">Astral.CSS Dark Mode</h2>
<h3 class="mb-5 text-gray-700 md:text-lg mt-3 fs-6 md:text-lg">Effortlessly adapt between dark and light themes based on the user’s preference, ensuring a browsing experience tailored to your needs.</h3>
<div style="background: white !important;" class="panel">
<div class="d-grid gap-2 grid-cols-1-sm grid-cols-1-md grid-cols-2-lg ">
<div class="astral-dark dark-theme">
<p>Dark theme</p>
<button class="button button-primary">Primary Button</button>
<button class="button">Default Button</button>
<input type="text" class="form-input" placeholder="Dark Theme">
<div class="panel">
Dark theme panel
</div>
<div class="card">
<div class="card-header">
<div class="card-title">Card</div>
</div>
<div class="card-body">I am a dark theme card</div>
<div class="card-footer">
<button class="button button-primary rounded-corners">Button</button>
<a href="" class="button text-light button-primary rounded-corners">Link</a>
</div>
</div>
<div class="container">
<footer class="py-3 my-4">
<ul class="navbar-nav justify-content-center border-bottom pb-3 mb-3">
<li class="nav-item"><a href="#" class="nav-link px-2 ">Home</a></li>
<li class="nav-item"><a href="#" class="nav-link px-2 ">Features</a></li>
<li class="nav-item"><a href="#" class="nav-link px-2 ">About</a></li>
</ul>
<p class="text-center ">© 2021 Company, Inc</p>
</footer>
</div>
</div>
<div class="astral-light">
<p style="color: black !important">Light Theme</p>
<button class="button button-primary">Primary Button</button>
<button style="background: white !important; color: #000;" class="button">Default Button</button>
<input style="background: white !important; color: #000; border-color: #d4d4d4 !important;" type="text" class="form-input" placeholder="Light Theme">
<div style="background: white !important; color: #000;" class="panel">
Light theme panel
</div>
<div style="background: white !important; color: #000; border-color: #d4d4d4 !important;" class="card">
<div class="card-header">
<div class="card-title">Card</div>
</div>
<div style=" color: #1d1d1f !important;" class="card-body">I am a light theme card</div>
<div style="border-color: #d4d4d4 !important;" class="card-footer">
<button class="button button-primary rounded-corners">Button</button>
<a href="" class="button button-primary rounded-corners">Link</a>
</div>
</div>
<div class="container">
<footer class="py-3 my-4">
<ul style="color: #000; border-color: #d4d4d4 !important;" class="navbar-nav justify-content-center border-bottom pb-3 mb-3">
<li class="nav-item"><a href="#" class="nav-link px-2 ">Home</a></li>
<li class="nav-item"><a href="#" class="nav-link px-2 ">Features</a></li>
<li class="nav-item"><a href="#" class="nav-link px-2 ">About</a></li>
</ul>
<p style="color: #000;" class="text-center ">© 2021 Company, Inc</p>
</footer>
</div>
</div>
</div>
</div>
<a class="button button-large dark-theme button-outline-primary " href="./astral/documentation/dark mode/theme/dark-mode.html"><span class="mr-2">Read Docs</span> <svg width="15" height="15" viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M8.14645 3.14645C8.34171 2.95118 8.65829 2.95118 8.85355 3.14645L12.8536 7.14645C13.0488 7.34171 13.0488 7.65829 12.8536 7.85355L8.85355 11.8536C8.65829 12.0488 8.34171 12.0488 8.14645 11.8536C7.95118 11.6583 7.95118 11.3417 8.14645 11.1464L11.2929 8H2.5C2.22386 8 2 7.77614 2 7.5C2 7.22386 2.22386 7 2.5 7H11.2929L8.14645 3.85355C7.95118 3.65829 7.95118 3.34171 8.14645 3.14645Z" fill="currentColor" fill-rule="evenodd" clip-rule="evenodd"></path></svg></a>
</div>
<div data-aos="fade-up" data-aos-delay="0" data-aos-duration="600" class="text-center section aos-init aos-animate">
<h2 class=" headline">So easy to customize</h2>
<h3 class="mb-5 text-gray-700 fs-6 md:text-lg mt-3 md:text-lg">Simply set your own CSS variables or override the default values.</h3>
<div class="d-flex flex-sm-column g-2 align-items-center justify-content-center">
<div class="text-is-left col-sm-12 m-5">
<pre class="user-select-all rounded-2"><code data-language="css">// Set your own colors or override the default values
.red-theme{
--as-bg-card: #4c0014;
--as-bd-card: #4c0014;
--as-button-text: #660018;
--as-text-color: hsl(3, 100%, 90%);
--as-button-bg: hsl(3, 100%, 90%);
--as-border: hsl(3, 100%, 90%);
--as-button-hover-bg:hsla(4, 100%, 90%, 0.89);
--as-button-active-bg:hsla(4, 100%, 90%, 0.966);
--as-button-active-border:hsla(4, 100%, 90%, 0.966);
--as-box-shadow: 0 8px 24px rgba(102, 0, 24, 0.2);
--mode-bg:rgb(255, 235, 233);
--mode-color:#4c0014;
}</code>
</pre>
</div>
<div class="panel ">
<p class="text-is-left">Before</p>
<div class="card text-is-left ">
<div class="card-body">Empower every person and every organization on the planet to achieve more.</div>
<div class="card-footer">
<button class="button" aria-haspopup="true">
Default Button
</button>
</div>
</div>
<p class="text-is-left">After</p>
<div class="card text-is-left red-theme">
<div class="card-body">Empower every person and every organization on the planet to achieve more.</div>
<div class="card-footer">
<button class="button" aria-haspopup="true">
Custom Button
</button>
</div>
</div>
</div>
</div>
</div>
<div data-aos="fade-up" data-aos-delay="300" data-aos-duration="600" class="section text-center aos-init aos-animate mt-40 ">
<h2 class=" headline">Astral.CSS Toastify</h2>
<h3 class="mb-5 text-gray-700 md:text-lg mt-3 fs-6 md:text-lg">
Astral.js offers a lightweight JavaScript notification module that makes it easy to display customizable toast messages on your webpage. Enjoy smooth CSS3 transitions for a sleek experience. Give it a try by clicking the buttons below!</h3>
<div class="d-grid content gap-4 grid-cols-1-sm grid-cols-2-md grid-cols-3-lg grid-cols-4-xl">
<button id="default" class="button button-primary">Default Toast</button>
<button id="loading" class="button">Random Toast</button>
<button id="success" class="button button-success">Success Toast</button>
<button id="error" class="button button-error">Error Toast</button>
<button id="warning" class="button button-warning">Warning Toast</button>
<button id="info" class="button button-info">Info Toast</button>
</div>
<h3 class="text-is-left">Features of Astral.CSS Toastify</h3>
<ul class="list-unstyled text-is-left lead">
<li class="text-gray-700"> <i class="fa fa-check text-primary mr-2"></i>Easy to set up.</li>
<li class="text-gray-700"> <i class="fa fa-check text-primary mr-2"></i>Easy to customize</li>
<li class="text-gray-700"> <i class="fa fa-check text-primary mr-2"></i>Beautiful by default</li>
<li class="text-gray-700"> <i class="fa fa-check text-primary mr-2"></i>Super Responsive</li>
<li class="text-gray-700"> <i class="fa fa-check text-primary mr-2"></i>Fancy progress bar to display the remaining time</li>
<li class="text-gray-700"> <i class="fa fa-check text-primary mr-2"></i>Dark Mode obviously</li>
<li class="text-gray-700"> <i class="fa fa-check text-primary mr-2"></i>And much more!</li>
</ul>
<a class="button button-large button-outline-primary " href="./astral/documentation/javascript/toast/toastify.html"><span class="mr-2">Read Docs</span> <svg width="15" height="15" viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M8.14645 3.14645C8.34171 2.95118 8.65829 2.95118 8.85355 3.14645L12.8536 7.14645C13.0488 7.34171 13.0488 7.65829 12.8536 7.85355L8.85355 11.8536C8.65829 12.0488 8.34171 12.0488 8.14645 11.8536C7.95118 11.6583 7.95118 11.3417 8.14645 11.1464L11.2929 8H2.5C2.22386 8 2 7.77614 2 7.5C2 7.22386 2.22386 7 2.5 7H11.2929L8.14645 3.85355C7.95118 3.65829 7.95118 3.34171 8.14645 3.14645Z" fill="currentColor" fill-rule="evenodd" clip-rule="evenodd"></path></svg></a>
</div>
<div data-aos="fade-up" data-aos-delay="400" data-aos-duration="800" class="section text-center aos-init aos-animate mt-40 ">
<h2 class=" headline">Astral.js OTP Generator</h2>
<h3 class="mt-3 fs-6 text-gray-700 md:text-lg">A minimal JavaScript one-time password (OTP) generator module in Astral.js, designed to provide an easy and efficient way to generate secure OTPs for your web application.</h3>
<form class="block mx-auto">
<div class="form-field input-group">
<input class="form-input w-
user-select-all" id="otpText" type="number" placeholder="Generate your first OTP...">
<button class="button" id="otpButton">GENERATE OTP</button>
</div>
<div class="form-field">
<label for="membership">OTP Limit</label>
<input required="" id="otpLimit" oninput="this.setAttribute('value', this.value);" class="slider tooltip" type="range" min="1" max="6" step="1" value="4">
</div>
</form>
<a class="button button-large button-outline-primary " href="./astral/documentation/javascript/otp generator/otp-generator.html"><span class="mr-2">Read Docs</span> <svg width="15" height="15" viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M8.14645 3.14645C8.34171 2.95118 8.65829 2.95118 8.85355 3.14645L12.8536 7.14645C13.0488 7.34171 13.0488 7.65829 12.8536 7.85355L8.85355 11.8536C8.65829 12.0488 8.34171 12.0488 8.14645 11.8536C7.95118 11.6583 7.95118 11.3417 8.14645 11.1464L11.2929 8H2.5C2.22386 8 2 7.77614 2 7.5C2 7.22386 2.22386 7 2.5 7H11.2929L8.14645 3.85355C7.95118 3.65829 7.95118 3.34171 8.14645 3.14645Z" fill="currentColor" fill-rule="evenodd" clip-rule="evenodd"></path></svg></a>
</div>
<div data-aos="fade-up" data-aos-delay="600" data-aos-duration="600" class="section text-center aos-init aos-animate mt-40">
<h2 class="mb-6 headline">Are you excited to take your web development to the next level?</h2>
<h3 class=" mb-5 text-gray-700 fs-6 md:text-lg mt-3 md:text-lg">
Become part of the growing community of developers reshaping web interfaces with Astral.CSS.
</h3>
<a class="button button-large button-outline-primary " href="https://github.com/thaboyaluya/astral.css-V3.0/archive/refs/heads/master.zip" target="_blank" rel="noopener"><span class="mr-2">Download Now for Free</span> <svg width="15" height="15" viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M8.14645 3.14645C8.34171 2.95118 8.65829 2.95118 8.85355 3.14645L12.8536 7.14645C13.0488 7.34171 13.0488 7.65829 12.8536 7.85355L8.85355 11.8536C8.65829 12.0488 8.34171 12.0488 8.14645 11.8536C7.95118 11.6583 7.95118 11.3417 8.14645 11.1464L11.2929 8H2.5C2.22386 8 2 7.77614 2 7.5C2 7.22386 2.22386 7 2.5 7H11.2929L8.14645 3.85355C7.95118 3.65829 7.95118 3.34171 8.14645 3.14645Z" fill="currentColor" fill-rule="evenodd" clip-rule="evenodd"></path></svg></a>
</div>
<div class="border-top mt-20">
<footer><div class="flex flex-col md:flex-row gap-3 items-center justify-between py-10 max-w-screen-lg mx-auto text-sm px-5 text-gray-700">
<p>© 2024 <a href="https://github.com/thaboyaluya/astral.css-V3.0/archive/refs/heads/master.zip" target="_blank" rel="noopener">Astral.CSS</a>. All rights reserved</p>
<nav class="flex flex-sm-column align-items-center justify-content-center gap-5">
<a class="footer-link" href="./astral/documentation/get-started/introduction/get-started.html">Introduction</a>
<a class="footer-link" href="./astral/documentation/get-started/download/download.html">Download</a>
<a class="footer-link" href="./astral/documentation/utilities/typography/typography.html">Typography</a>
<a class="footer-link" href="./astral/documentation/javascript/toast/toastify.html">Toastify</a>
<a class="footer-link" href="./astral/documentation/javascript/otp generator/otp-generator.html">OTP Generator</a>
<a class="footer-link" href="https://thaboyaluya.github.io/sitemap.xml">XML Sitemap</a>
</nav>
</div>
</footer>
</div>
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Project",
"name": "Astral.CSS",
"alternateName": "Astral.CSS Framework",
"url": "https://thaboyaluya.github.io/",
"logo": "https://thaboyaluya.github.io/favicon_package_v0.16/favicon-32x32.png",
"sameAs": [
"https://instagram.com/josep_aluya",
"https://github.com/thaboyaluya"
]
}
</script>
<!-- <script>
// THEMES
const STORAGE_KEY = "astral.css-theme";
const SYSTEM_THEME = "system";
const DEFAULT_THEME = "light";
const state = {
chosenTheme: SYSTEM_THEME, // light|dark|system
appliedTheme: DEFAULT_THEME, // light|dark
OSTheme: null, // light|dark|null
};
const $themeCycle = document.getElementById("js-cycle");
const $themeSwitchers = document.querySelectorAll(".js-themes button");
const updateThemeUI = () => {
$themeSwitchers.forEach((el) => {
const swatchTheme = el.dataset.scheme;
if (state.chosenTheme === swatchTheme) {
el.classList.add("is-active");
} else {
el.classList.remove("is-active");
}
});
};
const setTheme = (theme, save = true) => {
state.chosenTheme = theme;
state.appliedTheme = theme;
if (theme === SYSTEM_THEME) {
state.appliedTheme = state.OSTheme;
document.documentElement.removeAttribute("data-theme");
window.localStorage.removeItem(STORAGE_KEY);
} else {
document.documentElement.setAttribute("data-theme", theme);
if (save) {
window.localStorage.setItem(STORAGE_KEY, theme);
}
}
updateThemeUI();
};
const toggleTheme = () => {
if (state.appliedTheme === "light") {
setTheme("dark");
} else {
setTheme("light");
}
};
const detectOSTheme = () => {
if (!window.matchMedia) {
// matchMedia method not supported
return DEFAULT_THEME;
}
if (window.matchMedia("(prefers-color-scheme: dark)").matches) {
// OS theme setting detected as dark
return "dark";
} else if (window.matchMedia("(prefers-color-scheme: light)").matches) {
return "light";
}
return DEFAULT_THEME;
};
// On load, check if any preference was saved
const localTheme = window.localStorage.getItem(STORAGE_KEY);
state.OSTheme = detectOSTheme();
if (localTheme) {
setTheme(localTheme, false);
} else {
setTheme(SYSTEM_THEME);
}
// Event listeners
$themeSwitchers.forEach((el) => {
el.addEventListener("click", () => {
const theme = el.dataset.scheme;
setTheme(theme);
});
});
window
.matchMedia("(prefers-color-scheme: dark)")
.addEventListener("change", (event) => {
const theme = event.matches ? "dark" : "light";
state.OSTheme = theme;
setTheme(theme);
});
</script> -->
<script src="./js/docs.min.js"></script>
<script src="./js/aos.js"></script>
<script>AOS.init()</script>
<script src="./js/rainbow.min.js"></script>
</body>
</html>