Mixins / API

foldkit-mixins/theme/knob-data

Namespaces

accentChromaDarkChroma, dark, --fk-knob-accent-c-dark.
accentChromaLightChroma, --fk-knob-accent-c.
accentHueHue, --fk-knob-accent-h.
accentLightnessDarkLightness, dark, --fk-knob-accent-l-dark.
accentLightnessLightLightness, --fk-knob-accent-l.
accentSecondaryShiftSecondary hue shift, --fk-knob-secondary-shift.
accentTertiaryShiftTertiary hue shift, --fk-knob-tertiary-shift.
chartHueChart hue, --fk-knob-chart-h.
codeChromaCode chroma, --fk-knob-syntax-c.
feedbackErrorError, --fk-knob-error-h.
feedbackInfoInfo, --fk-knob-info-h.
feedbackSuccessSuccess, --fk-knob-success-h.
feedbackWarningWarning, --fk-knob-warning-h.
iconSizeIcon size, --fk-knob-icon-scale.
iconStrokeGlyph stroke, --fk-knob-glyph-width.
knobDataEvery range knob by path; a page that reads only some imports their exports instead.
motionScaleMotion, --fk-knob-motion.
readingMeasureReading measure, --fk-knob-measure.
scalesBlueBlue, --fk-knob-blue-h.
scalesChromaScale vividness, --fk-knob-scale-c.
scalesGreenGreen, --fk-knob-green-h.
scalesOrangeOrange, --fk-knob-orange-h.
scalesPurplePurple, --fk-knob-purple-h.
scalesRedRed, --fk-knob-red-h.
scalesTealTeal, --fk-knob-teal-h.
scalesYellowYellow, --fk-knob-yellow-h.
shadowChromaShadow tint, --fk-knob-shadow-c.
shadowHueShadow hue, --fk-knob-shadow-h.
shadowStrengthShadow, --fk-knob-shadow-strength.
shapeBorderBorder, --fk-knob-border-width.
shapeDensityDensity, --fk-knob-density.
shapeRadiusRadius, --fk-knob-radius-factor.
stateDisabledOpacityDisabled, --fk-knob-state-disabled.
surfaceContrastSurface contrast, --fk-knob-surface-contrast.
surfaceHoverStrengthHover strength, --fk-knob-state-hover.
surfaceHueNeutral hue, --fk-knob-neutral-h.
surfaceLightnessDarkPage lightness, dark, --fk-knob-base-l-dark.
surfaceLightnessLightPage lightness, --fk-knob-base-l.
surfaceSaturationDarkSurface tint, dark, --fk-knob-surface-c-dark.
surfaceSaturationLightSurface tint, --fk-knob-surface-c.
surfaceTextContrastText contrast, --fk-knob-contrast-factor.
typeFluidFluid type, --fk-knob-fluid.
typeHeadingScaleHeading scale, --fk-knob-heading-scale.
typeHeadingTrackingHeading tracking, --fk-knob-heading-tracking.
typeHeadingWeightHeading weight, --fk-knob-heading-weight.
typeLeadingLine height, --fk-knob-leading.
typeScaleText size, --fk-knob-text-scale.
typeViewportMaxLarge viewport, --fk-knob-fluid-viewport-max.
typeViewportMinSmall viewport, --fk-knob-fluid-viewport-min.

Interfaces

KnobDataA knob drawn as a range: the variable it writes and the bounds of its control.

Types

RangeNameEach range knob of S by its path (shape.density); a knob with a light and a dark value is two, accent.chroma.light and accent.chroma.dark.