Sha256: 1fad4ab265b8934632adc7b4f003c3e52cd4ab50e6eda1dfb6b55ad32fb1aaba

Contents?: true

Size: 1.1 KB

Versions: 4

Compression:

Stored size: 1.1 KB

Contents

# Name of the design system. Defaults to "Theme".
# Feel free to use your company name, name of product,
# or name of your design system.
# e.g.: Primer, Material, Polaris, etc.
# system_name: "Theme"

# Path of generated Swift file.
output_path: "Colors.swift"

# Enables SwiftUI support
# swiftui: false

# Key-value pairs of theme colors.
colors:

  accent: # Keys will be used as color names.
    color: "#00BFC2" # Hex color

  # Shorthand syntax
  warning: "#ED4337"

  text_primary:
    light: # Value for light mode
      color: "#000000"
      # Optionally you can specify an alpha value.
      # Defaults to `1.0`.
      alpha: 0.95
    dark: # Value for dark mode
      color: "#FFFFFF"

  text_secondary:
    light:
      color: "#000000"
      alpha: 0.4
    dark:
      color: "#FFFFFF"
      alpha: 0.6

  primary_background:
    # Use `description` to document your colors (optional).
    description: The color for the main background of your interface.
    light: "#FFFFFF"
    dark:
      # Value for base (non-elevated) level
      base: "#0D0D0D"
      # Value for elevated level
      elevated: "#191D1D"

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
stylegen-0.6.1 lib/stylegen/cli/template.yaml
stylegen-0.6.0 lib/stylegen/cli/template.yaml
stylegen-0.5.0 lib/stylegen/cli/template.yaml
stylegen-0.4.0 lib/stylegen/cli/template.yaml