UI Kit / Colors

Color

This page documents the real color foundation currently available in the project. It starts with the imported palette tokens, continues with the named project colors, and then shows the first semantic layer that components should consume.

The preview always follows the active project palette. If the page body switches to another brand class such as palette-mavihost, the same UI Kit page automatically updates to that palette without changing the component markup.

Palette Scale (raw color ramps)

These are the imported ramp-based tokens that currently exist in the project. They are part of the foundation layer and are useful for reference, but components should gradually move to semantic tokens instead of consuming these steps directly.

Brand

Imported project ramp

Brand 50
bg-brand-50
Brand 100
bg-brand-100
Brand 200
bg-brand-200
Brand 300
bg-brand-300
Brand 400
bg-brand-400
Brand 500
bg-brand-500
Brand 600
bg-brand-600
Brand 700
bg-brand-700
Brand 800
bg-brand-800
Brand 900
bg-brand-900

Gray

Imported project ramp

Gray 50
bg-gray-50
Gray 100
bg-gray-100
Gray 200
bg-gray-200
Gray 300
bg-gray-300
Gray 400
bg-gray-400
Gray 500
bg-gray-500
Gray 600
bg-gray-600
Gray 700
bg-gray-700
Gray 800
bg-gray-800
Gray 900
bg-gray-900

Info

Imported project ramp

Info 100
bg-info-100
Info 200
bg-info-200
Info 300
bg-info-300
Info 400
bg-info-400
Info 500
bg-info-500
Info 600
bg-info-600
Info 700
bg-info-700
Info 800
bg-info-800
Info 900
bg-info-900

Success

Imported project ramp

Success 100
bg-success-100
Success 200
bg-success-200
Success 300
bg-success-300
Success 400
bg-success-400
Success 500
bg-success-500
Success 600
bg-success-600
Success 700
bg-success-700
Success 800
bg-success-800
Success 900
bg-success-900

Danger

Imported project ramp

Danger 100
bg-danger-100
Danger 200
bg-danger-200
Danger 300
bg-danger-300
Danger 400
bg-danger-400
Danger 500
bg-danger-500
Danger 600
bg-danger-600
Danger 700
bg-danger-700
Danger 800
bg-danger-800
Danger 900
bg-danger-900

Attention

Imported project ramp

Attention 100
bg-attention-100
Attention 200
bg-attention-200
Attention 300
bg-attention-300
Attention 400
bg-attention-400
Attention 500
bg-attention-500
Attention 600
bg-attention-600
Attention 700
bg-attention-700
Attention 800
bg-attention-800
Attention 900
bg-attention-900

Named Project Colors (project-specific foundation tokens)

These colors already exist in the project outside the ramp-based groups. They are useful for product-specific accents and should remain visible in the UI Kit because they are part of the actual token set.

Background Main
bg-background-main
Background Section
bg-background-section
Black
bg-black
White
bg-white
Deep Blue
bg-deep-blue
Dark Blue
bg-dark-blue
Primary Blue
bg-primary-blue
Midtone Blue
bg-midtone-blue
Light Blue
bg-light-blue
Line Blue
bg-line-blue
Light Cyan
bg-light-cyan
Dark Yellow
bg-dark-yellow
Secondary Yellow
bg-seconderay-yellow
Dark Green
bg-dark-green
Green
bg-green
Light Green
bg-light-green
Dark Orange
bg-dark-orange
Orange
bg-orange
Red
bg-red

Overlay Tokens (alpha foundation)

These tokens are useful for overlays, subtle layers, and transparent treatments. The values automatically invert between light and dark contexts because they are part of the imported runtime token set.

Overlay 100
bg-100
Overlay 300
bg-300
Overlay 400
bg-400
Overlay 500
bg-500
Overlay 700
bg-700
Overlay 900
bg-900

Semantic Colors (usage layer)

This is the first semantic layer currently implemented in the project. New components should consume this layer instead of referencing raw palette steps directly.

Light Mode

Semantic preview against the default light context

Shell Background
--docs-shell-bg
Main docs shell background
Sidebar Background
--docs-shell-sidebar-bg
Docs sidebar background
Header Background
--docs-shell-header-bg
Docs topbar/header background
Text Primary
--docs-shell-text
Primary readable text color

Dark Mode

Semantic preview inside the dark theme wrapper

