diff --git a/ru/toc.yaml b/ru/toc.yaml index e22e2b3..26b1577 100644 --- a/ru/toc.yaml +++ b/ru/toc.yaml @@ -120,6 +120,8 @@ items: href: tools/transform/settings.md - name: Подсветка кода href: tools/transform/highlight.md + - name: Css variables + href: tools/transform/css-vars.md - name: Builder items: - name: Обзор diff --git a/ru/tools/transform/css-vars.md b/ru/tools/transform/css-vars.md new file mode 100644 index 0000000..90f16ed --- /dev/null +++ b/ru/tools/transform/css-vars.md @@ -0,0 +1,52 @@ +# Css переменные + +Пакет предоставляет набор css переменных, которые вы можете переопределить исходя из своих потребностей + + +Переменная | Значение +----- | ----- +`--yfm-color-base` | +| +`--yfm-color-text` | +`--yfm-color-link` | +`--yfm-color-link-hover` | +| +`--yfm-color-table` | +`--yfm-color-table-row-background` | +| +`--yfm-color-border` | +`--yfm-color-accent` | +| +`--yfm-color-inline-code` | +`--yfm-color-inline-code-background` | +`--yfm-color-code-background` | +| +`--yfm-color-hljs-background` | +`--yfm-color-hljs-subst` | +`--yfm-color-hljs-comment` | +`--yfm-color-hljs-deletion` | +`--yfm-color-hljs-section` | +`--yfm-color-hljs-pseudo` | +`--yfm-color-hljs-literal` | +`--yfm-color-hljs-addition` | +`--yfm-color-hljs-meta` | +`--yfm-color-hljs-meta-string` | +| +`--yfm-color-note-tip` | +`--yfm-color-note-tip-background` | +`--yfm-color-note-warning` | +`--yfm-color-note-warning-background` | +`--yfm-color-note-important` | +`--yfm-color-note-important-background` | +`--yfm-color-note-info-background` | +| +`--yfm-color-term-title` | +`--yfm-color-term-title-hover` | +`--yfm-color-term-dfn-background` | +`--yfm-color-term-dfn-shadow` | +`--yfm-color-term-dfn-pseudo-shadow` | +| +`--yfm-color-modal-content` | +`--yfm-color-modal-actions-hover` | +`--yfm-color-modal-wide-content` | +`--yfm-color-modal-wide-content-overlay` | \ No newline at end of file