Skip to content

Commit ae1cce4

Browse files
committed
Updates to Animation css and README.md
1 parent 6343efd commit ae1cce4

File tree

3 files changed

+406
-3
lines changed

3 files changed

+406
-3
lines changed

README.md

Lines changed: 352 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,358 @@ From there, you will be able to make full usage of ZephyrJS.
311311
</head>
312312
```
313313

314+
ZephyrJS also boasts a CSS Framework which houses utility classes and animations.
315+
316+
### Available Utilities
317+
#### Available Color Categories
318+
319+
#### Basic Colors: Standard colors like blue, red, green, etc.
320+
321+
- --blue,
322+
- --red,
323+
- --green
324+
325+
326+
#### Extended Colors: Additional named colors for more variety.
327+
328+
- --lime,
329+
- --gold,
330+
- --navy
331+
332+
#### Light Shades: Lighter versions of basic colors.
333+
334+
- --blue-light,
335+
- --red-light,
336+
- --green-light
337+
338+
339+
#### Dark Shades: Darker versions of basic colors.
340+
341+
- --blue-dark,
342+
- --red-dark,
343+
- --green-dark
344+
345+
346+
#### Pastel Shades: Soft, muted colors.
347+
348+
- --pastel-blue,
349+
- --pastel-green,
350+
- --pastel-pink
351+
352+
353+
#### Additional Shades: Extra light variations of colors.
354+
355+
- --light-blue,
356+
- --light-coral,
357+
- --light-sea-green
358+
359+
360+
#### Custom Shades: Specific color variations for your project.
361+
362+
- --custom-blue,
363+
- --custom-green,
364+
- --custom-red
365+
366+
367+
#### Semantic Colors: Colors with specific meanings or uses.
368+
369+
- --info-color,
370+
- --success-color,
371+
- --danger-color
372+
373+
374+
#### Gradient Colors: Predefined gradient backgrounds.
375+
376+
- --gradient-primary,
377+
- --gradient-secondary
378+
379+
380+
#### Shadows: Predefined shadow styles.
381+
382+
- --shadow-light,
383+
- --shadow-dark
384+
385+
### Layout
386+
#### Container and Grid System
387+
388+
- .container: Main container class
389+
- .row: Flex row
390+
- .col: Flex column
391+
392+
### Display
393+
394+
- .d-none,
395+
- .d-inline,
396+
- .d-inline-block,
397+
- .d-block,
398+
- .d-table,
399+
- .d-table-row,
400+
- .d-table-cell,
401+
- .d-flex,
402+
- .d-inline-flex
403+
- Responsive variants: .d-{breakpoint}-{value} (e.g., .d-md-none)
404+
405+
### Flexbox
406+
407+
- Flex container: .d-flex, .d-inline-flex
408+
- Justify content: .justify-content-start, .justify-content-end, .justify-content-center, .justify-content-between, .justify-content-around
409+
- Align items: .align-items-start, .align-items-end, .align-items-center, .align-items-baseline, .align-items-stretch
410+
411+
### Positioning
412+
413+
- .position-static,
414+
- .position-relative,
415+
- .position-absolute,
416+
- .position-fixed,
417+
- .position-sticky
418+
- .top-0,
419+
- .right-0,
420+
- .bottom-0,
421+
- .left-0,
422+
- .top-50,
423+
- .right-50,
424+
- .bottom-50,
425+
- .left-50,
426+
- .top-100,
427+
- .right-100,
428+
- .bottom-100,
429+
- .left-100
430+
- .translate-middle,
431+
- .translate-middle-x,
432+
- .translate-middle-y
433+
434+
### Spacing
435+
#### Margin
436+
437+
- .m-0 to .m-5,
438+
- .mt-0 to .mt-5,
439+
- .mr-0 to .mr-5,
440+
- .mb-0 to .mb-5,
441+
- .ml-0 to .ml-5
442+
- .mx-0 to .mx-5,
443+
- .my-0 to .my-5
444+
- .m-auto,
445+
- .mx-auto,
446+
- .my-auto
447+
448+
### Padding
449+
450+
- .p-0 to .p-5,
451+
- .pt-0 to .pt-5,
452+
- .pr-0 to .pr-5,
453+
- .pb-0 to .pb-5,
454+
- .pl-0 to .pl-5
455+
- .px-0 to .px-5,
456+
- .py-0 to .py-5
457+
458+
### Typography
459+
#### Font Size
460+
461+
- .text-xs,
462+
- .text-sm,
463+
- .text-base,
464+
- .text-lg,
465+
- .text-xl,
466+
- .text-2xl,
467+
- .text-3xl,
468+
- .text-4xl
469+
470+
### Font Weight
471+
472+
- .font-light,
473+
- .font-normal,
474+
- .font-medium,
475+
- .font-semibold,
476+
- .font-bold
477+
478+
### Text Alignment
479+
480+
- .text-left,
481+
- .text-center,
482+
- .text-right,
483+
- .text-justify
484+
485+
### Text Decoration
486+
487+
- .underline,
488+
- .line-through,
489+
- .no-underline
490+
491+
### Text Transform
492+
493+
- .uppercase,
494+
- .lowercase,
495+
- .capitalize,
496+
- .normal-case
497+
498+
### Line Height
499+
500+
- .leading-none,
501+
- .leading-tight,
502+
- .leading-normal,
503+
- .leading-loose
504+
505+
### Letter Spacing
506+
507+
- .tracking-tight,
508+
- .tracking-normal,
509+
- .tracking-wide
510+
511+
### Colors
512+
#### Background Colors
513+
514+
- .bg-primary,
515+
- .bg-secondary,
516+
- .bg-success,
517+
- .bg-danger,
518+
- .bg-warning,
519+
- .bg-info,
520+
- .bg-light,
521+
- .bg-dark
522+
523+
### Text Colors
524+
525+
- .text-primary,
526+
- .text-secondary,
527+
- .text-success,
528+
- .text-danger,
529+
- .text-warning,
530+
- .text-info,
531+
- .text-light,
532+
- .text-dark
533+
534+
### Borders
535+
536+
- .border,
537+
- .border-top,
538+
- .border-right,
539+
- .border-bottom,
540+
- .border-left,
541+
- .border-0
542+
- .rounded,
543+
- .rounded-top,
544+
- .rounded-right,
545+
- .rounded-bottom,
546+
- .rounded-left,
547+
- .rounded-circle,
548+
- .rounded-0
549+
550+
### Shadows
551+
552+
- .shadow-sm,
553+
- .shadow,
554+
- .shadow-lg,
555+
- .shadow-none
556+
557+
### Sizing
558+
#### Width
559+
560+
- .w-25,
561+
- .w-50,
562+
- .w-75,
563+
- .w-100,
564+
- .w-auto
565+
- .max-w-25,
566+
- .max-w-50,
567+
- .max-w-75,
568+
- .max-w-100,
569+
- .max-w-none
570+
571+
### Height
572+
573+
- .h-25,
574+
- .h-50,
575+
- .h-75,
576+
- .h-100,
577+
- .h-auto
578+
- .max-h-25,
579+
- .max-h-50,
580+
- .max-h-75,
581+
- .max-h-100,
582+
- .max-h-none
583+
584+
### Interactions
585+
586+
- .pointer-events-none,
587+
- .pointer-events-auto
588+
- .user-select-none,
589+
- .user-select-auto
590+
591+
### Overflow
592+
593+
- .overflow-auto,
594+
- .overflow-hidden,
595+
- .overflow-visible,
596+
- .overflow-scroll
597+
- .overflow-x-auto,
598+
- .overflow-x-hidden,
599+
- .overflow-x-visible,
600+
- .overflow-x-scroll
601+
- .overflow-y-auto,
602+
- .overflow-y-hidden,
603+
- .overflow-y-visible,
604+
- .overflow-y-scroll
605+
606+
### Accessibility
607+
608+
- .focus-visible: Provides a visible outline for keyboard focus
609+
- .skip-to-main: Allows keyboard users to skip to the main content
610+
- .high-contrast-border: Adds a border in high contrast mode
611+
- .reduce-motion: Removes animations and transitions for users who prefer reduced motion
612+
613+
### Logical Properties
614+
615+
- Margin: .m-inline-start-1, .m-inline-end-1, .m-block-start-1, .m-block-end-1
616+
- Padding: .p-inline-start-1, .p-inline-end-1, .p-block-start-1, .p-block-end-1
617+
- Border: .border-inline-start, .border-inline-end, .border-block-start, .border-block-end
618+
- Text alignment: .text-start, .text-end
619+
- Position: .inset-inline-start-0, .inset-inline-end-0, .inset-block-start-0, .inset-block-end-0
620+
621+
### Responsive Classes
622+
#### Many utilities include responsive variants that apply at different breakpoints:
623+
624+
- sm: Small screens (≥576px)
625+
- md: Medium screens (≥768px)
626+
- lg: Large screens (≥992px)
627+
- xl: Extra large screens (≥1200px)
628+
629+
### Reset
630+
- visible - sets item visible
631+
- invisible - sets item invisible
632+
633+
### Available Animations
634+
635+
- fade-in: Fades in the element
636+
- swing: Swings the element back and forth
637+
- slide-in-left: Slides in the element from different directions
638+
- slide-in-right: Slides in the element from different directions
639+
- slide-in-up: Slides in the element from different directions
640+
- slide-in-down: Slides in the element from different directions
641+
- slide-in-bottom: Slides in the element from different directions
642+
- slide-out-top: Slides out the element to the top
643+
- bounce: Makes the element bounce
644+
- rotate: Rotates the element 360 degrees
645+
- zoom-in, zoom-out: Zooms the element in or out
646+
- flip: Flips the element horizontally
647+
- pulse: Makes the element pulse
648+
- shake: Shakes the element
649+
- wobble: Makes the element wobble
650+
- text-hide: Hides text by moving it up
651+
- text-reveal: Reveals text by moving it up
652+
- typewriter: Creates a typewriter effect
653+
- floating: Makes the element float up and down
654+
- blur-in, blur-out: Blurs the element in or out
655+
- hinge: Creates a hinge effect
656+
- glitch: Creates a glitch effect
657+
- ripple: Creates a ripple effect
658+
- spotlight: Creates a spotlight effect
659+
- text-shadow-pop: Makes text pop out with a shadow
660+
- elastic-scale: Scales the element with an elastic effect
661+
- roll-in, roll-out: Rolls the element in or out
662+
- flash: Makes the element flash
663+
- swing-in, swing-out: Swings the element in or out
664+
665+
314666
### License
315667
ZephyrJS is MIT licensed.
316668

0 commit comments

Comments
 (0)