Shell Background
--docs-shell-bg
Main docs shell background
Sidebar Background
--docs-shell-sidebar-bg
Docs sidebar background
Header Background
--docs-shell-header-bg
Docs topbar/header background
Text Primary
--docs-shell-text
Primary readable text color
UI Kit / Radius

Radius

This page documents the current radius scale as it is consumed through Tailwind's native rounded utilities. The visual layout uses fixed pixel spacing for presentation only, while the preview boxes focus on the actual project radius tokens.

Radius is now consumed with the standard Tailwind API, such as rounded-md and rounded-2xl. The runtime tokens still control the real design values, so the same class automatically follows the project scale.

Rounded Utilities (Tailwind native API)

Each preview below uses the real project radius through Tailwind's standard rounded-* classes. The surrounding layout intentionally uses fixed pixel spacing so the presentation stays clean and does not depend on the spacing scale preview.

None
rounded-none
0px
XS
rounded-xs
2px
SM
rounded-sm
4px
MD
rounded-md
Responsive token
LG
rounded-lg
Responsive token
XL
rounded-xl
Responsive token
2XL
rounded-2xl
Responsive token
3XL
rounded-3xl
Responsive token
Full
rounded-full
9999px

Spacing Scale

0
1
2
3
4
5
6
7
8
10
12
16

Typography

Hero
text-hero
H1
text-h1
H2
text-h2
H3
text-h3
H4
text-h4
H5
text-h5
Body Large
text-body-lg
Body Default
text-body-default
Body Small
text-body-sm
Caption Default
text-caption-default
Caption Small
text-caption-sm
Caption XS
text-caption-xs
Special Number
text-special-number
Card Title
text-card-title
Button Default
text-button-default
Button Small
text-button-sm
Special Micro
text-special-micro
Testy
text-testy

Chips

default
icon supported
icon position changed
outline
پارس‌پک پلاس
پارس‌پک پلاس
پارس‌پک پلاس
primary
پارس‌پک پلاس
پارس‌پک پلاس
پارس‌پک پلاس
primary-soft
پارس‌پک پلاس
پارس‌پک پلاس
پارس‌پک پلاس
neutral
پارس‌پک پلاس
پارس‌پک پلاس
پارس‌پک پلاس
inverse
پارس‌پک پلاس
پارس‌پک پلاس
پارس‌پک پلاس
success
پارس‌پک پلاس
پارس‌پک پلاس
پارس‌پک پلاس
info
پارس‌پک پلاس
پارس‌پک پلاس
پارس‌پک پلاس
warning
پارس‌پک پلاس
پارس‌پک پلاس
پارس‌پک پلاس
danger
پارس‌پک پلاس
پارس‌پک پلاس
پارس‌پک پلاس
Sizes
Single sizes
Large chip Small chip

Sidebar Items

Reusable sidebar navigation item for docs tree links. The component supports default, hover preview, active/selected, and back variants with dynamic icons and direction-aware arrows.

default
hover
active / selected
back default
back hover
Dynamic icon example

Search Boxes

Reusable UI-only search field with internal search/close icons. The component is fluid, direction-aware, and receives its width from the parent container.

States

All states are shown with the 40px size. Icons follow the document direction automatically.

Sizes

Only the base/default state is repeated here to show the height difference.

Size 40
Size 48

Compact Link Cards

Compact clickable cards for quick resource links. The component itself is fluid; the parent container controls width.

With media
Main compact card with optional media/logo and link arrow.
Simple
Same card without media. The arrow can move to the opposite side and the title alignment follows it.
Default
Laravel
Hover
Nuxt
Arrow position changed
WordPress

Docs Cards

Documentation cards with title, description, and a link action row. The card is fluid and receives its width from the parent grid/container.

Quick Link Cards

Compact inline link cards for short navigation items. The component is content-sized, includes an optional icon, a divider, and title text.

FAQ Items

Single FAQ accordion items with default, hover, and open states. The item is fluid and receives its width from the parent container.

Default
Hover
Open
Each product section includes a step-by-step guide. Open the related documentation category, choose your service, and follow the setup instructions.

Admonitions

Content callout boxes for documentation pages. Each variant uses the real admonition part and can render an optional title, default icon, and HTML-capable content.

