Members
(constant) fontCategories
- Deprecated:
- Yes
- Source:
(constant) fontData
- Deprecated:
- Data about fonts
- Source:
(constant) fontRoles
- Deprecated:
- The LibRext type system roles, organized with: display, title, label, heading, body. Heading text will be categorized in body here
- Source:
- See:
(constant) fontVariants
- Deprecated:
- For our purposes, "regular" is the counterpart of "italic".
- Source:
(constant) fontWeights
- Deprecated:
- For our purposes, "medium" is a font weight
- Source:
libRextData
DATA - Custom data
Methods
build(uiSpec, outputDir, config)
Builds font files based on config
Parameters:
| Name | Type | Description |
|---|---|---|
uiSpec |
* | |
outputDir |
* | |
config |
* |
- Source:
Returns:
true if everything succeeded, false if not
buildHtmlStylesheets(uiSpec, outputDir, config)
Builds stylesheets for LibRext site
Parameters:
| Name | Type | Description |
|---|---|---|
uiSpec |
* | |
outputDir |
* | |
config |
* |
Returns:
true if everything suceeded, false if not
codeComment(heading, body, lang, level, spacingLevel)
Creates a code comment
Parameters:
| Name | Type | Default | Description |
|---|---|---|---|
heading |
* | ||
body |
* | ||
lang |
string | js | coding language ['js', 'css', 'html'] |
level |
number | 0 | decoration level |
spacingLevel |
number | 0 | spacing level |
- Source:
Returns:
code comment string
docStylesheets(uiSpec, outputDir, config)
Builds stylesheets for LibRext site
Parameters:
| Name | Type | Description |
|---|---|---|
uiSpec |
* | |
outputDir |
* | |
config |
* |
Returns:
true if everything suceeded, false if not