From 888099974d2faaa89278552ad52c7eeea52b47c3 Mon Sep 17 00:00:00 2001 From: Dan Allen Date: Thu, 8 Aug 2024 13:04:23 -0600 Subject: [PATCH] add dedicated section for text-align for base theme key --- docs/modules/theme/pages/base.adoc | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/docs/modules/theme/pages/base.adoc b/docs/modules/theme/pages/base.adoc index 59ebc79bc..a529efc65 100644 --- a/docs/modules/theme/pages/base.adoc +++ b/docs/modules/theme/pages/base.adoc @@ -138,10 +138,17 @@ It's used as an intermediate property for computing the `base-line-height` from For instance, if you set `base-line-height-length`, you can use `$base-line-height-length / $base-font-size` to set the value of `base-line-height`. You don't have to go about it this way in your own theme. +[#text-align] +== text-align + +The default text alignment can be set globally using the `text-align` key on the `base` category. +While the base theme applies the value `left`, the default theme applies the value `justify`. +If you don't prefer text justification, you can change this behavior by setting this key to `left`. +It's also possible to set the default text alignment using the `text-align` document attribute. + [#transform] == text-transform The `text-transform` key can't be set globally. Therefore, this key shouldn't be used on the `base` category. The value of `none` is implicit and is only documented in the table above for completeness. -