Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions cc-by-sa/knowledge/glossary/terms/shadowlength_axis/content.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
"Shadow Length" (`SHLN` in CSS) is an [axis](/glossary/axis_in_variable_fonts) found in some [variable fonts](/glossary/variable_fonts) that controls the length of a shadow applied to letterforms, allowing one to add depth and dimension to a typeface.

The [Google Fonts CSS v2 API](https://developers.google.com/fonts/docs/css2) defines the axis as:

| Default: | Min: | Max: | Step: |
| --- | --- | --- | --- |
| 50 | 0 | 100 | 1 |

<figure>

![An image showing two type specimens, each with an axis slider underneath. The specimen on the left shows the effects of the axis' lowest value. The specimen on the right shows the effects of the axis' highest value.](images/thumbnail.svg)

<figcaption>A letterform from the <a href="https://github.com/EkType/Honk">Honk</a> typeface.</figcaption>
</figure>

Changes along the Shadow Length axis increase or decrease the shadow applied to each letterform. At 0%, the shadow length is zero, while at 100% the shadow reaches the maximum length defined by the typeface’s design. The default value of 50% places the shadow midway between these extremes.

The axis uses a percentage-based scale relative to each family’s design, where 0% produces no shadow and 100% applies the maximum shadow length intended by the type designer.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
name: "Shadow Length (SHLN)"
excerpt: "An axis found in some variable fonts that controls the length of the font’s shadow, from no visible shadow to the maximum shadow effect defined by the type designer."
related_lessons: "introducing_variable_fonts"
related_lessons: "designing_with_variable_fonts_in_desktop_apps"
related_lessons: "styling_type_on_the_web_with_variable_fonts"
Loading