Skip to content

Instantly share code, notes, and snippets.

@taylortrimble
Last active February 25, 2023 20:14
Show Gist options
  • Save taylortrimble/ad57d5a6e308bdb129fc7e2a021f4f05 to your computer and use it in GitHub Desktop.
Save taylortrimble/ad57d5a6e308bdb129fc7e2a021f4f05 to your computer and use it in GitHub Desktop.
Recursive code config
# Configure your own custom Rec Mono for Code font
#
# /$$$$$$ /$$
# /$$ / / / $$$
# /$$$$$$$ /$$$$$$$ /$$ $$$$$ /$$$$$$$$$ /$$$$$ /$$$$$$$ /
# /$$_____/ /$$____ $$ | $$$___ $$ |___ $$__/ |___ $$ /$$ $$
# | $$ | $$ | $$ | $$ | $$ | $$ | $$ \ $$$$$$$
# | $$ | $$ | $$ | $$ | $$ | $$ | $$ \ $$ /
# \ $$$$$$$ \ $$$$$$$ | $$ | $$ /$$$$$$$$$ /$$$$$$$$$ / $$$$$$$$
# \_______/ \_______/ |__/ |__/ |_________/ |_________/ | $$ $$
# \ $$$$$$$$
# \_______/
#
# -----------------------------------------------------------------------------
# Family Name
# The name you want after "Rec Mono" in your custom fonts.
# Example: "Custom" will yield the family "Rec Mono Custom".
# Keep under 13 characters in length to avoid potential OS bugs.
Family Name: Custom
# -----------------------------------------------------------------------------
# Font Styles
# The variable axis values for the Regular, Italic, Bold, & Bold Italic fonts.
# See https://recursive.design for more information on these.
# MONO: 0 for Sans, 1 for Mono (or anything in-between)
# CASL: 0 for Linear, 1 for Casual (or anything in-between)
# wght: 300–1000 (realistically, about 400 for Regular & Italic and about 700 for Bold & Bold Italic)
# slnt: 0 to -15 (negative numbers are more slanted, and approximately equal to degrees of slope)
# CRSV: 0 (0 for Roman, 1 for Cursive)
Fonts:
Regular:
MONO: 1
CASL: 0
wght: 375
slnt: 0
CRSV: 0
Italic:
MONO: 1
CASL: 1
wght: 375
slnt: -10
CRSV: 1
Bold:
MONO: 1
CASL: 0
wght: 650
slnt: 0
CRSV: 0
Bold Italic:
MONO: 1
CASL: 1
wght: 650
slnt: -10
CRSV: 1
# -----------------------------------------------------------------------------
# Font Features
# Freeze in code ligatures? True or False
Code Ligatures: False
# Include font features to freeze in stylistic options. Copy them below to use.
# See README for details.
# These options only have an affect at CRSV<=0.5 (Roman/normal styles)
# ss01 # Single-story a
# ss02 # Single-story g
# ss03 # Simplified f
# ss04 # Simplified i (not currently working, see issue #4)
# ss05 # Simplified l
# ss06 # Simplified r
# These options affect both Roman & Cursive styles
# ss07 # Simplified italic diagonals (kwxyz)
# ss08 # No-serif L and Z
# ss09 # Simplified 6 and 9
# ss10 # Dotted 0
# ss11 # Simplified 1
# ss12 # Simplified @
# NOTE:
# Only Sylistic Set features are recommended below.
# Some features (especially "case") will disrupt code ligatures.
# See Issue #20 for more details.
# (Keep the hyphen before each list item)
Features:
- ss06 # Simplified r
- ss08 # Serifless L and Z
- ss09 # Simplified 6 and 9
- ss12 # Simplified @
# That’s it! See README for next steps.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment