From 2d5d16c1ce1527099da79d0be3348bfb9c96a735 Mon Sep 17 00:00:00 2001 From: Madeorsk Date: Mon, 23 Sep 2024 15:22:25 +0200 Subject: [PATCH] Add center class to headings. --- package.json | 2 +- src/styles/components/_headings.less | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 1aac459..c745871 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "version": "1.2.1", + "version": "1.2.2", "name": "@kernelui/core", "description": "Kernel UI Core.", "scripts": { diff --git a/src/styles/components/_headings.less b/src/styles/components/_headings.less index 76f7554..2a9fe4f 100644 --- a/src/styles/components/_headings.less +++ b/src/styles/components/_headings.less @@ -1,6 +1,9 @@ h1, h2, h3, h4, h5, h6 { margin: 0.8em auto; + + &.center, &.main + { text-align: center; } } h1