Typography
Базовые стили для заголовков и текста. Basic styles for headings and text.
Import Permalink to "Import"
css
@import 'proxima-vue/styles/typography.css';Title playground Permalink to "Title playground"
html
<h1 class="title">
Get More, Do More with the All-Access
</h1>Title BEM Permalink to "Title BEM"
Блок компонента title, модификаторы: Component block title, modifiers:
title_balancedtitle_dimtitle_uptitle_size_xxstitle_size_xstitle_size_stitle_size_normaltitle_size_mtitle_size_ltitle_size_xltitle_size_xxltitle_ultralighttitle_extralighttitle_lighttitle_regulartitle_mediumtitle_semiboldtitle_boldtitle_extraboldtitle_ultraboldtitle_starttitle_centertitle_end
Title CSS Permalink to "Title CSS"
Слой компонента @layer proxima.title, также вы можете гибко cтилизовать заголовок через кастомные свойства: Component layer @layer proxima.title, also you can style the title flexibly through custom properties:
css
--title-font-size: 1em;
--title-font-family: inherit;
--title-font-weight: 700;
--title-line-height: 1.25;
--title-letter-spacing: normal;
--title-text-transform: none;
--title-text-align: inherit;
--title-word-break: normal;
/* Color */
--title-color: inherit;
--title-dim-color: var(--app-dim-color);
/* Mark */
--title-mark-color: var(--app-accent-color);
--title-mark-background: none;
/* Sizes */
--title-font-size-xxs: 0.625em;
--title-font-size-xs: 0.75em;
--title-font-size-s: 0.875em;
--title-font-size-m: 1.125em;
--title-font-size-l: 1.25em;
--title-font-size-xl: 1.5em;
--title-font-size-xxl: 2.5em;Text playground Permalink to "Text playground"
html
<p class="text">
Proxima Centauri is a small...
</p>Text BEM Permalink to "Text BEM"
Блок компонента text, модификаторы: Component block text, modifiers:
text_dimtext_uptext_size_xxstext_size_xstext_size_stext_size_normaltext_size_mtext_size_ltext_size_xltext_size_xxltext_ultralighttext_extralighttext_lighttext_regulartext_mediumtext_semiboldtext_boldtext_extraboldtext_ultraboldtext_starttext_centertext_end
Text CSS Permalink to "Text CSS"
Слой компонента @layer proxima.text, также вы можете гибко cтилизовать текст через кастомные свойства: Component layer @layer proxima.text, also you can style the text flexibly through custom properties:
css
--text-font-size: 1em;
--text-font-family: inherit;
--text-font-weight: 400;
--text-line-height: 1.5;
--text-letter-spacing: initial;
--text-transform: none;
--text-align: inherit;
--text-word-break: normal;
/* Color */
--text-color: inherit;
--text-dim-color: var(--app-dim-color);
/* Mark */
--text-mark-color: var(--app-accent-color);
--text-mark-background: none;
/* Sizes */
--text-font-size-xxs: 0.625em;
--text-font-size-xs: 0.75em;
--text-font-size-s: 0.875em;
--text-font-size-m: 1.125em;
--text-font-size-l: 1.25em;
--text-font-size-xl: 1.375em;
--text-font-size-xxl: 1.5em;