Skip to content

Commit

Permalink
docs: update default font style from normal to Normal (#933)
Browse files Browse the repository at this point in the history
* Update font style values to use consistent capitalization
  - Change "normal" to "Normal"
  - Change "italic" to "Italic"
* Standardize style across all font configurations in:
  - Main configuration documentation
  - Default configuration template
  • Loading branch information
brunocroh authored Feb 1, 2025
1 parent aba8a5c commit 0c1404f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions docs/docs/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -210,25 +210,25 @@ features = []

[fonts.regular]
family = "cascadiacode"
style = "normal"
style = "Normal"
width = "Normal"
weight = 400

[fonts.bold]
family = "cascadiacode"
style = "normal"
style = "Normal"
width = "Normal"
weight = 800

[fonts.italic]
family = "cascadiacode"
style = "italic"
style = "Italic"
width = "Normal"
weight = 400

[fonts.bold-italic]
family = "cascadiacode"
style = "italic"
style = "Italic"
width = "Normal"
weight = 800
```
Expand Down Expand Up @@ -870,7 +870,7 @@ Result: `zsh`
## title.placeholder

Configure initial title.

```toml
[title]
placeholder = ""
Expand Down Expand Up @@ -1015,7 +1015,7 @@ Example:
decorations = "Enabled"
```

## window.macos-use-unified-titlebar
## window.macos-use-unified-titlebar

You can use MacOS unified titlebar by config, it's disabled by default.

Expand Down
8 changes: 4 additions & 4 deletions rio-backend/src/config/defaults.rs
Original file line number Diff line number Diff line change
Expand Up @@ -346,22 +346,22 @@ pub fn default_config_file_content() -> String {
#
# [fonts.regular]
# family = "cascadiamono"
# style = "normal"
# style = "Normal"
# weight = 400
#
# [fonts.bold]
# family = "cascadiamono"
# style = "normal"
# style = "Normal"
# weight = 800
#
# [fonts.italic]
# family = "cascadiamono"
# style = "italic"
# style = "Italic"
# weight = 400
#
# [fonts.bold-italic]
# family = "cascadiamono"
# style = "italic"
# style = "Italic"
# weight = 800
# Scroll
Expand Down

0 comments on commit 0c1404f

Please sign in to comment.