note
Note
Some content with Markdown style text. Check this api.
tip
Tip
Some content with Markdown style text. Check this api.
info
Info
Some content with Markdown style text. Check this api.
warning
Warning
Some content with Markdown style text. Check this api.
danger
Danger
Some content with Markdown style text. Check this api.
Content modes
Without title
برای اجرای دستور npm install، تمامی ماژول‌های مورد نیاز از package.json نصب می‌شوند.
Custom icon
Custom icon
The icon can be replaced from the part API while the semantic color system remains unchanged.

Action Callout

CTA callout for docs content. The component is fluid and uses the real Button part.

شروع به کار با پلتفرم NodeJS
پلتفرم NodeJS یک محیط اجرایی سمت سرور برای JavaScript است که بر اساس موتور V8 گوگل کروم ساخته شده است و امکان اجرای کد خارج از مرورگر را فراهم می‌کند.

Related Links

Documentation helper block for related references. The wrapper is not clickable; links are rendered inside the HTML-capable content area.

Tabs

Tabs component used for switching between related content sections within the same context. Supports semantic structure with tablist, tab, and tabpanel roles, and can be controlled via JavaScript API for dynamic interactions.

Documentation Tabs

Main visual test for active border, tab padding, and panel switching.

Console tab content.

Overflow Tabs

Checks horizontal overflow while keeping the active border aligned with the nav border.

Overview item content.

Legacy Markup Compatibility

Verifies tab-anchor, activeTab, and tab-panel markup uses the same visual states.

Legacy first panel content.

Docs Content

Default typography showcase for documentation body content. This section renders the real docs content wrapper and tests native HTML tags such as headings and paragraphs.

Docs Content Typography

This showcase is used to test the default typography rules inside the documentation content wrapper.

Headings and Paragraphs

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer non magna vitae justo gravida luctus.

Heading H3 Example

Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.

Heading H4 Example

Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.

Heading H5 Example

Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Heading H6 Example

Code Block

This example demonstrates the documentation code block shell. The code highlighting itself is handled by the editor/highlighter integration.

npm install
npm run build
npm run preview

Curabitur pretium tincidunt lacus. Nulla gravida orci a odio, and nullam varius turpis et commodo pharetra.

Inline Elements

This is a simple paragraph demonstrating common inline elements used in documentation. You can follow this link example to explore more details. Some parts of the text are bold or italic, and occasionally underlined for emphasis. Inline code such as npm install may appear within sentences, alongside highlighted text for important notes. You might also see smaller text used for less critical information, or content that has been removed and updated. In some cases, values like H2O or x2 are displayed using subscript and superscript. For keyboard inputs, combinations like Ctrl + C are shown clearly.

Ordered List / Step List

This example demonstrates how ordered lists are styled inside the documentation content. Content editors only need to use a standard ordered list, and the numbering style, circular markers, and connecting vertical line will be applied automatically by docs-content.

  1. Log in to your account using your email and password.
  2. Click on the "Create Service" button and select your desired plan.
  3. Configure your resources such as CPU, RAM, and storage based on your requirements.
  4. Enable additional features like SSL and backup options if needed.
    1. Activate SSL from the security settings.
    2. Set up a backup schedule to protect your data.
  5. Review your configuration and confirm the order to deploy the service.

Curabitur pretium tincidunt lacus. Nulla gravida orci a odio, and nullam varius turpis et commodo pharetra.

Unordered List

This example demonstrates the default unordered list style inside documentation content.

  • Choose the product category that matches your workload.
  • Review the available regions and select the closest location.
    • Check latency for the primary user location.
    • Compare nearby fallback regions.
      • Keep the fallback region in the same legal zone if needed.
  • Check optional features such as backups, monitoring, and security settings.
  • Save the configuration after reviewing the final summary.

Table

This example demonstrates the default table style inside documentation content.

نمونه جدول تنظیمات سرویس
پلن پردازنده رم فضای ذخیره‌سازی کاربرد پیشنهادی
شروع ۲ vCPU ۴ GB ۸۰ GB SSD وب‌سایت‌های کوچک و مستندات سبک.
تجاری ۴ vCPU ۸ GB ۱۶۰ GB SSD سرویس‌های درحال رشد با ترافیک منظم.
پیشرفته ۸ vCPU ۱۶ GB ۳۲۰ GB SSD اپلیکیشن‌های پرترافیک و بارهای کاری سنگین‌تر.