Design Tokens
Design tokens are the visual design atoms of the Inkline Design System. They define the look and feel of the components, including colors, typography, and spacing. By using design tokens, we can create a cohesive and consistent user interface.
Inkline's Design Tokens are generated automatically after updating your inkline.config.ts
file if you've followed the official Installation guide. You could also customize them manually by overwriting their value in the :root
of your stylesheet.
Inkline uses a set of color variables to define the color palette of the Design System. These variables are used to define the color of the components, as well as the color of the text and background. It's important to keep in mind accessibility and contrast when defining color design tokens.
By updating the base CSS variable for a color, all corresponding variants based on that color will automatically be updated as well, ensuring consistency throughout the UI.
Read about color configuration
Primary brand color for Inkline. This color provides accessible contrast when used for text on light background.
--color-primary-h: ;--color-primary-s: ;--color-primary-l: ;--color-primary-a: ;--color-primary: hsla(
var(--color-primary-h),
var(--color-primary-s),
var(--color-primary-l),
var(--color-primary-a)
);
--color-primary-tint-150-h: ;--color-primary-tint-150-s: ;--color-primary-tint-150-l: ;--color-primary-tint-150-a: ;--color-primary-tint-150: hsla(
var(--color-primary-tint-150-h),
var(--color-primary-tint-150-s),
var(--color-primary-tint-150-l),
var(--color-primary-tint-150-a)
);
--color-primary-tint-100-h: ;--color-primary-tint-100-s: ;--color-primary-tint-100-l: ;--color-primary-tint-100-a: ;--color-primary-tint-100: hsla(
var(--color-primary-tint-100-h),
var(--color-primary-tint-100-s),
var(--color-primary-tint-100-l),
var(--color-primary-tint-100-a)
);
--color-primary-tint-50-h: ;--color-primary-tint-50-s: ;--color-primary-tint-50-l: ;--color-primary-tint-50-a: ;--color-primary-tint-50: hsla(
var(--color-primary-tint-50-h),
var(--color-primary-tint-50-s),
var(--color-primary-tint-50-l),
var(--color-primary-tint-50-a)
);
--color-primary-shade-50-h: ;--color-primary-shade-50-s: ;--color-primary-shade-50-l: ;--color-primary-shade-50-a: ;--color-primary-shade-50: hsla(
var(--color-primary-shade-50-h),
var(--color-primary-shade-50-s),
var(--color-primary-shade-50-l),
var(--color-primary-shade-50-a)
);
--color-primary-shade-100-h: ;--color-primary-shade-100-s: ;--color-primary-shade-100-l: ;--color-primary-shade-100-a: ;--color-primary-shade-100: hsla(
var(--color-primary-shade-100-h),
var(--color-primary-shade-100-s),
var(--color-primary-shade-100-l),
var(--color-primary-shade-100-a)
);
--color-primary-shade-150-h: ;--color-primary-shade-150-s: ;--color-primary-shade-150-l: ;--color-primary-shade-150-a: ;--color-primary-shade-150: hsla(
var(--color-primary-shade-150-h),
var(--color-primary-shade-150-s),
var(--color-primary-shade-150-l),
var(--color-primary-shade-150-a)
);
--color-primary-50-h: ;--color-primary-50-s: ;--color-primary-50-l: ;--color-primary-50-a: ;--color-primary-50: hsla(
var(--color-primary-50-h),
var(--color-primary-50-s),
var(--color-primary-50-l),
var(--color-primary-50-a)
);
--color-primary-100-h: ;--color-primary-100-s: ;--color-primary-100-l: ;--color-primary-100-a: ;--color-primary-100: hsla(
var(--color-primary-100-h),
var(--color-primary-100-s),
var(--color-primary-100-l),
var(--color-primary-100-a)
);
--color-primary-200-h: ;--color-primary-200-s: ;--color-primary-200-l: ;--color-primary-200-a: ;--color-primary-200: hsla(
var(--color-primary-200-h),
var(--color-primary-200-s),
var(--color-primary-200-l),
var(--color-primary-200-a)
);
--color-primary-300-h: ;--color-primary-300-s: ;--color-primary-300-l: ;--color-primary-300-a: ;--color-primary-300: hsla(
var(--color-primary-300-h),
var(--color-primary-300-s),
var(--color-primary-300-l),
var(--color-primary-300-a)
);
--color-primary-400-h: ;--color-primary-400-s: ;--color-primary-400-l: ;--color-primary-400-a: ;--color-primary-400: hsla(
var(--color-primary-400-h),
var(--color-primary-400-s),
var(--color-primary-400-l),
var(--color-primary-400-a)
);
--color-primary-500-h: ;--color-primary-500-s: ;--color-primary-500-l: ;--color-primary-500-a: ;--color-primary-500: hsla(
var(--color-primary-500-h),
var(--color-primary-500-s),
var(--color-primary-500-l),
var(--color-primary-500-a)
);
--color-primary-600-h: ;--color-primary-600-s: ;--color-primary-600-l: ;--color-primary-600-a: ;--color-primary-600: hsla(
var(--color-primary-600-h),
var(--color-primary-600-s),
var(--color-primary-600-l),
var(--color-primary-600-a)
);
--color-primary-700-h: ;--color-primary-700-s: ;--color-primary-700-l: ;--color-primary-700-a: ;--color-primary-700: hsla(
var(--color-primary-700-h),
var(--color-primary-700-s),
var(--color-primary-700-l),
var(--color-primary-700-a)
);
--color-primary-800-h: ;--color-primary-800-s: ;--color-primary-800-l: ;--color-primary-800-a: ;--color-primary-800: hsla(
var(--color-primary-800-h),
var(--color-primary-800-s),
var(--color-primary-800-l),
var(--color-primary-800-a)
);
--color-primary-900-h: ;--color-primary-900-s: ;--color-primary-900-l: ;--color-primary-900-a: ;--color-primary-900: hsla(
var(--color-primary-900-h),
var(--color-primary-900-s),
var(--color-primary-900-l),
var(--color-primary-900-a)
);
The secondary brand color for Inkline is intended to complement the primary color and can be used for accents or to add visual interest.
--color-secondary-h: ;--color-secondary-s: ;--color-secondary-l: ;--color-secondary-a: ;--color-secondary: hsla(
var(--color-secondary-h),
var(--color-secondary-s),
var(--color-secondary-l),
var(--color-secondary-a)
);
--color-secondary-tint-150-h: ;--color-secondary-tint-150-s: ;--color-secondary-tint-150-l: ;--color-secondary-tint-150-a: ;--color-secondary-tint-150: hsla(
var(--color-secondary-tint-150-h),
var(--color-secondary-tint-150-s),
var(--color-secondary-tint-150-l),
var(--color-secondary-tint-150-a)
);
--color-secondary-tint-100-h: ;--color-secondary-tint-100-s: ;--color-secondary-tint-100-l: ;--color-secondary-tint-100-a: ;--color-secondary-tint-100: hsla(
var(--color-secondary-tint-100-h),
var(--color-secondary-tint-100-s),
var(--color-secondary-tint-100-l),
var(--color-secondary-tint-100-a)
);
--color-secondary-tint-50-h: ;--color-secondary-tint-50-s: ;--color-secondary-tint-50-l: ;--color-secondary-tint-50-a: ;--color-secondary-tint-50: hsla(
var(--color-secondary-tint-50-h),
var(--color-secondary-tint-50-s),
var(--color-secondary-tint-50-l),
var(--color-secondary-tint-50-a)
);
--color-secondary-shade-50-h: ;--color-secondary-shade-50-s: ;--color-secondary-shade-50-l: ;--color-secondary-shade-50-a: ;--color-secondary-shade-50: hsla(
var(--color-secondary-shade-50-h),
var(--color-secondary-shade-50-s),
var(--color-secondary-shade-50-l),
var(--color-secondary-shade-50-a)
);
--color-secondary-shade-100-h: ;--color-secondary-shade-100-s: ;--color-secondary-shade-100-l: ;--color-secondary-shade-100-a: ;--color-secondary-shade-100: hsla(
var(--color-secondary-shade-100-h),
var(--color-secondary-shade-100-s),
var(--color-secondary-shade-100-l),
var(--color-secondary-shade-100-a)
);
--color-secondary-shade-150-h: ;--color-secondary-shade-150-s: ;--color-secondary-shade-150-l: ;--color-secondary-shade-150-a: ;--color-secondary-shade-150: hsla(
var(--color-secondary-shade-150-h),
var(--color-secondary-shade-150-s),
var(--color-secondary-shade-150-l),
var(--color-secondary-shade-150-a)
);
--color-secondary-50-h: ;--color-secondary-50-s: ;--color-secondary-50-l: ;--color-secondary-50-a: ;--color-secondary-50: hsla(
var(--color-secondary-50-h),
var(--color-secondary-50-s),
var(--color-secondary-50-l),
var(--color-secondary-50-a)
);
--color-secondary-100-h: ;--color-secondary-100-s: ;--color-secondary-100-l: ;--color-secondary-100-a: ;--color-secondary-100: hsla(
var(--color-secondary-100-h),
var(--color-secondary-100-s),
var(--color-secondary-100-l),
var(--color-secondary-100-a)
);
--color-secondary-200-h: ;--color-secondary-200-s: ;--color-secondary-200-l: ;--color-secondary-200-a: ;--color-secondary-200: hsla(
var(--color-secondary-200-h),
var(--color-secondary-200-s),
var(--color-secondary-200-l),
var(--color-secondary-200-a)
);
--color-secondary-300-h: ;--color-secondary-300-s: ;--color-secondary-300-l: ;--color-secondary-300-a: ;--color-secondary-300: hsla(
var(--color-secondary-300-h),
var(--color-secondary-300-s),
var(--color-secondary-300-l),
var(--color-secondary-300-a)
);
--color-secondary-400-h: ;--color-secondary-400-s: ;--color-secondary-400-l: ;--color-secondary-400-a: ;--color-secondary-400: hsla(
var(--color-secondary-400-h),
var(--color-secondary-400-s),
var(--color-secondary-400-l),
var(--color-secondary-400-a)
);
--color-secondary-500-h: ;--color-secondary-500-s: ;--color-secondary-500-l: ;--color-secondary-500-a: ;--color-secondary-500: hsla(
var(--color-secondary-500-h),
var(--color-secondary-500-s),
var(--color-secondary-500-l),
var(--color-secondary-500-a)
);
--color-secondary-600-h: ;--color-secondary-600-s: ;--color-secondary-600-l: ;--color-secondary-600-a: ;--color-secondary-600: hsla(
var(--color-secondary-600-h),
var(--color-secondary-600-s),
var(--color-secondary-600-l),
var(--color-secondary-600-a)
);
--color-secondary-700-h: ;--color-secondary-700-s: ;--color-secondary-700-l: ;--color-secondary-700-a: ;--color-secondary-700: hsla(
var(--color-secondary-700-h),
var(--color-secondary-700-s),
var(--color-secondary-700-l),
var(--color-secondary-700-a)
);
--color-secondary-800-h: ;--color-secondary-800-s: ;--color-secondary-800-l: ;--color-secondary-800-a: ;--color-secondary-800: hsla(
var(--color-secondary-800-h),
var(--color-secondary-800-s),
var(--color-secondary-800-l),
var(--color-secondary-800-a)
);
--color-secondary-900-h: ;--color-secondary-900-s: ;--color-secondary-900-l: ;--color-secondary-900-a: ;--color-secondary-900: hsla(
var(--color-secondary-900-h),
var(--color-secondary-900-s),
var(--color-secondary-900-l),
var(--color-secondary-900-a)
);
The info brand color for Inkline is used to convey information or highlight important elements, such as alerts, notifications, or messages.
--color-info-h: ;--color-info-s: ;--color-info-l: ;--color-info-a: ;--color-info: hsla(
var(--color-info-h),
var(--color-info-s),
var(--color-info-l),
var(--color-info-a)
);
--color-info-tint-150-h: ;--color-info-tint-150-s: ;--color-info-tint-150-l: ;--color-info-tint-150-a: ;--color-info-tint-150: hsla(
var(--color-info-tint-150-h),
var(--color-info-tint-150-s),
var(--color-info-tint-150-l),
var(--color-info-tint-150-a)
);
--color-info-tint-100-h: ;--color-info-tint-100-s: ;--color-info-tint-100-l: ;--color-info-tint-100-a: ;--color-info-tint-100: hsla(
var(--color-info-tint-100-h),
var(--color-info-tint-100-s),
var(--color-info-tint-100-l),
var(--color-info-tint-100-a)
);
--color-info-tint-50-h: ;--color-info-tint-50-s: ;--color-info-tint-50-l: ;--color-info-tint-50-a: ;--color-info-tint-50: hsla(
var(--color-info-tint-50-h),
var(--color-info-tint-50-s),
var(--color-info-tint-50-l),
var(--color-info-tint-50-a)
);
--color-info-shade-50-h: ;--color-info-shade-50-s: ;--color-info-shade-50-l: ;--color-info-shade-50-a: ;--color-info-shade-50: hsla(
var(--color-info-shade-50-h),
var(--color-info-shade-50-s),
var(--color-info-shade-50-l),
var(--color-info-shade-50-a)
);
--color-info-shade-100-h: ;--color-info-shade-100-s: ;--color-info-shade-100-l: ;--color-info-shade-100-a: ;--color-info-shade-100: hsla(
var(--color-info-shade-100-h),
var(--color-info-shade-100-s),
var(--color-info-shade-100-l),
var(--color-info-shade-100-a)
);
--color-info-shade-150-h: ;--color-info-shade-150-s: ;--color-info-shade-150-l: ;--color-info-shade-150-a: ;--color-info-shade-150: hsla(
var(--color-info-shade-150-h),
var(--color-info-shade-150-s),
var(--color-info-shade-150-l),
var(--color-info-shade-150-a)
);
--color-info-50-h: ;--color-info-50-s: ;--color-info-50-l: ;--color-info-50-a: ;--color-info-50: hsla(
var(--color-info-50-h),
var(--color-info-50-s),
var(--color-info-50-l),
var(--color-info-50-a)
);
--color-info-100-h: ;--color-info-100-s: ;--color-info-100-l: ;--color-info-100-a: ;--color-info-100: hsla(
var(--color-info-100-h),
var(--color-info-100-s),
var(--color-info-100-l),
var(--color-info-100-a)
);
--color-info-200-h: ;--color-info-200-s: ;--color-info-200-l: ;--color-info-200-a: ;--color-info-200: hsla(
var(--color-info-200-h),
var(--color-info-200-s),
var(--color-info-200-l),
var(--color-info-200-a)
);
--color-info-300-h: ;--color-info-300-s: ;--color-info-300-l: ;--color-info-300-a: ;--color-info-300: hsla(
var(--color-info-300-h),
var(--color-info-300-s),
var(--color-info-300-l),
var(--color-info-300-a)
);
--color-info-400-h: ;--color-info-400-s: ;--color-info-400-l: ;--color-info-400-a: ;--color-info-400: hsla(
var(--color-info-400-h),
var(--color-info-400-s),
var(--color-info-400-l),
var(--color-info-400-a)
);
--color-info-500-h: ;--color-info-500-s: ;--color-info-500-l: ;--color-info-500-a: ;--color-info-500: hsla(
var(--color-info-500-h),
var(--color-info-500-s),
var(--color-info-500-l),
var(--color-info-500-a)
);
--color-info-600-h: ;--color-info-600-s: ;--color-info-600-l: ;--color-info-600-a: ;--color-info-600: hsla(
var(--color-info-600-h),
var(--color-info-600-s),
var(--color-info-600-l),
var(--color-info-600-a)
);
--color-info-700-h: ;--color-info-700-s: ;--color-info-700-l: ;--color-info-700-a: ;--color-info-700: hsla(
var(--color-info-700-h),
var(--color-info-700-s),
var(--color-info-700-l),
var(--color-info-700-a)
);
--color-info-800-h: ;--color-info-800-s: ;--color-info-800-l: ;--color-info-800-a: ;--color-info-800: hsla(
var(--color-info-800-h),
var(--color-info-800-s),
var(--color-info-800-l),
var(--color-info-800-a)
);
--color-info-900-h: ;--color-info-900-s: ;--color-info-900-l: ;--color-info-900-a: ;--color-info-900: hsla(
var(--color-info-900-h),
var(--color-info-900-s),
var(--color-info-900-l),
var(--color-info-900-a)
);
The success brand color for Inkline is used to indicate a positive action or outcome, such as a successful form submission or completion of a task.
--color-success-h: ;--color-success-s: ;--color-success-l: ;--color-success-a: ;--color-success: hsla(
var(--color-success-h),
var(--color-success-s),
var(--color-success-l),
var(--color-success-a)
);
--color-success-tint-150-h: ;--color-success-tint-150-s: ;--color-success-tint-150-l: ;--color-success-tint-150-a: ;--color-success-tint-150: hsla(
var(--color-success-tint-150-h),
var(--color-success-tint-150-s),
var(--color-success-tint-150-l),
var(--color-success-tint-150-a)
);
--color-success-tint-100-h: ;--color-success-tint-100-s: ;--color-success-tint-100-l: ;--color-success-tint-100-a: ;--color-success-tint-100: hsla(
var(--color-success-tint-100-h),
var(--color-success-tint-100-s),
var(--color-success-tint-100-l),
var(--color-success-tint-100-a)
);
--color-success-tint-50-h: ;--color-success-tint-50-s: ;--color-success-tint-50-l: ;--color-success-tint-50-a: ;--color-success-tint-50: hsla(
var(--color-success-tint-50-h),
var(--color-success-tint-50-s),
var(--color-success-tint-50-l),
var(--color-success-tint-50-a)
);
--color-success-shade-50-h: ;--color-success-shade-50-s: ;--color-success-shade-50-l: ;--color-success-shade-50-a: ;--color-success-shade-50: hsla(
var(--color-success-shade-50-h),
var(--color-success-shade-50-s),
var(--color-success-shade-50-l),
var(--color-success-shade-50-a)
);
--color-success-shade-100-h: ;--color-success-shade-100-s: ;--color-success-shade-100-l: ;--color-success-shade-100-a: ;--color-success-shade-100: hsla(
var(--color-success-shade-100-h),
var(--color-success-shade-100-s),
var(--color-success-shade-100-l),
var(--color-success-shade-100-a)
);
--color-success-shade-150-h: ;--color-success-shade-150-s: ;--color-success-shade-150-l: ;--color-success-shade-150-a: ;--color-success-shade-150: hsla(
var(--color-success-shade-150-h),
var(--color-success-shade-150-s),
var(--color-success-shade-150-l),
var(--color-success-shade-150-a)
);
--color-success-50-h: ;--color-success-50-s: ;--color-success-50-l: ;--color-success-50-a: ;--color-success-50: hsla(
var(--color-success-50-h),
var(--color-success-50-s),
var(--color-success-50-l),
var(--color-success-50-a)
);
--color-success-100-h: ;--color-success-100-s: ;--color-success-100-l: ;--color-success-100-a: ;--color-success-100: hsla(
var(--color-success-100-h),
var(--color-success-100-s),
var(--color-success-100-l),
var(--color-success-100-a)
);
--color-success-200-h: ;--color-success-200-s: ;--color-success-200-l: ;--color-success-200-a: ;--color-success-200: hsla(
var(--color-success-200-h),
var(--color-success-200-s),
var(--color-success-200-l),
var(--color-success-200-a)
);
--color-success-300-h: ;--color-success-300-s: ;--color-success-300-l: ;--color-success-300-a: ;--color-success-300: hsla(
var(--color-success-300-h),
var(--color-success-300-s),
var(--color-success-300-l),
var(--color-success-300-a)
);
--color-success-400-h: ;--color-success-400-s: ;--color-success-400-l: ;--color-success-400-a: ;--color-success-400: hsla(
var(--color-success-400-h),
var(--color-success-400-s),
var(--color-success-400-l),
var(--color-success-400-a)
);
--color-success-500-h: ;--color-success-500-s: ;--color-success-500-l: ;--color-success-500-a: ;--color-success-500: hsla(
var(--color-success-500-h),
var(--color-success-500-s),
var(--color-success-500-l),
var(--color-success-500-a)
);
--color-success-600-h: ;--color-success-600-s: ;--color-success-600-l: ;--color-success-600-a: ;--color-success-600: hsla(
var(--color-success-600-h),
var(--color-success-600-s),
var(--color-success-600-l),
var(--color-success-600-a)
);
--color-success-700-h: ;--color-success-700-s: ;--color-success-700-l: ;--color-success-700-a: ;--color-success-700: hsla(
var(--color-success-700-h),
var(--color-success-700-s),
var(--color-success-700-l),
var(--color-success-700-a)
);
--color-success-800-h: ;--color-success-800-s: ;--color-success-800-l: ;--color-success-800-a: ;--color-success-800: hsla(
var(--color-success-800-h),
var(--color-success-800-s),
var(--color-success-800-l),
var(--color-success-800-a)
);
--color-success-900-h: ;--color-success-900-s: ;--color-success-900-l: ;--color-success-900-a: ;--color-success-900: hsla(
var(--color-success-900-h),
var(--color-success-900-s),
var(--color-success-900-l),
var(--color-success-900-a)
);
The warning brand color for Inkline is used to alert users to potential issues or problems, such as problems in form fields or incomplete information.
--color-warning-h: ;--color-warning-s: ;--color-warning-l: ;--color-warning-a: ;--color-warning: hsla(
var(--color-warning-h),
var(--color-warning-s),
var(--color-warning-l),
var(--color-warning-a)
);
--color-warning-tint-150-h: ;--color-warning-tint-150-s: ;--color-warning-tint-150-l: ;--color-warning-tint-150-a: ;--color-warning-tint-150: hsla(
var(--color-warning-tint-150-h),
var(--color-warning-tint-150-s),
var(--color-warning-tint-150-l),
var(--color-warning-tint-150-a)
);
--color-warning-tint-100-h: ;--color-warning-tint-100-s: ;--color-warning-tint-100-l: ;--color-warning-tint-100-a: ;--color-warning-tint-100: hsla(
var(--color-warning-tint-100-h),
var(--color-warning-tint-100-s),
var(--color-warning-tint-100-l),
var(--color-warning-tint-100-a)
);
--color-warning-tint-50-h: ;--color-warning-tint-50-s: ;--color-warning-tint-50-l: ;--color-warning-tint-50-a: ;--color-warning-tint-50: hsla(
var(--color-warning-tint-50-h),
var(--color-warning-tint-50-s),
var(--color-warning-tint-50-l),
var(--color-warning-tint-50-a)
);
--color-warning-shade-50-h: ;--color-warning-shade-50-s: ;--color-warning-shade-50-l: ;--color-warning-shade-50-a: ;--color-warning-shade-50: hsla(
var(--color-warning-shade-50-h),
var(--color-warning-shade-50-s),
var(--color-warning-shade-50-l),
var(--color-warning-shade-50-a)
);
--color-warning-shade-100-h: ;--color-warning-shade-100-s: ;--color-warning-shade-100-l: ;--color-warning-shade-100-a: ;--color-warning-shade-100: hsla(
var(--color-warning-shade-100-h),
var(--color-warning-shade-100-s),
var(--color-warning-shade-100-l),
var(--color-warning-shade-100-a)
);
--color-warning-shade-150-h: ;--color-warning-shade-150-s: ;--color-warning-shade-150-l: ;--color-warning-shade-150-a: ;--color-warning-shade-150: hsla(
var(--color-warning-shade-150-h),
var(--color-warning-shade-150-s),
var(--color-warning-shade-150-l),
var(--color-warning-shade-150-a)
);
--color-warning-50-h: ;--color-warning-50-s: ;--color-warning-50-l: ;--color-warning-50-a: ;--color-warning-50: hsla(
var(--color-warning-50-h),
var(--color-warning-50-s),
var(--color-warning-50-l),
var(--color-warning-50-a)
);
--color-warning-100-h: ;--color-warning-100-s: ;--color-warning-100-l: ;--color-warning-100-a: ;--color-warning-100: hsla(
var(--color-warning-100-h),
var(--color-warning-100-s),
var(--color-warning-100-l),
var(--color-warning-100-a)
);
--color-warning-200-h: ;--color-warning-200-s: ;--color-warning-200-l: ;--color-warning-200-a: ;--color-warning-200: hsla(
var(--color-warning-200-h),
var(--color-warning-200-s),
var(--color-warning-200-l),
var(--color-warning-200-a)
);
--color-warning-300-h: ;--color-warning-300-s: ;--color-warning-300-l: ;--color-warning-300-a: ;--color-warning-300: hsla(
var(--color-warning-300-h),
var(--color-warning-300-s),
var(--color-warning-300-l),
var(--color-warning-300-a)
);
--color-warning-400-h: ;--color-warning-400-s: ;--color-warning-400-l: ;--color-warning-400-a: ;--color-warning-400: hsla(
var(--color-warning-400-h),
var(--color-warning-400-s),
var(--color-warning-400-l),
var(--color-warning-400-a)
);
--color-warning-500-h: ;--color-warning-500-s: ;--color-warning-500-l: ;--color-warning-500-a: ;--color-warning-500: hsla(
var(--color-warning-500-h),
var(--color-warning-500-s),
var(--color-warning-500-l),
var(--color-warning-500-a)
);
--color-warning-600-h: ;--color-warning-600-s: ;--color-warning-600-l: ;--color-warning-600-a: ;--color-warning-600: hsla(
var(--color-warning-600-h),
var(--color-warning-600-s),
var(--color-warning-600-l),
var(--color-warning-600-a)
);
--color-warning-700-h: ;--color-warning-700-s: ;--color-warning-700-l: ;--color-warning-700-a: ;--color-warning-700: hsla(
var(--color-warning-700-h),
var(--color-warning-700-s),
var(--color-warning-700-l),
var(--color-warning-700-a)
);
--color-warning-800-h: ;--color-warning-800-s: ;--color-warning-800-l: ;--color-warning-800-a: ;--color-warning-800: hsla(
var(--color-warning-800-h),
var(--color-warning-800-s),
var(--color-warning-800-l),
var(--color-warning-800-a)
);
--color-warning-900-h: ;--color-warning-900-s: ;--color-warning-900-l: ;--color-warning-900-a: ;--color-warning-900: hsla(
var(--color-warning-900-h),
var(--color-warning-900-s),
var(--color-warning-900-l),
var(--color-warning-900-a)
);
The danger brand color for Inkline is used to signify a critical or urgent warning, such as a system error or potential loss of data.
--color-danger-h: ;--color-danger-s: ;--color-danger-l: ;--color-danger-a: ;--color-danger: hsla(
var(--color-danger-h),
var(--color-danger-s),
var(--color-danger-l),
var(--color-danger-a)
);
--color-danger-tint-150-h: ;--color-danger-tint-150-s: ;--color-danger-tint-150-l: ;--color-danger-tint-150-a: ;--color-danger-tint-150: hsla(
var(--color-danger-tint-150-h),
var(--color-danger-tint-150-s),
var(--color-danger-tint-150-l),
var(--color-danger-tint-150-a)
);
--color-danger-tint-100-h: ;--color-danger-tint-100-s: ;--color-danger-tint-100-l: ;--color-danger-tint-100-a: ;--color-danger-tint-100: hsla(
var(--color-danger-tint-100-h),
var(--color-danger-tint-100-s),
var(--color-danger-tint-100-l),
var(--color-danger-tint-100-a)
);
--color-danger-tint-50-h: ;--color-danger-tint-50-s: ;--color-danger-tint-50-l: ;--color-danger-tint-50-a: ;--color-danger-tint-50: hsla(
var(--color-danger-tint-50-h),
var(--color-danger-tint-50-s),
var(--color-danger-tint-50-l),
var(--color-danger-tint-50-a)
);
--color-danger-shade-50-h: ;--color-danger-shade-50-s: ;--color-danger-shade-50-l: ;--color-danger-shade-50-a: ;--color-danger-shade-50: hsla(
var(--color-danger-shade-50-h),
var(--color-danger-shade-50-s),
var(--color-danger-shade-50-l),
var(--color-danger-shade-50-a)
);
--color-danger-shade-100-h: ;--color-danger-shade-100-s: ;--color-danger-shade-100-l: ;--color-danger-shade-100-a: ;--color-danger-shade-100: hsla(
var(--color-danger-shade-100-h),
var(--color-danger-shade-100-s),
var(--color-danger-shade-100-l),
var(--color-danger-shade-100-a)
);
--color-danger-shade-150-h: ;--color-danger-shade-150-s: ;--color-danger-shade-150-l: ;--color-danger-shade-150-a: ;--color-danger-shade-150: hsla(
var(--color-danger-shade-150-h),
var(--color-danger-shade-150-s),
var(--color-danger-shade-150-l),
var(--color-danger-shade-150-a)
);
--color-danger-50-h: ;--color-danger-50-s: ;--color-danger-50-l: ;--color-danger-50-a: ;--color-danger-50: hsla(
var(--color-danger-50-h),
var(--color-danger-50-s),
var(--color-danger-50-l),
var(--color-danger-50-a)
);
--color-danger-100-h: ;--color-danger-100-s: ;--color-danger-100-l: ;--color-danger-100-a: ;--color-danger-100: hsla(
var(--color-danger-100-h),
var(--color-danger-100-s),
var(--color-danger-100-l),
var(--color-danger-100-a)
);
--color-danger-200-h: ;--color-danger-200-s: ;--color-danger-200-l: ;--color-danger-200-a: ;--color-danger-200: hsla(
var(--color-danger-200-h),
var(--color-danger-200-s),
var(--color-danger-200-l),
var(--color-danger-200-a)
);
--color-danger-300-h: ;--color-danger-300-s: ;--color-danger-300-l: ;--color-danger-300-a: ;--color-danger-300: hsla(
var(--color-danger-300-h),
var(--color-danger-300-s),
var(--color-danger-300-l),
var(--color-danger-300-a)
);
--color-danger-400-h: ;--color-danger-400-s: ;--color-danger-400-l: ;--color-danger-400-a: ;--color-danger-400: hsla(
var(--color-danger-400-h),
var(--color-danger-400-s),
var(--color-danger-400-l),
var(--color-danger-400-a)
);
--color-danger-500-h: ;--color-danger-500-s: ;--color-danger-500-l: ;--color-danger-500-a: ;--color-danger-500: hsla(
var(--color-danger-500-h),
var(--color-danger-500-s),
var(--color-danger-500-l),
var(--color-danger-500-a)
);
--color-danger-600-h: ;--color-danger-600-s: ;--color-danger-600-l: ;--color-danger-600-a: ;--color-danger-600: hsla(
var(--color-danger-600-h),
var(--color-danger-600-s),
var(--color-danger-600-l),
var(--color-danger-600-a)
);
--color-danger-700-h: ;--color-danger-700-s: ;--color-danger-700-l: ;--color-danger-700-a: ;--color-danger-700: hsla(
var(--color-danger-700-h),
var(--color-danger-700-s),
var(--color-danger-700-l),
var(--color-danger-700-a)
);
--color-danger-800-h: ;--color-danger-800-s: ;--color-danger-800-l: ;--color-danger-800-a: ;--color-danger-800: hsla(
var(--color-danger-800-h),
var(--color-danger-800-s),
var(--color-danger-800-l),
var(--color-danger-800-a)
);
--color-danger-900-h: ;--color-danger-900-s: ;--color-danger-900-l: ;--color-danger-900-a: ;--color-danger-900: hsla(
var(--color-danger-900-h),
var(--color-danger-900-s),
var(--color-danger-900-l),
var(--color-danger-900-a)
);
The light neutral color has a higher luminance value and is often associated with purity, clarity, and simplicity. It can be used to create a sense of openness, spaciousness, and airiness in UI Design.
--color-light-h: ;--color-light-s: ;--color-light-l: ;--color-light-a: ;--color-light: hsla(
var(--color-light-h),
var(--color-light-s),
var(--color-light-l),
var(--color-light-a)
);
--color-light-tint-150-h: ;--color-light-tint-150-s: ;--color-light-tint-150-l: ;--color-light-tint-150-a: ;--color-light-tint-150: hsla(
var(--color-light-tint-150-h),
var(--color-light-tint-150-s),
var(--color-light-tint-150-l),
var(--color-light-tint-150-a)
);
--color-light-tint-100-h: ;--color-light-tint-100-s: ;--color-light-tint-100-l: ;--color-light-tint-100-a: ;--color-light-tint-100: hsla(
var(--color-light-tint-100-h),
var(--color-light-tint-100-s),
var(--color-light-tint-100-l),
var(--color-light-tint-100-a)
);
--color-light-tint-50-h: ;--color-light-tint-50-s: ;--color-light-tint-50-l: ;--color-light-tint-50-a: ;--color-light-tint-50: hsla(
var(--color-light-tint-50-h),
var(--color-light-tint-50-s),
var(--color-light-tint-50-l),
var(--color-light-tint-50-a)
);
--color-light-shade-50-h: ;--color-light-shade-50-s: ;--color-light-shade-50-l: ;--color-light-shade-50-a: ;--color-light-shade-50: hsla(
var(--color-light-shade-50-h),
var(--color-light-shade-50-s),
var(--color-light-shade-50-l),
var(--color-light-shade-50-a)
);
--color-light-shade-100-h: ;--color-light-shade-100-s: ;--color-light-shade-100-l: ;--color-light-shade-100-a: ;--color-light-shade-100: hsla(
var(--color-light-shade-100-h),
var(--color-light-shade-100-s),
var(--color-light-shade-100-l),
var(--color-light-shade-100-a)
);
--color-light-shade-150-h: ;--color-light-shade-150-s: ;--color-light-shade-150-l: ;--color-light-shade-150-a: ;--color-light-shade-150: hsla(
var(--color-light-shade-150-h),
var(--color-light-shade-150-s),
var(--color-light-shade-150-l),
var(--color-light-shade-150-a)
);
The dark neutral color has a lower luminance value and can convey a sense of sophistication, elegance, and power. It can be used to create a sense of depth and contrast in UI Design, as well as to emphasize important elements.
--color-dark-h: ;--color-dark-s: ;--color-dark-l: ;--color-dark-a: ;--color-dark: hsla(
var(--color-dark-h),
var(--color-dark-s),
var(--color-dark-l),
var(--color-dark-a)
);
--color-dark-tint-150-h: ;--color-dark-tint-150-s: ;--color-dark-tint-150-l: ;--color-dark-tint-150-a: ;--color-dark-tint-150: hsla(
var(--color-dark-tint-150-h),
var(--color-dark-tint-150-s),
var(--color-dark-tint-150-l),
var(--color-dark-tint-150-a)
);
--color-dark-tint-100-h: ;--color-dark-tint-100-s: ;--color-dark-tint-100-l: ;--color-dark-tint-100-a: ;--color-dark-tint-100: hsla(
var(--color-dark-tint-100-h),
var(--color-dark-tint-100-s),
var(--color-dark-tint-100-l),
var(--color-dark-tint-100-a)
);
--color-dark-tint-50-h: ;--color-dark-tint-50-s: ;--color-dark-tint-50-l: ;--color-dark-tint-50-a: ;--color-dark-tint-50: hsla(
var(--color-dark-tint-50-h),
var(--color-dark-tint-50-s),
var(--color-dark-tint-50-l),
var(--color-dark-tint-50-a)
);
--color-dark-shade-50-h: ;--color-dark-shade-50-s: ;--color-dark-shade-50-l: ;--color-dark-shade-50-a: ;--color-dark-shade-50: hsla(
var(--color-dark-shade-50-h),
var(--color-dark-shade-50-s),
var(--color-dark-shade-50-l),
var(--color-dark-shade-50-a)
);
--color-dark-shade-100-h: ;--color-dark-shade-100-s: ;--color-dark-shade-100-l: ;--color-dark-shade-100-a: ;--color-dark-shade-100: hsla(
var(--color-dark-shade-100-h),
var(--color-dark-shade-100-s),
var(--color-dark-shade-100-l),
var(--color-dark-shade-100-a)
);
--color-dark-shade-150-h: ;--color-dark-shade-150-s: ;--color-dark-shade-150-l: ;--color-dark-shade-150-a: ;--color-dark-shade-150: hsla(
var(--color-dark-shade-150-h),
var(--color-dark-shade-150-s),
var(--color-dark-shade-150-l),
var(--color-dark-shade-150-a)
);
White is a neutral color that is often associated with purity, clarity, and simplicity. It can be used in UI Design to create a clean and minimalistic look, as well as to emphasize other colors and elements.
--color-white-h: ;--color-white-s: ;--color-white-l: ;--color-white-a: ;--color-white: hsla(
var(--color-white-h),
var(--color-white-s),
var(--color-white-l),
var(--color-white-a)
);
Black is a versatile color that can represent elegance, sophistication, and power, as well as darkness, mystery, and edginess. It can be used in UI Design to create a sense of contrast and emphasis, as well as to convey a high-end or premium look and feel.
--color-black-h: ;--color-black-s: ;--color-black-l: ;--color-black-a: ;--color-black: hsla(
var(--color-black-h),
var(--color-black-s),
var(--color-black-l),
var(--color-black-a)
);
Red is a bold and attention-grabbing color that is often associated with passion, energy, and urgency. It can be used to signify warning, danger, or importance in UI Design, but can also be used to convey warmth and excitement.
--color-red-h: ;--color-red-s: ;--color-red-l: ;--color-red-a: ;--color-red: hsla(
var(--color-red-h),
var(--color-red-s),
var(--color-red-l),
var(--color-red-a)
);
Orange is a vibrant and energetic color that is often associated with enthusiasm, creativity, and warmth. It can be used in UI Design to convey a sense of playfulness, excitement, and friendliness. In more subdued tones, orange can also be used to create a sense of warmth and comfort.
--color-orange-h: ;--color-orange-s: ;--color-orange-l: ;--color-orange-a: ;--color-orange: hsla(
var(--color-orange-h),
var(--color-orange-s),
var(--color-orange-l),
var(--color-orange-a)
);
Yellow is a bright and cheerful color that is often associated with happiness, optimism, and positivity. It can be used in UI Design to convey a sense of energy, fun, and playfulness, and can also be used to create a sense of warmth and comfort.
--color-yellow-h: ;--color-yellow-s: ;--color-yellow-l: ;--color-yellow-a: ;--color-yellow: hsla(
var(--color-yellow-h),
var(--color-yellow-s),
var(--color-yellow-l),
var(--color-yellow-a)
);
Green is a versatile color that can represent growth, nature, and health, as well as money, wealth, and success. It is often used in UI Design to convey a sense of freshness, balance, and harmony.
--color-green-h: ;--color-green-s: ;--color-green-l: ;--color-green-a: ;--color-green: hsla(
var(--color-green-h),
var(--color-green-s),
var(--color-green-l),
var(--color-green-a)
);
Teal is a refreshing and modern color that is often associated with tranquility, stability, and innovation. It can be used in UI Design to convey a sense of confidence, creativity, and freshness.
--color-teal-h: ;--color-teal-s: ;--color-teal-l: ;--color-teal-a: ;--color-teal: hsla(
var(--color-teal-h),
var(--color-teal-s),
var(--color-teal-l),
var(--color-teal-a)
);
Blue is a calm and soothing color that is associated with trust, stability, and loyalty. It can be used to convey a sense of professionalism and reliability in UI Design, as well as a feeling of depth and sophistication.
--color-blue-h: ;--color-blue-s: ;--color-blue-l: ;--color-blue-a: ;--color-blue: hsla(
var(--color-blue-h),
var(--color-blue-s),
var(--color-blue-l),
var(--color-blue-a)
);
Purple is a regal and mysterious color that is often associated with luxury, creativity, and spirituality. It can be used in UI Design to convey a sense of elegance, sophistication, and imagination.
--color-purple-h: ;--color-purple-s: ;--color-purple-l: ;--color-purple-a: ;--color-purple: hsla(
var(--color-purple-h),
var(--color-purple-s),
var(--color-purple-l),
var(--color-purple-a)
);
Pink is a soft color that can represent sweetness, romance, and playfulness. It is often used in UI Design to convey a sense of warmth, gentleness, and compassion.
--color-pink-h: ;--color-pink-s: ;--color-pink-l: ;--color-pink-a: ;--color-pink: hsla(
var(--color-pink-h),
var(--color-pink-s),
var(--color-pink-l),
var(--color-pink-a)
);
The contrast text for light backgrounds is a dark-colored text that provides a high contrast ratio against a light-colored background. This type of text is often used to ensure legibility and accessibility for users with visual impairments.
--contrast-text-color-light: ;
The contrast text on dark backgrounds is a light-colored text that provides a high contrast ratio against a dark-colored background. This type of text is also used to ensure legibility and accessibility for users with visual impairments.
--contrast-text-color-dark: ;
The light text color can be used to create a softer and more approachable look and feel in UI Design, and can also be used to create a sense of contrast and emphasis.
The dark text color can be used to create a more sophisticated and elegant look and feel in UI Design, and can also be used to convey a sense of depth and richness.
A weak text color, typically used for subtext or captions that are less prominent than the main content.
An even weaker text color, typically used for secondary text elements that are meant to be less visible.
The weakest text color, typically used for text elements that should not stand out.
CSS transitions allow for smooth and gradual changes to occur over a specified duration. Transitions can be triggered by various events, such as hover, click, or page load, and can be applied to different properties such as background-color, opacity, width, height, and more.
Read about animation configuration
This value defines the length of time it takes for an element to transition from one state to another. The duration is specified in seconds or milliseconds, and can be set to any positive number.
This is used to define the easing function to be used in CSS transitions. An easing function defines the rate at which the transition progresses over time, affecting the speed and smoothness of the transition.
--transition-timing-function: ;
The border CSS Variables are used to define the properties of an element's border, such as its width, color, and style. By using variables to define these properties, you can ensure consistency across your design and make it easy to update borders across your components.
Read about border configuration
Design token used to set the top border width of an element.
Design token used to set the right border width of an element.
Design token used to set the bottom border width of an element.
Design token used to set the left border width of an element.
Design token used to set the border width for all four sides of an element at once. This value is composed automatically based on the four individual side values documented above.
--border-top-width: ;--border-right-width: ;--border-bottom-width: ;--border-left-width: ;--border-width:
var(--border-top-width)
var(--border-right-width)
var(--border-bottom-width)
var(--border-left--width);
Design token used to set the top border style of an element.
Design token used to set the right border style of an element.
Design token used to set the bottom border style of an element.
Design token used to set the left border style of an element.
Design token used to set the border style for all four sides of an element at once. This value is composed automatically based on the four individual side values documented above.
--border-top-style: ;--border-right-style: ;--border-bottom-style: ;--border-left-style: ;--border-style:
var(--border-top-style)
var(--border-right-style)
var(--border-bottom-style)
var(--border-left--style);
Design token used to set the top border color of an element.
Design token used to set the right border color of an element.
Design token used to set the bottom border color of an element.
Design token used to set the left border color of an element.
Design token used to set the border color for all four sides of an element at once. This value is composed automatically based on the four individual side values documented above.
--border-top-color: ;--border-right-color: ;--border-bottom-color: ;--border-left-color: ;--border-color:
var(--border-top-color)
var(--border-right-color)
var(--border-bottom-color)
var(--border-left--color);
Border radiuses define the curvature of the corners of an element's border. Inkline includes several predefined border radius values that can be used to create a variety of different styles.
Read about border radius configuration
Design token used to set the border radius value for the top-left corner of an element's border.
--border-top-left-radius: ;
--border-top-left-radius-xs: ;
--border-top-left-radius-sm: ;
--border-top-left-radius-md: ;
--border-top-left-radius-lg: ;
--border-top-left-radius-xl: ;
Design token used to set the border radius value for the top-right corner of an element's border.
--border-top-right-radius: ;
--border-top-right-radius-xs: ;
--border-top-right-radius-sm: ;
--border-top-right-radius-md: ;
--border-top-right-radius-lg: ;
--border-top-right-radius-xl: ;
Design token used to set the border radius value for the bottom-left corner of an element's border.
--border-bottom-left-radius: ;
--border-bottom-left-radius-xs: ;
--border-bottom-left-radius-sm: ;
--border-bottom-left-radius-md: ;
--border-bottom-left-radius-lg: ;
--border-bottom-left-radius-xl: ;
Design token used to set the border radius value for the bottom-right corner of an element's border.
--border-bottom-right-radius: ;
--border-bottom-right-radius-xs: ;
--border-bottom-right-radius-sm: ;
--border-bottom-right-radius-md: ;
--border-bottom-right-radius-lg: ;
--border-bottom-right-radius-xl: ;
Inkline includes a composed border-radius design token used to set all four corners of an element's border at once. This value is composed automatically based on the four individual corner values documented above.
--border-top-left-radius: ;--border-top-right-radius: ;--border-bottom-right-radius: ;--border-bottom-left-radius: ;--border-radius:
var(--border-top-left-radius)
var(--border-top-right-radius)
var(--border-bottom-right-radius)
var(--border-bottom-left-radius);
--border-top-left-radius-xs: calc(var(--border-top-left-radius) * var(--size-multiplier-xs));--border-top-right-radius-xs: calc(var(--border-top-right-radius) * var(--size-multiplier-xs));--border-bottom-right-radius-xs: calc(var(--border-bottom-right-radius) * var(--size-multiplier-xs));--border-bottom-left-radius-xs: calc(var(--border-bottom-left-radius) * var(--size-multiplier-xs));--border-radius-xs:
var(--border-top-left-radius-xs)
var(--border-top-right-radius-xs)
var(--border-bottom-right-radius-xs)
var(--border-bottom-left-radius-xs);
--border-top-left-radius-sm: calc(var(--border-top-left-radius) * var(--size-multiplier-sm));--border-top-right-radius-sm: calc(var(--border-top-right-radius) * var(--size-multiplier-sm));--border-bottom-right-radius-sm: calc(var(--border-bottom-right-radius) * var(--size-multiplier-sm));--border-bottom-left-radius-sm: calc(var(--border-bottom-left-radius) * var(--size-multiplier-sm));--border-radius-sm:
var(--border-top-left-radius-sm)
var(--border-top-right-radius-sm)
var(--border-bottom-right-radius-sm)
var(--border-bottom-left-radius-sm);
--border-top-left-radius-md: calc(var(--border-top-left-radius) * var(--size-multiplier-md));--border-top-right-radius-md: calc(var(--border-top-right-radius) * var(--size-multiplier-md));--border-bottom-right-radius-md: calc(var(--border-bottom-right-radius) * var(--size-multiplier-md));--border-bottom-left-radius-md: calc(var(--border-bottom-left-radius) * var(--size-multiplier-md));--border-radius-md:
var(--border-top-left-radius-md)
var(--border-top-right-radius-md)
var(--border-bottom-right-radius-md)
var(--border-bottom-left-radius-md);
--border-top-left-radius-lg: calc(var(--border-top-left-radius) * var(--size-multiplier-lg));--border-top-right-radius-lg: calc(var(--border-top-right-radius) * var(--size-multiplier-lg));--border-bottom-right-radius-lg: calc(var(--border-bottom-right-radius) * var(--size-multiplier-lg));--border-bottom-left-radius-lg: calc(var(--border-bottom-left-radius) * var(--size-multiplier-lg));--border-radius-lg:
var(--border-top-left-radius-lg)
var(--border-top-right-radius-lg)
var(--border-bottom-right-radius-lg)
var(--border-bottom-left-radius-lg);
--border-top-left-radius-xl: calc(var(--border-top-left-radius) * var(--size-multiplier-xl));--border-top-right-radius-xl: calc(var(--border-top-right-radius) * var(--size-multiplier-xl));--border-bottom-right-radius-xl: calc(var(--border-bottom-right-radius) * var(--size-multiplier-xl));--border-bottom-left-radius-xl: calc(var(--border-bottom-left-radius) * var(--size-multiplier-xl));--border-radius-xl:
var(--border-top-left-radius-xl)
var(--border-top-right-radius-xl)
var(--border-bottom-right-radius-xl)
var(--border-bottom-left-radius-xl);
Box shadow can be used to create a variety of effects, such as adding depth to buttons, highlighting elements on hover, or creating a sense of elevation.
The box shadow property takes several values, including the horizontal and vertical offset of the shadow, its blur radius, its spread radius, and its color. By adjusting these values, you can create custom shadow effects that complement your design system.
Read about box shadow configuration
This value is used to set the horizontal offset of the box shadow. A positive value moves the shadow to the right of the box, while a negative value moves it to the left.
This value is used to set the vertical offset of the box shadow. A positive value moves the shadow down from the box, while a negative value moves it up.
The blur radius value in the box shadow property sets the amount of blurring applied to the shadow. A larger value will create a more diffuse, spread-out shadow, while a smaller value will create a sharper, more defined shadow.
--box-shadow-blur-radius: ;
The spread radius value in the box shadow property sets the amount that the shadow should be spread outward from the element's box. A positive value will cause the shadow to expand, while a negative value will cause the shadow to contract.
--box-shadow-spread-radius: ;
The color value in the box-shadow property sets the color of the shadow, typically a slightly transparent color. You can use a darker color to create a more dramatic, prominent shadow, or a lighter color to create a more subtle, subdued effect.
Inkline includes a composed box shadow design token, composed automatically based on the four individual box shadow values documented above.
--box-shadow-offset-x: ;--box-shadow-offset-y: ;--box-shadow-blur-radius: ;--box-shadow-spread-radius: ;--box-shadow-color: ;--box-shadow:
var(--box-shadow-offset-x)
var(--box-shadow-offset-y)
var(--box-shadow-blur-radius)
var(--box-shadow-spread-radius)
var(--box-shadow-color);
Breakpoints refer to specific screen sizes where the layout of a website or application changes to accommodate the different screen sizes and resolutions.
In Inkline, breakpoints are defined using CSS media queries that are based on the device's width. There are six pre-defined breakpoints that can be used to create responsive designs:
xs
: Extra-small screens (less than 576px)sm
: Small screens (576px or more)md
: Medium screens (768px or more)lg
: Large screens (992px or more)xl
: Extra-large screens (1200px or more)2xl
: Extra-extra-large screens (1400px or more)
Read about breakpoints configuration
This value represents the starting point for the extra-small devices screen size range. It is typically used for mobile devices with smaller screens, such as smartphones.
--breakpoint-xs: calc(var(--breakpoint-xs) * var(--size-multiplier-xs));
This value represents the starting point for the small devices screen size range. It is designed for small screens such as smartphones in portrait orientation or small tablets.
--breakpoint-sm: calc(var(--breakpoint-sm) * var(--size-multiplier-sm));
This value represents the starting point for the medium devices screen size range. It is used to define the styles for medium-sized screens such as tablets or smaller laptops.
--breakpoint-md: calc(var(--breakpoint-md) * var(--size-multiplier-md));
This value represents the starting point for the large devices screen size range. It is typically used to target larger screens such as large tablets, laptops and desktops.
--breakpoint-lg: calc(var(--breakpoint-lg) * var(--size-multiplier-lg));
This value represents the starting point for the extra-large devices screen size range. It is typically used to target larger screens such as large tablets, laptops and desktops.
--breakpoint-xl: calc(var(--breakpoint-xl) * var(--size-multiplier-xl));
This value represents the starting point for the extra-extra-large devices screen size range. It is typically used to target extra large desktop screens.
--breakpoint-2xl: calc(var(--breakpoint-2xl) * 2xl);
Inkline's configuration also provides variables for common elements such as the body background and color.
Read about elements configuration
This value sets the background color of the body element.
This value sets the text color of the body element.
Inkline's grid system is based on a 12-column layout, which provides flexibility and versatility in designing responsive layouts. The grid system also includes options for gutters and responsive sizes, which can be adjusted to create different spacing and layout options.
The grid system is designed to be modular and customizable, so you can easily adapt it to your project's specific needs and requirements.
Read about elements configuration
This value sets the number of columns in the grid system, which is set to 12 columns by default in Inkline. This variable is used to calculate the width of each column in the grid system, based on the total width of the container element.
This value sets the size of the gutter (the space between columns) in the grid system.
--grid--xs--gutter: calc(var(--grid--gutter) * var(--size-multiplier-xs));
--grid--sm--gutter: calc(var(--grid--gutter) * var(--size-multiplier-sm));
--grid--md--gutter: calc(var(--grid--gutter) * var(--size-multiplier-md));
--grid--lg--gutter: calc(var(--grid--gutter) * var(--size-multiplier-lg));
--grid--xl--gutter: calc(var(--grid--gutter) * var(--size-multiplier-xl));
In design, a scale ratio is a mathematical relationship between different elements or components that ensures visual harmony and balance. In typography, scale ratios are commonly used to determine font sizes and line heights that are in proportion to one another. This creates a harmonious and balanced visual hierarchy within the text.
Read about scale ratio configuration
This value sets the design system's scale ratio. Inkline uses a modular scale system based on the minor third scale ratio by default. This means that each step in the scale is 1.2 times larger or smaller than the previous step.
The minor second scale ratio, also known as the "diminished second", is a musical interval that represents a ratio of 16/15.
--scale-ratio-minor-second: ;
The major second scale ratio is a musical interval that represents a ratio of 9/8.
--scale-ratio-major-second: ;
The minor third scale ratio is a musical interval representing a ratio of 6/5. In design, this ratio is often used as a modular scale factor to create consistent and harmonious typography and layout.
--scale-ratio-minor-third: ;
The major third scale ratio is a musical interval representing a ratio of 5/4.
--scale-ratio-major-third: ;
The perfect fourth scale ratio is a musical interval representing a ratio of 4/3.
--scale-ratio-perfect-fourth: ;
The augmented fourth scale ratio is a musical interval representing a ratio of 45/32.
--scale-ratio-augmented-fourth: ;
The perfect fifth scale ratio is a musical interval representing a ratio of 3/2.
--scale-ratio-perfect-fifth: ;
Inkline provides a set of predefined sizes and percentage values that can be used to create consistent layout. The size multiplier variable is used to compute any size-based variants of components, such as font sizes, padding, margin, and border radius.
Read about sizes configuration
The value that is used to compute size-based variants of components, such as font sizes, padding, margin, and border radius.
--size-multiplier-2xs: calc(var(--size-multiplier-2xs) * 2xs);
--size-multiplier-xs: calc(var(--size-multiplier-xs) * var(--size-multiplier-xs));
--size-multiplier-sm: calc(var(--size-multiplier-sm) * var(--size-multiplier-sm));
--size-multiplier-md: calc(var(--size-multiplier-md) * var(--size-multiplier-md));
--size-multiplier-lg: calc(var(--size-multiplier-lg) * var(--size-multiplier-lg));
--size-multiplier-xl: calc(var(--size-multiplier-xl) * var(--size-multiplier-xl));
--size-multiplier-2xl: calc(var(--size-multiplier-2xl) * 2xl);
The predefined value used for 0% size percentages.
The predefined value used for 25% size percentages.
The predefined value used for 50% size percentages.
The predefined value used for 75% size percentages.
The predefined value used for 100% size percentages.
--size-percentages-100: ;
Inkline uses a modular scale to establish a harmonious relationship between font sizes, spacing, and other typographic elements. This ensures that text is easy to read and visually appealing across a range of screen sizes and resolutions.
You can use a wide range of font weights, styles, and sizes to provide flexibility and variety in your design. The default values provide guidance on typography best practices, including font choices, line lengths, and spacing. Using these can help you create visually appealing and effective typography for your project.
Read about spacing configuration
Design token used to set the margin value for the top side of an element. All margin-top variants are computed using this base value.
--margin-top-xs: calc(var(--margin-top-xs) * var(--size-multiplier-xs));
--margin-top-sm: calc(var(--margin-top-sm) * var(--size-multiplier-sm));
--margin-top-md: calc(var(--margin-top-md) * var(--size-multiplier-md));
--margin-top-lg: calc(var(--margin-top-lg) * var(--size-multiplier-lg));
--margin-top-xl: calc(var(--margin-top-xl) * var(--size-multiplier-xl));
--margin-top-2: calc(var(--margin-top-2) * 2);
--margin-top-3: calc(var(--margin-top-3) * 3);
--margin-top-4: calc(var(--margin-top-4) * 4);
--margin-top-5: calc(var(--margin-top-5) * 5);
--margin-top-1-5: calc(var(--margin-top-1-5) * 1-5);
--margin-top-1-4: calc(var(--margin-top-1-4) * 1-4);
--margin-top-1-3: calc(var(--margin-top-1-3) * 1-3);
--margin-top-1-2: calc(var(--margin-top-1-2) * 1-2);
--margin-top-2-3: calc(var(--margin-top-2-3) * 2-3);
--margin-top-3-4: calc(var(--margin-top-3-4) * 3-4);
Design token used to set the margin value for the right side of an element. All margin-right variants are computed using this base value.
--margin-right-xs: calc(var(--margin-right-xs) * var(--size-multiplier-xs));
--margin-right-sm: calc(var(--margin-right-sm) * var(--size-multiplier-sm));
--margin-right-md: calc(var(--margin-right-md) * var(--size-multiplier-md));
--margin-right-lg: calc(var(--margin-right-lg) * var(--size-multiplier-lg));
--margin-right-xl: calc(var(--margin-right-xl) * var(--size-multiplier-xl));
--margin-right-2: calc(var(--margin-right-2) * 2);
--margin-right-3: calc(var(--margin-right-3) * 3);
--margin-right-4: calc(var(--margin-right-4) * 4);
--margin-right-5: calc(var(--margin-right-5) * 5);
--margin-right-1-5: calc(var(--margin-right-1-5) * 1-5);
--margin-right-1-4: calc(var(--margin-right-1-4) * 1-4);
--margin-right-1-3: calc(var(--margin-right-1-3) * 1-3);
--margin-right-1-2: calc(var(--margin-right-1-2) * 1-2);
--margin-right-2-3: calc(var(--margin-right-2-3) * 2-3);
--margin-right-3-4: calc(var(--margin-right-3-4) * 3-4);
Design token used to set the margin value for the bottom side of an element. All margin-bottom variants are computed using this base value.
--margin-bottom-xs: calc(var(--margin-bottom-xs) * var(--size-multiplier-xs));
--margin-bottom-sm: calc(var(--margin-bottom-sm) * var(--size-multiplier-sm));
--margin-bottom-md: calc(var(--margin-bottom-md) * var(--size-multiplier-md));
--margin-bottom-lg: calc(var(--margin-bottom-lg) * var(--size-multiplier-lg));
--margin-bottom-xl: calc(var(--margin-bottom-xl) * var(--size-multiplier-xl));
--margin-bottom-2: calc(var(--margin-bottom-2) * 2);
--margin-bottom-3: calc(var(--margin-bottom-3) * 3);
--margin-bottom-4: calc(var(--margin-bottom-4) * 4);
--margin-bottom-5: calc(var(--margin-bottom-5) * 5);
--margin-bottom-1-5: calc(var(--margin-bottom-1-5) * 1-5);
--margin-bottom-1-4: calc(var(--margin-bottom-1-4) * 1-4);
--margin-bottom-1-3: calc(var(--margin-bottom-1-3) * 1-3);
--margin-bottom-1-2: calc(var(--margin-bottom-1-2) * 1-2);
--margin-bottom-2-3: calc(var(--margin-bottom-2-3) * 2-3);
--margin-bottom-3-4: calc(var(--margin-bottom-3-4) * 3-4);
Design token used to set the margin value for the left side of an element. All margin-left variants are computed using this base value.
--margin-left-xs: calc(var(--margin-left-xs) * var(--size-multiplier-xs));
--margin-left-sm: calc(var(--margin-left-sm) * var(--size-multiplier-sm));
--margin-left-md: calc(var(--margin-left-md) * var(--size-multiplier-md));
--margin-left-lg: calc(var(--margin-left-lg) * var(--size-multiplier-lg));
--margin-left-xl: calc(var(--margin-left-xl) * var(--size-multiplier-xl));
--margin-left-2: calc(var(--margin-left-2) * 2);
--margin-left-3: calc(var(--margin-left-3) * 3);
--margin-left-4: calc(var(--margin-left-4) * 4);
--margin-left-5: calc(var(--margin-left-5) * 5);
--margin-left-1-5: calc(var(--margin-left-1-5) * 1-5);
--margin-left-1-4: calc(var(--margin-left-1-4) * 1-4);
--margin-left-1-3: calc(var(--margin-left-1-3) * 1-3);
--margin-left-1-2: calc(var(--margin-left-1-2) * 1-2);
--margin-left-2-3: calc(var(--margin-left-2-3) * 2-3);
--margin-left-3-4: calc(var(--margin-left-3-4) * 3-4);
Design token used to set the margin value for all four sides of an element. This value is composed automatically based on the four individual side values documented above.
--margin-top: ;
--margin-right: ;
--margin-bottom: ;
--margin-left: ;
--margin:
var(--margin-top)
var(--margin-right)
var(--margin-bottom)
var(--margin-left);
--margin-xs: calc(var(--margin-xs) * var(--size-multiplier-xs));
--margin-sm: calc(var(--margin-sm) * var(--size-multiplier-sm));
--margin-md: calc(var(--margin-md) * var(--size-multiplier-md));
--margin-lg: calc(var(--margin-lg) * var(--size-multiplier-lg));
--margin-xl: calc(var(--margin-xl) * var(--size-multiplier-xl));
--margin-2: calc(var(--margin-2) * 2);
--margin-3: calc(var(--margin-3) * 3);
--margin-4: calc(var(--margin-4) * 4);
--margin-5: calc(var(--margin-5) * 5);
--margin-1-5: calc(var(--margin-1-5) * 1-5);
--margin-1-4: calc(var(--margin-1-4) * 1-4);
--margin-1-3: calc(var(--margin-1-3) * 1-3);
--margin-1-2: calc(var(--margin-1-2) * 1-2);
--margin-2-3: calc(var(--margin-2-3) * 2-3);
--margin-3-4: calc(var(--margin-3-4) * 3-4);
Design token used to set the padding value for the top side of an element. All padding-top variants are computed using this base value.
--padding-top-xs: calc(var(--padding-top-xs) * var(--size-multiplier-xs));
--padding-top-sm: calc(var(--padding-top-sm) * var(--size-multiplier-sm));
--padding-top-md: calc(var(--padding-top-md) * var(--size-multiplier-md));
--padding-top-lg: calc(var(--padding-top-lg) * var(--size-multiplier-lg));
--padding-top-xl: calc(var(--padding-top-xl) * var(--size-multiplier-xl));
--padding-top-2: calc(var(--padding-top-2) * 2);
--padding-top-3: calc(var(--padding-top-3) * 3);
--padding-top-4: calc(var(--padding-top-4) * 4);
--padding-top-5: calc(var(--padding-top-5) * 5);
--padding-top-1-5: calc(var(--padding-top-1-5) * 1-5);
--padding-top-1-4: calc(var(--padding-top-1-4) * 1-4);
--padding-top-1-3: calc(var(--padding-top-1-3) * 1-3);
--padding-top-1-2: calc(var(--padding-top-1-2) * 1-2);
--padding-top-2-3: calc(var(--padding-top-2-3) * 2-3);
--padding-top-3-4: calc(var(--padding-top-3-4) * 3-4);
Design token used to set the padding value for the right side of an element. All padding-right variants are computed using this base value.
--padding-right-xs: calc(var(--padding-right-xs) * var(--size-multiplier-xs));
--padding-right-sm: calc(var(--padding-right-sm) * var(--size-multiplier-sm));
--padding-right-md: calc(var(--padding-right-md) * var(--size-multiplier-md));
--padding-right-lg: calc(var(--padding-right-lg) * var(--size-multiplier-lg));
--padding-right-xl: calc(var(--padding-right-xl) * var(--size-multiplier-xl));
--padding-right-2: calc(var(--padding-right-2) * 2);
--padding-right-3: calc(var(--padding-right-3) * 3);
--padding-right-4: calc(var(--padding-right-4) * 4);
--padding-right-5: calc(var(--padding-right-5) * 5);
--padding-right-1-5: calc(var(--padding-right-1-5) * 1-5);
--padding-right-1-4: calc(var(--padding-right-1-4) * 1-4);
--padding-right-1-3: calc(var(--padding-right-1-3) * 1-3);
--padding-right-1-2: calc(var(--padding-right-1-2) * 1-2);
--padding-right-2-3: calc(var(--padding-right-2-3) * 2-3);
--padding-right-3-4: calc(var(--padding-right-3-4) * 3-4);
Design token used to set the padding value for the bottom side of an element. All padding-bottom variants are computed using this base value.
--padding-bottom-xs: calc(var(--padding-bottom-xs) * var(--size-multiplier-xs));
--padding-bottom-sm: calc(var(--padding-bottom-sm) * var(--size-multiplier-sm));
--padding-bottom-md: calc(var(--padding-bottom-md) * var(--size-multiplier-md));
--padding-bottom-lg: calc(var(--padding-bottom-lg) * var(--size-multiplier-lg));
--padding-bottom-xl: calc(var(--padding-bottom-xl) * var(--size-multiplier-xl));
--padding-bottom-2: calc(var(--padding-bottom-2) * 2);
--padding-bottom-3: calc(var(--padding-bottom-3) * 3);
--padding-bottom-4: calc(var(--padding-bottom-4) * 4);
--padding-bottom-5: calc(var(--padding-bottom-5) * 5);
--padding-bottom-1-5: calc(var(--padding-bottom-1-5) * 1-5);
--padding-bottom-1-4: calc(var(--padding-bottom-1-4) * 1-4);
--padding-bottom-1-3: calc(var(--padding-bottom-1-3) * 1-3);
--padding-bottom-1-2: calc(var(--padding-bottom-1-2) * 1-2);
--padding-bottom-2-3: calc(var(--padding-bottom-2-3) * 2-3);
--padding-bottom-3-4: calc(var(--padding-bottom-3-4) * 3-4);
Design token used to set the padding value for the left side of an element. All padding-left variants are computed using this base value.
--padding-left-xs: calc(var(--padding-left-xs) * var(--size-multiplier-xs));
--padding-left-sm: calc(var(--padding-left-sm) * var(--size-multiplier-sm));
--padding-left-md: calc(var(--padding-left-md) * var(--size-multiplier-md));
--padding-left-lg: calc(var(--padding-left-lg) * var(--size-multiplier-lg));
--padding-left-xl: calc(var(--padding-left-xl) * var(--size-multiplier-xl));
--padding-left-2: calc(var(--padding-left-2) * 2);
--padding-left-3: calc(var(--padding-left-3) * 3);
--padding-left-4: calc(var(--padding-left-4) * 4);
--padding-left-5: calc(var(--padding-left-5) * 5);
--padding-left-1-5: calc(var(--padding-left-1-5) * 1-5);
--padding-left-1-4: calc(var(--padding-left-1-4) * 1-4);
--padding-left-1-3: calc(var(--padding-left-1-3) * 1-3);
--padding-left-1-2: calc(var(--padding-left-1-2) * 1-2);
--padding-left-2-3: calc(var(--padding-left-2-3) * 2-3);
--padding-left-3-4: calc(var(--padding-left-3-4) * 3-4);
Design token used to set the padding value for all four sides of an element. This value is composed automatically based on the four individual side values documented above.
--padding-top: ;
--padding-right: ;
--padding-bottom: ;
--padding-left: ;
--padding:
var(--padding-top)
var(--padding-right)
var(--padding-bottom)
var(--padding-left);
--padding-xs: calc(var(--padding-xs) * var(--size-multiplier-xs));
--padding-sm: calc(var(--padding-sm) * var(--size-multiplier-sm));
--padding-md: calc(var(--padding-md) * var(--size-multiplier-md));
--padding-lg: calc(var(--padding-lg) * var(--size-multiplier-lg));
--padding-xl: calc(var(--padding-xl) * var(--size-multiplier-xl));
--padding-2: calc(var(--padding-2) * 2);
--padding-3: calc(var(--padding-3) * 3);
--padding-4: calc(var(--padding-4) * 4);
--padding-5: calc(var(--padding-5) * 5);
--padding-1-5: calc(var(--padding-1-5) * 1-5);
--padding-1-4: calc(var(--padding-1-4) * 1-4);
--padding-1-3: calc(var(--padding-1-3) * 1-3);
--padding-1-2: calc(var(--padding-1-2) * 1-2);
--padding-2-3: calc(var(--padding-2-3) * 2-3);
--padding-3-4: calc(var(--padding-3-4) * 3-4);
Inkline uses a modular scale to establish a harmonious relationship between font sizes, spacing, and other typographic elements. This ensures that text is easy to read and visually appealing across a range of screen sizes and resolutions.
You can use a wide range of font weights, styles, and sizes to provide flexibility and variety in your design. The default values provide guidance on typography best practices, including font choices, line lengths, and spacing. Using these can help you create visually appealing and effective typography for your project.
Read about typography configuration
This value is used to define the primary font family for the body text. This variable can be set to any valid font family value, such as a specific font name, a generic font family like sans-serif, or a custom font stack.
--font-family-primary-base: ;
This value is used to define the primary monospace font family. Monospace fonts are useful for displaying code, as each character takes up the same amount of space, making it easier to align code and read it.
--font-family-primary-monospace: ;
This value represents the primary font family, when used for print media. This font family is typically different from the font family used for screen media and is optimized for legibility and clarity when printed on paper.
--font-family-primary-print: ;
This value is used to define the secondary font family used for headings and display texts. This variable can be set to any valid font family value, such as a specific font name, a generic font family like sans-serif, or a custom font stack.
--font-family-secondary-base: ;
This value is used to define the secondary monospace font family. Monospace fonts are useful for displaying code, as each character takes up the same amount of space, making it easier to align code and read it.
--font-family-secondary-monospace: ;
This value represents the secondary font family used for headings and display texts, when used for print media. This font family is typically different from the font family used for screen media and is optimized for legibility and clarity when printed on paper.
--font-family-secondary-print: ;
The extra-light font weight has a relatively low stroke contrast and is often used in display typography, particularly for headings and titles, to create a delicate and elegant appearance.
--font-weight-extralight: ;
The light font weight is often used for headings and subheadings, as it provides a subtle emphasis without overwhelming the text. It can also be used for body text in certain cases, particularly for large blocks of text where a lighter weight is easier on the eyes.
The normal font weight is the default weight for most fonts and is typically equivalent to a font-weight of 400. It is considered neither too heavy nor too light and is suitable for most body text.
The semi-bold font weight is slightly thicker than the normal font weight, but not as bold as a bold weight. It is typically used to add emphasis and hierarchy to headings, subheadings, and other important elements on a web page.
--font-weight-semibold: ;
The bold weight is a commonly used font weight in typography. It is often used for headings, subheadings, and other important text elements to make them stand out and grab the reader's attention.
The black font weight is one of the boldest font weights available and is typically used for headings or other important text that needs to be emphasized. It is thicker than the bold font weight and can create a dramatic effect when used in the right context.
The lighter font weight is a relative font weight value that makes the text appear lighter than the parent element's font weight.
The bolder font weight is a relative font weight value that makes the text appear bolder than the parent element's font weight.
This value allows you to define the base font size for all elements of the UI.
Line height refers to the amount of vertical space between lines of text. It can affect the readability, legibility, and overall aesthetic of your text.
Letter spacing (also known as tracking) refers to the amount of horizontal space between letters in a word or block of text. It can affect the legibility, readability, and overall aesthetic of your text.