Theme CSS reference for AI
Generated by
php artisan themes:css-contractfrom the code. Do not edit by hand. For people, see Theme CSS reference and Custom CSS.
Use only the lk-* classes and --lk-* variables below in a linkable.id theme's custom CSS. Through the Claude connector, get_theme_schema returns the same contract and set_theme_custom_css saves it. Prefer redefining a variable a hook lists over overriding the property it drives.
Limits
- Up to 64 KB for a layout theme, 32 KB for a widget theme.
- url() only for an image or icon of this workspace's Brand Vault, written url(vault:ID) with the asset id (list_vault_assets), or an image or font data: URI. No other address: CSS must not make visitors' browsers contact third parties.
- Not allowed: @import, @font-face (fonts come from the theme's font slots), @charset, @namespace, @page; image-set(), cross-fade(), image(), src(), expression(); the < character; backslashes (CSS escapes).
- Allowed at-rules: @media, @supports, @keyframes, @container, @layer.
- Invalid CSS is rejected as a whole with the line and reason; nothing is stripped. Fix and send it again.
Layout themes (page-wide, variables on :root)
Rules
- page_wide: Layout theme CSS applies to every page using the theme. Selectors are used as written, page-wide.
- root_variables: Variables are set on
:root. Redefine one in a:rootrule to change it everywhere it is used, for example:root { --lk-header-background-color: #1f2937; }. Prefer this over overriding the property it drives. - zero_specificity: The theme's own rules are wrapped in
:where(), with zero specificity, so a plain rule of yours wins without!important. - cascade: Theme settings < layout theme CSS < widget theme CSS for its own widgets. Within one stylesheet, the later rule wins at equal specificity.
- business_card_variables: Business card pages add the
lk-card-*hooks. Their colors and corner radius come from the page's Contact widget theme as--lk-card-radius,--lk-card-button-radius(the theme's button shape, else the corner radius),--lk-card-primary-background,--lk-card-primary-color,--lk-card-primary-border,--lk-card-hover-background,--lk-card-surface,--lk-card-text,--lk-card-mutedand--lk-card-border, set on.lk-card-ui; redefine one in a.lk-card-uirule. - internal_classes: Only the
lk-*classes and--lk-*variables are stable. Other classes in the page (utilities such asflexorpx-5) can change at any time.
Outlines
entry:
text
lk-page
lk-layout lk-layout--entry
lk-header
lk-header-inner
lk-header-logo
lk-header-links > lk-header-link > lk-header-link-icon, lk-header-link-text, lk-header-icon
lk-header-icon (the menu button on phones)
lk-header-drawer (the phone menu) > lk-header-icon, lk-header-drawer-link
lk-submenu (smaller screens)
lk-submenu-button
lk-outline-dropdown > lk-outline-dropdown-top > lk-outline-top-link; lk-outline-link, lk-outline-sublink
lk-content
lk-widgets > lk-widget lk-widget--{type} (see the widget outlines)
lk-widgets > lk-group > lk-group-item > lk-widget (grouped contact rows)
lk-outline > lk-outline-nav > lk-outline-link, lk-outline-sublinksite:
text
lk-page
lk-layout lk-layout--site
lk-header
lk-header-inner
lk-header-logo
lk-header-links > lk-header-link > lk-header-link-icon, lk-header-link-text, lk-header-icon
lk-header-icon (the menu button on phones)
lk-header-drawer (the phone menu) > lk-header-icon, lk-header-drawer-link
lk-submenu (smaller screens)
lk-submenu-button
lk-sidebar-dropdown > lk-sidebar-category, lk-sidebar-entry, lk-sidebar-entry--active
lk-outline-dropdown > lk-outline-dropdown-top > lk-outline-top-link; lk-outline-link, lk-outline-sublink
lk-content
lk-sidebar-rail > lk-sidebar
lk-sidebar-title > lk-sidebar-title-text
lk-sidebar-category
lk-sidebar-entry, lk-sidebar-entry--active
lk-widgets > lk-widget lk-widget--{type}
lk-pagination-link > lk-pagination-label, lk-pagination-title
lk-outline > lk-outline-nav > lk-outline-link, lk-outline-sublinkfullscreen:
text
lk-page
lk-layout lk-layout--fullscreen
lk-header
lk-header-inner
lk-header-logo
lk-header-links > lk-header-link > lk-header-link-icon, lk-header-link-text, lk-header-icon
lk-header-icon (the menu button on phones)
lk-header-drawer (the phone menu) > lk-header-icon, lk-header-drawer-link
lk-widget lk-widget--{type} (one widget filling the page)business_card:
text
lk-page (a Branded Page or a site page, plus:)
lk-card-ui
lk-card-show (opened from the Home Screen)
lk-card-qr
lk-card-name
lk-card-title
lk-card-actions > lk-card-button lk-card-button--primary, lk-card-button lk-card-button--secondary
lk-card-status
lk-card-offline
lk-card-install (the install steps) > lk-card-install-title, lk-card-actions
lk-card-chips > lk-card-button lk-card-chip--qr, lk-card-button lk-card-button--primaryHooks
Format: hook (area; in parent; states; variables): what it is.
lk-page(page): The page's<body>. It also carriesdata-lk-layout-theme.lk-layout(page; in lk-page; states lk-layout--entry lk-layout--site lk-layout--fullscreen): The page wrapper, under<body>.lk-layout--entry(page; in lk-page): The wrapper of a Branded Page.lk-layout--site(page; in lk-page): The wrapper of a page inside a Branded Site.lk-layout--fullscreen(page; in lk-page): The wrapper of a full-screen page (one widget filling the page).lk-header(header; in lk-layout; variables --lk-header-background-color --lk-header-border-bottom-color): The top bar.lk-header-inner(header; in lk-header; variables --lk-content-max-width): The top bar's centered content row.lk-header-logo(header; in lk-header-inner; variables --lk-header-logo-height): The logo box in the top bar.lk-header-links(header; in lk-header-inner): The group of links in the top bar.lk-header-link(header; in lk-header-links; variables --lk-header-link-font-size --lk-header-link-font-weight --lk-header-color): One link in the top bar.lk-header-link-text(header; in lk-header-link; variables --lk-header-color): A top bar link's text.lk-header-link-icon(header; in lk-header-link; variables --lk-header-color): A top bar link's leading icon.lk-header-icon(header; in lk-header-inner; variables --lk-header-color): The top bar's other icons: a link's trailing icon, and the menu and close buttons on phones.lk-header-drawer(header; in lk-header; variables --lk-header-background-color): The menu panel that opens on phones.lk-header-drawer-link(header; in lk-header-drawer; variables --lk-header-color): A link in the phone menu panel.lk-submenu(submenu; in lk-layout; variables --lk-header-submenu-background-color --lk-header-submenu-border-color): The bar under the top bar on smaller screens, with the menu and "On this page" buttons.lk-submenu-button(submenu; in lk-submenu; variables --lk-header-submenu-color): A button in that bar.lk-sidebar-dropdown(submenu; in lk-submenu; variables --lk-sidebar-background-color --lk-sidebar-border-color --lk-sidebar-border-top-left-radius --lk-sidebar-border-top-right-radius --lk-sidebar-border-bottom-right-radius --lk-sidebar-border-bottom-left-radius): A site's page menu as a dropdown on smaller screens.lk-outline-dropdown(submenu; in lk-submenu; variables --lk-outline-background-color --lk-outline-border-color --lk-outline-border-top-left-radius --lk-outline-border-top-right-radius --lk-outline-border-bottom-right-radius --lk-outline-border-bottom-left-radius): "On this page" as a dropdown on smaller screens.lk-outline-dropdown-top(submenu; in lk-outline-dropdown; variables --lk-outline-color): The top row of that dropdown.lk-outline-top-link(submenu; in lk-outline-dropdown-top; variables --lk-outline-color): The "Return to top" link in that row.lk-content(content; in lk-layout; variables --lk-content-max-width): The content column.lk-widgets(content; in lk-content; variables --lk-content-gap): The stack of widgets in the content column.lk-group(content; in lk-widgets): Grouped contact rows: consecutive Email, Phone and WhatsApp widgets with one widget theme, joined into one card. Only on a layout theme with Group contact rows on. It carries the widgets'data-lk-widget-theme, so it reads their frame variables.lk-group-item(content; in lk-group): One widget's wrapper inside a contact row group. Inner corners are square, and the line between rows is the widget's own border.lk-sidebar-rail(sidebar; in lk-content): The column that holds a site's page menu on larger screens.lk-sidebar(sidebar; in lk-sidebar-rail; variables --lk-sidebar-background-color --lk-sidebar-border-color --lk-sidebar-border-top-left-radius --lk-sidebar-border-top-right-radius --lk-sidebar-border-bottom-right-radius --lk-sidebar-border-bottom-left-radius --lk-sidebar-height): A site's page menu.lk-sidebar-title(sidebar; in lk-sidebar; variables --lk-sidebar-title-background-color --lk-sidebar-title-border-color): The menu's title box.lk-sidebar-title-text(sidebar; in lk-sidebar-title; variables --lk-sidebar-title-font-size --lk-sidebar-title-font-weight --lk-sidebar-title-color): The menu's title text.lk-sidebar-category(sidebar; in lk-sidebar; variables --lk-sidebar-site-categories-color --lk-sidebar-category-font-size --lk-sidebar-category-font-weight): A category heading in the menu.lk-sidebar-entry(sidebar; in lk-sidebar; states lk-sidebar-entry--active; variables --lk-sidebar-entries-color --lk-sidebar-entry-font-size --lk-sidebar-entry-font-weight): A page link in the menu.lk-sidebar-entry--active(sidebar; in lk-sidebar; variables --lk-sidebar-active-entry-color): The link to the page being viewed.lk-outline(outline; in lk-content; variables --lk-outline-background-color --lk-outline-border-color --lk-outline-color --lk-outline-border-top-left-radius --lk-outline-border-top-right-radius --lk-outline-border-bottom-right-radius --lk-outline-border-bottom-left-radius --lk-outline-height): The "On this page" box on larger screens.lk-outline-nav(outline; in lk-outline; variables --lk-outline-color): The list of links inside it.lk-outline-link(outline; in lk-outline-nav; variables --lk-outline-color --lk-outline-font-size --lk-outline-font-weight): A link to a widget on the page.lk-outline-sublink(outline; in lk-outline-nav; variables --lk-outline-color --lk-outline-font-size --lk-outline-font-weight): A link to a heading inside a widget.lk-pagination-link(pagination; in lk-content; variables --lk-pagination-background-color --lk-pagination-border-width --lk-pagination-border-color --lk-pagination-border-top-left-radius --lk-pagination-border-top-right-radius --lk-pagination-border-bottom-right-radius --lk-pagination-border-bottom-left-radius): A "Previous" or "Next" card at the bottom of a site page.lk-pagination-label(pagination; in lk-pagination-link; variables --lk-pagination-label-color --lk-pagination-label-font-size --lk-pagination-label-font-weight): Its small label ("Previous", "Next").lk-pagination-title(pagination; in lk-pagination-link; variables --lk-pagination-title-color --lk-pagination-title-font-size --lk-pagination-title-font-weight): The title of the page it leads to.lk-card-ui(business_card; in lk-page): Everything a business card page adds. Its colors are the--lk-card-*variables set on it.lk-card-show(business_card; in lk-card-ui): The view a card opens on from the Home Screen.lk-card-qr(business_card; in lk-card-show): The card's QR code in that view.lk-card-name(business_card; in lk-card-show): The person's name in that view.lk-card-title(business_card; in lk-card-show): The person's job title in that view.lk-card-actions(business_card; in lk-card-show): A row of card buttons.lk-card-button(business_card; in lk-card-actions; states lk-card-button--primary lk-card-button--secondary lk-card-chip--qr): A card button (Share, Add to contacts, Copy link, Install).lk-card-button--primary(business_card; in lk-card-actions): The main button of a row.lk-card-button--secondary(business_card; in lk-card-actions): The other buttons of a row.lk-card-status(business_card; in lk-card-show): A short message after an action, such as "Link copied".lk-card-offline(business_card; in lk-card-show): The note shown when the card opens without a connection.lk-card-install(business_card; in lk-card-ui): The steps to put the card on a phone.lk-card-install-title(business_card; in lk-card-install): The title of those steps.lk-card-chips(business_card; in lk-card-ui): The floating Share chip on the page.lk-card-chip--qr(business_card; in lk-card-chips): The QR button next to it.
Variables by group
- body: The page's text size and line height, and its background color. --lk-body-font-size --lk-body-line-height --lk-body-background-color
- background: The page's background image: position, size and attachment, and the overlay color over it; and the gradient or pattern layer under the image (
--lk-background-layer, with its size and repeat), set only when the theme has one. --lk-background-position --lk-background-size --lk-background-attachment --lk-background-overlay-color --lk-background-layer --lk-background-layer-size --lk-background-layer-repeat - content: The content column: width, alignment, maximum width, the gap between widgets and the side padding. --lk-content-width --lk-content-justify-content --lk-content-gap --lk-content-padding-x --lk-content-max-width
- header: The top bar: background, bottom border, text color, logo height, and link size and weight. --lk-header-background-color --lk-header-border-bottom-color --lk-header-color --lk-header-logo-height --lk-header-link-font-size --lk-header-link-font-weight
- submenu: The bar under the top bar on smaller screens: background, border and text color. --lk-header-submenu-background-color --lk-header-submenu-border-color --lk-header-submenu-color
- sidebar: A site's page menu: background, border and corners, the title, page links, the current page, categories, and its height. --lk-sidebar-title-background-color --lk-sidebar-title-border-color --lk-sidebar-title-font-size --lk-sidebar-title-font-weight --lk-sidebar-title-color --lk-sidebar-entry-font-size --lk-sidebar-entry-font-weight --lk-sidebar-entries-color --lk-sidebar-active-entry-color --lk-sidebar-category-font-size --lk-sidebar-category-font-weight --lk-sidebar-site-categories-color --lk-sidebar-background-color --lk-sidebar-border-color --lk-sidebar-border-top-left-radius --lk-sidebar-border-top-right-radius --lk-sidebar-border-bottom-right-radius --lk-sidebar-border-bottom-left-radius --lk-sidebar-height
- outline: "On this page": background, border and corners, text color, link size and weight, and its height. --lk-outline-background-color --lk-outline-border-color --lk-outline-color --lk-outline-font-size --lk-outline-font-weight --lk-outline-border-top-left-radius --lk-outline-border-top-right-radius --lk-outline-border-bottom-right-radius --lk-outline-border-bottom-left-radius --lk-outline-height
- pagination: The Previous and Next cards: background, border width, color and corners, and the label and title text. --lk-pagination-background-color --lk-pagination-border-color --lk-pagination-border-width --lk-pagination-border-top-left-radius --lk-pagination-border-top-right-radius --lk-pagination-border-bottom-right-radius --lk-pagination-border-bottom-left-radius --lk-pagination-label-color --lk-pagination-label-font-size --lk-pagination-label-font-weight --lk-pagination-title-color --lk-pagination-title-font-size --lk-pagination-title-font-weight
- motion: The entrance motion's stagger between widgets, set only when the theme has one. Widgets carry
data-reveal(fade up) ordata-reveal="fade"/data-reveal="scale"and get therevealedclass as they enter the screen. --lk-entrance-stagger
Widget themes (confined to the widget, variables on :scope)
Rules
- scope: Widget theme CSS is confined to the widgets using the theme: every selector is prefixed with the theme scope on the server. Use
:scopefor the widget itself (lk-widget), for example:scope:hover .lk-widget-title. - scope_reach: The scope is the widget's
data-lk-widget-themeattribute, so a:scoperule reaches every widget using the theme on the page; targetlk-*hooks inside it for anything narrower. - widget_variables: Variables are set on the widget. Redefine one in a
:scoperule, for example:scope { --lk-w-title-color: #b45064; }. Prefer this over overriding the property it drives. - zero_specificity: The theme's own rules are wrapped in
:where(), with zero specificity, so a plain rule of yours wins without!important. - markdown_specificity: Exceptions: the Markdown widget's typography and the code snippets' syntax colors use more specific selectors, such as
[data-lk-widget-theme] .lk-markdown h1. Match that specificity, or redefine their variables (--lk-w-h1-colorand so on). - cascade: Theme settings < layout theme CSS < widget theme CSS for its own widgets. Within one stylesheet, the later rule wins at equal specificity.
- keyframes:
@keyframesnames are made unique per theme automatically; refer to them by the name you wrote. - no_nesting: CSS nesting with
&is not accepted. - pdf_internal: The PDF viewer's
afb__*classes and--afb-*variables are internal and may change; use thelk-pdf-*hooks and--lk-pdf-*variables. - internal_classes: Only the
lk-*classes and--lk-*variables are stable. Other classes in the widget (utilities such asflexorpx-5) can change at any time.
Outlines
shell:
text
lk-widget lk-widget--{type} (:scope in a widget theme)
lk-widget-header
lk-widget-icon (lk-widget-icon--offset) > lk-widget-icon-glyph
lk-widget-title
lk-widget-header-spacer
lk-widget-action (lk-widget-action--clipboard, lk-widget-action--redirect, lk-widget-action--download, lk-widget-action--asset-download) > lk-widget-action-glyph
lk-widget-body
lk-widget-content (lk-widget-content--padded)
lk-widget-subtitle
lk-widget-brief
lk-widget-custom (the type's own hooks)email:
text
lk-widget-custom > lk-email-valuephone:
text
lk-widget-custom > lk-phone-valuewhatsapp:
text
lk-widget-custom > lk-whatsapp-valueschedule:
text
lk-widget-custom > lk-schedule-row > lk-schedule-day, lk-schedule-hoursheader:
text
banner: the image above the subtitle and brief (the shell)
profile: lk-widget lk-widget--{type} lk-profile
lk-profile-cover
lk-widget-body > lk-widget-content
lk-profile-avatar lk-profile-avatar--circle, lk-profile-avatar--rounded or lk-profile-avatar--organic
lk-widget-title lk-profile-name
lk-widget-subtitle lk-profile-role
lk-widget-brief lk-profile-biocontact:
text
card: lk-widget-action--download in the header
quick actions: lk-widget-custom
lk-contact-actions
lk-contact-action (call, email, whatsapp, save, share)
lk-contact-action-icon
lk-contact-action-label
lk-contact-save (optional)links:
text
lk-widget-custom
icons: lk-links-item (lk-links-item--featured) > lk-links-item-glyph
buttons, thumbnails, pills: lk-links
lk-links-item lk-links-item--button or lk-links-item--pill (lk-links-item--featured)
lk-links-item-glyph or lk-links-item-thumb
lk-links-item-label
lk-links-item-arrow (buttons)gallery:
text
lk-widget-custom > lk-gallery
lk-gallery-slide (lk-gallery-slide--fullscreen)
lk-gallery-nav
lk-gallery-dot (lk-gallery-dot--active)markdown:
text
lk-widget-custom > lk-markdown (also .markdown-body) > h1 to h6, p, li, a, pre, code, table, blockquote, imgembed:
text
lk-widget-custom > lk-embedpdf:
text
lk-widget-custom > lk-pdf (lk-pdf--fullscreen)
lk-pdf-toolbar > lk-pdf-counter, lk-pdf-button
lk-pdf-stage
lk-pdf-page
lk-pdf-arrow lk-pdf-arrow--prev, lk-pdf-arrow lk-pdf-arrow--next
lk-pdf-loader
lk-pdf-panel (lk-pdf-panel--open)
lk-pdf-thumbs > lk-pdf-thumb (lk-pdf-thumb--current)
lk-pdf-toc-item
lk-pdf-search > lk-pdf-search-result
lk-pdf-errorasset_download:
text
lk-widget-custom > lk-asset-download-name, lk-asset-download-description, lk-asset-download-type, lk-asset-download-sizecolor_palette:
text
lk-widget-custom (one per color)
lk-palette-swatch
lk-palette-name
lk-palette-description
lk-palette-code-label, lk-palette-code
lk-palette-copy > lk-palette-copy-glyphasset_showcase:
text
lk-widget-custom > lk-showcase-tile--light | lk-showcase-tile--darktypography:
text
lk-widget-custom > lk-typography > lk-typography-sampledesign_tokens:
text
lk-widget-custom > lk-tokens
lk-tokens-table > lk-tokens-row > lk-tokens-label
lk-tokens-specimencode_snippets:
text
lk-widget-custom > lk-snippets
lk-snippets-badge (the language filter)
lk-snippets-card
lk-snippets-title
lk-snippets-desc
lk-snippets-usage (also .markdown-body)
lk-snippets-code
lk-snippets-propsHooks
Format: hook (area; in parent; states; variables): what it is.
lk-widget(shell; states lk-widget--{type}; variables --lk-w-border-width --lk-w-border-color --lk-w-border-top-left-radius --lk-w-border-top-right-radius --lk-w-border-bottom-right-radius --lk-w-border-bottom-left-radius --lk-w-shadow --lk-w-surface-blur --lk-w-hover-shadow --lk-w-hover-transform --lk-w-hover-transition): A widget's card. In a widget theme this is:scope.lk-widget--{type}(shell): The same card, by widget type:lk-widget--email,lk-widget--pdfand so on.lk-widget-header(shell; in lk-widget; variables --lk-w-header-padding --lk-w-header-background-color): The card's header bar.lk-widget-icon(shell; in lk-widget-header; states lk-widget-icon--offset; variables --lk-w-icon-size --lk-w-icon-border-radius --lk-w-icon-background-color): The leading icon's box.lk-widget-icon--offset(shell; in lk-widget-header; variables --lk-w-icon-size): The leading icon when the title is centered and there is no action button.lk-widget-icon-glyph(shell; in lk-widget-icon; variables --lk-w-icon-glyph-size --lk-w-icon-color): The leading icon itself.lk-widget-title(shell; in lk-widget-header; variables --lk-w-title-color --lk-w-title-font-size --lk-w-title-font-weight --lk-w-title-transform --lk-w-title-letter-spacing): The widget's title.lk-widget-header-spacer(shell; in lk-widget-header; variables --lk-w-icon-size): The space that keeps a centered title centered when there is an icon.lk-widget-action(shell; in lk-widget-header; variables --lk-w-hover-transition --lk-w-hover-action-transform): Every action button in the header (copy, open, download). Its corners follow the theme's button shape.lk-widget-action--clipboard(shell; in lk-widget-header; variables --lk-w-icon-size --lk-w-button-radius --lk-w-icon-border-radius --lk-w-icon-clipboard-styles-background-color --lk-w-icon-action-hover-background-color --lk-w-icon-redirect-styles-background-color --lk-w-icon-clipboard-styles-border-color): The copy button in the header.lk-widget-action--redirect(shell; in lk-widget-header; variables --lk-w-icon-size --lk-w-button-radius --lk-w-icon-border-radius --lk-w-icon-redirect-styles-background-color --lk-w-icon-action-hover-background-color --lk-w-icon-redirect-styles-border-color): The open button in the header.lk-widget-action--download(shell; in lk-widget-header; variables --lk-w-icon-size --lk-w-button-radius --lk-w-icon-border-radius --lk-w-icon-download-styles-background-color --lk-w-icon-action-hover-background-color --lk-w-icon-redirect-styles-background-color --lk-w-icon-download-styles-border-color): The download button in the header.lk-widget-action--asset-download(shell; in lk-widget-header; variables --lk-w-icon-size --lk-w-button-radius --lk-w-icon-border-radius --lk-w-icon-redirect-styles-background-color --lk-w-icon-action-hover-background-color --lk-w-icon-redirect-styles-border-color): The asset download widget's download button.lk-widget-action-glyph(shell; in lk-widget-header; variables --lk-w-icon-glyph-size --lk-w-icon-clipboard-styles-color --lk-w-icon-redirect-styles-color --lk-w-icon-download-styles-color): The icon inside an action button.lk-widget-body(shell; in lk-widget; variables --lk-w-background-image --lk-w-background-color): The card's body, under the header (its background color and image).lk-widget-content(shell; in lk-widget-body; states lk-widget-content--padded; variables --lk-w-body-padding-x): The body's padded content.lk-widget-content--padded(shell; in lk-widget-body; variables --lk-w-body-padding-y): The content when it has a subtitle, description or the type's own content, with top and bottom padding.lk-widget-subtitle(shell; in lk-widget-content; variables --lk-w-subtitle-color --lk-w-subtitle-font-size --lk-w-subtitle-font-weight --lk-w-secondary-opacity): The widget's subtitle.lk-widget-brief(shell; in lk-widget-content; variables --lk-w-brief-color --lk-w-brief-font-size --lk-w-brief-font-weight --lk-w-secondary-opacity): The widget's description.lk-widget-custom(shell; in lk-widget-content): The type's own content (an email, a gallery, a PDF viewer and so on).lk-email-value(email; in lk-widget-custom; variables --lk-w-email-color --lk-w-email-font-size --lk-w-email-font-weight): The email address.lk-phone-value(phone; in lk-widget-custom; variables --lk-w-phone-color --lk-w-phone-font-size --lk-w-phone-font-weight): The phone number.lk-whatsapp-value(whatsapp; in lk-widget-custom; variables --lk-w-whatsapp-color --lk-w-whatsapp-font-size --lk-w-whatsapp-font-weight): The WhatsApp number.lk-schedule-row(schedule; in lk-widget-custom; variables --lk-w-schedule-color): One day of the schedule.lk-schedule-day(schedule; in lk-schedule-row; variables --lk-w-schedule-font-size): The day's name.lk-schedule-hours(schedule; in lk-schedule-row; variables --lk-w-schedule-font-size --lk-w-schedule-font-weight): The day's hours.lk-profile(header; in lk-widget): A Header widget in the profile layout: the widget's frame, with the cover, the photo and the texts inside.lk-profile-cover(header; in lk-profile; variables --lk-w-header-background-color): The band at the top of the profile: the header's background color, under the cover image when there is one (--lk-profile-cover).lk-profile-avatar(header; in lk-widget-content; variables --lk-w-background-color): The profile photo, overlapping the cover, framed in the ring color (--lk-profile-ring) or the card's background color.lk-profile-avatar--circle(header; in lk-widget-content): A round profile photo.lk-profile-avatar--rounded(header; in lk-widget-content): A profile photo with rounded corners.lk-profile-avatar--organic(header; in lk-widget-content): A profile photo in a soft, irregular shape.lk-profile-name(header; in lk-widget-content): The profile's name: the widget's title, centered.lk-profile-role(header; in lk-widget-content): The profile's role: the widget's subtitle, in the subtitle color.lk-profile-bio(header; in lk-widget-content): The profile's bio: the widget's brief.lk-contact-actions(contact; in lk-widget-custom): The row of quick actions when a Contact widget shows quick actions.lk-contact-action(contact; in lk-contact-actions): One quick action (call, email, WhatsApp, save, share): its icon over its label.lk-contact-action-icon(contact; in lk-contact-action; variables --lk-w-icon-redirect-styles-background-color --lk-w-icon-redirect-styles-color --lk-w-icon-redirect-styles-border-color --lk-w-button-radius): A quick action's round button. It takes the theme's open-button colors and button shape.lk-contact-action-label(contact; in lk-contact-action; variables --lk-w-subtitle-color): A quick action's label, in the subtitle color.lk-contact-save(contact; in lk-widget-custom; variables --lk-w-icon-redirect-styles-background-color --lk-w-icon-redirect-styles-color --lk-w-icon-redirect-styles-border-color --lk-w-button-radius --lk-w-icon-border-radius): The full-width Save my contact button under the quick actions.lk-links(links; in lk-widget-custom): The list of links when the widget shows buttons, buttons with thumbnails or pills.lk-links-item(links; in lk-widget-custom; variables --lk-w-icon-redirect-styles-background-color --lk-w-icon-redirect-styles-border-color): One link. Its colors come from the link's own settings (--lk-link-background-color,--lk-link-color,--lk-link-border).lk-links-item--button(links; in lk-links; variables --lk-w-button-radius --lk-w-icon-border-radius): A link shown as a full-width button. Its corners follow the theme's button shape.lk-links-item--pill(links; in lk-links): A link shown as a round pill.lk-links-item--featured(links; in lk-widget-custom; variables --lk-w-icon-redirect-styles-background-color --lk-w-icon-redirect-styles-color --lk-w-icon-redirect-styles-border-color): A featured link: it takes the theme's primary button colors and the theme's featured effect (pulse or shine).lk-links-item-glyph(links; in lk-links-item; variables --lk-w-icon-redirect-styles-color): The link's icon.lk-links-item-thumb(links; in lk-links-item; variables --lk-w-icon-border-radius): The link's own image, as a thumbnail on buttons with thumbnails.lk-links-item-label(links; in lk-links-item; variables --lk-w-icon-redirect-styles-color): The link's label on buttons and pills.lk-links-item-arrow(links; in lk-links-item; variables --lk-w-icon-redirect-styles-color): The arrow at the end of a button.lk-gallery(gallery; in lk-widget-custom): The gallery frame.lk-gallery-slide(gallery; in lk-gallery; states lk-gallery-slide--fullscreen; variables --lk-w-gallery-slide-border-radius --lk-w-gallery-transition-ms): One image.lk-gallery-slide--fullscreen(gallery; in lk-gallery): An image while the gallery is full screen.lk-gallery-nav(gallery; in lk-gallery; variables --lk-w-gallery-nav-background-color --lk-w-gallery-nav-hover-background-color --lk-w-gallery-nav-icon-color --lk-w-gallery-transition-ms): The previous and next arrows.lk-gallery-dot(gallery; in lk-gallery; states lk-gallery-dot--active; variables --lk-w-gallery-dot-inactive-color): A position dot under the gallery.lk-gallery-dot--active(gallery; in lk-gallery; variables --lk-w-gallery-dot-active-color): The dot of the image being shown.lk-markdown(markdown; in lk-widget-custom; variables --lk-w-markdown-background-color --lk-w-markdown-pre-font-color --lk-w-markdown-pre-background-color --lk-w-markdown-code-font-color --lk-w-markdown-code-background-color --lk-w-markdown-table-header-background-color --lk-w-markdown-table-header-font-color --lk-w-markdown-table-row-background-color --lk-w-markdown-table-row-font-color --lk-w-markdown-table-stripe-background-color --lk-w-markdown-table-border-color --lk-w-markdown-blockquote-border-color --lk-w-markdown-blockquote-text-color --lk-w-markdown-hr-color --lk-w-markdown-table-border-radius-top-left --lk-w-markdown-table-border-radius-top-right --lk-w-markdown-table-border-radius-bottom-right --lk-w-markdown-table-border-radius-bottom-left --lk-w-markdown-pre-border-radius-top-left --lk-w-markdown-pre-border-radius-top-right --lk-w-markdown-pre-border-radius-bottom-right --lk-w-markdown-pre-border-radius-bottom-left --lk-w-markdown-image-border-radius-top-left --lk-w-markdown-image-border-radius-top-right --lk-w-markdown-image-border-radius-bottom-right --lk-w-markdown-image-border-radius-bottom-left --lk-w-h1-font-size --lk-w-h1-font-weight --lk-w-h1-color --lk-w-h2-font-size --lk-w-h2-font-weight --lk-w-h2-color --lk-w-h3-font-size --lk-w-h3-font-weight --lk-w-h3-color --lk-w-h4-font-size --lk-w-h4-font-weight --lk-w-h4-color --lk-w-h5-font-size --lk-w-h5-font-weight --lk-w-h5-color --lk-w-h6-font-size --lk-w-h6-font-weight --lk-w-h6-color --lk-w-paragraph-font-size --lk-w-paragraph-font-weight --lk-w-paragraph-color --lk-w-link-color): The Markdown text (also.markdown-body); style itsh1toh6,p,li,a,pre,code,table,blockquoteandimg.lk-embed(embed; in lk-widget-custom): The embedded frame (video, map, form and so on).lk-pdf(pdf; in lk-widget-custom; states lk-pdf--fullscreen): The whole PDF viewer.lk-pdf--fullscreen(pdf; in lk-widget-custom): The viewer while it is full screen.lk-pdf-toolbar(pdf; in lk-pdf): The viewer's toolbar.lk-pdf-counter(pdf; in lk-pdf-toolbar): The page counter in the toolbar.lk-pdf-button(pdf; in lk-pdf-toolbar): A toolbar button.lk-pdf-stage(pdf; in lk-pdf): The area around the pages.lk-pdf-page(pdf; in lk-pdf-stage): One page.lk-pdf-arrow(pdf; in lk-pdf-stage; states lk-pdf-arrow--prev lk-pdf-arrow--next): A large previous or next arrow.lk-pdf-arrow--prev(pdf; in lk-pdf-stage): The previous arrow.lk-pdf-arrow--next(pdf; in lk-pdf-stage): The next arrow.lk-pdf-loader(pdf; in lk-pdf-stage): The loading indicator.lk-pdf-error(pdf; in lk-pdf): The message shown when the PDF cannot be opened.lk-pdf-panel(pdf; in lk-pdf; states lk-pdf-panel--open): The Pages, Contents and Search panels.lk-pdf-panel--open(pdf; in lk-pdf): The panel that is open.lk-pdf-thumbs(pdf; in lk-pdf-panel): The list of page thumbnails.lk-pdf-thumb(pdf; in lk-pdf-thumbs; states lk-pdf-thumb--current): A page thumbnail.lk-pdf-thumb--current(pdf; in lk-pdf-thumbs): The thumbnail of the current page.lk-pdf-toc-item(pdf; in lk-pdf-panel): An entry of the table of contents.lk-pdf-search(pdf; in lk-pdf-panel): The search box.lk-pdf-search-result(pdf; in lk-pdf-panel): A search result.lk-asset-download-name(asset_download; in lk-widget-custom; variables --lk-w-asset-download-name-color --lk-w-asset-download-name-font-size --lk-w-asset-download-name-font-weight): The file's name.lk-asset-download-description(asset_download; in lk-widget-custom; variables --lk-w-asset-download-description-color --lk-w-asset-download-description-font-size --lk-w-asset-download-description-font-weight): The file's description.lk-asset-download-type(asset_download; in lk-widget-custom; variables --lk-w-asset-download-mime-type-bg-color --lk-w-asset-download-mime-type-border-color --lk-w-asset-download-mime-type-color --lk-w-asset-download-mime-type-font-size --lk-w-asset-download-mime-type-font-weight): The file type badge (PDF, PNG and so on).lk-asset-download-size(asset_download; in lk-widget-custom; variables --lk-w-asset-download-size-color --lk-w-asset-download-size-font-size --lk-w-asset-download-size-font-weight): The file's size.lk-palette-swatch(color_palette; in lk-widget-custom; variables --lk-w-border-top-left-radius --lk-w-border-top-right-radius --lk-w-border-bottom-right-radius --lk-w-border-bottom-left-radius): A color's swatch. Its color is the inline--lk-palette-swatch-color.lk-palette-name(color_palette; in lk-widget-custom; variables --lk-w-palette-name-color --lk-w-palette-name-font-size --lk-w-palette-name-font-weight): A color's name.lk-palette-description(color_palette; in lk-widget-custom; variables --lk-w-palette-description-color --lk-w-palette-description-font-size --lk-w-palette-description-font-weight): A color's description.lk-palette-code-label(color_palette; in lk-widget-custom; variables --lk-w-palette-color-type-color --lk-w-palette-color-type-font-size --lk-w-palette-color-type-font-weight): A color code's label (HEX, RGB, CMYK).lk-palette-code(color_palette; in lk-widget-custom; variables --lk-w-palette-color-code-color --lk-w-palette-color-code-font-size --lk-w-palette-color-code-font-weight): A color code.lk-palette-copy(color_palette; in lk-widget-custom; variables --lk-w-palette-icon-clipboard-styles-background-color --lk-w-palette-icon-clipboard-styles-border-color): The button that copies a code.lk-palette-copy-glyph(color_palette; in lk-palette-copy; variables --lk-w-palette-icon-clipboard-styles-color): That button's icon.lk-showcase-tile--light(asset_showcase; in lk-widget-custom; variables --lk-w-asset-showcase-light-background-color --lk-w-asset-showcase-light-border-color --lk-w-asset-showcase-light-text-color --lk-w-asset-showcase-tile-border-radius): An asset tile on a light background.lk-showcase-tile--dark(asset_showcase; in lk-widget-custom; variables --lk-w-asset-showcase-dark-background-color --lk-w-asset-showcase-dark-border-color --lk-w-asset-showcase-dark-text-color --lk-w-asset-showcase-tile-border-radius): An asset tile on a dark background.lk-typography(typography; in lk-widget-custom; variables --lk-w-typography-color): The typography specimen.lk-typography-sample(typography; in lk-typography; variables --lk-w-typography-sample-font-size): A sample line of text.lk-tokens(design_tokens; in lk-widget-custom; variables --lk-w-design-tokens-value-color): The design tokens list.lk-tokens-table(design_tokens; in lk-tokens; variables --lk-w-design-tokens-specimen-border-color): A table of tokens.lk-tokens-row(design_tokens; in lk-tokens-table; variables --lk-w-design-tokens-specimen-border-color): A row of that table.lk-tokens-label(design_tokens; in lk-tokens-row; variables --lk-w-design-tokens-label-color): A token's name.lk-tokens-specimen(design_tokens; in lk-tokens; variables --lk-w-design-tokens-specimen-background-color --lk-w-design-tokens-specimen-border-color --lk-w-design-tokens-specimen-border-radius): A token's visual sample (a color, a radius, a shadow).lk-snippets(code_snippets; in lk-widget-custom; variables --lk-w-code-snippets-code-background-color --lk-w-code-snippets-code-text-color --lk-w-code-snippets-comment-color --lk-w-code-snippets-keyword-color --lk-w-code-snippets-string-color --lk-w-code-snippets-number-color --lk-w-code-snippets-tag-color --lk-w-code-snippets-attribute-color --lk-w-code-snippets-title-color --lk-w-code-snippets-description-color --lk-w-code-snippets-badge-color --lk-w-code-snippets-card-background-color --lk-w-code-snippets-card-border-color --lk-w-code-snippets-card-border-radius): The code snippets list.lk-snippets-badge(code_snippets; in lk-snippets; variables --lk-w-code-snippets-card-border-color --lk-w-code-snippets-badge-color): A language filter button.lk-snippets-card(code_snippets; in lk-snippets; variables --lk-w-code-snippets-card-border-color --lk-w-code-snippets-card-border-radius --lk-w-code-snippets-card-background-color): One snippet.lk-snippets-title(code_snippets; in lk-snippets-card; variables --lk-w-code-snippets-title-color): The snippet's title.lk-snippets-desc(code_snippets; in lk-snippets-card; variables --lk-w-code-snippets-description-color): The snippet's description.lk-snippets-usage(code_snippets; in lk-snippets-card; variables --lk-w-code-snippets-description-color): The snippet's usage notes (also.markdown-body).lk-snippets-code(code_snippets; in lk-snippets-card; variables --lk-w-code-snippets-code-background-color --lk-w-code-snippets-code-text-color): The code block.lk-snippets-props(code_snippets; in lk-snippets-card; variables --lk-w-code-snippets-card-border-color): The table of properties.
Variables by group
- frame: The widget's card: border color, width and corners, shadow and shadow color, the frosted glass blur, the body's background color and image, and the body's padding. --lk-w-border-color --lk-w-border-width --lk-w-body-padding-x --lk-w-body-padding-y --lk-w-border-top-left-radius --lk-w-border-top-right-radius --lk-w-border-bottom-right-radius --lk-w-border-bottom-left-radius --lk-w-background-color --lk-w-shadow-color --lk-w-shadow --lk-w-background-image --lk-w-surface-blur
- header: The header bar: padding, background and title alignment, and the title's color, size, weight, case and letter spacing. --lk-w-header-padding --lk-w-title-color --lk-w-title-font-size --lk-w-title-font-weight --lk-w-header-text-align --lk-w-header-background-color --lk-w-title-letter-spacing --lk-w-title-transform
- text: The subtitle and description: color, size and weight, the content's alignment, and the secondary text strength (an opacity). --lk-w-subtitle-color --lk-w-subtitle-font-size --lk-w-subtitle-font-weight --lk-w-brief-color --lk-w-brief-font-size --lk-w-brief-font-weight --lk-w-content-text-align --lk-w-secondary-text-opacity --lk-w-secondary-opacity
- markdown: The Markdown text: background, headings h1 to h6, paragraphs, links, inline code and code blocks, tables, quotes, rules and image corners. --lk-w-h1-font-size --lk-w-h1-font-weight --lk-w-h1-color --lk-w-h2-font-size --lk-w-h2-font-weight --lk-w-h2-color --lk-w-h3-font-size --lk-w-h3-font-weight --lk-w-h3-color --lk-w-h4-font-size --lk-w-h4-font-weight --lk-w-h4-color --lk-w-h5-font-size --lk-w-h5-font-weight --lk-w-h5-color --lk-w-h6-font-size --lk-w-h6-font-weight --lk-w-h6-color --lk-w-paragraph-font-size --lk-w-paragraph-font-weight --lk-w-paragraph-color --lk-w-link-color --lk-w-markdown-background-color --lk-w-markdown-pre-background-color --lk-w-markdown-pre-font-color --lk-w-markdown-code-background-color --lk-w-markdown-code-font-color --lk-w-markdown-table-header-background-color --lk-w-markdown-table-header-font-color --lk-w-markdown-table-row-background-color --lk-w-markdown-table-row-font-color --lk-w-markdown-table-stripe-background-color --lk-w-markdown-table-border-color --lk-w-markdown-blockquote-border-color --lk-w-markdown-blockquote-text-color --lk-w-markdown-hr-color --lk-w-markdown-table-border-radius-top-left --lk-w-markdown-table-border-radius-top-right --lk-w-markdown-table-border-radius-bottom-right --lk-w-markdown-table-border-radius-bottom-left --lk-w-markdown-pre-border-radius-top-left --lk-w-markdown-pre-border-radius-top-right --lk-w-markdown-pre-border-radius-bottom-right --lk-w-markdown-pre-border-radius-bottom-left --lk-w-markdown-image-border-radius-top-left --lk-w-markdown-image-border-radius-top-right --lk-w-markdown-image-border-radius-bottom-right --lk-w-markdown-image-border-radius-bottom-left
- icons: The leading icon and the action buttons: size, corners, the button shape's corner radius, the colors of each action (copy, open, download) and the hover background. --lk-w-icon-background-color --lk-w-icon-color --lk-w-icon-size --lk-w-icon-glyph-size --lk-w-icon-border-radius --lk-w-icon-action-hover-background-color --lk-w-icon-redirect-styles-background-color --lk-w-icon-redirect-styles-color --lk-w-icon-redirect-styles-border-color --lk-w-icon-clipboard-styles-background-color --lk-w-icon-clipboard-styles-color --lk-w-icon-clipboard-styles-border-color --lk-w-icon-download-styles-background-color --lk-w-icon-download-styles-color --lk-w-icon-download-styles-border-color --lk-w-button-radius
- gallery: The gallery: arrows, dots, image corners and the transition time. --lk-w-gallery-nav-background-color --lk-w-gallery-nav-hover-background-color --lk-w-gallery-nav-icon-color --lk-w-gallery-dot-active-color --lk-w-gallery-dot-inactive-color --lk-w-gallery-transition-ms --lk-w-gallery-slide-border-radius
- asset_showcase: The light and dark tiles: background, border and text colors, and their corners. --lk-w-asset-showcase-light-background-color --lk-w-asset-showcase-light-border-color --lk-w-asset-showcase-light-text-color --lk-w-asset-showcase-dark-background-color --lk-w-asset-showcase-dark-border-color --lk-w-asset-showcase-dark-text-color --lk-w-asset-showcase-tile-border-radius
- typography: The specimen's text color and sample size. --lk-w-typography-sample-font-size --lk-w-typography-color
- design_tokens: The token list: specimen background, border and corners, and the label and value colors. --lk-w-design-tokens-specimen-background-color --lk-w-design-tokens-specimen-border-color --lk-w-design-tokens-label-color --lk-w-design-tokens-value-color --lk-w-design-tokens-specimen-border-radius
- code_snippets: The code colors (background, text, comments, keywords, strings, numbers, tags, attributes) and the cards (background, border, corners, title, description, language badges). --lk-w-code-snippets-code-background-color --lk-w-code-snippets-code-text-color --lk-w-code-snippets-comment-color --lk-w-code-snippets-keyword-color --lk-w-code-snippets-string-color --lk-w-code-snippets-number-color --lk-w-code-snippets-tag-color --lk-w-code-snippets-attribute-color --lk-w-code-snippets-card-border-color --lk-w-code-snippets-card-border-radius --lk-w-code-snippets-card-background-color --lk-w-code-snippets-title-color --lk-w-code-snippets-description-color --lk-w-code-snippets-badge-color
- email: The email address: color, size and weight. --lk-w-email-color --lk-w-email-font-size --lk-w-email-font-weight
- phone: The phone number: color, size and weight. --lk-w-phone-color --lk-w-phone-font-size --lk-w-phone-font-weight
- whatsapp: The WhatsApp number: color, size and weight. --lk-w-whatsapp-color --lk-w-whatsapp-font-size --lk-w-whatsapp-font-weight
- schedule: The schedule: text color, size, and the hours' weight. --lk-w-schedule-color --lk-w-schedule-font-size --lk-w-schedule-font-weight
- asset_download: The file's name, description, type badge and size: colors, sizes and weights. --lk-w-asset-download-name-color --lk-w-asset-download-name-font-size --lk-w-asset-download-name-font-weight --lk-w-asset-download-description-color --lk-w-asset-download-description-font-size --lk-w-asset-download-description-font-weight --lk-w-asset-download-mime-type-color --lk-w-asset-download-mime-type-bg-color --lk-w-asset-download-mime-type-border-color --lk-w-asset-download-mime-type-font-size --lk-w-asset-download-mime-type-font-weight --lk-w-asset-download-size-color --lk-w-asset-download-size-font-size --lk-w-asset-download-size-font-weight
- color_palette: A color's name, description, code label and code, and its copy button. --lk-w-palette-name-color --lk-w-palette-name-font-size --lk-w-palette-name-font-weight --lk-w-palette-description-color --lk-w-palette-description-font-size --lk-w-palette-description-font-weight --lk-w-palette-color-type-color --lk-w-palette-color-type-font-size --lk-w-palette-color-type-font-weight --lk-w-palette-color-code-color --lk-w-palette-color-code-font-size --lk-w-palette-color-code-font-weight --lk-w-palette-icon-clipboard-styles-background-color --lk-w-palette-icon-clipboard-styles-color --lk-w-palette-icon-clipboard-styles-border-color
- hover: The hover effect: the card's movement and shadow, the action buttons' movement, and the transition. The movement only applies when the visitor has not asked for reduced motion. --lk-w-hover-transition --lk-w-hover-transform --lk-w-hover-shadow --lk-w-hover-action-transform
- pdf: The PDF viewer: background, toolbar, accent, buttons, pages, panels, and the page turn's duration and shadow. Set them in a
:scoperule. --lk-pdf-background --lk-pdf-toolbar-background --lk-pdf-toolbar-color --lk-pdf-accent --lk-pdf-button-hover-background --lk-pdf-control-radius --lk-pdf-page-background --lk-pdf-shadow --lk-pdf-panel-background --lk-pdf-panel-color --lk-pdf-turn-duration --lk-pdf-shadow-strength