zoralabDRAWER Technical Specification - ZORALab's Hestia
The technical specifications to refer when using the package. Easy-going, offline supported (via web PWA installation), and detailed oriented. Courtesy from ZORALab's Hestia.
Objectives and Purposes
Main Purpose
This package's primary purpose is to provide user interface (UI) styling specifically for drawer navigator values. This page is already deployed all usable drawer already.
Legacy Recording
This package was known as drawer_hestiaUI
before ZORALab's Hestia
v1.2.0
. The transformation was due to someone attempting to steal
the copyrights and makes way for programming package's documentation
restructuring.
Product Designs
Designers
This component was designed by the following creators:
(Holloway) Chew, Kean HoDependencies
This component has the following dependencies (arranged in the order from left-top to right-bottom):
zoralabCOREHTML
This component does not need any HTML codes. Relax.
CSS
ZORALab's Hestia heavily rely on CSS to style this component and offering its css variables for customizations. Below are the list of available CSS variables at your disposal.
Z-Index (Trigger)
Affects the trigger's z-index of the rendered component.
VARIABLE : --drawer-trigger-z-index CSS PROPERTY : z-index DEFAULT : calc(var(--z-index-max) - var(--z-index-nav-top)) (>= v1.2.0)
Z-Index
Affects the z-index of the rendered component.
VARIABLE : --drawer-z-index CSS PROPERTY : z-index DEFAULT : var(--z-index-hidden) (>= v1.2.0)
Z-Index (Opened)
Affects the z-index of the rendered component when opened.
VARIABLE : --drawer-z-index-opened CSS PROPERTY : z-index DEFAULT : calc(var(--z-index-max) - var(--z-index-nav)) (>= v1.2.0)
Z-Index (Overlay)
Affects the overlay layer's z-index of the rendered component.
VARIABLE : --drawer-overlay-z-index CSS PROPERTY : z-index DEFAULT : calc(var(--z-index-max) - var(--z-index-nav-overlay)) (>= v1.2.0)
Border
Affects the border of the rendered component.
VARIABLE : --drawer-border CSS PROPERTY : border DEFAULT : .2rem solid var(--drawer-trigger-color) (>= v1.2.0)
Border Radius
Affects the border radius of the rendered component.
VARIABLE : --drawer-border-radius CSS PROPERTY : border-radius DEFAULT : .5rem (>= v1.2.0)
Color
Affects the color of the rendered component.
VARIABLE : --drawer-color CSS PROPERTY : color DEFAULT : var(--body-color-inverted) (>= v1.2.0)
Color (Inverted Mode)
Affects the color of the rendered component while in inverted mode.
VARIABLE : --drawer-color-inverted CSS PROPERTY : color DEFAULT : var(--body-color) (>= v1.2.0)
Color (Primary)
Affects the primary color of the rendered component.
VARIABLE : --drawer-color-primary CSS PROPERTY : color DEFAULT : var(--color-primary-600) (>= v1.2.0)
Background
Affects the background of the rendered component.
VARIABLE : --drawer-background CSS PROPERTY : background DEFAULT : var(--color-primary-800) (>= v1.2.0)
Transition
Affects the animation timing of the rendered component.
VARIABLE : --drawer-transition CSS PROPERTY : transition DEFAULT : var(--timing-normal) (>= v1.2.0)
Width (Trigger)
Affects the trigger's width of the rendered component.
VARIABLE : --drawer-trigger-width CSS PROPERTY : width DEFAULT : 5rem (>= v1.2.0)
Height (Trigger)
Affects the trigger's height of the rendered component.
VARIABLE : --drawer-trigger-height CSS PROPERTY : height DEFAULT : 5rem (>= v1.2.0)
Border (Trigger)
Affects the trigger's border of the rendered component.
VARIABLE : --drawer-trigger-border CSS PROPERTY : border DEFAULT : unset (>= v1.2.0)
Border Radius (Trigger)
Affects the trigger's border radius of the rendered component.
VARIABLE : --drawer-trigger-border-radius CSS PROPERTY : border-radius DEFAULT : 50% (>= v1.2.0)
Box Shadow (Trigger)
Affects the trigger's box shadow of the rendered component.
VARIABLE : --drawer-trigger-box-shadow CSS PROPERTY : box-shadow DEFAULT : 0 0 2rem var(--drawer-overlay-background) (>= v1.2.0)
Box Shadow (Trigger + Focused)
Affects the trigger's box shadow of the rendered component.
VARIABLE : --drawer-trigger-box-shadow-focus CSS PROPERTY : box-shadow DEFAULT : 0 0 4rem var(--drawer-overlay-background) (>= v1.2.0)
Font Size (Trigger)
Affects the trigger's font size of the rendered component.
VARIABLE : --drawer-trigger-font-size CSS PROPERTY : font-size DEFAULT : 3rem (>= v1.2.0)
Font Style (Trigger)
Affects the trigger's font style of the rendered component.
VARIABLE : --drawer-trigger-font-style CSS PROPERTY : font-style DEFAULT : normal (>= v1.2.0)
Color (Trigger)
Affects the trigger's color of the rendered component.
VARIABLE : --drawer-trigger-color CSS PROPERTY : color DEFAULT : var(--color-contrast-100) (>= v1.2.0)
Color (Overlay)
Affects the overlay layer's color of the rendered component.
VARIABLE : --drawer-overlay-color CSS PROPERTY : color DEFAULT : transparent (>= v1.2.0)
Background (Overlay)
Affects the overlay's layer background of the rendered component.
VARIABLE : --drawer-overlay-background CSS PROPERTY : background DEFAULT : rgba(0,0,0,.75) (>= v1.2.0)
Transition (Overlay)
Affects the overlay layer's animation timing of the rendered component.
VARIABLE : --drawer-overlay-transition CSS PROPERTY : transition DEFAULT : var(--timing-fast) (>= v1.2.0)
JavaScript
Fortunately, this component does not use any JavaScript. Relax.
Constants
This package does not offer any constant value.
Variables
This package does not offer any variable.
Offered Functions
This package does not offer any function.
Data Types
This package does not offer any data type.
Epilogue
Looks like we have arrived to the last station. Intrigued to get in touch? Please feel free to start contacting us via the following public channels:
GitHub Discussion Portal