@oneonefour/rkui 0.0.0-stage → 0.0.3
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/LICENSE +21 -0
- package/README.md +67 -2
- package/THIRD_PARTY_NOTICES.md +60 -0
- package/astro/index.d.ts +14 -0
- package/astro/index.js +153 -0
- package/dist/colors.d.ts +74 -0
- package/dist/colors.js +263 -0
- package/dist/fonts/jetbrains-mono/OFL.txt +93 -0
- package/dist/fonts/jetbrains-mono/jetbrains-mono-greek.woff2 +0 -0
- package/dist/fonts/jetbrains-mono/jetbrains-mono-italic-greek.woff2 +0 -0
- package/dist/fonts/jetbrains-mono/jetbrains-mono-italic-latin.woff2 +0 -0
- package/dist/fonts/jetbrains-mono/jetbrains-mono-italic-symbols.woff2 +0 -0
- package/dist/fonts/jetbrains-mono/jetbrains-mono-latin.woff2 +0 -0
- package/dist/fonts/jetbrains-mono/jetbrains-mono-symbols.woff2 +0 -0
- package/dist/fonts/roboto-slab/LICENSE.txt +202 -0
- package/dist/fonts/roboto-slab/roboto-slab-greek.woff2 +0 -0
- package/dist/fonts/roboto-slab/roboto-slab-latin.woff2 +0 -0
- package/dist/fonts/roboto-slab/roboto-slab-symbols.woff2 +0 -0
- package/dist/fonts/xmind/OFL.txt +93 -0
- package/dist/fonts/xmind/xmind-greek.woff2 +0 -0
- package/dist/fonts/xmind/xmind-italic-greek.woff2 +0 -0
- package/dist/fonts/xmind/xmind-italic-latin.woff2 +0 -0
- package/dist/fonts/xmind/xmind-italic-symbols.woff2 +0 -0
- package/dist/fonts/xmind/xmind-latin.woff2 +0 -0
- package/dist/fonts/xmind/xmind-symbols.woff2 +0 -0
- package/dist/icons/LICENSE-phosphor.txt +21 -0
- package/dist/icons/LICENSE-tabler.txt +21 -0
- package/dist/icons/acorn.svg +1 -0
- package/dist/icons/acorn.vue +1 -0
- package/dist/icons/air-traffic-control.svg +1 -0
- package/dist/icons/air-traffic-control.vue +1 -0
- package/dist/icons/airplane-in-flight.svg +1 -0
- package/dist/icons/airplane-in-flight.vue +1 -0
- package/dist/icons/airplane-landing.svg +1 -0
- package/dist/icons/airplane-landing.vue +1 -0
- package/dist/icons/airplane-takeoff.svg +1 -0
- package/dist/icons/airplane-takeoff.vue +1 -0
- package/dist/icons/airplane-taxiing.svg +1 -0
- package/dist/icons/airplane-taxiing.vue +1 -0
- package/dist/icons/airplane-tilt.svg +1 -0
- package/dist/icons/airplane-tilt.vue +1 -0
- package/dist/icons/airplane.svg +1 -0
- package/dist/icons/airplane.vue +1 -0
- package/dist/icons/ambulance.svg +1 -0
- package/dist/icons/ambulance.vue +1 -0
- package/dist/icons/anchor-simple.svg +1 -0
- package/dist/icons/anchor-simple.vue +1 -0
- package/dist/icons/anchor.svg +1 -0
- package/dist/icons/anchor.vue +1 -0
- package/dist/icons/angle.svg +1 -0
- package/dist/icons/angle.vue +1 -0
- package/dist/icons/aperture.svg +1 -0
- package/dist/icons/aperture.vue +1 -0
- package/dist/icons/app-window.svg +1 -0
- package/dist/icons/app-window.vue +1 -0
- package/dist/icons/approximate-equals.svg +1 -0
- package/dist/icons/approximate-equals.vue +1 -0
- package/dist/icons/arrow-counter-clockwise.svg +1 -0
- package/dist/icons/arrow-counter-clockwise.vue +1 -0
- package/dist/icons/arrow-left.svg +1 -0
- package/dist/icons/arrow-left.vue +1 -0
- package/dist/icons/arrow-right.svg +1 -0
- package/dist/icons/arrow-right.vue +1 -0
- package/dist/icons/arrow-square-out.svg +1 -0
- package/dist/icons/arrow-square-out.vue +1 -0
- package/dist/icons/arrow-up.svg +1 -0
- package/dist/icons/arrow-up.vue +1 -0
- package/dist/icons/arrows-out.svg +1 -0
- package/dist/icons/arrows-out.vue +1 -0
- package/dist/icons/atom.svg +1 -0
- package/dist/icons/atom.vue +1 -0
- package/dist/icons/bank.svg +1 -0
- package/dist/icons/bank.vue +1 -0
- package/dist/icons/barn.svg +1 -0
- package/dist/icons/barn.vue +1 -0
- package/dist/icons/barricade.svg +1 -0
- package/dist/icons/barricade.vue +1 -0
- package/dist/icons/battery-charging.svg +1 -0
- package/dist/icons/battery-charging.vue +1 -0
- package/dist/icons/bezier-curve.svg +1 -0
- package/dist/icons/bezier-curve.vue +1 -0
- package/dist/icons/bicycle.svg +1 -0
- package/dist/icons/bicycle.vue +1 -0
- package/dist/icons/binary.svg +1 -0
- package/dist/icons/binary.vue +1 -0
- package/dist/icons/binoculars.svg +1 -0
- package/dist/icons/binoculars.vue +1 -0
- package/dist/icons/biohazard.svg +1 -0
- package/dist/icons/biohazard.vue +1 -0
- package/dist/icons/bird.svg +1 -0
- package/dist/icons/bird.vue +1 -0
- package/dist/icons/blueprint.svg +1 -0
- package/dist/icons/blueprint.vue +1 -0
- package/dist/icons/boat.svg +1 -0
- package/dist/icons/boat.vue +1 -0
- package/dist/icons/book-open-text.svg +1 -0
- package/dist/icons/book-open-text.vue +1 -0
- package/dist/icons/bounding-box.svg +1 -0
- package/dist/icons/bounding-box.vue +1 -0
- package/dist/icons/brackets-angle.svg +1 -0
- package/dist/icons/brackets-angle.vue +1 -0
- package/dist/icons/brackets-curly.svg +1 -0
- package/dist/icons/brackets-curly.vue +1 -0
- package/dist/icons/brackets-round.svg +1 -0
- package/dist/icons/brackets-round.vue +1 -0
- package/dist/icons/brackets-square.svg +1 -0
- package/dist/icons/brackets-square.vue +1 -0
- package/dist/icons/brain.svg +1 -0
- package/dist/icons/brain.vue +1 -0
- package/dist/icons/bridge.svg +1 -0
- package/dist/icons/bridge.vue +1 -0
- package/dist/icons/briefcase.svg +1 -0
- package/dist/icons/briefcase.vue +1 -0
- package/dist/icons/browser.svg +1 -0
- package/dist/icons/browser.vue +1 -0
- package/dist/icons/bug-beetle.svg +1 -0
- package/dist/icons/bug-beetle.vue +1 -0
- package/dist/icons/bug.svg +1 -0
- package/dist/icons/bug.vue +1 -0
- package/dist/icons/building-apartment.svg +1 -0
- package/dist/icons/building-apartment.vue +1 -0
- package/dist/icons/building-office.svg +1 -0
- package/dist/icons/building-office.vue +1 -0
- package/dist/icons/building.svg +1 -0
- package/dist/icons/building.vue +1 -0
- package/dist/icons/buildings.svg +1 -0
- package/dist/icons/buildings.vue +1 -0
- package/dist/icons/bulldozer.svg +1 -0
- package/dist/icons/bulldozer.vue +1 -0
- package/dist/icons/bus.svg +1 -0
- package/dist/icons/bus.vue +1 -0
- package/dist/icons/butterfly.svg +1 -0
- package/dist/icons/butterfly.vue +1 -0
- package/dist/icons/cable-car.svg +1 -0
- package/dist/icons/cable-car.vue +1 -0
- package/dist/icons/cactus.svg +1 -0
- package/dist/icons/cactus.vue +1 -0
- package/dist/icons/calculator.svg +1 -0
- package/dist/icons/calculator.vue +1 -0
- package/dist/icons/calendar-blank.svg +1 -0
- package/dist/icons/calendar-blank.vue +1 -0
- package/dist/icons/camera.svg +1 -0
- package/dist/icons/camera.vue +1 -0
- package/dist/icons/campfire.svg +1 -0
- package/dist/icons/campfire.vue +1 -0
- package/dist/icons/car-battery.svg +1 -0
- package/dist/icons/car-battery.vue +1 -0
- package/dist/icons/car-profile.svg +1 -0
- package/dist/icons/car-profile.vue +1 -0
- package/dist/icons/car-simple.svg +1 -0
- package/dist/icons/car-simple.vue +1 -0
- package/dist/icons/car.svg +1 -0
- package/dist/icons/car.vue +1 -0
- package/dist/icons/caret-down.svg +1 -0
- package/dist/icons/caret-down.vue +1 -0
- package/dist/icons/caret-left.svg +1 -0
- package/dist/icons/caret-left.vue +1 -0
- package/dist/icons/caret-right.svg +1 -0
- package/dist/icons/caret-right.vue +1 -0
- package/dist/icons/caret-up.svg +1 -0
- package/dist/icons/caret-up.vue +1 -0
- package/dist/icons/cell-tower.svg +1 -0
- package/dist/icons/cell-tower.vue +1 -0
- package/dist/icons/chalkboard-teacher.svg +1 -0
- package/dist/icons/chalkboard-teacher.vue +1 -0
- package/dist/icons/charging-station.svg +1 -0
- package/dist/icons/charging-station.vue +1 -0
- package/dist/icons/chart-bar-horizontal.svg +1 -0
- package/dist/icons/chart-bar-horizontal.vue +1 -0
- package/dist/icons/chart-bar.svg +1 -0
- package/dist/icons/chart-bar.vue +1 -0
- package/dist/icons/chart-donut.svg +1 -0
- package/dist/icons/chart-donut.vue +1 -0
- package/dist/icons/chart-line-down.svg +1 -0
- package/dist/icons/chart-line-down.vue +1 -0
- package/dist/icons/chart-line-up.svg +1 -0
- package/dist/icons/chart-line-up.vue +1 -0
- package/dist/icons/chart-line.svg +1 -0
- package/dist/icons/chart-line.vue +1 -0
- package/dist/icons/chart-pie-slice.svg +1 -0
- package/dist/icons/chart-pie-slice.vue +1 -0
- package/dist/icons/chart-pie.svg +1 -0
- package/dist/icons/chart-pie.vue +1 -0
- package/dist/icons/chart-polar.svg +1 -0
- package/dist/icons/chart-polar.vue +1 -0
- package/dist/icons/chart-scatter.svg +1 -0
- package/dist/icons/chart-scatter.vue +1 -0
- package/dist/icons/check-circle.svg +1 -0
- package/dist/icons/check-circle.vue +1 -0
- package/dist/icons/check.svg +1 -0
- package/dist/icons/check.vue +1 -0
- package/dist/icons/circle-half.svg +1 -0
- package/dist/icons/circle-half.vue +1 -0
- package/dist/icons/circle-notch.svg +1 -0
- package/dist/icons/circle-notch.vue +1 -0
- package/dist/icons/circuitry.svg +1 -0
- package/dist/icons/circuitry.vue +1 -0
- package/dist/icons/city.svg +1 -0
- package/dist/icons/city.vue +1 -0
- package/dist/icons/clock.svg +1 -0
- package/dist/icons/clock.vue +1 -0
- package/dist/icons/closed-captioning.svg +1 -0
- package/dist/icons/closed-captioning.vue +1 -0
- package/dist/icons/cloud-arrow-down.svg +1 -0
- package/dist/icons/cloud-arrow-down.vue +1 -0
- package/dist/icons/cloud-arrow-up.svg +1 -0
- package/dist/icons/cloud-arrow-up.vue +1 -0
- package/dist/icons/cloud-check.svg +1 -0
- package/dist/icons/cloud-check.vue +1 -0
- package/dist/icons/cloud-fog.svg +1 -0
- package/dist/icons/cloud-fog.vue +1 -0
- package/dist/icons/cloud-lightning.svg +1 -0
- package/dist/icons/cloud-lightning.vue +1 -0
- package/dist/icons/cloud-moon.svg +1 -0
- package/dist/icons/cloud-moon.vue +1 -0
- package/dist/icons/cloud-rain.svg +1 -0
- package/dist/icons/cloud-rain.vue +1 -0
- package/dist/icons/cloud-slash.svg +1 -0
- package/dist/icons/cloud-slash.vue +1 -0
- package/dist/icons/cloud-snow.svg +1 -0
- package/dist/icons/cloud-snow.vue +1 -0
- package/dist/icons/cloud-sun.svg +1 -0
- package/dist/icons/cloud-sun.vue +1 -0
- package/dist/icons/cloud-warning.svg +1 -0
- package/dist/icons/cloud-warning.vue +1 -0
- package/dist/icons/cloud-x.svg +1 -0
- package/dist/icons/cloud-x.vue +1 -0
- package/dist/icons/cloud.svg +1 -0
- package/dist/icons/cloud.vue +1 -0
- package/dist/icons/clover.svg +1 -0
- package/dist/icons/clover.vue +1 -0
- package/dist/icons/code-block.svg +1 -0
- package/dist/icons/code-block.vue +1 -0
- package/dist/icons/code-simple.svg +1 -0
- package/dist/icons/code-simple.vue +1 -0
- package/dist/icons/code.svg +1 -0
- package/dist/icons/code.vue +1 -0
- package/dist/icons/columns.svg +1 -0
- package/dist/icons/columns.vue +1 -0
- package/dist/icons/command.svg +1 -0
- package/dist/icons/command.vue +1 -0
- package/dist/icons/compass-rose.svg +1 -0
- package/dist/icons/compass-rose.vue +1 -0
- package/dist/icons/compass-tool.svg +1 -0
- package/dist/icons/compass-tool.vue +1 -0
- package/dist/icons/compass.svg +1 -0
- package/dist/icons/compass.vue +1 -0
- package/dist/icons/computer-tower.svg +1 -0
- package/dist/icons/computer-tower.vue +1 -0
- package/dist/icons/copy.svg +1 -0
- package/dist/icons/copy.vue +1 -0
- package/dist/icons/cow.svg +1 -0
- package/dist/icons/cow.vue +1 -0
- package/dist/icons/cpu.svg +1 -0
- package/dist/icons/cpu.vue +1 -0
- package/dist/icons/crane-tower.svg +1 -0
- package/dist/icons/crane-tower.vue +1 -0
- package/dist/icons/crane.svg +1 -0
- package/dist/icons/crane.vue +1 -0
- package/dist/icons/cube-focus.svg +1 -0
- package/dist/icons/cube-focus.vue +1 -0
- package/dist/icons/cube-transparent.svg +1 -0
- package/dist/icons/cube-transparent.vue +1 -0
- package/dist/icons/cube.svg +1 -0
- package/dist/icons/cube.vue +1 -0
- package/dist/icons/cylinder.svg +1 -0
- package/dist/icons/cylinder.vue +1 -0
- package/dist/icons/database.svg +1 -0
- package/dist/icons/database.vue +1 -0
- package/dist/icons/desktop-tower.svg +1 -0
- package/dist/icons/desktop-tower.vue +1 -0
- package/dist/icons/desktop.svg +1 -0
- package/dist/icons/desktop.vue +1 -0
- package/dist/icons/dice-five.svg +1 -0
- package/dist/icons/dice-five.vue +1 -0
- package/dist/icons/divide.svg +1 -0
- package/dist/icons/divide.vue +1 -0
- package/dist/icons/dna.svg +1 -0
- package/dist/icons/dna.vue +1 -0
- package/dist/icons/download-simple.svg +1 -0
- package/dist/icons/download-simple.vue +1 -0
- package/dist/icons/drone.svg +1 -0
- package/dist/icons/drone.vue +1 -0
- package/dist/icons/drop-half-bottom.svg +1 -0
- package/dist/icons/drop-half-bottom.vue +1 -0
- package/dist/icons/drop-half.svg +1 -0
- package/dist/icons/drop-half.vue +1 -0
- package/dist/icons/drop-simple.svg +1 -0
- package/dist/icons/drop-simple.vue +1 -0
- package/dist/icons/drop-slash.svg +1 -0
- package/dist/icons/drop-slash.vue +1 -0
- package/dist/icons/drop.svg +1 -0
- package/dist/icons/drop.vue +1 -0
- package/dist/icons/engine.svg +1 -0
- package/dist/icons/engine.vue +1 -0
- package/dist/icons/envelope-simple.svg +1 -0
- package/dist/icons/envelope-simple.vue +1 -0
- package/dist/icons/equals.svg +1 -0
- package/dist/icons/equals.vue +1 -0
- package/dist/icons/eye-slash.svg +1 -0
- package/dist/icons/eye-slash.vue +1 -0
- package/dist/icons/eye.svg +1 -0
- package/dist/icons/eye.vue +1 -0
- package/dist/icons/face-mask.svg +1 -0
- package/dist/icons/face-mask.vue +1 -0
- package/dist/icons/factory.svg +1 -0
- package/dist/icons/factory.vue +1 -0
- package/dist/icons/farm.svg +1 -0
- package/dist/icons/farm.vue +1 -0
- package/dist/icons/file-archive.svg +1 -0
- package/dist/icons/file-archive.vue +1 -0
- package/dist/icons/file-arrow-down.svg +1 -0
- package/dist/icons/file-arrow-down.vue +1 -0
- package/dist/icons/file-c-sharp.svg +1 -0
- package/dist/icons/file-c-sharp.vue +1 -0
- package/dist/icons/file-c.svg +1 -0
- package/dist/icons/file-c.vue +1 -0
- package/dist/icons/file-cloud.svg +1 -0
- package/dist/icons/file-cloud.vue +1 -0
- package/dist/icons/file-code.svg +1 -0
- package/dist/icons/file-code.vue +1 -0
- package/dist/icons/file-cpp.svg +1 -0
- package/dist/icons/file-cpp.vue +1 -0
- package/dist/icons/file-css.svg +1 -0
- package/dist/icons/file-css.vue +1 -0
- package/dist/icons/file-csv.svg +1 -0
- package/dist/icons/file-csv.vue +1 -0
- package/dist/icons/file-html.svg +1 -0
- package/dist/icons/file-html.vue +1 -0
- package/dist/icons/file-image.svg +1 -0
- package/dist/icons/file-image.vue +1 -0
- package/dist/icons/file-ini.svg +1 -0
- package/dist/icons/file-ini.vue +1 -0
- package/dist/icons/file-js.svg +1 -0
- package/dist/icons/file-js.vue +1 -0
- package/dist/icons/file-jsx.svg +1 -0
- package/dist/icons/file-jsx.vue +1 -0
- package/dist/icons/file-md.svg +1 -0
- package/dist/icons/file-md.vue +1 -0
- package/dist/icons/file-pdf.svg +1 -0
- package/dist/icons/file-pdf.vue +1 -0
- package/dist/icons/file-py.svg +1 -0
- package/dist/icons/file-py.vue +1 -0
- package/dist/icons/file-rs.svg +1 -0
- package/dist/icons/file-rs.vue +1 -0
- package/dist/icons/file-sql.svg +1 -0
- package/dist/icons/file-sql.vue +1 -0
- package/dist/icons/file-svg.svg +1 -0
- package/dist/icons/file-svg.vue +1 -0
- package/dist/icons/file-text.svg +1 -0
- package/dist/icons/file-text.vue +1 -0
- package/dist/icons/file-ts.svg +1 -0
- package/dist/icons/file-ts.vue +1 -0
- package/dist/icons/file-tsx.svg +1 -0
- package/dist/icons/file-tsx.vue +1 -0
- package/dist/icons/file-txt.svg +1 -0
- package/dist/icons/file-txt.vue +1 -0
- package/dist/icons/file-vue.svg +1 -0
- package/dist/icons/file-vue.vue +1 -0
- package/dist/icons/file-xls.svg +1 -0
- package/dist/icons/file-xls.vue +1 -0
- package/dist/icons/file-zip.svg +1 -0
- package/dist/icons/file-zip.vue +1 -0
- package/dist/icons/fire-simple.svg +1 -0
- package/dist/icons/fire-simple.vue +1 -0
- package/dist/icons/fire-truck.svg +1 -0
- package/dist/icons/fire-truck.vue +1 -0
- package/dist/icons/fire.svg +1 -0
- package/dist/icons/fire.vue +1 -0
- package/dist/icons/fish-simple.svg +1 -0
- package/dist/icons/fish-simple.vue +1 -0
- package/dist/icons/fish.svg +1 -0
- package/dist/icons/fish.vue +1 -0
- package/dist/icons/flame.svg +1 -0
- package/dist/icons/flame.vue +1 -0
- package/dist/icons/flask.svg +1 -0
- package/dist/icons/flask.vue +1 -0
- package/dist/icons/flow-arrow.svg +1 -0
- package/dist/icons/flow-arrow.vue +1 -0
- package/dist/icons/flower-lotus.svg +1 -0
- package/dist/icons/flower-lotus.vue +1 -0
- package/dist/icons/flower-tulip.svg +1 -0
- package/dist/icons/flower-tulip.vue +1 -0
- package/dist/icons/flower.svg +1 -0
- package/dist/icons/flower.vue +1 -0
- package/dist/icons/footprints.svg +1 -0
- package/dist/icons/footprints.vue +1 -0
- package/dist/icons/function.svg +1 -0
- package/dist/icons/function.vue +1 -0
- package/dist/icons/funnel.svg +1 -0
- package/dist/icons/funnel.vue +1 -0
- package/dist/icons/garage.svg +1 -0
- package/dist/icons/garage.vue +1 -0
- package/dist/icons/gas-can.svg +1 -0
- package/dist/icons/gas-can.vue +1 -0
- package/dist/icons/gas-pump.svg +1 -0
- package/dist/icons/gas-pump.vue +1 -0
- package/dist/icons/gauge.svg +1 -0
- package/dist/icons/gauge.vue +1 -0
- package/dist/icons/gear-fine.svg +1 -0
- package/dist/icons/gear-fine.vue +1 -0
- package/dist/icons/gear-six.svg +1 -0
- package/dist/icons/gear-six.vue +1 -0
- package/dist/icons/gear.svg +1 -0
- package/dist/icons/gear.vue +1 -0
- package/dist/icons/git-branch.svg +1 -0
- package/dist/icons/git-branch.vue +1 -0
- package/dist/icons/git-commit.svg +1 -0
- package/dist/icons/git-commit.vue +1 -0
- package/dist/icons/git-diff.svg +1 -0
- package/dist/icons/git-diff.vue +1 -0
- package/dist/icons/git-fork.svg +1 -0
- package/dist/icons/git-fork.vue +1 -0
- package/dist/icons/git-merge.svg +1 -0
- package/dist/icons/git-merge.vue +1 -0
- package/dist/icons/git-pull-request.svg +1 -0
- package/dist/icons/git-pull-request.vue +1 -0
- package/dist/icons/globe-hemisphere-east.svg +1 -0
- package/dist/icons/globe-hemisphere-east.vue +1 -0
- package/dist/icons/globe-hemisphere-west.svg +1 -0
- package/dist/icons/globe-hemisphere-west.vue +1 -0
- package/dist/icons/globe-simple.svg +1 -0
- package/dist/icons/globe-simple.vue +1 -0
- package/dist/icons/globe-stand.svg +1 -0
- package/dist/icons/globe-stand.vue +1 -0
- package/dist/icons/globe.svg +1 -0
- package/dist/icons/globe.vue +1 -0
- package/dist/icons/gps-fix.svg +1 -0
- package/dist/icons/gps-fix.vue +1 -0
- package/dist/icons/gps.svg +1 -0
- package/dist/icons/gps.vue +1 -0
- package/dist/icons/gradient.svg +1 -0
- package/dist/icons/gradient.vue +1 -0
- package/dist/icons/graduation-cap.svg +1 -0
- package/dist/icons/graduation-cap.vue +1 -0
- package/dist/icons/grains-slash.svg +1 -0
- package/dist/icons/grains-slash.vue +1 -0
- package/dist/icons/grains.svg +1 -0
- package/dist/icons/grains.vue +1 -0
- package/dist/icons/graph.svg +1 -0
- package/dist/icons/graph.vue +1 -0
- package/dist/icons/graphics-card.svg +1 -0
- package/dist/icons/graphics-card.vue +1 -0
- package/dist/icons/greater-than-or-equal.svg +1 -0
- package/dist/icons/greater-than-or-equal.vue +1 -0
- package/dist/icons/greater-than.svg +1 -0
- package/dist/icons/greater-than.vue +1 -0
- package/dist/icons/grid-four.svg +1 -0
- package/dist/icons/grid-four.vue +1 -0
- package/dist/icons/grid-nine.svg +1 -0
- package/dist/icons/grid-nine.vue +1 -0
- package/dist/icons/hammer.svg +1 -0
- package/dist/icons/hammer.vue +1 -0
- package/dist/icons/hand-waving.svg +1 -0
- package/dist/icons/hand-waving.vue +1 -0
- package/dist/icons/hard-drive.svg +1 -0
- package/dist/icons/hard-drive.vue +1 -0
- package/dist/icons/hard-drives.svg +1 -0
- package/dist/icons/hard-drives.vue +1 -0
- package/dist/icons/hard-hat.svg +1 -0
- package/dist/icons/hard-hat.vue +1 -0
- package/dist/icons/head-circuit.svg +1 -0
- package/dist/icons/head-circuit.vue +1 -0
- package/dist/icons/hospital.svg +1 -0
- package/dist/icons/hospital.vue +1 -0
- package/dist/icons/house-line.svg +1 -0
- package/dist/icons/house-line.vue +1 -0
- package/dist/icons/house-simple.svg +1 -0
- package/dist/icons/house-simple.vue +1 -0
- package/dist/icons/house.svg +1 -0
- package/dist/icons/house.vue +1 -0
- package/dist/icons/hurricane.svg +1 -0
- package/dist/icons/hurricane.vue +1 -0
- package/dist/icons/identification-card.svg +1 -0
- package/dist/icons/identification-card.vue +1 -0
- package/dist/icons/image.svg +1 -0
- package/dist/icons/image.vue +1 -0
- package/dist/icons/images.svg +1 -0
- package/dist/icons/images.vue +1 -0
- package/dist/icons/infinity.svg +1 -0
- package/dist/icons/infinity.vue +1 -0
- package/dist/icons/info.svg +1 -0
- package/dist/icons/info.vue +1 -0
- package/dist/icons/intersect-three.svg +1 -0
- package/dist/icons/intersect-three.vue +1 -0
- package/dist/icons/intersection.svg +1 -0
- package/dist/icons/intersection.vue +1 -0
- package/dist/icons/island.svg +1 -0
- package/dist/icons/island.vue +1 -0
- package/dist/icons/jeep.svg +1 -0
- package/dist/icons/jeep.vue +1 -0
- package/dist/icons/kanban.svg +1 -0
- package/dist/icons/kanban.vue +1 -0
- package/dist/icons/keyboard.svg +1 -0
- package/dist/icons/keyboard.vue +1 -0
- package/dist/icons/laptop.svg +1 -0
- package/dist/icons/laptop.vue +1 -0
- package/dist/icons/leaf.svg +1 -0
- package/dist/icons/leaf.vue +1 -0
- package/dist/icons/less-than-or-equal.svg +1 -0
- package/dist/icons/less-than-or-equal.vue +1 -0
- package/dist/icons/less-than.svg +1 -0
- package/dist/icons/less-than.vue +1 -0
- package/dist/icons/lightbulb.svg +1 -0
- package/dist/icons/lightbulb.vue +1 -0
- package/dist/icons/lighthouse.svg +1 -0
- package/dist/icons/lighthouse.vue +1 -0
- package/dist/icons/lightning-slash.svg +1 -0
- package/dist/icons/lightning-slash.vue +1 -0
- package/dist/icons/lightning.svg +1 -0
- package/dist/icons/lightning.vue +1 -0
- package/dist/icons/line-segment.svg +1 -0
- package/dist/icons/line-segment.vue +1 -0
- package/dist/icons/line-segments.svg +1 -0
- package/dist/icons/line-segments.vue +1 -0
- package/dist/icons/link.svg +1 -0
- package/dist/icons/link.vue +1 -0
- package/dist/icons/list-bullets.svg +1 -0
- package/dist/icons/list-bullets.vue +1 -0
- package/dist/icons/list.svg +1 -0
- package/dist/icons/list.vue +1 -0
- package/dist/icons/magic-wand.svg +1 -0
- package/dist/icons/magic-wand.vue +1 -0
- package/dist/icons/magnet-straight.svg +1 -0
- package/dist/icons/magnet-straight.vue +1 -0
- package/dist/icons/magnet.svg +1 -0
- package/dist/icons/magnet.vue +1 -0
- package/dist/icons/magnifying-glass-minus.svg +1 -0
- package/dist/icons/magnifying-glass-minus.vue +1 -0
- package/dist/icons/magnifying-glass-plus.svg +1 -0
- package/dist/icons/magnifying-glass-plus.vue +1 -0
- package/dist/icons/magnifying-glass.svg +1 -0
- package/dist/icons/magnifying-glass.vue +1 -0
- package/dist/icons/map-pin-area.svg +1 -0
- package/dist/icons/map-pin-area.vue +1 -0
- package/dist/icons/map-pin-line.svg +1 -0
- package/dist/icons/map-pin-line.vue +1 -0
- package/dist/icons/map-pin-simple-area.svg +1 -0
- package/dist/icons/map-pin-simple-area.vue +1 -0
- package/dist/icons/map-pin-simple-line.svg +1 -0
- package/dist/icons/map-pin-simple-line.vue +1 -0
- package/dist/icons/map-pin-simple.svg +1 -0
- package/dist/icons/map-pin-simple.vue +1 -0
- package/dist/icons/map-pin.svg +1 -0
- package/dist/icons/map-pin.vue +1 -0
- package/dist/icons/map-trifold.svg +1 -0
- package/dist/icons/map-trifold.vue +1 -0
- package/dist/icons/math-operations.svg +1 -0
- package/dist/icons/math-operations.vue +1 -0
- package/dist/icons/member-of.svg +1 -0
- package/dist/icons/member-of.vue +1 -0
- package/dist/icons/memory.svg +1 -0
- package/dist/icons/memory.vue +1 -0
- package/dist/icons/meteor.svg +1 -0
- package/dist/icons/meteor.vue +1 -0
- package/dist/icons/microscope.svg +1 -0
- package/dist/icons/microscope.vue +1 -0
- package/dist/icons/minus.svg +1 -0
- package/dist/icons/minus.vue +1 -0
- package/dist/icons/monitor.svg +1 -0
- package/dist/icons/monitor.vue +1 -0
- package/dist/icons/moon-stars.svg +1 -0
- package/dist/icons/moon-stars.vue +1 -0
- package/dist/icons/moon.svg +1 -0
- package/dist/icons/moon.vue +1 -0
- package/dist/icons/moped-front.svg +1 -0
- package/dist/icons/moped-front.vue +1 -0
- package/dist/icons/moped.svg +1 -0
- package/dist/icons/moped.vue +1 -0
- package/dist/icons/motorcycle.svg +1 -0
- package/dist/icons/motorcycle.vue +1 -0
- package/dist/icons/mountains.svg +1 -0
- package/dist/icons/mountains.vue +1 -0
- package/dist/icons/navigation-arrow.svg +1 -0
- package/dist/icons/navigation-arrow.vue +1 -0
- package/dist/icons/network.svg +1 -0
- package/dist/icons/network.vue +1 -0
- package/dist/icons/newspaper-clipping.svg +1 -0
- package/dist/icons/newspaper-clipping.vue +1 -0
- package/dist/icons/not-equals.svg +1 -0
- package/dist/icons/not-equals.vue +1 -0
- package/dist/icons/not-member-of.svg +1 -0
- package/dist/icons/not-member-of.vue +1 -0
- package/dist/icons/not-subset-of.svg +1 -0
- package/dist/icons/not-subset-of.vue +1 -0
- package/dist/icons/not-superset-of.svg +1 -0
- package/dist/icons/not-superset-of.vue +1 -0
- package/dist/icons/notebook.svg +1 -0
- package/dist/icons/notebook.vue +1 -0
- package/dist/icons/nuclear-plant.svg +1 -0
- package/dist/icons/nuclear-plant.vue +1 -0
- package/dist/icons/package.svg +1 -0
- package/dist/icons/package.vue +1 -0
- package/dist/icons/paint-brush.svg +1 -0
- package/dist/icons/paint-brush.vue +1 -0
- package/dist/icons/palette.svg +1 -0
- package/dist/icons/palette.vue +1 -0
- package/dist/icons/park.svg +1 -0
- package/dist/icons/park.vue +1 -0
- package/dist/icons/path.svg +1 -0
- package/dist/icons/path.vue +1 -0
- package/dist/icons/pause.svg +1 -0
- package/dist/icons/pause.vue +1 -0
- package/dist/icons/pen-nib.svg +1 -0
- package/dist/icons/pen-nib.vue +1 -0
- package/dist/icons/percent.svg +1 -0
- package/dist/icons/percent.vue +1 -0
- package/dist/icons/person-simple-bike.svg +1 -0
- package/dist/icons/person-simple-bike.vue +1 -0
- package/dist/icons/person-simple-circle.svg +1 -0
- package/dist/icons/person-simple-circle.vue +1 -0
- package/dist/icons/person-simple-hike.svg +1 -0
- package/dist/icons/person-simple-hike.vue +1 -0
- package/dist/icons/person-simple-walk.svg +1 -0
- package/dist/icons/person-simple-walk.vue +1 -0
- package/dist/icons/pi.svg +1 -0
- package/dist/icons/pi.vue +1 -0
- package/dist/icons/picnic-table.svg +1 -0
- package/dist/icons/picnic-table.vue +1 -0
- package/dist/icons/planet.svg +1 -0
- package/dist/icons/planet.vue +1 -0
- package/dist/icons/plant.svg +1 -0
- package/dist/icons/plant.vue +1 -0
- package/dist/icons/play.svg +1 -0
- package/dist/icons/play.vue +1 -0
- package/dist/icons/plug-charging.svg +1 -0
- package/dist/icons/plug-charging.vue +1 -0
- package/dist/icons/plug.svg +1 -0
- package/dist/icons/plug.vue +1 -0
- package/dist/icons/plus-minus.svg +1 -0
- package/dist/icons/plus-minus.vue +1 -0
- package/dist/icons/plus.svg +1 -0
- package/dist/icons/plus.vue +1 -0
- package/dist/icons/police-car.svg +1 -0
- package/dist/icons/police-car.vue +1 -0
- package/dist/icons/potted-plant.svg +1 -0
- package/dist/icons/potted-plant.vue +1 -0
- package/dist/icons/presentation-chart.svg +1 -0
- package/dist/icons/presentation-chart.vue +1 -0
- package/dist/icons/printer.svg +1 -0
- package/dist/icons/printer.vue +1 -0
- package/dist/icons/pulse.svg +1 -0
- package/dist/icons/pulse.vue +1 -0
- package/dist/icons/puzzle-piece.svg +1 -0
- package/dist/icons/puzzle-piece.vue +1 -0
- package/dist/icons/question.svg +1 -0
- package/dist/icons/question.vue +1 -0
- package/dist/icons/quotes.svg +1 -0
- package/dist/icons/quotes.vue +1 -0
- package/dist/icons/radical.svg +1 -0
- package/dist/icons/radical.vue +1 -0
- package/dist/icons/radioactive.svg +1 -0
- package/dist/icons/radioactive.vue +1 -0
- package/dist/icons/rainbow-cloud.svg +1 -0
- package/dist/icons/rainbow-cloud.vue +1 -0
- package/dist/icons/rainbow.svg +1 -0
- package/dist/icons/rainbow.vue +1 -0
- package/dist/icons/recycle.svg +1 -0
- package/dist/icons/recycle.vue +1 -0
- package/dist/icons/road-horizon.svg +1 -0
- package/dist/icons/road-horizon.vue +1 -0
- package/dist/icons/robot.svg +1 -0
- package/dist/icons/robot.vue +1 -0
- package/dist/icons/rocket-launch.svg +1 -0
- package/dist/icons/rocket-launch.vue +1 -0
- package/dist/icons/rocket.svg +1 -0
- package/dist/icons/rocket.vue +1 -0
- package/dist/icons/rows.svg +1 -0
- package/dist/icons/rows.vue +1 -0
- package/dist/icons/rss.svg +1 -0
- package/dist/icons/rss.vue +1 -0
- package/dist/icons/ruler.svg +1 -0
- package/dist/icons/ruler.vue +1 -0
- package/dist/icons/sailboat.svg +1 -0
- package/dist/icons/sailboat.vue +1 -0
- package/dist/icons/satellite.svg +1 -0
- package/dist/icons/satellite.vue +1 -0
- package/dist/icons/scales.svg +1 -0
- package/dist/icons/scales.vue +1 -0
- package/dist/icons/scooter.svg +1 -0
- package/dist/icons/scooter.vue +1 -0
- package/dist/icons/screwdriver.svg +1 -0
- package/dist/icons/screwdriver.vue +1 -0
- package/dist/icons/seal-check.svg +1 -0
- package/dist/icons/seal-check.vue +1 -0
- package/dist/icons/share-network.svg +1 -0
- package/dist/icons/share-network.vue +1 -0
- package/dist/icons/shipping-container.svg +1 -0
- package/dist/icons/shipping-container.vue +1 -0
- package/dist/icons/shooting-star.svg +1 -0
- package/dist/icons/shooting-star.vue +1 -0
- package/dist/icons/shovel.svg +1 -0
- package/dist/icons/shovel.vue +1 -0
- package/dist/icons/shuffle.svg +1 -0
- package/dist/icons/shuffle.vue +1 -0
- package/dist/icons/sigma.svg +1 -0
- package/dist/icons/sigma.vue +1 -0
- package/dist/icons/signpost.svg +1 -0
- package/dist/icons/signpost.vue +1 -0
- package/dist/icons/sliders-horizontal.svg +1 -0
- package/dist/icons/sliders-horizontal.vue +1 -0
- package/dist/icons/snowflake.svg +1 -0
- package/dist/icons/snowflake.vue +1 -0
- package/dist/icons/solar-panel.svg +1 -0
- package/dist/icons/solar-panel.vue +1 -0
- package/dist/icons/solar-roof.svg +1 -0
- package/dist/icons/solar-roof.vue +1 -0
- package/dist/icons/sparkle.svg +1 -0
- package/dist/icons/sparkle.vue +1 -0
- package/dist/icons/speaker-high.svg +1 -0
- package/dist/icons/speaker-high.vue +1 -0
- package/dist/icons/speaker-slash.svg +1 -0
- package/dist/icons/speaker-slash.vue +1 -0
- package/dist/icons/speedometer.svg +1 -0
- package/dist/icons/speedometer.vue +1 -0
- package/dist/icons/sphere.svg +1 -0
- package/dist/icons/sphere.vue +1 -0
- package/dist/icons/sprite.svg +418 -0
- package/dist/icons/stack-simple.svg +1 -0
- package/dist/icons/stack-simple.vue +1 -0
- package/dist/icons/stack.svg +1 -0
- package/dist/icons/stack.vue +1 -0
- package/dist/icons/star-four.svg +1 -0
- package/dist/icons/star-four.vue +1 -0
- package/dist/icons/star.svg +1 -0
- package/dist/icons/star.vue +1 -0
- package/dist/icons/steering-wheel.svg +1 -0
- package/dist/icons/steering-wheel.vue +1 -0
- package/dist/icons/stop.svg +1 -0
- package/dist/icons/stop.vue +1 -0
- package/dist/icons/storefront.svg +1 -0
- package/dist/icons/storefront.vue +1 -0
- package/dist/icons/subset-of.svg +1 -0
- package/dist/icons/subset-of.vue +1 -0
- package/dist/icons/subset-proper-of.svg +1 -0
- package/dist/icons/subset-proper-of.vue +1 -0
- package/dist/icons/subway.svg +1 -0
- package/dist/icons/subway.vue +1 -0
- package/dist/icons/sun-dim.svg +1 -0
- package/dist/icons/sun-dim.vue +1 -0
- package/dist/icons/sun-horizon.svg +1 -0
- package/dist/icons/sun-horizon.vue +1 -0
- package/dist/icons/sun.svg +1 -0
- package/dist/icons/sun.vue +1 -0
- package/dist/icons/superset-of.svg +1 -0
- package/dist/icons/superset-of.vue +1 -0
- package/dist/icons/superset-proper-of.svg +1 -0
- package/dist/icons/superset-proper-of.vue +1 -0
- package/dist/icons/table.svg +1 -0
- package/dist/icons/table.vue +1 -0
- package/dist/icons/tag.svg +1 -0
- package/dist/icons/tag.vue +1 -0
- package/dist/icons/taxi.svg +1 -0
- package/dist/icons/taxi.vue +1 -0
- package/dist/icons/tent.svg +1 -0
- package/dist/icons/tent.vue +1 -0
- package/dist/icons/terminal-window.svg +1 -0
- package/dist/icons/terminal-window.vue +1 -0
- package/dist/icons/terminal.svg +1 -0
- package/dist/icons/terminal.vue +1 -0
- package/dist/icons/test-tube.svg +1 -0
- package/dist/icons/test-tube.vue +1 -0
- package/dist/icons/thermometer-cold.svg +1 -0
- package/dist/icons/thermometer-cold.vue +1 -0
- package/dist/icons/thermometer-hot.svg +1 -0
- package/dist/icons/thermometer-hot.vue +1 -0
- package/dist/icons/thermometer-simple.svg +1 -0
- package/dist/icons/thermometer-simple.vue +1 -0
- package/dist/icons/thermometer.svg +1 -0
- package/dist/icons/thermometer.vue +1 -0
- package/dist/icons/tire.svg +1 -0
- package/dist/icons/tire.vue +1 -0
- package/dist/icons/toolbox.svg +1 -0
- package/dist/icons/toolbox.vue +1 -0
- package/dist/icons/tornado.svg +1 -0
- package/dist/icons/tornado.vue +1 -0
- package/dist/icons/tractor.svg +1 -0
- package/dist/icons/tractor.vue +1 -0
- package/dist/icons/traffic-cone.svg +1 -0
- package/dist/icons/traffic-cone.vue +1 -0
- package/dist/icons/traffic-sign.svg +1 -0
- package/dist/icons/traffic-sign.vue +1 -0
- package/dist/icons/traffic-signal.svg +1 -0
- package/dist/icons/traffic-signal.vue +1 -0
- package/dist/icons/train-regional.svg +1 -0
- package/dist/icons/train-regional.vue +1 -0
- package/dist/icons/train-simple.svg +1 -0
- package/dist/icons/train-simple.vue +1 -0
- package/dist/icons/train.svg +1 -0
- package/dist/icons/train.vue +1 -0
- package/dist/icons/tram.svg +1 -0
- package/dist/icons/tram.vue +1 -0
- package/dist/icons/translate.svg +1 -0
- package/dist/icons/translate.vue +1 -0
- package/dist/icons/tree-evergreen.svg +1 -0
- package/dist/icons/tree-evergreen.vue +1 -0
- package/dist/icons/tree-palm.svg +1 -0
- package/dist/icons/tree-palm.vue +1 -0
- package/dist/icons/tree-structure.svg +1 -0
- package/dist/icons/tree-structure.vue +1 -0
- package/dist/icons/tree-view.svg +1 -0
- package/dist/icons/tree-view.vue +1 -0
- package/dist/icons/tree.svg +1 -0
- package/dist/icons/tree.vue +1 -0
- package/dist/icons/trend-down.svg +1 -0
- package/dist/icons/trend-down.vue +1 -0
- package/dist/icons/trend-up.svg +1 -0
- package/dist/icons/trend-up.vue +1 -0
- package/dist/icons/trophy.svg +1 -0
- package/dist/icons/trophy.vue +1 -0
- package/dist/icons/truck-trailer.svg +1 -0
- package/dist/icons/truck-trailer.vue +1 -0
- package/dist/icons/truck.svg +1 -0
- package/dist/icons/truck.vue +1 -0
- package/dist/icons/umbrella-simple.svg +1 -0
- package/dist/icons/umbrella-simple.vue +1 -0
- package/dist/icons/umbrella.svg +1 -0
- package/dist/icons/umbrella.vue +1 -0
- package/dist/icons/union.svg +1 -0
- package/dist/icons/union.vue +1 -0
- package/dist/icons/upload-simple.svg +1 -0
- package/dist/icons/upload-simple.vue +1 -0
- package/dist/icons/users.svg +1 -0
- package/dist/icons/users.vue +1 -0
- package/dist/icons/van.svg +1 -0
- package/dist/icons/van.vue +1 -0
- package/dist/icons/vector-three.svg +1 -0
- package/dist/icons/vector-three.vue +1 -0
- package/dist/icons/vector-two.svg +1 -0
- package/dist/icons/vector-two.vue +1 -0
- package/dist/icons/video.svg +1 -0
- package/dist/icons/video.vue +1 -0
- package/dist/icons/virus.svg +1 -0
- package/dist/icons/virus.vue +1 -0
- package/dist/icons/warehouse.svg +1 -0
- package/dist/icons/warehouse.vue +1 -0
- package/dist/icons/warning.svg +1 -0
- package/dist/icons/warning.vue +1 -0
- package/dist/icons/wave-sawtooth.svg +1 -0
- package/dist/icons/wave-sawtooth.vue +1 -0
- package/dist/icons/wave-sine.svg +1 -0
- package/dist/icons/wave-sine.vue +1 -0
- package/dist/icons/wave-square.svg +1 -0
- package/dist/icons/wave-square.vue +1 -0
- package/dist/icons/wave-triangle.svg +1 -0
- package/dist/icons/wave-triangle.vue +1 -0
- package/dist/icons/waveform.svg +1 -0
- package/dist/icons/waveform.vue +1 -0
- package/dist/icons/waves.svg +1 -0
- package/dist/icons/waves.vue +1 -0
- package/dist/icons/wind.svg +1 -0
- package/dist/icons/wind.vue +1 -0
- package/dist/icons/windmill.svg +1 -0
- package/dist/icons/windmill.vue +1 -0
- package/dist/icons/wrench.svg +1 -0
- package/dist/icons/wrench.vue +1 -0
- package/dist/icons/x-circle.svg +1 -0
- package/dist/icons/x-circle.vue +1 -0
- package/dist/icons/x.svg +1 -0
- package/dist/icons/x.vue +1 -0
- package/dist/rkui.css +1 -0
- package/dist/rkui.js +41 -0
- package/dist/types/components/alert/alert-enhance.d.ts +0 -0
- package/dist/types/components/code/highlight.d.ts +9 -0
- package/dist/types/components/drawer/drawer-enhance.d.ts +21 -0
- package/dist/types/components/file/file-enhance.d.ts +6 -0
- package/dist/types/components/folder/folder-enhance.d.ts +1 -0
- package/dist/types/components/overflow/overflow-enhance.d.ts +1 -0
- package/dist/types/components/quote/quote-enhance.d.ts +1 -0
- package/dist/types/components/sidebar/sidebar-enhance.d.ts +1 -0
- package/dist/types/components/table/table-enhance.d.ts +1 -0
- package/dist/types/components/tooltip/tooltip-enhance.d.ts +7 -0
- package/dist/types/shared/after-slide.d.ts +10 -0
- package/dist/types/shared/clock-face.d.ts +93 -0
- package/dist/types/shared/dial-face.d.ts +58 -0
- package/dist/types/shared/dial-geometry.d.ts +66 -0
- package/dist/types/shared/each-element.d.ts +9 -0
- package/dist/types/shared/light-angle.d.ts +22 -0
- package/package.json +100 -4
- package/src/base/base.css +144 -0
- package/src/base/fonts.css +158 -0
- package/src/base/type.css +17 -0
- package/src/components/alert/Alert.vue +66 -0
- package/src/components/alert/alert-enhance.js +43 -0
- package/src/components/alert/alert.css +125 -0
- package/src/components/badge/Badge.vue +74 -0
- package/src/components/badge/BadgeHost.vue +24 -0
- package/src/components/badge/badge.css +142 -0
- package/src/components/ballot/Ballot.vue +71 -0
- package/src/components/ballot/BallotOption.vue +83 -0
- package/src/components/ballot/ballot.css +208 -0
- package/src/components/breadcrumbs/Breadcrumbs.vue +47 -0
- package/src/components/breadcrumbs/breadcrumbs.css +104 -0
- package/src/components/button/Button.vue +130 -0
- package/src/components/button/button.css +93 -0
- package/src/components/callout/Callout.vue +31 -0
- package/src/components/callout/callout.css +39 -0
- package/src/components/card/Card.vue +59 -0
- package/src/components/card/card.css +117 -0
- package/src/components/checkbox/Checkbox.vue +50 -0
- package/src/components/checkbox/Radio.vue +51 -0
- package/src/components/checkbox/checkbox.css +82 -0
- package/src/components/chip/Chip.vue +60 -0
- package/src/components/chip/ChipGroup.vue +59 -0
- package/src/components/chip/chip.css +73 -0
- package/src/components/clock/Clock.vue +200 -0
- package/src/components/clock/clock-element.ts +6 -0
- package/src/components/clock/clock.css +258 -0
- package/src/components/code/CodeBlock.vue +210 -0
- package/src/components/code/code.css +185 -0
- package/src/components/code/highlight.js +46 -0
- package/src/components/color-picker/ColorInput.vue +54 -0
- package/src/components/color-picker/ColorPicker.vue +110 -0
- package/src/components/color-picker/ColorTile.vue +28 -0
- package/src/components/color-picker/color-picker-element.ts +7 -0
- package/src/components/color-picker/color-picker.css +219 -0
- package/src/components/date-time/date-time.css +53 -0
- package/src/components/dial/Dial.vue +247 -0
- package/src/components/dial/dial-element.ts +6 -0
- package/src/components/dial/dial.css +299 -0
- package/src/components/drawer/Cabinet.vue +67 -0
- package/src/components/drawer/Drawer.vue +155 -0
- package/src/components/drawer/drawer-enhance.js +123 -0
- package/src/components/drawer/drawer.css +889 -0
- package/src/components/field/Field.vue +49 -0
- package/src/components/field/field.css +31 -0
- package/src/components/figure/figure.css +30 -0
- package/src/components/file/File.vue +73 -0
- package/src/components/file/file-enhance.js +35 -0
- package/src/components/file/file.css +130 -0
- package/src/components/folder/Folder.vue +241 -0
- package/src/components/folder/Tab.vue +25 -0
- package/src/components/folder/folder-enhance.js +231 -0
- package/src/components/folder/folder.css +582 -0
- package/src/components/folder/tab-items.ts +67 -0
- package/src/components/folder/tab-slot.ts +80 -0
- package/src/components/header-band/HeaderBand.vue +52 -0
- package/src/components/header-band/header-band.css +54 -0
- package/src/components/icon/icon.css +20 -0
- package/src/components/input/Input.vue +69 -0
- package/src/components/input/Textarea.vue +68 -0
- package/src/components/input/input.css +66 -0
- package/src/components/light-direction/LightDirection.vue +64 -0
- package/src/components/light-direction/light-direction-element.ts +6 -0
- package/src/components/loader/Loader.vue +39 -0
- package/src/components/loader/loader.css +132 -0
- package/src/components/logo/Logo.vue +128 -0
- package/src/components/logo/logo.css +233 -0
- package/src/components/maths/Equation.vue +64 -0
- package/src/components/maths/EquationReference.vue +31 -0
- package/src/components/maths/Maths.vue +32 -0
- package/src/components/maths/maths.css +220 -0
- package/src/components/maths/render-maths.ts +45 -0
- package/src/components/motion/Motion.vue +23 -0
- package/src/components/motion/motion.css +19 -0
- package/src/components/number/Stepper.vue +138 -0
- package/src/components/number/number.css +116 -0
- package/src/components/number/stepper-element.ts +6 -0
- package/src/components/overflow/Scroll.vue +43 -0
- package/src/components/overflow/overflow-enhance.js +45 -0
- package/src/components/overflow/overflow.css +397 -0
- package/src/components/pagination/Pagination.vue +254 -0
- package/src/components/pagination/pagination.css +87 -0
- package/src/components/popup/Popup.vue +26 -0
- package/src/components/popup/popup.css +53 -0
- package/src/components/progress/Progress.vue +47 -0
- package/src/components/progress/progress.css +170 -0
- package/src/components/quote/Quote.vue +48 -0
- package/src/components/quote/quote-enhance.js +70 -0
- package/src/components/quote/quote.css +73 -0
- package/src/components/range/Range.vue +169 -0
- package/src/components/range/range-element.ts +8 -0
- package/src/components/range/range.css +315 -0
- package/src/components/range-ticks/range-ticks.css +29 -0
- package/src/components/search/Search.vue +113 -0
- package/src/components/search/search.css +138 -0
- package/src/components/segmented/Segmented.vue +46 -0
- package/src/components/segmented/SegmentedOption.vue +61 -0
- package/src/components/segmented/segmented.css +181 -0
- package/src/components/select/Select.vue +181 -0
- package/src/components/select/select.css +93 -0
- package/src/components/sidebar/Sidebar.vue +79 -0
- package/src/components/sidebar/SidebarGroup.vue +29 -0
- package/src/components/sidebar/SidebarLink.vue +46 -0
- package/src/components/sidebar/sidebar-enhance.js +26 -0
- package/src/components/sidebar/sidebar.css +543 -0
- package/src/components/spinner/Spinner.vue +36 -0
- package/src/components/spinner/spinner.css +147 -0
- package/src/components/spinner-dots/Dots.vue +48 -0
- package/src/components/spinner-dots/spinner-dots.css +167 -0
- package/src/components/sticky-note/StickyNote.vue +104 -0
- package/src/components/sticky-note/sticky-note.css +206 -0
- package/src/components/switch/Switch.vue +52 -0
- package/src/components/switch/switch.css +73 -0
- package/src/components/table/Table.vue +142 -0
- package/src/components/table/table-enhance.js +58 -0
- package/src/components/table/table.css +622 -0
- package/src/components/theme-toggle/ThemeToggle.vue +114 -0
- package/src/components/theme-toggle/theme-toggle-element.ts +6 -0
- package/src/components/theme-toggle/theme-toggle.css +7 -0
- package/src/components/tiles/Tile.vue +90 -0
- package/src/components/tiles/Tiles.vue +45 -0
- package/src/components/tiles/tiles.css +93 -0
- package/src/components/tooltip/Tooltip.vue +31 -0
- package/src/components/tooltip/tooltip-enhance.js +42 -0
- package/src/components/tooltip/tooltip.css +118 -0
- package/src/components/topbar/BackToTop.vue +18 -0
- package/src/components/topbar/TopBar.vue +25 -0
- package/src/components/topbar/topbar.css +127 -0
- package/src/components/water/Flask.vue +44 -0
- package/src/components/water/Pending.vue +32 -0
- package/src/components/water/water.css +262 -0
- package/src/components/widget-frame/WidgetFrame.vue +31 -0
- package/src/components/widget-frame/widget-frame.css +46 -0
- package/src/enhance.js +13 -0
- package/src/fonts/jetbrains-mono/OFL.txt +93 -0
- package/src/fonts/jetbrains-mono/jetbrains-mono-greek.woff2 +0 -0
- package/src/fonts/jetbrains-mono/jetbrains-mono-italic-greek.woff2 +0 -0
- package/src/fonts/jetbrains-mono/jetbrains-mono-italic-latin.woff2 +0 -0
- package/src/fonts/jetbrains-mono/jetbrains-mono-italic-symbols.woff2 +0 -0
- package/src/fonts/jetbrains-mono/jetbrains-mono-latin.woff2 +0 -0
- package/src/fonts/jetbrains-mono/jetbrains-mono-symbols.woff2 +0 -0
- package/src/fonts/roboto-slab/LICENSE.txt +202 -0
- package/src/fonts/roboto-slab/roboto-slab-greek.woff2 +0 -0
- package/src/fonts/roboto-slab/roboto-slab-latin.woff2 +0 -0
- package/src/fonts/roboto-slab/roboto-slab-symbols.woff2 +0 -0
- package/src/fonts/xmind/OFL.txt +93 -0
- package/src/fonts/xmind/xmind-greek.woff2 +0 -0
- package/src/fonts/xmind/xmind-italic-greek.woff2 +0 -0
- package/src/fonts/xmind/xmind-italic-latin.woff2 +0 -0
- package/src/fonts/xmind/xmind-italic-symbols.woff2 +0 -0
- package/src/fonts/xmind/xmind-latin.woff2 +0 -0
- package/src/fonts/xmind/xmind-symbols.woff2 +0 -0
- package/src/head-scripts/table-init.js +9 -0
- package/src/head-scripts/theme-init.js +10 -0
- package/src/icons/LICENSE-phosphor.txt +21 -0
- package/src/icons/LICENSE-tabler.txt +21 -0
- package/src/icons/icon-set.js +715 -0
- package/src/icons/sources/satellite-duotone.svg +2 -0
- package/src/index.css +64 -0
- package/src/interactive-enhance.js +22 -0
- package/src/interactive.css +239 -0
- package/src/shared/after-slide.js +14 -0
- package/src/shared/astro-attributes.d.ts +58 -0
- package/src/shared/clock-face.js +148 -0
- package/src/shared/component-id.ts +17 -0
- package/src/shared/define-element.ts +51 -0
- package/src/shared/dial-face.js +111 -0
- package/src/shared/dial-geometry.js +96 -0
- package/src/shared/each-element.js +38 -0
- package/src/shared/field-attrs.ts +32 -0
- package/src/shared/hues.ts +111 -0
- package/src/shared/light-angle.js +49 -0
- package/src/shared/live-value.ts +142 -0
- package/src/shared/model-start.ts +23 -0
- package/src/shared/option-group.ts +19 -0
- package/src/shared/option-slot.ts +97 -0
- package/src/shared/slot-html.ts +53 -0
- package/src/shared/split-attrs.ts +64 -0
- package/src/shared/starting-option.ts +14 -0
- package/src/tokens/colors.css +122 -0
- package/src/tokens/fallback.css +67 -0
- package/src/tokens/motion.css +31 -0
- package/src/tokens/palettes.css +36 -0
- package/src/tokens/shadow-color.css +178 -0
- package/src/tokens/shadows.css +127 -0
- package/src/tokens/space.css +20 -0
- package/src/tsconfig.json +19 -0
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import {
|
|
2
|
+
cloneVNode,
|
|
3
|
+
computed,
|
|
4
|
+
ref,
|
|
5
|
+
type ComputedRef,
|
|
6
|
+
type InjectionKey,
|
|
7
|
+
type Ref,
|
|
8
|
+
type VNode,
|
|
9
|
+
type WritableComputedRef,
|
|
10
|
+
} from 'vue'
|
|
11
|
+
import { fillOptions, NAME_PLACEHOLDER } from './option-group'
|
|
12
|
+
import { slotHtml } from './slot-html'
|
|
13
|
+
|
|
14
|
+
/** A group's selection: the chosen option's value, or the chosen values when `multiple`. */
|
|
15
|
+
type Selection = string | string[] | undefined
|
|
16
|
+
|
|
17
|
+
/** What a group hands its options in a Vue tree, by provide and inject. */
|
|
18
|
+
interface OptionGroup {
|
|
19
|
+
name: string
|
|
20
|
+
multiple: boolean
|
|
21
|
+
/** The group's `v-model`. A group with no `v-model` of its own (Segmented) leaves it out. */
|
|
22
|
+
model?: Ref<Selection>
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* The provide/inject key for `OptionGroup`, as a `computed`, so a change of name reaches options.
|
|
27
|
+
*/
|
|
28
|
+
export const OPTION_GROUP: InjectionKey<ComputedRef<OptionGroup>> = Symbol('rkui-option-group')
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* A group's slot with its `name` filled in. Options in a Vue tree read the name by inject, so they
|
|
32
|
+
* pass through as they are. Options written in MDX or .astro reach Vue already rendered, as HTML
|
|
33
|
+
* (slot-html.ts), so the name is filled into that.
|
|
34
|
+
*/
|
|
35
|
+
export function fillSlot(vnodes: VNode[], group: OptionGroup): VNode[] {
|
|
36
|
+
return vnodes.map((vnode) => {
|
|
37
|
+
const html = slotHtml(vnode)
|
|
38
|
+
if (html === undefined || !html.includes(NAME_PLACEHOLDER)) return vnode
|
|
39
|
+
return cloneVNode(vnode, { value: fillOptions(html, group.name, group.multiple) })
|
|
40
|
+
})
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* The option vnodes in a slot written in a `.vue` file that are marked `checked`, through loops.
|
|
45
|
+
*/
|
|
46
|
+
function checkedOptions(vnodes: VNode[]): VNode[] {
|
|
47
|
+
return vnodes.flatMap((vnode) => {
|
|
48
|
+
const checked = vnode.props?.checked
|
|
49
|
+
if (checked !== undefined && checked !== false) return [vnode]
|
|
50
|
+
if (Array.isArray(vnode.children)) return checkedOptions(vnode.children as VNode[])
|
|
51
|
+
return []
|
|
52
|
+
})
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* A group's starting value, from the options marked `checked` in its slot written in a `.vue`
|
|
57
|
+
* file: all their values when `multiple`, otherwise the first one's. A slot from MDX or .astro is
|
|
58
|
+
* HTML, with no options to read; there each option keeps its own `checked`.
|
|
59
|
+
*/
|
|
60
|
+
export function checkedValue(vnodes: VNode[], multiple: boolean): Selection {
|
|
61
|
+
const values = checkedOptions(vnodes).map((vnode) => String(vnode.props?.value))
|
|
62
|
+
return multiple ? values : values[0]
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
/** What an option tells `useOptionModel` about itself when it starts. */
|
|
66
|
+
interface OptionState {
|
|
67
|
+
type: 'checkbox' | 'radio'
|
|
68
|
+
value: string
|
|
69
|
+
checked: boolean
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* An option's state as its input reads it: a list of values for a checkbox, the value for a radio.
|
|
74
|
+
*/
|
|
75
|
+
function ownState({ type, value, checked }: OptionState): Selection {
|
|
76
|
+
if (type === 'checkbox') return checked ? [value] : []
|
|
77
|
+
return checked ? value : undefined
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* What an option's input binds with `v-model`. In a group with a model it is the group's model.
|
|
82
|
+
* Otherwise (an option on its own, with `group` null, or one Astro renders) it is the option's own
|
|
83
|
+
* state, starting from `checked`.
|
|
84
|
+
*/
|
|
85
|
+
export function useOptionModel(
|
|
86
|
+
group: ComputedRef<OptionGroup> | null,
|
|
87
|
+
start: OptionState,
|
|
88
|
+
): WritableComputedRef<Selection> {
|
|
89
|
+
const own = ref(ownState(start))
|
|
90
|
+
return computed({
|
|
91
|
+
get: () => (group?.value.model ? group.value.model.value : own.value),
|
|
92
|
+
set(selection) {
|
|
93
|
+
if (group?.value.model) group.value.model.value = selection
|
|
94
|
+
else own.value = selection
|
|
95
|
+
},
|
|
96
|
+
})
|
|
97
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { createStaticVNode, type VNode } from 'vue'
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* The HTML of a slot that Astro rendered, or undefined for any other vnode. Astro hands a Vue
|
|
5
|
+
* component each slot written in MDX or .astro as one vnode of its StaticHtml component, whose
|
|
6
|
+
* `value` prop holds the slot's HTML (a string, or a String object).
|
|
7
|
+
*/
|
|
8
|
+
export function slotHtml(vnode: VNode): string | undefined {
|
|
9
|
+
const value = vnode.props?.value
|
|
10
|
+
return typeof value === 'string' || value instanceof String ? String(value) : undefined
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* A slot's content with no wrapper element, for a slot that sits where a wrapper isn't allowed,
|
|
15
|
+
* such as inside a `<table>`: vnodes from a `.vue` file as they are, and the HTML Astro rendered
|
|
16
|
+
* as one static vnode, which is written out unchanged. The HTML shape only exists when Astro
|
|
17
|
+
* renders on the server, where the static vnode's node count isn't used (it matters only when Vue
|
|
18
|
+
* hydrates or moves the nodes in a browser), so it is given as 1.
|
|
19
|
+
*/
|
|
20
|
+
export function unwrappedSlot(vnodes: VNode[]): VNode[] {
|
|
21
|
+
const html = vnodes.length === 1 ? slotHtml(vnodes[0]) : undefined
|
|
22
|
+
return html === undefined ? vnodes : [createStaticVNode(html, 1)]
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
/** The character references Astro writes when it escapes text. */
|
|
26
|
+
const NAMED: Record<string, string> = { amp: '&', lt: '<', gt: '>', quot: '"', apos: "'" }
|
|
27
|
+
|
|
28
|
+
/** Turns Astro's escaped HTML back into the text it shows, as a browser does inside a textarea. */
|
|
29
|
+
function decode(html: string): string {
|
|
30
|
+
return html.replace(/&(#x[\da-f]+|#\d+|\w+);/gi, (reference, name: string) => {
|
|
31
|
+
if (name[0] !== '#') return NAMED[name] ?? reference
|
|
32
|
+
const code =
|
|
33
|
+
name[1] === 'x' || name[1] === 'X' ? parseInt(name.slice(2), 16) : Number(name.slice(1))
|
|
34
|
+
return String.fromCodePoint(code)
|
|
35
|
+
})
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* The text of a slot. A slot from a `.vue` file is vnodes, whose text is joined. One written in MDX
|
|
40
|
+
* or .astro is Astro's rendered HTML (`slotHtml`), read as a textarea reads it: its escapes are
|
|
41
|
+
* undone.
|
|
42
|
+
*/
|
|
43
|
+
export function slotText(vnodes: VNode[]): string {
|
|
44
|
+
return vnodes
|
|
45
|
+
.map((vnode) => {
|
|
46
|
+
const html = slotHtml(vnode)
|
|
47
|
+
if (html !== undefined) return decode(html)
|
|
48
|
+
if (typeof vnode.children === 'string') return vnode.children
|
|
49
|
+
if (Array.isArray(vnode.children)) return slotText(vnode.children as VNode[])
|
|
50
|
+
return ''
|
|
51
|
+
})
|
|
52
|
+
.join('')
|
|
53
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
// How a component splits the attributes a page gives it (with `inheritAttrs: false`): `class` and
|
|
2
|
+
// `style` for its outermost element, the rest for its native control.
|
|
3
|
+
import { fieldAttrs } from './field-attrs'
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* A component's attributes, split. `class` and `style` are left out when the page didn't set them,
|
|
7
|
+
* so an element that binds no style of its own gets no `style=""`.
|
|
8
|
+
*/
|
|
9
|
+
interface SplitAttrs {
|
|
10
|
+
outer: Record<string, unknown>
|
|
11
|
+
inner: Record<string, unknown>
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
/** Splits `attrs` into `class` and `style` (`outer`) and everything else (`inner`). */
|
|
15
|
+
export function splitAttrs(attrs: Record<string, unknown>): SplitAttrs {
|
|
16
|
+
const { class: className, style, ...inner } = attrs
|
|
17
|
+
const outer: Record<string, unknown> = {}
|
|
18
|
+
if (className !== undefined) outer.class = className
|
|
19
|
+
if (style !== undefined) outer.style = style
|
|
20
|
+
return { outer, inner }
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
/** A form control's label, hint and error, which decide whether its Field draws a frame. */
|
|
24
|
+
interface FieldText {
|
|
25
|
+
label?: string
|
|
26
|
+
hint?: string
|
|
27
|
+
error?: string
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/** A form control's attributes, split around its Field. */
|
|
31
|
+
interface ControlAttrs {
|
|
32
|
+
/** For the Field: `class` and `style` when it draws a frame (a label, hint or error). */
|
|
33
|
+
field: Record<string, unknown>
|
|
34
|
+
/**
|
|
35
|
+
* For a native control that is the outermost element when there is no frame (Input, Select):
|
|
36
|
+
* its `id`, the link to the Field's message, and the rest, with `class` and `style` when there
|
|
37
|
+
* is no frame.
|
|
38
|
+
*/
|
|
39
|
+
control: Record<string, unknown>
|
|
40
|
+
/** For the control's own wrapper (Stepper's div): `class` and `style` when there is no frame. */
|
|
41
|
+
wrapper: Record<string, unknown>
|
|
42
|
+
/** For the native control inside that wrapper: as `control`, but never `class` or `style`. */
|
|
43
|
+
wrappedControl: Record<string, unknown>
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Splits a form control's attributes around its Field (see field-attrs.ts). `id` is the control's:
|
|
48
|
+
* the page's own, or one from `useComponentId()`.
|
|
49
|
+
*/
|
|
50
|
+
export function controlAttrs(
|
|
51
|
+
attrs: Record<string, unknown>,
|
|
52
|
+
id: string,
|
|
53
|
+
{ label, hint, error }: FieldText,
|
|
54
|
+
): ControlAttrs {
|
|
55
|
+
const { outer, inner } = splitAttrs(attrs)
|
|
56
|
+
const framed = Boolean(label || hint || error)
|
|
57
|
+
const wrappedControl = framed ? fieldAttrs(id, { hint, error }, inner) : { ...inner, id }
|
|
58
|
+
return {
|
|
59
|
+
field: framed ? outer : {},
|
|
60
|
+
control: framed ? wrappedControl : { ...outer, ...wrappedControl },
|
|
61
|
+
wrapper: framed ? {} : outer,
|
|
62
|
+
wrappedControl,
|
|
63
|
+
}
|
|
64
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/** What an option's markup says about it: whether it is marked `selected`, and disabled. */
|
|
2
|
+
interface OptionMarks {
|
|
3
|
+
selected: boolean
|
|
4
|
+
disabled: boolean
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* The option a single select starts on, as a browser picks it: the last one marked `selected`, or
|
|
9
|
+
* else the first not disabled; -1 when there is none.
|
|
10
|
+
*/
|
|
11
|
+
export function startingIndex(options: OptionMarks[]): number {
|
|
12
|
+
const marked = options.map((option) => option.selected).lastIndexOf(true)
|
|
13
|
+
return marked !== -1 ? marked : options.findIndex((option) => !option.disabled)
|
|
14
|
+
}
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
/* rkui colour tokens. Colours are light-dark() pairs that follow color-scheme. */
|
|
2
|
+
|
|
3
|
+
:root {
|
|
4
|
+
color-scheme: light dark;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
:root[data-theme='light'] {
|
|
8
|
+
color-scheme: light;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
:root[data-theme='dark'] {
|
|
12
|
+
color-scheme: dark;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
/* Highlight: data-highlight on <html> or any container sets the dark-mode colour of the outline on
|
|
16
|
+
things with no fill: "cream", the default, is the text colour; "dark" is the near-black
|
|
17
|
+
outline colour. Another value switches back inside it. Light mode draws them in the outline
|
|
18
|
+
colour either way. */
|
|
19
|
+
:root,
|
|
20
|
+
[data-highlight='cream'] {
|
|
21
|
+
--rkui-line-unfilled: var(--rkui-fg);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
[data-highlight='dark'] {
|
|
25
|
+
--rkui-line-unfilled: var(--rkui-line);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
:root {
|
|
29
|
+
/* Text, lines and focus */
|
|
30
|
+
--rkui-fg: light-dark(#1d232f, #f2eee2);
|
|
31
|
+
--rkui-muted: light-dark(#5b6070, #a3a8b6);
|
|
32
|
+
--rkui-line: light-dark(#1d232f, #05070b);
|
|
33
|
+
--rkui-focus: var(--rkui-tangerine);
|
|
34
|
+
/* Where tangerine surrounds the focused element, set --rkui-focus: var(--rkui-focus-alt) */
|
|
35
|
+
--rkui-focus-alt: var(--rkui-yellow);
|
|
36
|
+
/* data-shadow="color"'s shadow for things without a colour of their own: lighter than the page
|
|
37
|
+
in dark mode */
|
|
38
|
+
--rkui-shadow-lit: light-dark(var(--rkui-line), #6e7891);
|
|
39
|
+
|
|
40
|
+
/* Fills: vivid in both themes */
|
|
41
|
+
--rkui-ink: #1d232f;
|
|
42
|
+
--rkui-navy: light-dark(#2c4d6e, #4a78ad);
|
|
43
|
+
--rkui-teal: light-dark(#2ea6b1, #3bb4bf);
|
|
44
|
+
--rkui-coral: light-dark(#de4d45, #e8625a);
|
|
45
|
+
/* Coral for fills with small text: --rkui-coral is too light for white text in light mode */
|
|
46
|
+
--rkui-coral-solid: light-dark(var(--rkui-coral-deep), var(--rkui-coral));
|
|
47
|
+
--rkui-yellow: #f4bc38;
|
|
48
|
+
--rkui-green: light-dark(#7bba3d, #86c44a);
|
|
49
|
+
--rkui-sky: #8fd3f7;
|
|
50
|
+
--rkui-grape: light-dark(#7b4fc9, #a584e6);
|
|
51
|
+
--rkui-lilac: #d4c4f5;
|
|
52
|
+
--rkui-tangerine: light-dark(#f58a2a, #f5923a);
|
|
53
|
+
--rkui-apricot: #ffd2a6;
|
|
54
|
+
/* Glint: a highlight on toon fills, near-white in both themes */
|
|
55
|
+
--rkui-glint: var(--rkui-on-ink);
|
|
56
|
+
|
|
57
|
+
/* Text on fills */
|
|
58
|
+
--rkui-on-fill: var(--rkui-ink);
|
|
59
|
+
--rkui-on-ink: light-dark(#f7f3e5, #f2eee2);
|
|
60
|
+
--rkui-on-navy: #ffffff;
|
|
61
|
+
--rkui-on-coral: light-dark(#ffffff, var(--rkui-ink));
|
|
62
|
+
--rkui-on-grape: light-dark(#ffffff, var(--rkui-ink));
|
|
63
|
+
|
|
64
|
+
/* Hue text: for text and links on --rkui-surface and --rkui-raised */
|
|
65
|
+
--rkui-navy-deep: light-dark(#2c4d6e, #8fb3e0);
|
|
66
|
+
--rkui-teal-deep: light-dark(#176f78, #6fcfd7);
|
|
67
|
+
--rkui-coral-deep: light-dark(#c8322a, #f08a83);
|
|
68
|
+
--rkui-yellow-deep: light-dark(#856000, #f7d27a);
|
|
69
|
+
--rkui-green-deep: light-dark(#3a7016, #a3d977);
|
|
70
|
+
--rkui-sky-deep: light-dark(#216b9a, #8fd3f7);
|
|
71
|
+
--rkui-grape-deep: light-dark(#7b4fc9, #b89cf0);
|
|
72
|
+
--rkui-tangerine-deep: light-dark(#a14c0a, #f8a65c);
|
|
73
|
+
--rkui-lilac-deep: light-dark(#685796, #d4c4f5);
|
|
74
|
+
--rkui-apricot-deep: light-dark(#7f512d, #ffd2a6);
|
|
75
|
+
|
|
76
|
+
/* Tints: panels that carry --rkui-fg text */
|
|
77
|
+
--rkui-navy-tint: light-dark(#c7d5e6, #25364f);
|
|
78
|
+
--rkui-teal-tint: light-dark(#a6dfe3, #173f44);
|
|
79
|
+
--rkui-coral-tint: light-dark(#f6c1bb, #4d2623);
|
|
80
|
+
--rkui-yellow-tint: light-dark(#fbdf94, #4a3e18);
|
|
81
|
+
--rkui-green-tint: light-dark(#c8e5a8, #2a4220);
|
|
82
|
+
--rkui-sky-tint: light-dark(#8fd3f7, #1e3a50);
|
|
83
|
+
--rkui-grape-tint: light-dark(#c8b2ff, #4a306b);
|
|
84
|
+
--rkui-lilac-tint: light-dark(#d4c4f5, #342c55);
|
|
85
|
+
--rkui-tangerine-tint: light-dark(#feb98f, #603714);
|
|
86
|
+
--rkui-apricot-tint: light-dark(#ffd2a6, #4a3324);
|
|
87
|
+
|
|
88
|
+
/* Sticky notes: a tint in light mode and the vivid fill in dark, both carrying --rkui-on-fill
|
|
89
|
+
text. The tape that holds one is a see-through wash of the glint. */
|
|
90
|
+
--rkui-note-yellow: light-dark(var(--rkui-yellow-tint), var(--rkui-yellow));
|
|
91
|
+
--rkui-note-sky: var(--rkui-sky);
|
|
92
|
+
--rkui-note-tangerine: light-dark(var(--rkui-tangerine-tint), var(--rkui-tangerine));
|
|
93
|
+
--rkui-note-green: light-dark(var(--rkui-green-tint), var(--rkui-green));
|
|
94
|
+
--rkui-note-coral: light-dark(var(--rkui-coral-tint), var(--rkui-coral));
|
|
95
|
+
--rkui-note-grape: light-dark(var(--rkui-grape-tint), var(--rkui-grape));
|
|
96
|
+
--rkui-note-lilac: var(--rkui-lilac);
|
|
97
|
+
--rkui-note-apricot: var(--rkui-apricot);
|
|
98
|
+
--rkui-note-tape: color-mix(in srgb, var(--rkui-glint) 60%, transparent);
|
|
99
|
+
|
|
100
|
+
/* Shading: hatching stripes, the outline colour at a quarter strength over whatever they cross.
|
|
101
|
+
A fill's shade and an inset's grey step are recipes in shadows.css. */
|
|
102
|
+
--rkui-stripe: color-mix(in srgb, var(--rkui-line) 25%, transparent);
|
|
103
|
+
|
|
104
|
+
/* Icon fills: the quiet default for interface icons, a pale wash of the outline colour */
|
|
105
|
+
--rkui-icon-fill-neutral: color-mix(in srgb, currentColor 20%, transparent);
|
|
106
|
+
|
|
107
|
+
/* Selected: checked and selected controls */
|
|
108
|
+
--rkui-selected: var(--rkui-yellow);
|
|
109
|
+
--rkui-on-selected: var(--rkui-on-fill);
|
|
110
|
+
/* A panel that carries --rkui-fg text, for the selected option's surroundings */
|
|
111
|
+
--rkui-selected-tint: var(--rkui-yellow-tint);
|
|
112
|
+
|
|
113
|
+
/* Section hooks: --rkui-section and --rkui-on-section are left unset, so a component can tell
|
|
114
|
+
whether a page chose a section hue; each use falls back to --rkui-ink and --rkui-on-ink. */
|
|
115
|
+
|
|
116
|
+
/* Code: syntax colours, on the page palette's panel (palettes.css) */
|
|
117
|
+
--rkui-code-keyword: var(--rkui-navy-deep);
|
|
118
|
+
--rkui-code-function: var(--rkui-teal-deep);
|
|
119
|
+
--rkui-code-string: var(--rkui-green-deep);
|
|
120
|
+
--rkui-code-number: var(--rkui-tangerine-deep);
|
|
121
|
+
--rkui-code-comment: var(--rkui-muted);
|
|
122
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
/* rkui light-only fallback for browsers without light-dark(). */
|
|
2
|
+
|
|
3
|
+
/* Browsers without light-dark() (before mid-2024) get the light theme, on the cream page. */
|
|
4
|
+
@supports not (color: light-dark(#000, #fff)) {
|
|
5
|
+
:root,
|
|
6
|
+
:root[data-theme] {
|
|
7
|
+
color-scheme: light;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
:root,
|
|
11
|
+
[data-palette] {
|
|
12
|
+
--rkui-surface: #f7f3e5;
|
|
13
|
+
--rkui-raised: #fffaf0;
|
|
14
|
+
--rkui-fg: #1d232f;
|
|
15
|
+
--rkui-muted: #5b6070;
|
|
16
|
+
--rkui-line: #1d232f;
|
|
17
|
+
--rkui-shadow-lit: var(--rkui-line);
|
|
18
|
+
|
|
19
|
+
--rkui-navy: #2c4d6e;
|
|
20
|
+
--rkui-teal: #2ea6b1;
|
|
21
|
+
--rkui-coral: #de4d45;
|
|
22
|
+
--rkui-coral-solid: var(--rkui-coral-deep);
|
|
23
|
+
--rkui-green: #7bba3d;
|
|
24
|
+
--rkui-grape: #7b4fc9;
|
|
25
|
+
--rkui-tangerine: #f58a2a;
|
|
26
|
+
|
|
27
|
+
--rkui-on-ink: #f7f3e5;
|
|
28
|
+
--rkui-on-coral: #ffffff;
|
|
29
|
+
--rkui-on-grape: #ffffff;
|
|
30
|
+
|
|
31
|
+
--rkui-navy-deep: #2c4d6e;
|
|
32
|
+
--rkui-teal-deep: #176f78;
|
|
33
|
+
--rkui-coral-deep: #c8322a;
|
|
34
|
+
--rkui-yellow-deep: #856000;
|
|
35
|
+
--rkui-green-deep: #3a7016;
|
|
36
|
+
--rkui-sky-deep: #216b9a;
|
|
37
|
+
--rkui-grape-deep: #7b4fc9;
|
|
38
|
+
--rkui-tangerine-deep: #a14c0a;
|
|
39
|
+
--rkui-lilac-deep: #685796;
|
|
40
|
+
--rkui-apricot-deep: #7f512d;
|
|
41
|
+
|
|
42
|
+
--rkui-navy-tint: #c7d5e6;
|
|
43
|
+
--rkui-teal-tint: #a6dfe3;
|
|
44
|
+
--rkui-coral-tint: #f6c1bb;
|
|
45
|
+
--rkui-yellow-tint: #fbdf94;
|
|
46
|
+
--rkui-green-tint: #c8e5a8;
|
|
47
|
+
--rkui-sky-tint: #8fd3f7;
|
|
48
|
+
--rkui-grape-tint: #c8b2ff;
|
|
49
|
+
--rkui-lilac-tint: #d4c4f5;
|
|
50
|
+
--rkui-tangerine-tint: #feb98f;
|
|
51
|
+
--rkui-apricot-tint: #ffd2a6;
|
|
52
|
+
|
|
53
|
+
--rkui-note-yellow: var(--rkui-yellow-tint);
|
|
54
|
+
--rkui-note-tangerine: var(--rkui-tangerine-tint);
|
|
55
|
+
--rkui-note-green: var(--rkui-green-tint);
|
|
56
|
+
--rkui-note-coral: var(--rkui-coral-tint);
|
|
57
|
+
--rkui-note-grape: var(--rkui-grape-tint);
|
|
58
|
+
|
|
59
|
+
--rkui-panel: #f0ead7;
|
|
60
|
+
--rkui-panel-tab: #e6dfc8;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
/* The light theme's shadows have no rim, whatever data-shadow and data-highlight say. */
|
|
64
|
+
* {
|
|
65
|
+
--rkui-shadow-edge: transparent;
|
|
66
|
+
}
|
|
67
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/* rkui durations, easings, loops and stagger, and the reduced-motion durations. */
|
|
2
|
+
|
|
3
|
+
:root {
|
|
4
|
+
/* Motion */
|
|
5
|
+
--rkui-duration-fast: 120ms;
|
|
6
|
+
--rkui-duration-spring: 180ms;
|
|
7
|
+
--rkui-duration-slide: 320ms;
|
|
8
|
+
--rkui-ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
|
|
9
|
+
/* Quick start, then a small swing past the target (about 4%) before settling */
|
|
10
|
+
--rkui-ease-snap: cubic-bezier(0.38, 1.35, 0.52, 1);
|
|
11
|
+
/* Loops: one cycle of an animation that repeats on its own. Quick for a hop or a stripe's
|
|
12
|
+
march, short for small busy marks, steady for a turn or a rolling wave, medium for a circuit
|
|
13
|
+
and the reduced-motion fade, long for fills and sloshes, panel for large areas and diagrams. */
|
|
14
|
+
--rkui-loop-quick: 0.6s;
|
|
15
|
+
--rkui-loop-short: 0.9s;
|
|
16
|
+
--rkui-loop-steady: 1.2s;
|
|
17
|
+
--rkui-loop-medium: 1.8s;
|
|
18
|
+
--rkui-loop-long: 2.4s;
|
|
19
|
+
--rkui-loop-panel: 4s;
|
|
20
|
+
/* The delay between neighbours that move in turn */
|
|
21
|
+
--rkui-stagger: 0.15s;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
/* Nothing moves under reduced motion; shadows still change. */
|
|
25
|
+
@media (prefers-reduced-motion: reduce) {
|
|
26
|
+
:root {
|
|
27
|
+
--rkui-duration-fast: 0ms;
|
|
28
|
+
--rkui-duration-spring: 0ms;
|
|
29
|
+
--rkui-duration-slide: 0ms;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/* rkui page palettes: the surface, raised and panel colours, and the shading mixed from them. */
|
|
2
|
+
|
|
3
|
+
/* Page palettes: cream by default. Set data-palette="slate" or "greige" on <html> or any
|
|
4
|
+
container for a cool or warm grey page, or "cream" to switch back inside another palette.
|
|
5
|
+
The panel (code blocks, quotes, shaded cards) is a step darker than the page in light mode and
|
|
6
|
+
lighter in dark; its tab is the next step, the code block's editor-tab strip and a nested
|
|
7
|
+
quote. */
|
|
8
|
+
:root,
|
|
9
|
+
[data-palette='cream'] {
|
|
10
|
+
--rkui-surface: light-dark(#f7f3e5, #1a1f2b);
|
|
11
|
+
--rkui-raised: light-dark(#fffaf0, #232a39);
|
|
12
|
+
--rkui-panel: light-dark(#f0ead7, #272e3e);
|
|
13
|
+
--rkui-panel-tab: light-dark(#e6dfc8, #2d3548);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
[data-palette='slate'] {
|
|
17
|
+
--rkui-surface: light-dark(#f1f3f8, #1f232b);
|
|
18
|
+
--rkui-raised: light-dark(#f9fafc, #282d37);
|
|
19
|
+
--rkui-panel: light-dark(#e7ebf3, #2c323d);
|
|
20
|
+
--rkui-panel-tab: light-dark(#dbe0ea, #333946);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
[data-palette='greige'] {
|
|
24
|
+
--rkui-surface: light-dark(#f2f1ee, #252420);
|
|
25
|
+
--rkui-raised: light-dark(#faf9f8, #302e29);
|
|
26
|
+
--rkui-panel: light-dark(#eae7e2, #35332e);
|
|
27
|
+
--rkui-panel-tab: light-dark(#e0dcd6, #3d3a34);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
/* Shading mixed from the page colour. A custom property resolves its var()s on the element that
|
|
31
|
+
declares it, so these are declared again on every palette container. */
|
|
32
|
+
:root,
|
|
33
|
+
[data-palette] {
|
|
34
|
+
/* The page a step darker, behind the folder's unselected tabs */
|
|
35
|
+
--rkui-folder-back: color-mix(in srgb, var(--rkui-surface), var(--rkui-line) 8%);
|
|
36
|
+
}
|
|
@@ -0,0 +1,178 @@
|
|
|
1
|
+
/* The colour shadow: set data-shadow="color" on <html> or any container, and in dark mode each
|
|
2
|
+
raised thing with a colour of its own casts its hard shadow in that colour, darkened, with no
|
|
3
|
+
rim: its fill, or the colour it shows on a neutral body (a flask's water, a dial's notch, a
|
|
4
|
+
table's band). Everything else casts --rkui-shadow-lit, lighter than the page. Light mode is
|
|
5
|
+
unchanged.
|
|
6
|
+
data-shadow="outline" or "block" switches back inside it. Browsers without @scope or
|
|
7
|
+
light-dark() draw the outline shadow instead, and Safari 26.0 to 26.3 keep it on checkboxes,
|
|
8
|
+
radios and switches. */
|
|
9
|
+
|
|
10
|
+
/* An element's extrusion is its own: a child doesn't inherit it, so a note's shade never reaches
|
|
11
|
+
the controls on it. */
|
|
12
|
+
@property --rkui-extrusion {
|
|
13
|
+
syntax: '*';
|
|
14
|
+
inherits: false;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
/* Each raised thing with a colour of its own: the fill its shade is mixed from, and that shade as
|
|
18
|
+
its extrusion. Set whatever the shadow look; only the colour shadow below reads them. */
|
|
19
|
+
.rkui-button {
|
|
20
|
+
--rkui-shade-of: var(--rkui-button-fill);
|
|
21
|
+
--rkui-extrusion: var(--rkui-shade);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
:is(.rkui-checkbox, .rkui-radio, .rkui-switch):checked,
|
|
25
|
+
.rkui-dial-face,
|
|
26
|
+
.rkui-clock-hand--hour .rkui-clock-tag,
|
|
27
|
+
.rkui-drawer--blind > .rkui-drawer-handle .rkui-drawer-pull {
|
|
28
|
+
--rkui-shade-of: var(--rkui-selected);
|
|
29
|
+
--rkui-extrusion: var(--rkui-shade);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/* In error they fill with coral, on or off. */
|
|
33
|
+
:is(.rkui-checkbox, .rkui-radio, .rkui-switch)[aria-invalid='true'] {
|
|
34
|
+
--rkui-shade-of: var(--rkui-coral-solid);
|
|
35
|
+
--rkui-extrusion: var(--rkui-shade);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
/* The range's native thumb and the file button are pseudo-elements, so their inputs carry the
|
|
39
|
+
colour. */
|
|
40
|
+
.rkui-range,
|
|
41
|
+
.rkui-range-thumb {
|
|
42
|
+
--rkui-shade-of: var(--rkui-selected);
|
|
43
|
+
--rkui-extrusion: var(--rkui-shade);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.rkui-input[type='file'] {
|
|
47
|
+
--rkui-shade-of: var(--rkui-yellow);
|
|
48
|
+
--rkui-extrusion: var(--rkui-shade);
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.rkui-tile--color {
|
|
52
|
+
--rkui-shade-of: var(--rkui-swatch);
|
|
53
|
+
--rkui-extrusion: var(--rkui-shade);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
/* Every badge, so a table's stickers take it as well as .rkui-badge--sticker. */
|
|
57
|
+
.rkui-badge {
|
|
58
|
+
--rkui-shade-of: var(--rkui-badge-fill);
|
|
59
|
+
--rkui-extrusion: var(--rkui-shade);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.rkui-spinner-dot {
|
|
63
|
+
--rkui-shade-of: var(--rkui-spinner-dot-fill);
|
|
64
|
+
--rkui-extrusion: var(--rkui-shade);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
/* The ring's wedge and the flask's water. */
|
|
68
|
+
:is(.rkui-spinner--ring, .rkui-spinner--water) {
|
|
69
|
+
--rkui-shade-of: var(--rkui-spinner-fill);
|
|
70
|
+
--rkui-extrusion: var(--rkui-shade);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
/* The band's hue. */
|
|
74
|
+
.rkui-alert {
|
|
75
|
+
--rkui-shade-of: var(--rkui-alert-hue);
|
|
76
|
+
--rkui-extrusion: var(--rkui-shade);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
/* The band's hue, and the lifted row's too: the table's hue, or the section's. With neither,
|
|
80
|
+
--rkui-shade-of is left without a value and they cast --rkui-shadow-lit. */
|
|
81
|
+
.rkui-table,
|
|
82
|
+
.rkui-table--lift tbody tr {
|
|
83
|
+
--rkui-shade-of: var(--rkui-table-hue, var(--rkui-section));
|
|
84
|
+
--rkui-extrusion: var(--rkui-shade);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
/* Its button's fill. */
|
|
88
|
+
.rkui-search-bar {
|
|
89
|
+
--rkui-shade-of: var(--rkui-yellow);
|
|
90
|
+
--rkui-extrusion: var(--rkui-shade);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.rkui-sidebar-more {
|
|
94
|
+
--rkui-shade-of: var(--rkui-pill-fill);
|
|
95
|
+
--rkui-extrusion: var(--rkui-shade);
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
/* Checked chips and section buttons take --rkui-section where it is set. Where it isn't, their
|
|
99
|
+
fill is ink, --rkui-shade-of is left without a value and they cast --rkui-shadow-lit. */
|
|
100
|
+
.rkui-chip:is(:has(:checked), [aria-current='page']),
|
|
101
|
+
.rkui-button--section {
|
|
102
|
+
--rkui-shade-of: var(--rkui-section);
|
|
103
|
+
--rkui-extrusion: var(--rkui-shade);
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
/* A card's hue, where it has one; without, it casts --rkui-shadow-lit. :where() keeps this
|
|
107
|
+
below a sticky note's own colour. */
|
|
108
|
+
:where(.rkui-card--link, .rkui-card--raised) {
|
|
109
|
+
--rkui-shade-of: var(--rkui-card-hue);
|
|
110
|
+
--rkui-extrusion: var(--rkui-shade);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
/* Tints take the solid colour of their tint, as the tint's own shade is too close to the page:
|
|
114
|
+
a tinted folder's sheet and the selected tab that joins it, a sidebar's current page and the
|
|
115
|
+
key equation's panel. */
|
|
116
|
+
.rkui-folder--tinted > .rkui-folder-sheet,
|
|
117
|
+
.rkui-folder--tinted
|
|
118
|
+
> .rkui-folder-strip
|
|
119
|
+
.rkui-folder-tab:is(:has(:checked), [aria-current='page']),
|
|
120
|
+
.rkui-sidebar-link[aria-current='page'] {
|
|
121
|
+
--rkui-shade-of: var(--rkui-selected);
|
|
122
|
+
--rkui-extrusion: var(--rkui-shade);
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
/* A coloured drawer or blind: its own shadow, its handle's, its remote tray's and its pull's.
|
|
126
|
+
The tray's inset, the roller, the screen and the hem are pseudo-elements, which take their
|
|
127
|
+
element's shadow colour. */
|
|
128
|
+
.rkui-drawer--hue,
|
|
129
|
+
.rkui-drawer--hue > :is(.rkui-drawer-handle, .rkui-drawer-tray),
|
|
130
|
+
.rkui-drawer--hue > .rkui-drawer-handle .rkui-drawer-pull {
|
|
131
|
+
--rkui-shade-of: var(--rkui-drawer-hue);
|
|
132
|
+
--rkui-extrusion: var(--rkui-shade);
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.rkui-equation--key {
|
|
136
|
+
--rkui-shade-of: var(--rkui-yellow);
|
|
137
|
+
--rkui-extrusion: var(--rkui-shade);
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
/* A sidebar's current page filled with its link's own colour (sidebar.css). */
|
|
141
|
+
.rkui-sidebar-link--hue[aria-current='page'] {
|
|
142
|
+
--rkui-shade-of: var(--rkui-sidebar-hue);
|
|
143
|
+
--rkui-extrusion: var(--rkui-shade);
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
/* sticky-note.css sets the note's --rkui-shade-of, for its fold. */
|
|
147
|
+
.rkui-sticky-note {
|
|
148
|
+
--rkui-extrusion: var(--rkui-shade);
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
/* Darkened, these fills are too close to the page to read as a shadow. */
|
|
152
|
+
:is(.rkui-button--navy, .rkui-badge--navy) {
|
|
153
|
+
--rkui-extrusion: initial;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
@supports (color: light-dark(black, white)) {
|
|
157
|
+
@scope ([data-shadow='color']) to ([data-shadow='outline'], [data-shadow='block']) {
|
|
158
|
+
/* Declared on every element, the data-shadow one included, so each one resolves its own
|
|
159
|
+
--rkui-extrusion. The shadow tokens are built on every element too (shadows.css), from
|
|
160
|
+
these. */
|
|
161
|
+
:scope,
|
|
162
|
+
* {
|
|
163
|
+
--rkui-shadow-edge: transparent;
|
|
164
|
+
--rkui-shadow-color: light-dark(
|
|
165
|
+
var(--rkui-line),
|
|
166
|
+
var(--rkui-extrusion, var(--rkui-shadow-lit))
|
|
167
|
+
);
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
/* A scroll region's pills are drawn in its background, so they take their own colour
|
|
171
|
+
(overflow.css). */
|
|
172
|
+
:scope.rkui-scroll,
|
|
173
|
+
.rkui-scroll {
|
|
174
|
+
--rkui-shade-of: var(--rkui-pill-fill);
|
|
175
|
+
--rkui-pill-shadow-color: light-dark(var(--rkui-line), var(--rkui-shade));
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
}
|