@crystal-ui/core 2.0.0
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.
- package/README.md +37 -0
- package/assets/core/preferences.d.ts +54 -0
- package/assets/core/preferences.js +77 -0
- package/assets/core/presets.d.ts +64 -0
- package/assets/core/presets.js +145 -0
- package/assets/core/spring.js +141 -0
- package/assets/core/state.d.ts +25 -0
- package/assets/core/state.js +57 -0
- package/assets/crystal-theme.css +433 -0
- package/assets/crystal.css +277 -0
- package/assets/crystal.d.ts +48 -0
- package/assets/crystal.js +224 -0
- package/assets/fonts/Manrope-LICENSE.txt +93 -0
- package/assets/fonts/manrope.woff2 +0 -0
- package/assets/grain.svg +1 -0
- package/assets/icon.svg +1 -0
- package/assets/icons/a-arrow-down.svg +1 -0
- package/assets/icons/a-arrow-up.svg +1 -0
- package/assets/icons/accessibility.svg +1 -0
- package/assets/icons/activity-square.svg +1 -0
- package/assets/icons/air-vent.svg +1 -0
- package/assets/icons/alarm-check.svg +1 -0
- package/assets/icons/alarm-clock-check.svg +1 -0
- package/assets/icons/alarm-clock-off.svg +1 -0
- package/assets/icons/alarm-minus.svg +1 -0
- package/assets/icons/alarm-smoke.svg +1 -0
- package/assets/icons/alert-circle.svg +1 -0
- package/assets/icons/alert-triangle.svg +1 -0
- package/assets/icons/align-center-horizontal.svg +1 -0
- package/assets/icons/align-end-horizontal.svg +1 -0
- package/assets/icons/align-horizontal-distribute-center.svg +1 -0
- package/assets/icons/align-horizontal-distribute-end.svg +1 -0
- package/assets/icons/align-horizontal-justify-center.svg +1 -0
- package/assets/icons/align-horizontal-justify-start.svg +1 -0
- package/assets/icons/align-horizontal-space-between.svg +1 -0
- package/assets/icons/align-left.svg +1 -0
- package/assets/icons/align-start-horizontal.svg +1 -0
- package/assets/icons/align-vertical-distribute-center.svg +1 -0
- package/assets/icons/align-vertical-distribute-start.svg +1 -0
- package/assets/icons/align-vertical-justify-end.svg +1 -0
- package/assets/icons/align-vertical-space-around.svg +1 -0
- package/assets/icons/ambulance.svg +1 -0
- package/assets/icons/ampersands.svg +1 -0
- package/assets/icons/anchor.svg +1 -0
- package/assets/icons/angry.svg +1 -0
- package/assets/icons/annoyed.svg +1 -0
- package/assets/icons/anvil.svg +1 -0
- package/assets/icons/app-window.svg +1 -0
- package/assets/icons/archive-x.svg +1 -0
- package/assets/icons/archive.svg +1 -0
- package/assets/icons/armchair.svg +1 -0
- package/assets/icons/arrow-big-down-dash.svg +1 -0
- package/assets/icons/arrow-big-left-dash.svg +1 -0
- package/assets/icons/arrow-big-right-dash.svg +1 -0
- package/assets/icons/arrow-big-up-dash.svg +1 -0
- package/assets/icons/arrow-down-01.svg +1 -0
- package/assets/icons/arrow-down-a-z.svg +1 -0
- package/assets/icons/arrow-down-circle.svg +1 -0
- package/assets/icons/arrow-down-left-from-square.svg +1 -0
- package/assets/icons/arrow-down-left-square.svg +1 -0
- package/assets/icons/arrow-down-left.svg +1 -0
- package/assets/icons/arrow-down-right-from-square.svg +1 -0
- package/assets/icons/arrow-down-right.svg +1 -0
- package/assets/icons/arrow-down-square.svg +1 -0
- package/assets/icons/arrow-down-to-line.svg +1 -0
- package/assets/icons/arrow-down-wide-narrow.svg +1 -0
- package/assets/icons/arrow-down-za.svg +1 -0
- package/assets/icons/arrow-left-circle.svg +1 -0
- package/assets/icons/arrow-left-right.svg +1 -0
- package/assets/icons/arrow-left-to-line.svg +1 -0
- package/assets/icons/arrow-right-circle.svg +1 -0
- package/assets/icons/arrow-right-left.svg +1 -0
- package/assets/icons/arrow-right-to-line.svg +1 -0
- package/assets/icons/arrow-up-01.svg +1 -0
- package/assets/icons/arrow-up-10.svg +1 -0
- package/assets/icons/arrow-up-az.svg +1 -0
- package/assets/icons/arrow-up-down.svg +1 -0
- package/assets/icons/arrow-up-from-line.svg +1 -0
- package/assets/icons/arrow-up-left-from-circle.svg +1 -0
- package/assets/icons/arrow-up-left-square.svg +1 -0
- package/assets/icons/arrow-up-right-from-square.svg +1 -0
- package/assets/icons/arrow-up-right.svg +1 -0
- package/assets/icons/arrow-up-square.svg +1 -0
- package/assets/icons/arrow-up-wide-narrow.svg +1 -0
- package/assets/icons/arrow-up-za.svg +1 -0
- package/assets/icons/asterisk.svg +1 -0
- package/assets/icons/astroid.svg +1 -0
- package/assets/icons/atom.svg +1 -0
- package/assets/icons/audio-lines-off.svg +1 -0
- package/assets/icons/audio-lines-x.svg +1 -0
- package/assets/icons/award.svg +1 -0
- package/assets/icons/axis-3-d.svg +1 -0
- package/assets/icons/baby.svg +1 -0
- package/assets/icons/badge-cent.svg +1 -0
- package/assets/icons/badge-dollar-sign.svg +1 -0
- package/assets/icons/badge-help.svg +1 -0
- package/assets/icons/badge-info.svg +1 -0
- package/assets/icons/badge-minus.svg +1 -0
- package/assets/icons/badge-plus.svg +1 -0
- package/assets/icons/badge-question-mark.svg +1 -0
- package/assets/icons/badge-swiss-franc.svg +1 -0
- package/assets/icons/badge-x.svg +1 -0
- package/assets/icons/badge.svg +1 -0
- package/assets/icons/baggage-claim.svg +1 -0
- package/assets/icons/ban.svg +1 -0
- package/assets/icons/bandage.svg +1 -0
- package/assets/icons/banknote-arrow-down.svg +1 -0
- package/assets/icons/banknote-check.svg +1 -0
- package/assets/icons/bar-chart-horizontal.svg +1 -0
- package/assets/icons/bar-chart.svg +1 -0
- package/assets/icons/barcode.svg +1 -0
- package/assets/icons/baseline.svg +1 -0
- package/assets/icons/battery-full.svg +1 -0
- package/assets/icons/battery-medium.svg +1 -0
- package/assets/icons/battery-warning.svg +1 -0
- package/assets/icons/battery.svg +1 -0
- package/assets/icons/bean.svg +1 -0
- package/assets/icons/bed-double.svg +1 -0
- package/assets/icons/bed.svg +1 -0
- package/assets/icons/beef.svg +1 -0
- package/assets/icons/beer.svg +1 -0
- package/assets/icons/bell-dot.svg +1 -0
- package/assets/icons/bell-minus.svg +1 -0
- package/assets/icons/bell-plus.svg +1 -0
- package/assets/icons/bell.svg +1 -0
- package/assets/icons/between-horizonal-end.svg +1 -0
- package/assets/icons/between-horizontal-end.svg +1 -0
- package/assets/icons/between-vertical-end.svg +1 -0
- package/assets/icons/biceps-flexed.svg +1 -0
- package/assets/icons/binary.svg +1 -0
- package/assets/icons/biohazard.svg +1 -0
- package/assets/icons/birdhouse.svg +1 -0
- package/assets/icons/blend.svg +1 -0
- package/assets/icons/blinds.svg +1 -0
- package/assets/icons/bluetooth-off.svg +1 -0
- package/assets/icons/bluetooth.svg +1 -0
- package/assets/icons/bold.svg +1 -0
- package/assets/icons/bomb.svg +1 -0
- package/assets/icons/bone-fracture.svg +1 -0
- package/assets/icons/book-a.svg +1 -0
- package/assets/icons/book-audio.svg +1 -0
- package/assets/icons/book-check.svg +1 -0
- package/assets/icons/book-down.svg +1 -0
- package/assets/icons/book-heart.svg +1 -0
- package/assets/icons/book-key.svg +1 -0
- package/assets/icons/book-marked.svg +1 -0
- package/assets/icons/book-open-check.svg +1 -0
- package/assets/icons/book-open.svg +1 -0
- package/assets/icons/book-plus.svg +1 -0
- package/assets/icons/book-template.svg +1 -0
- package/assets/icons/book-type.svg +1 -0
- package/assets/icons/book-user.svg +1 -0
- package/assets/icons/bookmark-minus.svg +1 -0
- package/assets/icons/bookmark-plus.svg +1 -0
- package/assets/icons/bookmark.svg +1 -0
- package/assets/icons/boom-box.svg +1 -0
- package/assets/icons/bot-message-square.svg +1 -0
- package/assets/icons/bottle-wine.svg +1 -0
- package/assets/icons/box.svg +1 -0
- package/assets/icons/boxes.svg +1 -0
- package/assets/icons/brackets.svg +1 -0
- package/assets/icons/brain-cog.svg +1 -0
- package/assets/icons/brain.svg +1 -0
- package/assets/icons/brick-wall-fire.svg +1 -0
- package/assets/icons/bridge.svg +1 -0
- package/assets/icons/briefcase-business.svg +1 -0
- package/assets/icons/briefcase-medical.svg +1 -0
- package/assets/icons/broccoli.svg +1 -0
- package/assets/icons/broom-sparkles.svg +1 -0
- package/assets/icons/brush-cleaning.svg +1 -0
- package/assets/icons/bug-play.svg +1 -0
- package/assets/icons/bug.svg +1 -0
- package/assets/icons/building-complex.svg +1 -0
- package/assets/icons/bus.svg +1 -0
- package/assets/icons/cable.svg +1 -0
- package/assets/icons/cake-slice.svg +1 -0
- package/assets/icons/cake.svg +1 -0
- package/assets/icons/calendar-arrow-up.svg +1 -0
- package/assets/icons/calendar-chevrons-right.svg +1 -0
- package/assets/icons/calendar-cog.svg +1 -0
- package/assets/icons/calendar-fold.svg +1 -0
- package/assets/icons/calendar-minus.svg +1 -0
- package/assets/icons/calendar-plus.svg +1 -0
- package/assets/icons/calendar-search.svg +1 -0
- package/assets/icons/calendar-x.svg +1 -0
- package/assets/icons/calendar.svg +1 -0
- package/assets/icons/camera.svg +1 -0
- package/assets/icons/can.svg +1 -0
- package/assets/icons/candlestick-chart.svg +1 -0
- package/assets/icons/candy-cane.svg +1 -0
- package/assets/icons/candy-off.svg +1 -0
- package/assets/icons/cannabis-off.svg +1 -0
- package/assets/icons/captions-off.svg +1 -0
- package/assets/icons/car-battery.svg +1 -0
- package/assets/icons/car-taxi-front.svg +1 -0
- package/assets/icons/card-sim.svg +1 -0
- package/assets/icons/carton.svg +1 -0
- package/assets/icons/case-lower.svg +1 -0
- package/assets/icons/case-upper.svg +1 -0
- package/assets/icons/cast.svg +1 -0
- package/assets/icons/cat.svg +1 -0
- package/assets/icons/cctv-off.svg +1 -0
- package/assets/icons/chart-bar-decreasing.svg +1 -0
- package/assets/icons/chart-bar-stacked.svg +1 -0
- package/assets/icons/chart-bar.svg +1 -0
- package/assets/icons/chart-candlestick.svg +1 -0
- package/assets/icons/chart-column-big.svg +1 -0
- package/assets/icons/chart-column-increasing.svg +1 -0
- package/assets/icons/chart-gantt.svg +1 -0
- package/assets/icons/chart-network.svg +1 -0
- package/assets/icons/chart-no-axes-column-decreasing.svg +1 -0
- package/assets/icons/chart-no-axes-combined.svg +1 -0
- package/assets/icons/chart-pie.svg +1 -0
- package/assets/icons/chart-spline.svg +1 -0
- package/assets/icons/check-check.svg +1 -0
- package/assets/icons/check-line.svg +1 -0
- package/assets/icons/chef-hat.svg +1 -0
- package/assets/icons/chess-bishop.svg +1 -0
- package/assets/icons/chess-knight.svg +1 -0
- package/assets/icons/chess-pawn.svg +1 -0
- package/assets/icons/chess-rook.svg +1 -0
- package/assets/icons/chevron-down-circle.svg +1 -0
- package/assets/icons/chevron-first.svg +1 -0
- package/assets/icons/chevron-left-square.svg +1 -0
- package/assets/icons/chevron-left.svg +1 -0
- package/assets/icons/chevron-right-circle.svg +1 -0
- package/assets/icons/chevron-up-square.svg +1 -0
- package/assets/icons/chevron-up.svg +1 -0
- package/assets/icons/chevrons-down-up.svg +1 -0
- package/assets/icons/chevrons-left-right.svg +1 -0
- package/assets/icons/chevrons-right.svg +1 -0
- package/assets/icons/chevrons-up.svg +1 -0
- package/assets/icons/church.svg +1 -0
- package/assets/icons/cigarette-off.svg +1 -0
- package/assets/icons/circle-check.svg +1 -0
- package/assets/icons/circle-dashed-check.svg +1 -0
- package/assets/icons/circle-dollar-sign.svg +1 -0
- package/assets/icons/circle-ellipsis.svg +1 -0
- package/assets/icons/circle-euro.svg +1 -0
- package/assets/icons/circle-fading-plus.svg +1 -0
- package/assets/icons/circle-help.svg +1 -0
- package/assets/icons/circle-off.svg +1 -0
- package/assets/icons/circle-parking-off.svg +1 -0
- package/assets/icons/circle-percent.svg +1 -0
- package/assets/icons/circle-play.svg +1 -0
- package/assets/icons/circle-pound-sterling.svg +1 -0
- package/assets/icons/circle-question-mark.svg +1 -0
- package/assets/icons/circle-slash.svg +1 -0
- package/assets/icons/circle-small.svg +1 -0
- package/assets/icons/circle-stop.svg +1 -0
- package/assets/icons/circle-user-round.svg +1 -0
- package/assets/icons/circle.svg +1 -0
- package/assets/icons/circuit-board.svg +1 -0
- package/assets/icons/clapperboard.svg +1 -0
- package/assets/icons/clef-bass.svg +1 -0
- package/assets/icons/clipboard-clock.svg +1 -0
- package/assets/icons/clipboard-edit.svg +1 -0
- package/assets/icons/clipboard-minus.svg +1 -0
- package/assets/icons/clipboard-pen.svg +1 -0
- package/assets/icons/clipboard-plus.svg +1 -0
- package/assets/icons/clipboard-type.svg +1 -0
- package/assets/icons/clipboard.svg +1 -0
- package/assets/icons/clock-10.svg +1 -0
- package/assets/icons/clock-12.svg +1 -0
- package/assets/icons/clock-arrow-down.svg +1 -0
- package/assets/icons/clock-arrow-right.svg +1 -0
- package/assets/icons/clock-check.svg +1 -0
- package/assets/icons/clock-plus.svg +1 -0
- package/assets/icons/clock.svg +1 -0
- package/assets/icons/cloud-backup.svg +1 -0
- package/assets/icons/cloud-cog.svg +1 -0
- package/assets/icons/cloud-drizzle.svg +1 -0
- package/assets/icons/cloud-hail.svg +1 -0
- package/assets/icons/cloud-moon.svg +1 -0
- package/assets/icons/cloud-off.svg +1 -0
- package/assets/icons/cloud-rain-wind.svg +1 -0
- package/assets/icons/cloud-snow.svg +1 -0
- package/assets/icons/cloud-sun-rain.svg +1 -0
- package/assets/icons/cloud-upload.svg +1 -0
- package/assets/icons/cloud.svg +1 -0
- package/assets/icons/clover.svg +1 -0
- package/assets/icons/code-xml.svg +1 -0
- package/assets/icons/code.svg +1 -0
- package/assets/icons/cog.svg +1 -0
- package/assets/icons/columns-settings.svg +1 -0
- package/assets/icons/columns.svg +1 -0
- package/assets/icons/command.svg +1 -0
- package/assets/icons/component.svg +1 -0
- package/assets/icons/concierge-bell.svg +1 -0
- package/assets/icons/construction.svg +1 -0
- package/assets/icons/contact-round.svg +1 -0
- package/assets/icons/contrast.svg +1 -0
- package/assets/icons/cookie.svg +1 -0
- package/assets/icons/copy-minus.svg +1 -0
- package/assets/icons/copy-slash.svg +1 -0
- package/assets/icons/copy.svg +1 -0
- package/assets/icons/copyleft.svg +1 -0
- package/assets/icons/corner-down-left.svg +1 -0
- package/assets/icons/corner-left-down.svg +1 -0
- package/assets/icons/corner-right-down.svg +1 -0
- package/assets/icons/corner-up-left.svg +1 -0
- package/assets/icons/cpu.svg +1 -0
- package/assets/icons/credit-card-minus.svg +1 -0
- package/assets/icons/credit-card-reader.svg +1 -0
- package/assets/icons/credit-card.svg +1 -0
- package/assets/icons/croissant.svg +1 -0
- package/assets/icons/crop.svg +1 -0
- package/assets/icons/crosshair.svg +1 -0
- package/assets/icons/cuboid.svg +1 -0
- package/assets/icons/cupcake.svg +1 -0
- package/assets/icons/currency.svg +1 -0
- package/assets/icons/dam.svg +1 -0
- package/assets/icons/database-arrow-down.svg +1 -0
- package/assets/icons/database-backup.svg +1 -0
- package/assets/icons/database-minus.svg +1 -0
- package/assets/icons/database-search.svg +1 -0
- package/assets/icons/database-zap.svg +1 -0
- package/assets/icons/decimals-arrow-right.svg +1 -0
- package/assets/icons/dessert.svg +1 -0
- package/assets/icons/diamond-percent.svg +1 -0
- package/assets/icons/diamond-plus.svg +1 -0
- package/assets/icons/diamond.svg +1 -0
- package/assets/icons/diff.svg +1 -0
- package/assets/icons/disc-album.svg +1 -0
- package/assets/icons/divide-circle.svg +1 -0
- package/assets/icons/dna.svg +1 -0
- package/assets/icons/dock.svg +1 -0
- package/assets/icons/dollar-sign.svg +1 -0
- package/assets/icons/donut.svg +1 -0
- package/assets/icons/door-closed-locked.svg +1 -0
- package/assets/icons/door-open.svg +1 -0
- package/assets/icons/dot.svg +1 -0
- package/assets/icons/download.svg +1 -0
- package/assets/icons/drafting-compass.svg +1 -0
- package/assets/icons/drill.svg +1 -0
- package/assets/icons/drone.svg +1 -0
- package/assets/icons/droplet-off.svg +1 -0
- package/assets/icons/drum.svg +1 -0
- package/assets/icons/dumbbell.svg +1 -0
- package/assets/icons/ear-off.svg +1 -0
- package/assets/icons/earth-lock.svg +1 -0
- package/assets/icons/edit.svg +1 -0
- package/assets/icons/egg-fried.svg +1 -0
- package/assets/icons/eject.svg +1 -0
- package/assets/icons/ellipsis.svg +1 -0
- package/assets/icons/engine.svg +1 -0
- package/assets/icons/equal-approximately.svg +1 -0
- package/assets/icons/equal-not.svg +1 -0
- package/assets/icons/eraser.svg +1 -0
- package/assets/icons/euro.svg +1 -0
- package/assets/icons/ev-charger.svg +1 -0
- package/assets/icons/external-link.svg +1 -0
- package/assets/icons/eye-closed.svg +1 -0
- package/assets/icons/face-angry.svg +1 -0
- package/assets/icons/face-grinning.svg +1 -0
- package/assets/icons/face-slightly-frowning.svg +1 -0
- package/assets/icons/face-slightly-smiling-plus.svg +1 -0
- package/assets/icons/fan.svg +1 -0
- package/assets/icons/faucet.svg +1 -0
- package/assets/icons/fence.svg +1 -0
- package/assets/icons/file-audio.svg +1 -0
- package/assets/icons/file-axis-3d.svg +1 -0
- package/assets/icons/file-bar-chart.svg +1 -0
- package/assets/icons/file-box.svg +1 -0
- package/assets/icons/file-braces-corner.svg +1 -0
- package/assets/icons/file-chart-column-increasing.svg +1 -0
- package/assets/icons/file-chart-pie.svg +1 -0
- package/assets/icons/file-check-corner.svg +1 -0
- package/assets/icons/file-code.svg +1 -0
- package/assets/icons/file-cog.svg +1 -0
- package/assets/icons/file-digit.svg +1 -0
- package/assets/icons/file-edit.svg +1 -0
- package/assets/icons/file-headphone.svg +1 -0
- package/assets/icons/file-image.svg +1 -0
- package/assets/icons/file-json.svg +1 -0
- package/assets/icons/file-line-chart.svg +1 -0
- package/assets/icons/file-minus.svg +1 -0
- package/assets/icons/file-music.svg +1 -0
- package/assets/icons/file-output.svg +1 -0
- package/assets/icons/file-pen-line.svg +1 -0
- package/assets/icons/file-play.svg +1 -0
- package/assets/icons/file-plus-corner.svg +1 -0
- package/assets/icons/file-question-mark.svg +1 -0
- package/assets/icons/file-search.svg +1 -0
- package/assets/icons/file-signal.svg +1 -0
- package/assets/icons/file-sliders.svg +1 -0
- package/assets/icons/file-stack.svg +1 -0
- package/assets/icons/file-terminal.svg +1 -0
- package/assets/icons/file-type.svg +1 -0
- package/assets/icons/file-up.svg +1 -0
- package/assets/icons/file-video.svg +1 -0
- package/assets/icons/file-volume.svg +1 -0
- package/assets/icons/file-warning.svg +1 -0
- package/assets/icons/file-x-corner.svg +1 -0
- package/assets/icons/file.svg +1 -0
- package/assets/icons/film.svg +1 -0
- package/assets/icons/filter-x.svg +1 -0
- package/assets/icons/fingerprint-pattern.svg +1 -0
- package/assets/icons/fish-symbol.svg +1 -0
- package/assets/icons/fish.svg +1 -0
- package/assets/icons/fishing-rod.svg +1 -0
- package/assets/icons/flag-off.svg +1 -0
- package/assets/icons/flag-triangle-right.svg +1 -0
- package/assets/icons/flame-kindling.svg +1 -0
- package/assets/icons/flashlight-off.svg +1 -0
- package/assets/icons/flask-conical-off.svg +1 -0
- package/assets/icons/flip-horizontal.svg +1 -0
- package/assets/icons/flower.svg +1 -0
- package/assets/icons/focus.svg +1 -0
- package/assets/icons/fold-vertical.svg +1 -0
- package/assets/icons/folder-archive.svg +1 -0
- package/assets/icons/folder-check.svg +1 -0
- package/assets/icons/folder-closed.svg +1 -0
- package/assets/icons/folder-cog.svg +1 -0
- package/assets/icons/folder-down.svg +1 -0
- package/assets/icons/folder-git.svg +1 -0
- package/assets/icons/folder-input.svg +1 -0
- package/assets/icons/folder-key.svg +1 -0
- package/assets/icons/folder-minus.svg +1 -0
- package/assets/icons/folder-open-dot.svg +1 -0
- package/assets/icons/folder-pen.svg +1 -0
- package/assets/icons/folder-root.svg +1 -0
- package/assets/icons/folder-search.svg +1 -0
- package/assets/icons/folder-sync.svg +1 -0
- package/assets/icons/folder-up.svg +1 -0
- package/assets/icons/folders.svg +1 -0
- package/assets/icons/fork-knife.svg +1 -0
- package/assets/icons/forklift.svg +1 -0
- package/assets/icons/form-input.svg +1 -0
- package/assets/icons/frame.svg +1 -0
- package/assets/icons/fuel.svg +1 -0
- package/assets/icons/function-square.svg +1 -0
- package/assets/icons/funnel-plus.svg +1 -0
- package/assets/icons/galaxy.svg +1 -0
- package/assets/icons/gallery-horizontal-end.svg +1 -0
- package/assets/icons/gallery-vertical.svg +1 -0
- package/assets/icons/gamepad-directional.svg +1 -0
- package/assets/icons/gamepad.svg +1 -0
- package/assets/icons/gantt-chart-square.svg +1 -0
- package/assets/icons/gap-vertical.svg +1 -0
- package/assets/icons/gauge-circle.svg +1 -0
- package/assets/icons/gem.svg +1 -0
- package/assets/icons/germ.svg +1 -0
- package/assets/icons/ghost.svg +1 -0
- package/assets/icons/git-branch-plus.svg +1 -0
- package/assets/icons/git-branch.svg +1 -0
- package/assets/icons/git-commit-horizontal.svg +1 -0
- package/assets/icons/git-compare.svg +1 -0
- package/assets/icons/git-fork.svg +1 -0
- package/assets/icons/git-merge.svg +1 -0
- package/assets/icons/git-pull-request-arrow.svg +1 -0
- package/assets/icons/git-pull-request-create.svg +1 -0
- package/assets/icons/git-pull-request-draft.svg +1 -0
- package/assets/icons/git-pull-request.svg +1 -0
- package/assets/icons/glasses.svg +1 -0
- package/assets/icons/globe-check.svg +1 -0
- package/assets/icons/globe-lock.svg +1 -0
- package/assets/icons/globe-x.svg +1 -0
- package/assets/icons/gpu.svg +1 -0
- package/assets/icons/graduation-cap.svg +1 -0
- package/assets/icons/grid-2-x-2-plus.svg +1 -0
- package/assets/icons/grid-2x2-plus.svg +1 -0
- package/assets/icons/grid-2x2.svg +1 -0
- package/assets/icons/grid-3x2.svg +1 -0
- package/assets/icons/grid.svg +1 -0
- package/assets/icons/grip-horizontal.svg +1 -0
- package/assets/icons/grip.svg +1 -0
- package/assets/icons/group.svg +1 -0
- package/assets/icons/ham.svg +1 -0
- package/assets/icons/hammer.svg +1 -0
- package/assets/icons/hand-coins.svg +1 -0
- package/assets/icons/hand-grab.svg +1 -0
- package/assets/icons/hand-helping.svg +1 -0
- package/assets/icons/hand-platter.svg +1 -0
- package/assets/icons/handshake.svg +1 -0
- package/assets/icons/hard-drive-download.svg +1 -0
- package/assets/icons/hard-hat.svg +1 -0
- package/assets/icons/hat-glasses.svg +1 -0
- package/assets/icons/hd.svg +1 -0
- package/assets/icons/heading.svg +1 -0
- package/assets/icons/headphone-off.svg +1 -0
- package/assets/icons/headset.svg +1 -0
- package/assets/icons/heart-crack.svg +1 -0
- package/assets/icons/heart-minus.svg +1 -0
- package/assets/icons/heart-plus.svg +1 -0
- package/assets/icons/heart-x.svg +1 -0
- package/assets/icons/helicopter.svg +1 -0
- package/assets/icons/helping-hand.svg +1 -0
- package/assets/icons/highlighter.svg +1 -0
- package/assets/icons/home.svg +1 -0
- package/assets/icons/hop-off.svg +1 -0
- package/assets/icons/hotel.svg +1 -0
- package/assets/icons/hourglass-cog.svg +1 -0
- package/assets/icons/house-heart.svg +1 -0
- package/assets/icons/house-plus.svg +1 -0
- package/assets/icons/house-wifi.svg +1 -0
- package/assets/icons/ice-cream-cone.svg +1 -0
- package/assets/icons/ice-cream.svg +1 -0
- package/assets/icons/id-card-lanyard.svg +1 -0
- package/assets/icons/image-down.svg +1 -0
- package/assets/icons/image-off.svg +1 -0
- package/assets/icons/image-plus.svg +1 -0
- package/assets/icons/image-upscale.svg +1 -0
- package/assets/icons/import.svg +1 -0
- package/assets/icons/indent-increase.svg +1 -0
- package/assets/icons/indent.svg +1 -0
- package/assets/icons/infinity.svg +1 -0
- package/assets/icons/inspect.svg +1 -0
- package/assets/icons/italic.svg +1 -0
- package/assets/icons/iteration-ccw.svg +1 -0
- package/assets/icons/iv-bag.svg +1 -0
- package/assets/icons/joystick.svg +1 -0
- package/assets/icons/kanban-square.svg +1 -0
- package/assets/icons/key-square.svg +1 -0
- package/assets/icons/key.svg +1 -0
- package/assets/icons/keyboard-music.svg +1 -0
- package/assets/icons/lambda.svg +1 -0
- package/assets/icons/lamp-ceiling.svg +1 -0
- package/assets/icons/lamp-floor.svg +1 -0
- package/assets/icons/lamp-wall-up.svg +1 -0
- package/assets/icons/landmark.svg +1 -0
- package/assets/icons/laptop-minimal-check.svg +1 -0
- package/assets/icons/laptop.svg +1 -0
- package/assets/icons/lasso-select.svg +1 -0
- package/assets/icons/laugh.svg +1 -0
- package/assets/icons/layer-arrow-up.svg +1 -0
- package/assets/icons/layers-arrow-down.svg +1 -0
- package/assets/icons/layers-minus.svg +1 -0
- package/assets/icons/layout-arrow-right.svg +1 -0
- package/assets/icons/layout-freeform.svg +1 -0
- package/assets/icons/layout-list.svg +1 -0
- package/assets/icons/layout-panel-top.svg +1 -0
- package/assets/icons/layout.svg +1 -0
- package/assets/icons/leaf.svg +1 -0
- package/assets/icons/lectern.svg +1 -0
- package/assets/icons/lens-convex.svg +1 -0
- package/assets/icons/library-square.svg +1 -0
- package/assets/icons/life-buoy.svg +1 -0
- package/assets/icons/lightbulb.svg +1 -0
- package/assets/icons/lighthouse.svg +1 -0
- package/assets/icons/line-dot-right-horizontal.svg +1 -0
- package/assets/icons/line-style.svg +1 -0
- package/assets/icons/link-2-off.svg +1 -0
- package/assets/icons/list-check.svg +1 -0
- package/assets/icons/list-chevrons-down-up.svg +1 -0
- package/assets/icons/list-clock.svg +1 -0
- package/assets/icons/list-end.svg +1 -0
- package/assets/icons/list-filter-plus.svg +1 -0
- package/assets/icons/list-indent-increase.svg +1 -0
- package/assets/icons/list-music.svg +1 -0
- package/assets/icons/list-plus.svg +1 -0
- package/assets/icons/list-sort-ascending.svg +1 -0
- package/assets/icons/list-sort-descending.svg +1 -0
- package/assets/icons/list-todo.svg +1 -0
- package/assets/icons/list-video.svg +1 -0
- package/assets/icons/loader-pinwheel.svg +1 -0
- package/assets/icons/loader.svg +1 -0
- package/assets/icons/locate-fixed.svg +1 -0
- package/assets/icons/location-edit.svg +1 -0
- package/assets/icons/lock-keyhole.svg +1 -0
- package/assets/icons/lock-open.svg +1 -0
- package/assets/icons/log-out.svg +1 -0
- package/assets/icons/lollipop.svg +1 -0
- package/assets/icons/m-square.svg +1 -0
- package/assets/icons/mail-check.svg +1 -0
- package/assets/icons/mail-clock.svg +1 -0
- package/assets/icons/mail-open.svg +1 -0
- package/assets/icons/mail-plus.svg +1 -0
- package/assets/icons/mail-question-mark.svg +1 -0
- package/assets/icons/mail-warning.svg +1 -0
- package/assets/icons/mail.svg +1 -0
- package/assets/icons/mailbox.svg +1 -0
- package/assets/icons/manifest.json +6089 -0
- package/assets/icons/map-pin-check-inside.svg +1 -0
- package/assets/icons/map-pin-minus.svg +1 -0
- package/assets/icons/map-pin-off.svg +1 -0
- package/assets/icons/map-pin-plus.svg +1 -0
- package/assets/icons/map-pin-search.svg +1 -0
- package/assets/icons/map-pin-x-inside.svg +1 -0
- package/assets/icons/map-pin.svg +1 -0
- package/assets/icons/map-plus.svg +1 -0
- package/assets/icons/map.svg +1 -0
- package/assets/icons/mars.svg +1 -0
- package/assets/icons/martini.svg +1 -0
- package/assets/icons/medal.svg +1 -0
- package/assets/icons/megaphone-off.svg +1 -0
- package/assets/icons/memory-stick.svg +1 -0
- package/assets/icons/menu-square.svg +1 -0
- package/assets/icons/message-circle-code.svg +1 -0
- package/assets/icons/message-circle-heart.svg +1 -0
- package/assets/icons/message-circle-off.svg +1 -0
- package/assets/icons/message-circle-question.svg +1 -0
- package/assets/icons/message-circle-reply.svg +1 -0
- package/assets/icons/message-circle-x.svg +1 -0
- package/assets/icons/message-circle.svg +1 -0
- package/assets/icons/message-square-check.svg +1 -0
- package/assets/icons/message-square-code.svg +1 -0
- package/assets/icons/message-square-dot.svg +1 -0
- package/assets/icons/message-square-lock.svg +1 -0
- package/assets/icons/message-square-off.svg +1 -0
- package/assets/icons/message-square-quote.svg +1 -0
- package/assets/icons/message-square-share.svg +1 -0
- package/assets/icons/message-square-warning.svg +1 -0
- package/assets/icons/messages-circle.svg +1 -0
- package/assets/icons/metronome.svg +1 -0
- package/assets/icons/mic-audio-lines.svg +1 -0
- package/assets/icons/mic-signal.svg +1 -0
- package/assets/icons/microchip.svg +1 -0
- package/assets/icons/microwave.svg +1 -0
- package/assets/icons/milestone.svg +1 -0
- package/assets/icons/milk-off.svg +1 -0
- package/assets/icons/minimize.svg +1 -0
- package/assets/icons/minus-circle.svg +1 -0
- package/assets/icons/mirror-rectangular.svg +1 -0
- package/assets/icons/monitor-cloud.svg +1 -0
- package/assets/icons/monitor-dot.svg +1 -0
- package/assets/icons/monitor-off.svg +1 -0
- package/assets/icons/monitor-pc.svg +1 -0
- package/assets/icons/monitor-smartphone.svg +1 -0
- package/assets/icons/monitor-stop.svg +1 -0
- package/assets/icons/monitor-x.svg +1 -0
- package/assets/icons/monitor.svg +1 -0
- package/assets/icons/moon-star.svg +1 -0
- package/assets/icons/mop-sparkles.svg +1 -0
- package/assets/icons/more-vertical.svg +1 -0
- package/assets/icons/mosque.svg +1 -0
- package/assets/icons/mountain.svg +1 -0
- package/assets/icons/mouse-off.svg +1 -0
- package/assets/icons/mouse-pointer-2-off.svg +1 -0
- package/assets/icons/mouse-pointer-click.svg +1 -0
- package/assets/icons/mouse.svg +1 -0
- package/assets/icons/mouth.svg +1 -0
- package/assets/icons/move-3d.svg +1 -0
- package/assets/icons/move-down-right.svg +1 -0
- package/assets/icons/move-down.svg +1 -0
- package/assets/icons/move-left.svg +1 -0
- package/assets/icons/move-up-right.svg +1 -0
- package/assets/icons/move-up.svg +1 -0
- package/assets/icons/move.svg +1 -0
- package/assets/icons/music.svg +1 -0
- package/assets/icons/navigation-off.svg +1 -0
- package/assets/icons/navigation.svg +1 -0
- package/assets/icons/network.svg +1 -0
- package/assets/icons/non-binary.svg +1 -0
- package/assets/icons/notebook-dot.svg +1 -0
- package/assets/icons/notebook-tabs.svg +1 -0
- package/assets/icons/notepad-text.svg +1 -0
- package/assets/icons/nut-off.svg +1 -0
- package/assets/icons/octagon-alert.svg +1 -0
- package/assets/icons/octagon-pause.svg +1 -0
- package/assets/icons/omega.svg +1 -0
- package/assets/icons/orbit.svg +1 -0
- package/assets/icons/outdent.svg +1 -0
- package/assets/icons/package-check.svg +1 -0
- package/assets/icons/package-minus.svg +1 -0
- package/assets/icons/package-plus.svg +1 -0
- package/assets/icons/package-x.svg +1 -0
- package/assets/icons/paint-roller.svg +1 -0
- package/assets/icons/paintbrush-vertical.svg +1 -0
- package/assets/icons/palmtree.svg +1 -0
- package/assets/icons/panel-bottom-inactive.svg +1 -0
- package/assets/icons/panel-bottom.svg +1 -0
- package/assets/icons/panel-left-inactive.svg +1 -0
- package/assets/icons/panel-left.svg +1 -0
- package/assets/icons/panel-right-inactive.svg +1 -0
- package/assets/icons/panel-right.svg +1 -0
- package/assets/icons/panel-top-inactive.svg +1 -0
- package/assets/icons/panel-top.svg +1 -0
- package/assets/icons/panels-left-bottom.svg +1 -0
- package/assets/icons/panels-left-right.svg +1 -0
- package/assets/icons/panels-top-bottom.svg +1 -0
- package/assets/icons/paper-bag.svg +1 -0
- package/assets/icons/parasol.svg +1 -0
- package/assets/icons/park.svg +1 -0
- package/assets/icons/parking-circle-off.svg +1 -0
- package/assets/icons/parking-square.svg +1 -0
- package/assets/icons/party-popper.svg +1 -0
- package/assets/icons/pause-circle.svg +1 -0
- package/assets/icons/paw-print.svg +1 -0
- package/assets/icons/pen-line.svg +1 -0
- package/assets/icons/pen-square.svg +1 -0
- package/assets/icons/pen.svg +1 -0
- package/assets/icons/pencil-line.svg +1 -0
- package/assets/icons/pencil-ruler.svg +1 -0
- package/assets/icons/pencil.svg +1 -0
- package/assets/icons/pentagon.svg +1 -0
- package/assets/icons/percent-circle.svg +1 -0
- package/assets/icons/percent-square.svg +1 -0
- package/assets/icons/phi.svg +1 -0
- package/assets/icons/phone-forwarded.svg +1 -0
- package/assets/icons/phone-missed.svg +1 -0
- package/assets/icons/phone-outgoing.svg +1 -0
- package/assets/icons/phone.svg +1 -0
- package/assets/icons/pi-square.svg +1 -0
- package/assets/icons/pickaxe.svg +1 -0
- package/assets/icons/pie-chart.svg +1 -0
- package/assets/icons/pilcrow-right.svg +1 -0
- package/assets/icons/pilcrow-square.svg +1 -0
- package/assets/icons/pilcrow.svg +1 -0
- package/assets/icons/pill-bottle.svg +1 -0
- package/assets/icons/pin-off.svg +1 -0
- package/assets/icons/pizza.svg +1 -0
- package/assets/icons/plane-landing.svg +1 -0
- package/assets/icons/plant-pot.svg +1 -0
- package/assets/icons/play-circle.svg +1 -0
- package/assets/icons/play-square.svg +1 -0
- package/assets/icons/playing-cards.svg +1 -0
- package/assets/icons/plug.svg +1 -0
- package/assets/icons/plus-square.svg +1 -0
- package/assets/icons/plus.svg +1 -0
- package/assets/icons/podcast.svg +1 -0
- package/assets/icons/pointer-off.svg +1 -0
- package/assets/icons/pointer.svg +1 -0
- package/assets/icons/popsicle.svg +1 -0
- package/assets/icons/power-off.svg +1 -0
- package/assets/icons/power.svg +1 -0
- package/assets/icons/presentation.svg +1 -0
- package/assets/icons/printer-check.svg +1 -0
- package/assets/icons/projector.svg +1 -0
- package/assets/icons/puzzle.svg +1 -0
- package/assets/icons/qr-code.svg +1 -0
- package/assets/icons/rabbit.svg +1 -0
- package/assets/icons/radiation.svg +1 -0
- package/assets/icons/radio-receiver.svg +1 -0
- package/assets/icons/radio.svg +1 -0
- package/assets/icons/radius.svg +1 -0
- package/assets/icons/rat.svg +1 -0
- package/assets/icons/ratio.svg +1 -0
- package/assets/icons/receipt-cent.svg +1 -0
- package/assets/icons/receipt-indian-rupee.svg +1 -0
- package/assets/icons/receipt-pound-sterling.svg +1 -0
- package/assets/icons/receipt-swiss-franc.svg +1 -0
- package/assets/icons/receipt-turkish-lira.svg +1 -0
- package/assets/icons/rectangle-ellipsis.svg +1 -0
- package/assets/icons/rectangle-horizontal.svg +1 -0
- package/assets/icons/recycle.svg +1 -0
- package/assets/icons/redo-dot.svg +1 -0
- package/assets/icons/refresh-ccw-dot.svg +1 -0
- package/assets/icons/refresh-cw-off.svg +1 -0
- package/assets/icons/regex.svg +1 -0
- package/assets/icons/repeat-off.svg +1 -0
- package/assets/icons/repeat.svg +1 -0
- package/assets/icons/replace-all.svg +1 -0
- package/assets/icons/reply-all.svg +1 -0
- package/assets/icons/ribbon.svg +1 -0
- package/assets/icons/robot-arm.svg +1 -0
- package/assets/icons/rocket.svg +1 -0
- package/assets/icons/roller-coaster.svg +1 -0
- package/assets/icons/rotate-3-d.svg +1 -0
- package/assets/icons/rotate-ccw-key.svg +1 -0
- package/assets/icons/rotate-ccw.svg +1 -0
- package/assets/icons/rotate-cw-fading-clock.svg +1 -0
- package/assets/icons/rotate-cw.svg +1 -0
- package/assets/icons/route.svg +1 -0
- package/assets/icons/router.svg +1 -0
- package/assets/icons/ruler-dimension-line.svg +1 -0
- package/assets/icons/ruler.svg +1 -0
- package/assets/icons/sailboat.svg +1 -0
- package/assets/icons/sandwich.svg +1 -0
- package/assets/icons/satellite-dish.svg +1 -0
- package/assets/icons/save-check.svg +1 -0
- package/assets/icons/save-pen.svg +1 -0
- package/assets/icons/save.svg +1 -0
- package/assets/icons/scale-3d.svg +1 -0
- package/assets/icons/scale.svg +1 -0
- package/assets/icons/scan-box.svg +1 -0
- package/assets/icons/scan-face.svg +1 -0
- package/assets/icons/scan-line.svg +1 -0
- package/assets/icons/scan-search.svg +1 -0
- package/assets/icons/scan-square.svg +1 -0
- package/assets/icons/scan.svg +1 -0
- package/assets/icons/scatter-chart.svg +1 -0
- package/assets/icons/scissors-square-dashed-bottom.svg +1 -0
- package/assets/icons/scissors.svg +1 -0
- package/assets/icons/screen-share.svg +1 -0
- package/assets/icons/scroll.svg +1 -0
- package/assets/icons/search-check.svg +1 -0
- package/assets/icons/search-slash.svg +1 -0
- package/assets/icons/search.svg +1 -0
- package/assets/icons/section.svg +1 -0
- package/assets/icons/send-horizonal.svg +1 -0
- package/assets/icons/send-to-back.svg +1 -0
- package/assets/icons/separator-vertical.svg +1 -0
- package/assets/icons/server-cog.svg +1 -0
- package/assets/icons/server-off.svg +1 -0
- package/assets/icons/server-plus.svg +1 -0
- package/assets/icons/shapes.svg +1 -0
- package/assets/icons/sheet.svg +1 -0
- package/assets/icons/shelving-unit.svg +1 -0
- package/assets/icons/shield-alert.svg +1 -0
- package/assets/icons/shield-check.svg +1 -0
- package/assets/icons/shield-cog.svg +1 -0
- package/assets/icons/shield-ellipsis.svg +1 -0
- package/assets/icons/shield-keyhole.svg +1 -0
- package/assets/icons/shield-minus.svg +1 -0
- package/assets/icons/shield-plus.svg +1 -0
- package/assets/icons/shield-question-mark.svg +1 -0
- package/assets/icons/shield-x.svg +1 -0
- package/assets/icons/ship-cargo.svg +1 -0
- package/assets/icons/ship-wheel.svg +1 -0
- package/assets/icons/shopping-bag.svg +1 -0
- package/assets/icons/shopping-cart-plus.svg +1 -0
- package/assets/icons/shopping-cart.svg +1 -0
- package/assets/icons/shower-head.svg +1 -0
- package/assets/icons/shrimp.svg +1 -0
- package/assets/icons/shrink.svg +1 -0
- package/assets/icons/shuffle.svg +1 -0
- package/assets/icons/sidebar-close.svg +1 -0
- package/assets/icons/sigma.svg +1 -0
- package/assets/icons/signal-low.svg +1 -0
- package/assets/icons/signal-zero.svg +1 -0
- package/assets/icons/signal.svg +1 -0
- package/assets/icons/signpost.svg +1 -0
- package/assets/icons/siren.svg +1 -0
- package/assets/icons/skip-back.svg +1 -0
- package/assets/icons/skull.svg +1 -0
- package/assets/icons/slash-square.svg +1 -0
- package/assets/icons/sliders-vertical.svg +1 -0
- package/assets/icons/sliders.svg +1 -0
- package/assets/icons/smartphone-charging.svg +1 -0
- package/assets/icons/smile.svg +1 -0
- package/assets/icons/snail.svg +1 -0
- package/assets/icons/soap-dispenser-droplet.svg +1 -0
- package/assets/icons/solar-panel.svg +1 -0
- package/assets/icons/sort-desc.svg +1 -0
- package/assets/icons/space.svg +1 -0
- package/assets/icons/speaker.svg +1 -0
- package/assets/icons/speech.svg +1 -0
- package/assets/icons/spline.svg +1 -0
- package/assets/icons/split-square-vertical.svg +1 -0
- package/assets/icons/split.svg +1 -0
- package/assets/icons/sport-shoe.svg +1 -0
- package/assets/icons/spray-can.svg +1 -0
- package/assets/icons/square-asterisk.svg +1 -0
- package/assets/icons/square-bottom-dashed-scissors.svg +1 -0
- package/assets/icons/square-centerline-dashed-vertical.svg +1 -0
- package/assets/icons/square-check.svg +1 -0
- package/assets/icons/square-code.svg +1 -0
- package/assets/icons/square-dashed-bottom-code.svg +1 -0
- package/assets/icons/square-dashed-mouse-pointer.svg +1 -0
- package/assets/icons/square-dashed-text.svg +1 -0
- package/assets/icons/square-dashed-top-solid.svg +1 -0
- package/assets/icons/square-dashed-x-corner.svg +1 -0
- package/assets/icons/square-divide.svg +1 -0
- package/assets/icons/square-equal.svg +1 -0
- package/assets/icons/square-function.svg +1 -0
- package/assets/icons/square-kanban.svg +1 -0
- package/assets/icons/square-m.svg +1 -0
- package/assets/icons/square-minus.svg +1 -0
- package/assets/icons/square-off.svg +1 -0
- package/assets/icons/square-parking-off.svg +1 -0
- package/assets/icons/square-pen.svg +1 -0
- package/assets/icons/square-pi.svg +1 -0
- package/assets/icons/square-play.svg +1 -0
- package/assets/icons/square-power.svg +1 -0
- package/assets/icons/square-radical.svg +1 -0
- package/assets/icons/square-scissors.svg +1 -0
- package/assets/icons/square-slash.svg +1 -0
- package/assets/icons/square-split-vertical.svg +1 -0
- package/assets/icons/square-stack.svg +1 -0
- package/assets/icons/square-stop.svg +1 -0
- package/assets/icons/square-text.svg +1 -0
- package/assets/icons/square-user-round.svg +1 -0
- package/assets/icons/square.svg +1 -0
- package/assets/icons/squares-exclude.svg +1 -0
- package/assets/icons/squares-subtract.svg +1 -0
- package/assets/icons/squircle.svg +1 -0
- package/assets/icons/stamp.svg +1 -0
- package/assets/icons/star-check.svg +1 -0
- package/assets/icons/star-minus.svg +1 -0
- package/assets/icons/star-plus.svg +1 -0
- package/assets/icons/star-x.svg +1 -0
- package/assets/icons/step-back.svg +1 -0
- package/assets/icons/stethoscope.svg +1 -0
- package/assets/icons/sticky-note-minus.svg +1 -0
- package/assets/icons/sticky-note-plus.svg +1 -0
- package/assets/icons/sticky-note.svg +1 -0
- package/assets/icons/sticky-notes.svg +1 -0
- package/assets/icons/stop-circle.svg +1 -0
- package/assets/icons/stretch-horizontal.svg +1 -0
- package/assets/icons/strikethrough.svg +1 -0
- package/assets/icons/subtitles.svg +1 -0
- package/assets/icons/sun-medium.svg +1 -0
- package/assets/icons/sun-snow.svg +1 -0
- package/assets/icons/sun.svg +1 -0
- package/assets/icons/sunrise.svg +1 -0
- package/assets/icons/superscript.svg +1 -0
- package/assets/icons/swiss-franc.svg +1 -0
- package/assets/icons/sword.svg +1 -0
- package/assets/icons/syringe.svg +1 -0
- package/assets/icons/table-cells-merge.svg +1 -0
- package/assets/icons/table-columns-split.svg +1 -0
- package/assets/icons/table-of-contents.svg +1 -0
- package/assets/icons/table-rows-split.svg +1 -0
- package/assets/icons/tablet-smartphone.svg +1 -0
- package/assets/icons/tag-x.svg +1 -0
- package/assets/icons/tag.svg +1 -0
- package/assets/icons/tangent.svg +1 -0
- package/assets/icons/telescope.svg +1 -0
- package/assets/icons/tent-tree.svg +1 -0
- package/assets/icons/terminal.svg +1 -0
- package/assets/icons/test-tube.svg +1 -0
- package/assets/icons/test-tubes.svg +1 -0
- package/assets/icons/text-align-center.svg +1 -0
- package/assets/icons/text-align-justify.svg +1 -0
- package/assets/icons/text-cursor.svg +1 -0
- package/assets/icons/text-initial.svg +1 -0
- package/assets/icons/text-search.svg +1 -0
- package/assets/icons/text-selection.svg +1 -0
- package/assets/icons/theater.svg +1 -0
- package/assets/icons/thermometer-snowflake.svg +1 -0
- package/assets/icons/thumbs-down.svg +1 -0
- package/assets/icons/tic-tac-toe.svg +1 -0
- package/assets/icons/ticket-check.svg +1 -0
- package/assets/icons/ticket-minus.svg +1 -0
- package/assets/icons/ticket-plus.svg +1 -0
- package/assets/icons/ticket-x.svg +1 -0
- package/assets/icons/tickets-plane.svg +1 -0
- package/assets/icons/timer-reset.svg +1 -0
- package/assets/icons/timer.svg +1 -0
- package/assets/icons/toggle-right.svg +1 -0
- package/assets/icons/tool-case.svg +1 -0
- package/assets/icons/toothbrush.svg +1 -0
- package/assets/icons/tornado.svg +1 -0
- package/assets/icons/touchpad.svg +1 -0
- package/assets/icons/towel-rack.svg +1 -0
- package/assets/icons/toy-brick.svg +1 -0
- package/assets/icons/traffic-cone.svg +1 -0
- package/assets/icons/train-front.svg +1 -0
- package/assets/icons/train-track.svg +1 -0
- package/assets/icons/train.svg +1 -0
- package/assets/icons/transgender.svg +1 -0
- package/assets/icons/trash-off.svg +1 -0
- package/assets/icons/tree-palm.svg +1 -0
- package/assets/icons/trees.svg +1 -0
- package/assets/icons/trending-up.svg +1 -0
- package/assets/icons/triangle-right.svg +1 -0
- package/assets/icons/triangle.svg +1 -0
- package/assets/icons/triangles-centerline-dashed-vertical.svg +1 -0
- package/assets/icons/truck.svg +1 -0
- package/assets/icons/tube-lotion.svg +1 -0
- package/assets/icons/turntable.svg +1 -0
- package/assets/icons/tv-minimal.svg +1 -0
- package/assets/icons/tv.svg +1 -0
- package/assets/icons/type.svg +1 -0
- package/assets/icons/umbrella.svg +1 -0
- package/assets/icons/underline.svg +1 -0
- package/assets/icons/undo-dot.svg +1 -0
- package/assets/icons/unfold-vertical.svg +1 -0
- package/assets/icons/university.svg +1 -0
- package/assets/icons/unlock.svg +1 -0
- package/assets/icons/unplug.svg +1 -0
- package/assets/icons/upload-cloud.svg +1 -0
- package/assets/icons/usb-c-port.svg +1 -0
- package/assets/icons/user-check.svg +1 -0
- package/assets/icons/user-cog.svg +1 -0
- package/assets/icons/user-key.svg +1 -0
- package/assets/icons/user-minus.svg +1 -0
- package/assets/icons/user-pen.svg +1 -0
- package/assets/icons/user-round-check.svg +1 -0
- package/assets/icons/user-round-group.svg +1 -0
- package/assets/icons/user-round-minus.svg +1 -0
- package/assets/icons/user-round-plus.svg +1 -0
- package/assets/icons/user-round-x.svg +1 -0
- package/assets/icons/user-round.svg +1 -0
- package/assets/icons/user-shield.svg +1 -0
- package/assets/icons/user-star.svg +1 -0
- package/assets/icons/users.svg +1 -0
- package/assets/icons/utensils.svg +1 -0
- package/assets/icons/utility-pole.svg +1 -0
- package/assets/icons/variable.svg +1 -0
- package/assets/icons/vector-polygon.svg +1 -0
- package/assets/icons/vector-square.svg +1 -0
- package/assets/icons/venetian-mask.svg +1 -0
- package/assets/icons/venus-and-mars.svg +1 -0
- package/assets/icons/vibrate.svg +1 -0
- package/assets/icons/video.svg +1 -0
- package/assets/icons/videotape.svg +1 -0
- package/assets/icons/virus.svg +1 -0
- package/assets/icons/voicemail.svg +1 -0
- package/assets/icons/volume-x.svg +1 -0
- package/assets/icons/volume.svg +1 -0
- package/assets/icons/wallet-minimal.svg +1 -0
- package/assets/icons/wallet.svg +1 -0
- package/assets/icons/wand.svg +1 -0
- package/assets/icons/warehouse.svg +1 -0
- package/assets/icons/watch.svg +1 -0
- package/assets/icons/waves-arrow-up.svg +1 -0
- package/assets/icons/waves-ladder.svg +1 -0
- package/assets/icons/waves.svg +1 -0
- package/assets/icons/waypoints.svg +1 -0
- package/assets/icons/webcam-off.svg +1 -0
- package/assets/icons/weight.svg +1 -0
- package/assets/icons/wheat.svg +1 -0
- package/assets/icons/whistle.svg +1 -0
- package/assets/icons/wifi-high.svg +1 -0
- package/assets/icons/wifi-off.svg +1 -0
- package/assets/icons/wifi-sync.svg +1 -0
- package/assets/icons/wifi.svg +1 -0
- package/assets/icons/wind.svg +1 -0
- package/assets/icons/wine-off.svg +1 -0
- package/assets/icons/wine.svg +1 -0
- package/assets/icons/worm.svg +1 -0
- package/assets/icons/wrench.svg +1 -0
- package/assets/icons/x-line-top.svg +1 -0
- package/assets/icons/x-square.svg +1 -0
- package/assets/icons/x.svg +1 -0
- package/assets/icons/zap-off.svg +1 -0
- package/assets/icons/zodiac-aries.svg +1 -0
- package/assets/icons/zodiac-capricorn.svg +1 -0
- package/assets/icons/zodiac-leo.svg +1 -0
- package/assets/icons/zodiac-ophiuchus.svg +1 -0
- package/assets/icons/zodiac-sagittarius.svg +1 -0
- package/assets/icons/zodiac-taurus.svg +1 -0
- package/assets/icons/zoom-in.svg +1 -0
- package/assets/icons.js +103 -0
- package/assets/icons.svg +15 -0
- package/assets/motion.css +39 -0
- package/assets/motion.js +134 -0
- package/assets/shaders/_common.glsl +136 -0
- package/assets/shaders/frost-displacement.frag +63 -0
- package/assets/shaders/manifest.json +133 -0
- package/assets/shaders/mirage-flow.frag +40 -0
- package/assets/shaders/resin-caustics.frag +52 -0
- package/assets/shaders/resin-refraction.frag +91 -0
- package/assets/tokens.js +1 -0
- package/docs/accessibility.md +173 -0
- package/docs/adoption.md +199 -0
- package/docs/catalogue.md +4151 -0
- package/docs/colors.md +106 -0
- package/docs/components.md +244 -0
- package/docs/icons.md +42 -0
- package/docs/materials.md +400 -0
- package/docs/motion-components.md +195 -0
- package/docs/motion.md +438 -0
- package/docs/principles.md +66 -0
- package/docs/tokens.md +580 -0
- package/engines.js +46 -0
- package/exports/crystal-tokens.kt +159 -0
- package/exports/crystal-tokens.swift +159 -0
- package/exports/crystal-tokens.ts +161 -0
- package/licenses/framer-motion-LICENSE.txt +21 -0
- package/licenses/gsap-README.md +93 -0
- package/licenses/lucide-LICENSE.txt +43 -0
- package/licenses/motion-LICENSE.txt +21 -0
- package/licenses/motion-dom-LICENSE.txt +21 -0
- package/licenses/motion-utils-LICENSE.txt +21 -0
- package/licenses/tslib-LICENSE.txt +12 -0
- package/package.json +78 -0
- package/tokens/catalogue/01-layout.json +267 -0
- package/tokens/catalogue/02-navigation.json +385 -0
- package/tokens/catalogue/03-actions.json +220 -0
- package/tokens/catalogue/04-inputs.json +1166 -0
- package/tokens/catalogue/05-data-display.json +780 -0
- package/tokens/catalogue/06-feedback.json +338 -0
- package/tokens/catalogue/07-overlays.json +247 -0
- package/tokens/catalogue/08-typography.json +305 -0
- package/tokens/catalogue/09-utility.json +467 -0
- package/tokens/catalogue/10-charts.json +458 -0
- package/tokens/catalogue/11-media.json +107 -0
- package/tokens/catalogue/12-commerce.json +450 -0
- package/tokens/catalogue/13-screens.json +271 -0
- package/tokens/catalogue/14-blocks.json +395 -0
- package/tokens/catalogue.json +5862 -0
- package/tokens/crystal.json +532 -0
- package/tokens/crystal.tokens.json +1973 -0
- package/tokens/motion-recipes.json +2485 -0
package/docs/motion.md
ADDED
|
@@ -0,0 +1,438 @@
|
|
|
1
|
+
# Motion: material in movement
|
|
2
|
+
|
|
3
|
+
Crystal’s motion makes its materials recognizable: Plastic levitates, Frost emerges toward the viewer, Resin flows and catches light, Haze and Stone carry moving feathered edges, and Mirage washes across the scene. [Open the interactive motion studies](../motion.html).
|
|
4
|
+
|
|
5
|
+
## Timing and easing
|
|
6
|
+
|
|
7
|
+
The earlier 25% speed reduction is retained for small interaction tokens. The larger material journeys have their own longer timings so bounded travel and layered detail have time to resolve smoothly. The preview’s **1×** setting uses the defaults below.
|
|
8
|
+
|
|
9
|
+
| Token | Default | Use |
|
|
10
|
+
|---|---|---|
|
|
11
|
+
| `--cr-press` | 120ms | Small button press feedback |
|
|
12
|
+
| `--cr-state` | 213.33ms | Simple state transitions |
|
|
13
|
+
| `--cr-spatial` | 293.33ms | Compact product transitions |
|
|
14
|
+
| `--cr-exit` | 160ms | Compact departures |
|
|
15
|
+
| `--cr-material` | 1000ms | Plastic, Frost, Haze and Stone choreography |
|
|
16
|
+
| `--cr-liquid` | 1400ms | Resin deformation and traveling light |
|
|
17
|
+
| `--cr-flow` | 1200ms | Mirage arrival, including dialog backdrop |
|
|
18
|
+
| `--cr-departure` | 650ms | Modal dismissal and Mirage withdrawal |
|
|
19
|
+
| `--cr-ease-enter` | `cubic-bezier(0.22, 0.65, 0.22, 1)` | Progressive arrival, soft settling |
|
|
20
|
+
| `--cr-ease-settle` | `cubic-bezier(0.2, 0, 0.2, 1)` | Small control response |
|
|
21
|
+
| `--cr-ease-exit` | `cubic-bezier(0.4, 0, 0.6, 1)` | Smooth acceleration and departure |
|
|
22
|
+
|
|
23
|
+
Ordinary travel stays within **5–30px**, with **50px as the compact-motion guideline**, not a universal ceiling. Larger or longer spatial transitions may exceed it when the movement requires it: full-width sheets, view changes, measured reordering, gallery turns and large material compositions. Each authored exception records its purpose in `travelException`; do not apply large composition motion to a small button.
|
|
24
|
+
|
|
25
|
+
Haze and Stone retain **zero component translation** for their material signatures: their feathered paint shifts and changes contour while text stays fixed. Optical light can travel across an entire surface without moving its content. Small controls use liquid compression and surface tension rather than a generic upward lift.
|
|
26
|
+
|
|
27
|
+
The legacy `maxTravel: 50` token continues to bound the six compact material presets. Larger recipes explicitly define their travel and bypass that compact clamp. `layout()` uses the actual measured displacement up to the viewport diagonal, with `{extended:false}` available for a compact crossfade. Motion still respects the user speed factor, five-second duration ceiling, cancellation and reduced motion.
|
|
28
|
+
|
|
29
|
+
## Material signatures
|
|
30
|
+
|
|
31
|
+
| Material | Movement | Light and perimeter | Preview use |
|
|
32
|
+
|---|---|---|---|
|
|
33
|
+
| Plastic | Starts 24px below its resting position and smoothly rises to rest | A widening shadow reinforces the upward lift; foundation stays opaque once present | Replay study; never animate a whole app foundation for ordinary focus changes |
|
|
34
|
+
| Frost | Emerges from its resting plane to +50px toward the viewer, then settles back; no lateral shift or perspective tilt | Shadow expands at the nearest point; grain and diffusion remain constant | Replay study and scene entrance |
|
|
35
|
+
| Resin | 30px arrival, vertical stretch into horizontal compression, then a small damped settling motion | A highlight travels across the body; illuminated rim changes direction and contour | Resin specimen; reserve stronger deformation for compact controls, not dense reading content |
|
|
36
|
+
| Haze | Fixed component and label; movement stays within the surface | Background-only feathered contour drifts up to 6px and changes shape, then returns to the exact resting recipe | Reading surface study and Haze dialog entrance |
|
|
37
|
+
| Stone | Fixed component and label; movement stays within the surface | Feathered background ripples around its fixed center; label retains its own crisp paint | Label backing study; ordinary button presses still use the short press token |
|
|
38
|
+
| Mirage | Curved reveal spreads from left, right, top or bottom; withdrawal contracts toward an edge | Actual underlying colors continue to blend through its chromatic blur; no fabricated wallpaper or hue sweep | Entrance and exit specimens, native dialog backdrop |
|
|
39
|
+
|
|
40
|
+
Resin light is a temporary optical overlay, not a change to the 20% fill recipe. Haze and Stone start and end at rest; neither slides in, scales its content nor changes label opacity during replay. Their feathered backgrounds make one quiet outward-and-return cycle. They move the already feathered `::before` layer; their blur radius stays at 1.95px and their resting opacity stays unchanged. Foreground labels are not blurred. Component transforms move their children together; Resin’s small scale/skew deformation also affects its compact label. Avoid applying that preset to long-form text.
|
|
41
|
+
|
|
42
|
+
Mirage uses an expanding elliptical mask with a broad feathered front rather than physically simulated fluid. Registered CSS properties animate the reveal radius; engines without registration support use a curved clip-path fallback. The native dialog’s entrance begins at the chosen edge and its exit contracts toward the opposite edge. **Cycle directions** advances left → bottom → right → top; explicit direction choices make a study repeatable. Its fixed 28px chromatic filter continues to sample the real scene beneath the reveal.
|
|
43
|
+
|
|
44
|
+
## Working examples
|
|
45
|
+
|
|
46
|
+
Each Replay button runs a finite animation. **Replay Mirage exit** withdraws and hides the specimen; **Replay Mirage** brings it back. Animation speed ranges from 0.25× to 2× and applies to specimens, scene transitions, button feedback and modal/backdrop timings. It is saved as `motionSpeed` alongside appearance and included in CSS/JSON exports. Labels show the resolved duration. Each resolved duration is `min(5000ms, baseDuration / motionSpeed)`; reduced motion resolves it to zero. Default sequences should stay within 0–2 seconds. Five seconds is a hard ceiling, including any extra API replay-rate adjustment. At 0.25×, Resin would take 5.6 seconds and is capped at 5 seconds; other effects retain their own scaled timings. Interactions, data and focus respond immediately even during a long visual transition. Appearance and reduced-motion preferences are shared with the main playground. No effects autoplay or loop.
|
|
47
|
+
|
|
48
|
+
The native modal opens with Haze’s in-place edge motion, matching its content material, while Mirage reveals the backdrop. Its content stays fixed on entrance; dismissal fades it in place while its edge settles. Focus and modality take effect immediately. The 650ms default exit (scaled by the speed preference, capped at five seconds) finishes before the dialog closes and focus returns. Escape uses that same path; repeated dismissal requests do not stack.
|
|
49
|
+
|
|
50
|
+
## Interruption, accessibility and rendering
|
|
51
|
+
|
|
52
|
+
New playback cancels the previous animation group on that element, including paint-layer effects. Explicit reduced motion, OS reduced motion and document hiding cancel active JavaScript animations. Reduced motion presents states immediately without spatial travel, deformation, moving highlights, feather movement or backdrop reveals. It always takes precedence over the speed slider. Native CSS backdrop animations also honor reduced motion.
|
|
53
|
+
|
|
54
|
+
Reduced transparency and forced colors omit decorative light, shadow choreography and feather-layer movement. They retain their stable material fallback; motion preferences separately govern component movement. Keyboard focus remains immediate and visible. Disabled controls have no press movement, and hover lift is limited to fine pointers that support hover.
|
|
55
|
+
|
|
56
|
+
Animations never postpone routing or data availability. Changes in opacity are supplemental: they must never be the sole indication of an essential state. Full-page Mirage clipping can reveal an unobscured portion of the background during transition, but the dialog retains native modality throughout.
|
|
57
|
+
|
|
58
|
+
Transforms and opacity are the primary motion channels. Small specimen rim/shadow/background-position effects and directional masks/clip paths can require repainting; they are not guaranteed to run solely on the compositor. Backdrop blur, grain, saturation and feather radii remain constant. Benchmark actual devices before using many simultaneous effects, especially full-screen Mirage. Do not add permanent `will-change` hints. Screen-reader, zoom, native-renderer and cross-engine verification remain product adoption requirements.
|
|
59
|
+
|
|
60
|
+
## Adoption
|
|
61
|
+
|
|
62
|
+
Load the generated theme, `assets/crystal.css`, then `assets/motion.css`. Load `assets/vendor/crystal-engines.js`, `assets/motion-catalog.js`, then `assets/motion.js` before application code for the framework-independent browser adapter.
|
|
63
|
+
|
|
64
|
+
```js
|
|
65
|
+
// The application owns visibility, routing and focus.
|
|
66
|
+
const result = await CrystalMotion.play(panel, 'frost');
|
|
67
|
+
await CrystalMotion.play(scrim, 'mirage', { direction: 'left', rate: 1 });
|
|
68
|
+
// result.status: finished, cancelled, or instant.
|
|
69
|
+
CrystalMotion.stop(panel);
|
|
70
|
+
CrystalMotion.stopAll();
|
|
71
|
+
// Before showModal(), choose the CSS backdrop's direction:
|
|
72
|
+
CrystalMotion.direction(dialog, 'bottom');
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
Presets: `plastic`, `frost`, `resin`, `haze`, `stone`, `mirage`, `mirage-out`, `dismiss`. The optional `direction` accepts `left`, `right`, `top`, `bottom`; omission or `cycle` chooses the next direction. The adapter does not hide or remove targets; callers own exit completion. The playground implements the specimen’s hidden state explicitly.
|
|
76
|
+
|
|
77
|
+
GSAP controls paint-layer motion through Web Animations pseudo-element targeting on `::before` and `::after`. Engines without that support retain supported component movement and may omit the optional optical effects. Haze and Stone stay still in that fallback rather than substituting a sliding animation. Invalid targets or unknown presets produce errors; unavailable animation APIs return `instant`. Material selectors must supply the actual pseudo-element paints. Use Haze motion for Haze dialogs rather than reusing Resin’s deforming rim on them.
|
|
78
|
+
|
|
79
|
+
The canonical motion definitions live in `tokens/crystal.json`; CSS and JSON exports include both compact and expressive durations and travel values. Always include `motion.css` for native dialog backdrop choreography and accessibility overrides. The reference provides real visual behavior, not a native compositor or a physics simulation.
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
## Installed animation engines
|
|
83
|
+
|
|
84
|
+
Both engines are now installed, bundled locally and used by the runtime. [Motion’s animate API](https://motion.dev/docs/animate) drives element keyframes. [GSAP timelines](https://gsap.com/docs/v3/GSAP/Timeline/) control material paint-layer clocks and selected component sequences. Native Web Animations effects paint actual pseudo-elements under those GSAP clocks; CSS supplies the native dialog backdrop fallback.
|
|
85
|
+
|
|
86
|
+
See the [component motion suite](motion-components.html) for all 59 recipes, engine assignments, API contracts, live component behavior, test instructions and future component-library/Storybook coverage. [License notices](../reference/ASSET-NOTICES.md) accompany the local bundle.
|
|
87
|
+
|
|
88
|
+
The compact CSS timing tokens remain available for small state changes. The material-driven Resin press recipe uses 320ms for a complete compression/recovery sequence; hover light uses 700ms. These visual clocks never delay the actual action. The executable catalog lists the current duration of every recipe.
|
|
89
|
+
|
|
90
|
+
## Springs are the portable primitive
|
|
91
|
+
|
|
92
|
+
Every recipe carries a spring — `{stiffness, damping, mass}` — fitted so that its derived
|
|
93
|
+
settle time matches the authored duration within 15%. The authored duration remains the
|
|
94
|
+
authority; the spring is what makes the recipe portable, because a duration and a cubic
|
|
95
|
+
bezier do not survive being moved to SwiftUI or Compose, and a spring does.
|
|
96
|
+
|
|
97
|
+
`assets/core/spring.js` derives everything else from those three numbers, with no DOM and
|
|
98
|
+
no dependencies: damping ratio, sampled displacement, settle time, whether the recipe
|
|
99
|
+
overshoots and by how much. The generated table below is computed from it at build time,
|
|
100
|
+
which is why the numbers there cannot go stale.
|
|
101
|
+
|
|
102
|
+
### The three regimes
|
|
103
|
+
|
|
104
|
+
The damping ratio **ζ = c / (2√(km))** decides which closed form applies, and they are
|
|
105
|
+
genuinely different equations rather than one equation with a parameter:
|
|
106
|
+
|
|
107
|
+
| ζ | Regime | Behaviour |
|
|
108
|
+
| --- | --- | --- |
|
|
109
|
+
| ζ < 1 | Underdamped | Overshoots and oscillates back. Damped frequency ωd = ω√(1−ζ²). |
|
|
110
|
+
| ζ = 1 | Critically damped | The fastest approach with no overshoot. ωd is exactly zero, so the oscillatory form degenerates and a separate solution is required. |
|
|
111
|
+
| ζ > 1 | Overdamped | Approaches without ever crossing the target, more slowly than critical. |
|
|
112
|
+
|
|
113
|
+
Implementations that interpolate through ζ = 1 with the underdamped formula divide by a
|
|
114
|
+
damped frequency of zero. `sampleSpring` branches on the regime explicitly.
|
|
115
|
+
|
|
116
|
+
### Damping is chosen by signature, not by taste
|
|
117
|
+
|
|
118
|
+
Whether a movement overshoots is a claim about what the material *is*:
|
|
119
|
+
|
|
120
|
+
- **`inertia`** and **`coalesce`** overshoot, most of all — momentum is their entire claim.
|
|
121
|
+
Mass that stops dead was never moving.
|
|
122
|
+
- **`feather`** and **`caustic`** do not overshoot. A soft edge that bounces is wrong: the
|
|
123
|
+
signature is diffusion, and diffusion has no momentum to carry.
|
|
124
|
+
- Everything between is scaled accordingly.
|
|
125
|
+
|
|
126
|
+
The generated table shows measured peak overshoot per recipe. `feather` comes out at 0.1%
|
|
127
|
+
and `inertia` at 12.6% — the fitting produces the policy rather than being asserted
|
|
128
|
+
alongside it.
|
|
129
|
+
|
|
130
|
+
## Deformation is incompressible
|
|
131
|
+
|
|
132
|
+
Any `scale(sx, sy)` in a recipe must satisfy **sx · sy = 1** within 0.005. A surface that
|
|
133
|
+
squashes without spreading is a surface losing volume, and it reads as cheap because
|
|
134
|
+
nothing physical behaves that way.
|
|
135
|
+
|
|
136
|
+
Corrections divide **both** axes by the square root of the area. Keeping the dominant axis
|
|
137
|
+
and deriving the other also conserves volume, but it changes the deformation's aspect
|
|
138
|
+
ratio — which alters the designed look rather than only the physics. Normalising by √area
|
|
139
|
+
conserves volume *and* preserves aspect ratio exactly, so the correction removes the
|
|
140
|
+
compressibility error and nothing else. `tools/validate-motion.cjs` asserts both.
|
|
141
|
+
|
|
142
|
+
## Why Resin is not animated with ripples
|
|
143
|
+
|
|
144
|
+
An early model animated Resin as a surface wave — a ripple spreading from the contact
|
|
145
|
+
point. It was rejected, and the reasoning is recorded here because the rejected model is
|
|
146
|
+
the one people reach for first.
|
|
147
|
+
|
|
148
|
+
A ripple is a *surface* phenomenon: it says the material has a skin, that the skin was
|
|
149
|
+
disturbed, and that the disturbance is travelling across it. That is water in a dish. Resin
|
|
150
|
+
is not a skin; it is a solid, transparent body with optical depth. Its response to contact
|
|
151
|
+
is not a wave — it is a change in how it bends light.
|
|
152
|
+
|
|
153
|
+
What contemporary glass interfaces actually do, and what Crystal now does:
|
|
154
|
+
|
|
155
|
+
- **Edge lensing.** Refraction concentrates in a band just inside the boundary and falls
|
|
156
|
+
off steeply, leaving the centre optically clear. The interior is shrunk and the edges
|
|
157
|
+
stretched outward.
|
|
158
|
+
- **Specular tracking.** The highlight band moves with the interaction rather than
|
|
159
|
+
spreading from it. Contact changes where the light is, not what the surface shape is.
|
|
160
|
+
- **Morphing.** The boundary itself changes shape. The lens follows the boundary, because
|
|
161
|
+
the lens *is* the boundary.
|
|
162
|
+
|
|
163
|
+
The practical difference: a ripple animates the middle of a surface, where the user is
|
|
164
|
+
reading. Edge lensing animates the rim, where nothing is. The optical model is stated in
|
|
165
|
+
`assets/shaders/manifest.json` under `opticalModel`, including the rejected approach, so
|
|
166
|
+
that a platform port inherits the reasoning and not just the result.
|
|
167
|
+
|
|
168
|
+
## The shader layer is an enhancement, never a requirement
|
|
169
|
+
|
|
170
|
+
WebGL2 shaders are attached only when WebGL2 is available, `prefers-reduced-motion` is not
|
|
171
|
+
set, and the surface is visible. The CSS approximation is the floor, and it is what the
|
|
172
|
+
committed visual baselines are captured against — with WebGL2 unavailable, every page must
|
|
173
|
+
render exactly those baselines. That is the gate that keeps the shader optional rather
|
|
174
|
+
than load-bearing.
|
|
175
|
+
|
|
176
|
+
Two implementation notes that cost real time to find:
|
|
177
|
+
|
|
178
|
+
**Blend mode.** `screen` and `overlay` are both no-ops on a white backdrop — `overlay`
|
|
179
|
+
resolves to `1 − 2(1−b)(1−s)`, which is 1 whenever b = 1. Only `hard-light` produces
|
|
180
|
+
visible output on both white and dark backdrops.
|
|
181
|
+
|
|
182
|
+
**Stacking.** The shader canvas sits at `z-index:-1` inside an `isolation:isolate`
|
|
183
|
+
container, so it paints behind the content rather than over it. Verified by proving label
|
|
184
|
+
glyphs are pixel-identical with the shader on and off.
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
## Ambient motion
|
|
188
|
+
|
|
189
|
+
**Deferred to a later version of Crystal.** Nothing in 2.0 moves at rest, and a surface
|
|
190
|
+
that animates on its own is not Crystal until a later version specifies how.
|
|
191
|
+
|
|
192
|
+
It was built and withdrawn rather than never attempted, and the reasoning is in the
|
|
193
|
+
request log rather than lost. Two findings will apply whenever it returns: a rest state
|
|
194
|
+
can fail by being too strong *or* too weak, so it needs a measured floor as well as a
|
|
195
|
+
ceiling; and its cost on the reference preview did not follow resolution, blend mode,
|
|
196
|
+
nesting or shader complexity, which means it was structural rather than a tuning problem.
|
|
197
|
+
|
|
198
|
+
Motion a person starts is unaffected, and so is the optical layer that runs during it.
|
|
199
|
+
|
|
200
|
+
## What triggers a recipe
|
|
201
|
+
|
|
202
|
+
A recipe that nothing triggers is a specification, not a behaviour. Crystal binds motion
|
|
203
|
+
to **state, not to clicks**:
|
|
204
|
+
|
|
205
|
+
| State change | Recipe |
|
|
206
|
+
| --- | --- |
|
|
207
|
+
| `checked` becomes true / false on a checkbox or radio | `check` / `check-off` |
|
|
208
|
+
| `checked` or `aria-checked` on a switch | `switch-on` / `switch-off` |
|
|
209
|
+
| A range commits a value | `slider-step`, on the linked `<output>` |
|
|
210
|
+
| A text field takes focus | `field-focus` |
|
|
211
|
+
| `aria-invalid` becomes true / returns to false | `field-invalid` / `field-valid` |
|
|
212
|
+
| `aria-expanded` flips on a control with `aria-controls` | `menu-in` / `menu-out` |
|
|
213
|
+
| A `<details>` opens or closes | `accordion-in` / `accordion-out` |
|
|
214
|
+
| A button is pressed or hovered | `press` / `hover` |
|
|
215
|
+
|
|
216
|
+
Binding to `pointerdown` instead of to the state would give a mouse user motion that a
|
|
217
|
+
keyboard user and a screen reader user never see. Binding to the state means every input
|
|
218
|
+
method produces the same motion, and a programmatic change produces it too.
|
|
219
|
+
|
|
220
|
+
Two guards matter in practice. A recipe never restarts itself while that same recipe is
|
|
221
|
+
already running on that element — restarting mid-flight is what makes a continuous control
|
|
222
|
+
feel choppy. And a page that drives a component itself marks that subtree
|
|
223
|
+
`data-cr-motion="manual"`, so the delegated wiring does not fire the same recipe twice.
|
|
224
|
+
|
|
225
|
+
`npm run verify:interactions` asserts all of this in a real browser against plain controls,
|
|
226
|
+
including that reduced motion still applies the state instantly.
|
|
227
|
+
|
|
228
|
+
|
|
229
|
+
## Recipe reference
|
|
230
|
+
|
|
231
|
+
<!-- generated:recipes -->
|
|
232
|
+
|
|
233
|
+
All 55 recipes in 9 categories, generated from `core/tokens/motion-recipes.json`. **Damping ratio** and
|
|
234
|
+
**overshoot** are derived from each recipe's spring by `core/assets/core/spring.js`, not
|
|
235
|
+
authored — so a spring that was retuned cannot leave a stale number behind in this table.
|
|
236
|
+
|
|
237
|
+
A damping ratio below 1 overshoots and settles back; exactly 1 is the fastest approach
|
|
238
|
+
with no overshoot; above 1 crawls in without ever passing the target. Which one is
|
|
239
|
+
correct is a material question, not a taste question — see the signature policy below.
|
|
240
|
+
|
|
241
|
+
#### Controls
|
|
242
|
+
|
|
243
|
+
| Recipe | Duration | Signature | Material | Damping ζ | Overshoot | Use | Reduced motion |
|
|
244
|
+
| --- | --- | --- | --- | --- | --- | --- | --- |
|
|
245
|
+
| `press` — Press and release | 320ms | pressure | resin | 0.660 | 6.3% | Buttons, icon buttons and segmented controls. Disabled controls never animate. | Apply the semantic state immediately; omit decorative movement. |
|
|
246
|
+
| `hover` — Light follows the surface | 700ms | caustic | resin | 0.900 | 0.2% | Fine-pointer affordance only; keyboard focus is immediate. | Apply the semantic state immediately; omit decorative movement. |
|
|
247
|
+
| `selection` — Selection settle | 420ms | meniscus | resin | 0.700 | 4.6% | Selected chips, radios, toggles and navigation; set selected semantics first. | Apply the semantic state immediately; omit decorative movement. |
|
|
248
|
+
| `switch-on` — Switch on | 460ms | coalesce | resin | 0.620 | 8.4% | Animate the thumb after its checked state is applied. | Apply the semantic state immediately; omit decorative movement. |
|
|
249
|
+
| `switch-off` — Switch off | 460ms | coalesce | resin | 0.620 | 8.4% | Animate the thumb after its unchecked state is applied. | Apply the semantic state immediately; omit decorative movement. |
|
|
250
|
+
| `check` — Checkmark confirmation | 340ms | iris | resin | 0.800 | 1.5% | Checkbox and radio indicators; retain a visible non-color state. | Apply the semantic state immediately; omit decorative movement. |
|
|
251
|
+
| `slider-step` — Value response | 400ms | feather | stone | 0.920 | none | Range outputs, steppers and scrubber labels; value updates immediately. | Apply the semantic state immediately; omit decorative movement. |
|
|
252
|
+
| `icon-turn` — Disclosure icon | 440ms | torsion | resin | 0.660 | 6.3% | Disclosure chevrons; parent expanded state is authoritative. | Apply the semantic state immediately; omit decorative movement. |
|
|
253
|
+
| `copy-confirm` — Copy confirmation | 540ms | coalesce | resin | 0.620 | 8.4% | Only after clipboard write succeeds; retain textual confirmation. | Apply the semantic state immediately; omit decorative movement. |
|
|
254
|
+
| `check-off` — Uncheck | 300ms | iris | plastic | 0.800 | 1.5% | Checkbox and radio indicators returning to unchecked. Paired with `check`; the iris closes toward the same point it opened from. | Apply the unchecked state immediately; omit the iris. |
|
|
255
|
+
|
|
256
|
+
#### Forms
|
|
257
|
+
|
|
258
|
+
| Recipe | Duration | Signature | Material | Damping ζ | Overshoot | Use | Reduced motion |
|
|
259
|
+
| --- | --- | --- | --- | --- | --- | --- | --- |
|
|
260
|
+
| `field-focus` — Field focus response | 600ms | caustic | resin | 0.900 | 0.2% | Supplementary focus response; never animate or delay the actual focus ring. | Apply the semantic state immediately; omit decorative movement. |
|
|
261
|
+
| `field-invalid` — Invalid field | 480ms | tension | resin | 0.700 | 4.6% | Single low-amplitude cue with persistent error text; never repeated shaking. | Apply the semantic state immediately; omit decorative movement. |
|
|
262
|
+
| `field-valid` — Valid field | 550ms | meniscus | resin | 0.700 | 4.6% | After real local validation; never imply a remote operation succeeded. | Apply the semantic state immediately; omit decorative movement. |
|
|
263
|
+
| `hint-in` — Help text reveal | 500ms | coalesce | resin | 0.620 | 8.4% | Inline help, character guidance and validation details. | Apply the semantic state immediately; omit decorative movement. |
|
|
264
|
+
| `hint-out` — Help text departure | 500ms | meniscus | resin | 0.700 | 4.6% | Hide the help only after completion; do not remove focused content. | Apply the semantic state immediately; omit decorative movement. |
|
|
265
|
+
|
|
266
|
+
#### Navigation
|
|
267
|
+
|
|
268
|
+
| Recipe | Duration | Signature | Material | Damping ζ | Overshoot | Use | Reduced motion |
|
|
269
|
+
| --- | --- | --- | --- | --- | --- | --- | --- |
|
|
270
|
+
| `tab-in` — Tab content arrival | 650ms | refraction | frost | 0.850 | 0.6% | Selected tab panels; apply aria-selected and hidden state synchronously. | Apply the semantic state immediately; omit decorative movement. |
|
|
271
|
+
| `page-in` — View arrival | 1050ms | inertia | plastic | 0.550 | 12.6% | New local view after routing is committed; preserve focus and history. | Apply the semantic state immediately; omit decorative movement. |
|
|
272
|
+
| `page-out` — View departure | 760ms | inertia | plastic | 0.550 | 12.6% | Departing view only; never postpone route authorization or loading. | Apply the semantic state immediately; omit decorative movement. |
|
|
273
|
+
| `breadcrumb` — Location update | 500ms | coalesce | resin | 0.620 | 8.4% | New breadcrumb item; current-page semantics stay explicit. | Apply the semantic state immediately; omit decorative movement. |
|
|
274
|
+
|
|
275
|
+
#### Overlays
|
|
276
|
+
|
|
277
|
+
| Recipe | Duration | Signature | Material | Damping ζ | Overshoot | Use | Reduced motion |
|
|
278
|
+
| --- | --- | --- | --- | --- | --- | --- | --- |
|
|
279
|
+
| `drawer-in` — Drawer arrival | 1000ms | refraction | frost | 0.850 | 0.6% | Side sheets and inspector panels; establish modality first. | Apply the semantic state immediately; omit decorative movement. |
|
|
280
|
+
| `drawer-out` — Drawer departure | 650ms | refraction | frost | 0.850 | 0.6% | Keep modal focus contained until dismissal completes. | Apply the semantic state immediately; omit decorative movement. |
|
|
281
|
+
| `menu-in` — Menu reveal | 620ms | coalesce | resin | 0.620 | 8.4% | Dropdowns, selects and command menus; keyboard behavior belongs to the component. | Apply the semantic state immediately; omit decorative movement. |
|
|
282
|
+
| `menu-out` — Menu dismissal | 380ms | meniscus | resin | 0.700 | 4.6% | Close menus and restore trigger focus when appropriate. | Apply the semantic state immediately; omit decorative movement. |
|
|
283
|
+
| `tooltip-in` — Tooltip arrival | 420ms | meniscus | resin | 0.700 | 4.6% | Noninteractive descriptions on focus or hover; Escape dismisses. | Apply the semantic state immediately; omit decorative movement. |
|
|
284
|
+
| `tooltip-out` — Tooltip departure | 420ms | meniscus | resin | 0.700 | 4.6% | Pointer and focus must both leave before hiding. | Apply the semantic state immediately; omit decorative movement. |
|
|
285
|
+
| `popover-in` — Popover arrival | 620ms | coalesce | resin | 0.620 | 8.4% | Nonmodal details with outside-click, Escape and focus handling. | Apply the semantic state immediately; omit decorative movement. |
|
|
286
|
+
| `popover-out` — Popover departure | 380ms | meniscus | resin | 0.700 | 4.6% | Dismiss nonmodal details without trapping focus. | Apply the semantic state immediately; omit decorative movement. |
|
|
287
|
+
|
|
288
|
+
#### Content
|
|
289
|
+
|
|
290
|
+
| Recipe | Duration | Signature | Material | Damping ζ | Overshoot | Use | Reduced motion |
|
|
291
|
+
| --- | --- | --- | --- | --- | --- | --- | --- |
|
|
292
|
+
| `accordion-in` — Disclosure reveal | 650ms | feather | haze | 0.920 | none | Animate visible content after expanding; no scripted height measurement needed. | Apply the semantic state immediately; omit decorative movement. |
|
|
293
|
+
| `accordion-out` — Disclosure close | 650ms | feather | haze | 0.920 | none | Hide content after completion; return focus first if a child has focus. | Apply the semantic state immediately; omit decorative movement. |
|
|
294
|
+
| `list-in` — Item insertion | 650ms | feather | haze | 0.920 | none | Real added messages, table rows, cards and collection items. | Apply the semantic state immediately; omit decorative movement. |
|
|
295
|
+
| `list-out` — Item removal | 440ms | feather | haze | 0.920 | none | Remove after completion; announce the actual change and keep focus valid. | Apply the semantic state immediately; omit decorative movement. |
|
|
296
|
+
| `reorder` — Reorder settle | 500ms | inertia | plastic | 0.550 | 12.6% | Supplement DOM reordering; use layout() for measured bounded displacement. | Apply the semantic state immediately; omit decorative movement. |
|
|
297
|
+
| `highlight` — Updated content | 500ms | feather | haze | 0.920 | none | A brief update cue paired with actual content or announcement. | Apply the semantic state immediately; omit decorative movement. |
|
|
298
|
+
| `message-in` — Message arrival | 650ms | feather | haze | 0.920 | none | Only on a new message; do not replay on virtualized history or steal scroll. | Apply the semantic state immediately; omit decorative movement. |
|
|
299
|
+
| `reaction` — Reaction response | 680ms | coalesce | resin | 0.620 | 8.4% | Toggle the real reaction state and count before the response. | Apply the semantic state immediately; omit decorative movement. |
|
|
300
|
+
|
|
301
|
+
#### Feedback
|
|
302
|
+
|
|
303
|
+
| Recipe | Duration | Signature | Material | Damping ζ | Overshoot | Use | Reduced motion |
|
|
304
|
+
| --- | --- | --- | --- | --- | --- | --- | --- |
|
|
305
|
+
| `toast-in` — Notification arrival | 650ms | coalesce | resin | 0.620 | 8.4% | Live status text with a persistent dismiss button. | Apply the semantic state immediately; omit decorative movement. |
|
|
306
|
+
| `toast-out` — Notification departure | 440ms | meniscus | resin | 0.700 | 4.6% | No timer required; manual dismissal preserves reading time. | Apply the semantic state immediately; omit decorative movement. |
|
|
307
|
+
| `success` — Success acknowledgement | 600ms | feather | stone | 0.920 | none | Use after a successful operation with text and a recognizable mark. | Apply the semantic state immediately; omit decorative movement. |
|
|
308
|
+
| `attention` — Attention cue | 500ms | feather | stone | 0.920 | none | Single finite cue for important text; never flash or loop. | Apply the semantic state immediately; omit decorative movement. |
|
|
309
|
+
| `progress-change` — Progress settle | 500ms | feather | stone | 0.920 | none | Actual progress is set first; this animation does not fabricate completion. | Apply the semantic state immediately; omit decorative movement. |
|
|
310
|
+
| `busy` — Finite busy cue | 680ms | feather | stone | 0.920 | none | One cycle for an actual pending operation; keep a static busy label if it lasts longer. | Apply the semantic state immediately; omit decorative movement. |
|
|
311
|
+
| `skeleton-resolve` — Loading content resolve | 650ms | feather | haze | 0.920 | none | Replace a skeleton only when real data arrives; no endless shimmer. | Apply the semantic state immediately; omit decorative movement. |
|
|
312
|
+
| `empty-in` — Empty-state reveal | 500ms | coalesce | resin | 0.620 | 8.4% | Shown only when the collection is actually empty. | Apply the semantic state immediately; omit decorative movement. |
|
|
313
|
+
|
|
314
|
+
#### Media
|
|
315
|
+
|
|
316
|
+
| Recipe | Duration | Signature | Material | Damping ζ | Overshoot | Use | Reduced motion |
|
|
317
|
+
| --- | --- | --- | --- | --- | --- | --- | --- |
|
|
318
|
+
| `media-in` — Media arrival | 900ms | refraction | frost | 0.850 | 0.6% | After an image decodes or media becomes ready; reserve layout space. | Apply the semantic state immediately; omit decorative movement. |
|
|
319
|
+
| `caption-in` — Caption reveal | 500ms | coalesce | resin | 0.620 | 8.4% | Optional descriptive caption; text remains accessible in reduced motion. | Apply the semantic state immediately; omit decorative movement. |
|
|
320
|
+
| `carousel-next` — Next item | 920ms | refraction | frost | 0.850 | 0.6% | Explicit next/previous navigation; never autoplay. | Apply the semantic state immediately; omit decorative movement. |
|
|
321
|
+
| `carousel-previous` — Previous item | 920ms | refraction | frost | 0.850 | 0.6% | Maintain item count and keyboard navigation. | Apply the semantic state immediately; omit decorative movement. |
|
|
322
|
+
|
|
323
|
+
#### Manipulation
|
|
324
|
+
|
|
325
|
+
| Recipe | Duration | Signature | Material | Damping ζ | Overshoot | Use | Reduced motion |
|
|
326
|
+
| --- | --- | --- | --- | --- | --- | --- | --- |
|
|
327
|
+
| `drag-pickup` — Lift to move | 500ms | tension | resin | 0.700 | 4.6% | Visual lift for a selected movable item; keyboard alternative required. | Apply the semantic state immediately; omit decorative movement. |
|
|
328
|
+
| `drag-settle` — Drop settle | 640ms | coalesce | resin | 0.620 | 8.4% | After a valid local move, with undo where data changes. | Apply the semantic state immediately; omit decorative movement. |
|
|
329
|
+
| `resize-settle` — Resize settle | 600ms | refraction | frost | 0.850 | 0.6% | After measured layout size changes; never animate focus or hide handles. | Apply the semantic state immediately; omit decorative movement. |
|
|
330
|
+
|
|
331
|
+
#### Material compositions
|
|
332
|
+
|
|
333
|
+
| Recipe | Duration | Signature | Material | Damping ζ | Overshoot | Use | Reduced motion |
|
|
334
|
+
| --- | --- | --- | --- | --- | --- | --- | --- |
|
|
335
|
+
| `resin-confluence` — Resin confluence | 1600ms | coalesce | resin | 0.620 | 8.4% | Explicit material choreography for a large specimen; replay is a visual study, not an application action. | Keep the resting material visible; omit choreography. |
|
|
336
|
+
| `frost-unfold` — Frost unfolds into depth | 1900ms | refraction | frost | 0.850 | 0.6% | Explicit material choreography for a large specimen; replay is a visual study, not an application action. | Keep the resting material visible; omit choreography. |
|
|
337
|
+
| `plastic-settle` — Plastic settles into place | 1700ms | inertia | plastic | 0.550 | 12.6% | Explicit material choreography for a large specimen; replay is a visual study, not an application action. | Keep the resting material visible; omit choreography. |
|
|
338
|
+
| `haze-tide` — Haze perimeter tide | 1800ms | feather | haze | 0.920 | none | Explicit material choreography for a large specimen; replay is a visual study, not an application action. | Keep the resting material visible; omit choreography. |
|
|
339
|
+
| `stone-contour` — Stone contour ripple | 1300ms | feather | stone | 0.920 | none | Explicit material choreography for a large specimen; replay is a visual study, not an application action. | Keep the resting material visible; omit choreography. |
|
|
340
|
+
|
|
341
|
+
**Spring policy.** Every recipe carries a spring fitted to its authored duration, which remains the authority. Damping ratio is chosen by signature: inertia and coalesce overshoot because momentum is their material claim, feather and caustic do not because a soft edge that bounces is wrong. Disabling springs must reproduce the keyframes exactly.
|
|
342
|
+
|
|
343
|
+
**Travel policy.** 5–30px ordinary, 50px guidance; justified large transitions may exceed it. Haze and Stone paint moves locally while text stays fixed.
|
|
344
|
+
|
|
345
|
+
**Incompressibility.** Deformations conserve volume: every scale(sx, sy) satisfies sx*sy = 1 within 0.005. Corrected by dividing both axes by the square root of the area, which preserves each deformation's aspect ratio exactly and removes only the compressibility error. Enforced by tools/validate-motion.cjs.
|
|
346
|
+
|
|
347
|
+
<!-- /generated:recipes -->
|
|
348
|
+
|
|
349
|
+
## The shader contract
|
|
350
|
+
|
|
351
|
+
<!-- generated:shaders -->
|
|
352
|
+
|
|
353
|
+
Generated from `core/assets/shaders/manifest.json` (version 2.0.0).
|
|
354
|
+
|
|
355
|
+
**The contract is the uniform set, not the GLSL.** A platform that honours these
|
|
356
|
+
uniforms has implemented Crystal's shader layer correctly, whether it does so in
|
|
357
|
+
GLSL, Metal or AGSL. The `.frag` files in this repository are one implementation.
|
|
358
|
+
|
|
359
|
+
### Uniforms
|
|
360
|
+
|
|
361
|
+
| Uniform | Type | Meaning |
|
|
362
|
+
| --- | --- | --- |
|
|
363
|
+
| `u_time` | float | Seconds since the effect began, already divided by the user motion-speed factor. |
|
|
364
|
+
| `u_resolution` | vec2 | Canvas size, for aspect-correct sampling. |
|
|
365
|
+
| `u_progress` | float | Spring displacement from the headless core, not a linear ramp. This is what ties the optical layer to the same physics as the geometry. |
|
|
366
|
+
| `u_pressure` | float | Interaction intensity. 0 at rest; 1 at full press or drag. |
|
|
367
|
+
| `u_contact` | vec2 | Normalised contact point, the origin of a disturbance. Defaults to the centre. |
|
|
368
|
+
| `u_tint` | vec3 | Resolved material tint in linear sRGB, taken from the palette so shaders never introduce colour of their own. |
|
|
369
|
+
| `u_intensity` | float | Global attenuation. Products lower it; reduced transparency drives it to 0. |
|
|
370
|
+
|
|
371
|
+
### Shaders
|
|
372
|
+
|
|
373
|
+
#### `resin-refraction`
|
|
374
|
+
|
|
375
|
+
- **Material** — resin
|
|
376
|
+
- **Signatures** — refraction, meniscus, tension
|
|
377
|
+
- **Blend mode** — `hard-light`
|
|
378
|
+
- **Degrades to** — The existing CSS travelling-light sweep.
|
|
379
|
+
|
|
380
|
+
Resin bends and disperses light at its rim. A signed-distance field gives the lens profile; the lighting response is a specular band that tracks the direction of travel, a defined bright edge, and chromatic separation where the lens is steepest. The interior stays clear so content remains readable through the material.
|
|
381
|
+
|
|
382
|
+
#### `resin-caustics`
|
|
383
|
+
|
|
384
|
+
- **Material** — resin
|
|
385
|
+
- **Signatures** — caustic
|
|
386
|
+
- **Blend mode** — `screen`
|
|
387
|
+
- **Degrades to** — A static highlight at the resting opacity.
|
|
388
|
+
|
|
389
|
+
Light focused by a curved surface concentrates into bright curves. The curvature here is at the rim, so the caustics fall as sparse arcs along the boundary. Read from the same height field as the refraction shader, so the two agree by construction rather than by tuning.
|
|
390
|
+
|
|
391
|
+
#### `frost-displacement`
|
|
392
|
+
|
|
393
|
+
- **Material** — frost
|
|
394
|
+
- **Signatures** — feather, refraction
|
|
395
|
+
- **Blend mode** — `hard-light`
|
|
396
|
+
- **Degrades to** — The existing backdrop-filter blur and grain, unchanged.
|
|
397
|
+
|
|
398
|
+
Frost refracts colour, not shape. At 40px of diffusion nothing sharp survives the material, so the three channels sample the same field at slightly separated points and resolve into a slow warm-to-cool wander across the surface rather than a visible fringe. Resin, at 20px, keeps detail and disperses sharply at its rim instead: the diffusion radius decides which behaviour is correct, not taste. Turning Resin down does not produce Frost, it produces weak Resin.
|
|
399
|
+
|
|
400
|
+
#### `mirage-flow`
|
|
401
|
+
|
|
402
|
+
- **Material** — mirage
|
|
403
|
+
- **Signatures** — iris
|
|
404
|
+
- **Blend mode** — `screen`
|
|
405
|
+
- **Degrades to** — The existing clip-path ellipse reveal.
|
|
406
|
+
|
|
407
|
+
Mirage washes across a scene as a curved front. A flow field advects the front so its edge is organic rather than a geometric ellipse.
|
|
408
|
+
|
|
409
|
+
### Compositing
|
|
410
|
+
|
|
411
|
+
**element** — A transparent canvas positioned over the surface, never in the content flow.
|
|
412
|
+
|
|
413
|
+
**blend** — mix-blend-mode as declared per shader; the canvas carries no opaque pixels.
|
|
414
|
+
|
|
415
|
+
**note** — A web shader cannot sample the page behind it, so refraction is rendered as the lighting response to a computed surface normal rather than by displacing a backdrop. The eye reads normals and specular as refraction, and the technique degrades to nothing rather than to something wrong.
|
|
416
|
+
|
|
417
|
+
### The optical model
|
|
418
|
+
|
|
419
|
+
**basis** — Edge lensing, not surface waves.
|
|
420
|
+
|
|
421
|
+
**rationale** — Refraction is concentrated in a band just inside the boundary and falls off steeply, leaving the centre of a surface optically clear. This follows how contemporary glass interfaces behave: the interior is shrunk and the edges stretched outward, which is a displacement concentrated at the rim rather than a wave crossing the surface. A defined, light-catching edge is what separates glass from frosted plastic.
|
|
422
|
+
|
|
423
|
+
**rejected** — An earlier implementation radiated concentric ripples from the contact point. That is what water does when something is dropped into it, and it read as a pond rather than as a solid transparent material. Meridian rejected it on sight and they were right: glass does not oscillate, it bends light where it curves.
|
|
424
|
+
|
|
425
|
+
**specular** — The highlight tracks the direction of travel rather than sitting still. On a handset the reference for this is the gyroscope; on the web it is the motion's own direction, taken from the contact point. A highlight that does not move with the object reads as a painted-on gradient.
|
|
426
|
+
|
|
427
|
+
**morphing** — Shape-shifting between states is geometry, not optics, and is carried by the spring recipes: the coalesce and meniscus signatures describe surfaces merging and separating. The optical layer lights whatever shape the geometry produces.
|
|
428
|
+
|
|
429
|
+
### Platform mapping
|
|
430
|
+
|
|
431
|
+
| Platform | Shading language |
|
|
432
|
+
| --- | --- |
|
|
433
|
+
| web | GLSL ES 3.00 fragment shaders on WebGL2, as authored here. |
|
|
434
|
+
| apple | Metal Shading Language. Port mechanically; uniforms become a single constant buffer in the declared order. |
|
|
435
|
+
| android | AGSL via RuntimeShader. Uniforms map one to one; AGSL is GLSL-derived and the bodies transfer with signature changes only. |
|
|
436
|
+
| note | A platform that cannot meet the contract must degrade as declared per shader rather than approximate it differently, because a divergent approximation is worse for parity than an honest absence. |
|
|
437
|
+
|
|
438
|
+
<!-- /generated:shaders -->
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
# Crystal: a shared visual language
|
|
2
|
+
|
|
3
|
+
Crystal 2.0 is Meridian Digital's reusable design system, built out from the approved `crystal-03-balanced` design. It retains the material hierarchy and recognizable silhouettes while allowing stronger product color identities. The original proposal and application that design came from are not modified by this system.
|
|
4
|
+
|
|
5
|
+
## Governing hierarchy
|
|
6
|
+
|
|
7
|
+
**Plastic → Frost → Resin, from back to front, is Crystal’s defining invariant.** The user explicitly reaffirmed this priority on September 17, 2026. Product colors and layouts may vary; the hierarchy must remain recognizable. Plastic grounds the window, Frost forms the intermediate material layer, and Resin floats above it for functional controls. Haze reading wells live within the hierarchy for legibility; they are not a replacement theme or a competing fourth material identity.
|
|
8
|
+
|
|
9
|
+
Crystal names six materials: **Plastic, Frost, Resin, Haze, Stone, Mirage**. Haze fills reading surfaces; Stone protects labels within controls; Mirage separates modal decisions. The first three establish the main spatial hierarchy.
|
|
10
|
+
|
|
11
|
+
## Shared identity, product freedom
|
|
12
|
+
|
|
13
|
+
| Shared across products | A product may vary |
|
|
14
|
+
|---|---|
|
|
15
|
+
| Opaque colored foundation, 80% reading fills with feathered edges, selective Frost support, floating Resin controls | Curated brand palette, editorial imagery, name and product mark |
|
|
16
|
+
| Typography rhythm, focus behavior, semantic statuses, accessible interaction contracts | Navigation destinations, task density and information architecture |
|
|
17
|
+
| Paired shadows, defined contours, radius relationships and restrained highlights | Atmosphere intensity and depth within the documented ranges |
|
|
18
|
+
| Clear ownership/direction expressed through an optional asymmetric corner | Whether a product needs messages, a dock, or any particular component |
|
|
19
|
+
|
|
20
|
+
Visual continuity does not require every product to look like a messenger. Preserve the relationships between surfaces; adapt the components to the work. A data-intensive product can use flatter rows inside a lifted Haze panel. A media product can expose richer artwork around protected controls. Avoid copying one product's feature requirements into unrelated products.
|
|
21
|
+
|
|
22
|
+
## Foundation rules
|
|
23
|
+
|
|
24
|
+
1. The content is the most readable thing in the scene. Keep text itself opaque and crisp; content fills use 80% opacity with a feathered perimeter outside the reading area.
|
|
25
|
+
2. Use color in the atmosphere, selected surfaces and artwork. Do not cover every surface with the same accent fill.
|
|
26
|
+
3. Elevation describes a relationship: content above foundation, support above content, functional controls above the task, modal decisions above everything.
|
|
27
|
+
4. Put optical detail around the task: a defined rim, slight grain and a narrow highlight. Do not blur or texture every line of text.
|
|
28
|
+
5. Every meaningful state is recognizable without perceiving hue.
|
|
29
|
+
6. A fallback keeps the geometry and hierarchy. Reduced effects must not feel like a different product.
|
|
30
|
+
|
|
31
|
+
## Typography and reading
|
|
32
|
+
|
|
33
|
+
Manrope is the shared default, bundled locally under its accompanying SIL Open Font License. System UI is an intentional alternative for platform integration. Do not fetch font services just to render the system.
|
|
34
|
+
|
|
35
|
+
| Role | Size / line height | Weight | Use |
|
|
36
|
+
|---|---|---|---|
|
|
37
|
+
| Display | 36–50px / 1.08–1.2 | 750 | Product or section introduction; responsive |
|
|
38
|
+
| Page title | 28–32px / 1.2 | 750 | Primary task context |
|
|
39
|
+
| Section | 20–24px / 1.25 | 700 | Local hierarchy |
|
|
40
|
+
| Reading | 16px / 24px | 400–500 | Messages, documents, sustained reading |
|
|
41
|
+
| Control | 14–16px / 1.3–1.5 | 650–750 | Primary application controls |
|
|
42
|
+
| Supporting | 12–14px / 1.5–1.7 | 500–650 | Metadata and short labels, never a replacement for reading type |
|
|
43
|
+
|
|
44
|
+
Respect user scaling. Do not cap text zoom or hide overflow to conceal clipped labels. Aim for 45–75 characters per line for sustained prose. Compact density reduces spacing, not reading size.
|
|
45
|
+
|
|
46
|
+
## Geometry, spacing and responsive layout
|
|
47
|
+
|
|
48
|
+
Use a 4px base rhythm with 8, 12, 16, 20, 24, 32 and 48px spacing. The default content radius is 28px, adjustable between 14 and 28px. Supporting panels use content radius + 6px; input wells use content radius − 7px. Person avatars stay circular.
|
|
49
|
+
|
|
50
|
+
**Actions are fully rounded.** Every action control — primary, secondary, quiet and compact buttons, segmented options, dock destinations and navigation pills — uses a pill radius (`999px`) independent of the content-radius control, so the radius slider never turns an action into a rectangle. Card-shaped buttons are the deliberate exception: a button whose content is a layout with artwork (specimen cards, palette cards, library items) keeps the content radius so its artwork is not clipped into a lozenge. The distinction is behavioral, not tag-based — it depends on whether the control reads as an action or as a card.
|
|
51
|
+
|
|
52
|
+
An authored bubble uses 6 / R / R / R corners. A counterpart uses R / 6 / R / R; mirror the direction for RTL. Do not use asymmetric corners indiscriminately on controls.
|
|
53
|
+
|
|
54
|
+
The playground moves its inspector below the canvas under 850px and stacks components under 600px. These are demonstration breakpoints, not universal product breakpoints. Product layouts should adapt to content and input modality, preserving navigation and avoiding horizontal page scroll at 320 CSS pixels.
|
|
55
|
+
|
|
56
|
+
## Icons and motion
|
|
57
|
+
|
|
58
|
+
Use a coherent 24px icon grid, approximately 1.8px rounded strokes, visible labels for primary destinations, and accessible names for icon-only actions. The included SVGs are original simple line drawings. Do not rely on emoji as the only status or control vocabulary.
|
|
59
|
+
|
|
60
|
+
Press feedback is 120ms, state feedback 213.33ms, compact spatial entrances 293.33ms and exits 160ms. Expressive material journeys use 1000–1400ms, 5–30px ordinary travel (50px compact guidance; larger spatial compositions may exceed it), in-place Haze/Stone movement and 650ms departures. A saved user speed factor scales motion, with a five-second ceiling and immediate reduced-motion states. The [motion specification](motion.html) defines all six material signatures, easing, interruption and live examples. Use motion in response to user action; no continuous decorative motion is required. Reduced motion removes spatial effects while retaining immediate state feedback.
|
|
61
|
+
|
|
62
|
+
## System boundaries
|
|
63
|
+
|
|
64
|
+
This package implements a static reference site, theme resolver/exporter, CSS primitives and local preview interactions. It does not implement a complete component framework, production authentication, backend services, a native renderer or all application accessibility behavior. See [component scope](components.html) and [adoption](adoption.html).
|
|
65
|
+
|
|
66
|
+
The compact CSS timing tokens remain available for small state changes. The material-driven Resin press recipe uses 320ms for a complete compression/recovery sequence; hover light uses 700ms. These visual clocks never delay the actual action. The executable catalog lists the current duration of every recipe.
|