darrenburns / posting

The modern API client that lives in your terminal.
Apache License 2.0
4.92k stars 73 forks source link

Theme system extended #66

Closed darrenburns closed 3 months ago

darrenburns commented 3 months ago

Extends the capability of the theme system to allow themes like:

name: aurora

primary: '#4a90e2'
secondary: '#50e3c2'
accent: '#b8e986'
background: '#1c2331'
surface: '#2c3e50'
error: '#e74c3c'
warning: '#f39c12'
success: '#2ecc71'
panel: '#34495e'

text_area:
  cursor: 'reverse'
  selection: 'reverse'
url:
  base: 'italic #50e3c2'
  protocol: 'bold #b8e986'
syntax:
  json_key: '#4a90e2'
  json_number: '#50e3c2'
  json_string: '#b8e986'
  json_boolean: '#b8e986'
  json_null: '#b8e986'

author: Darren Burns
description: An example theme.
homepage: https://github.com/darrenburns/posting
github-actions[bot] commented 3 months ago

Coverage report

Click to see where and how coverage changed

FileStatementsMissingCoverageCoverage
(new stmts)
Lines missing
  src/posting
  highlighters.py 51
  themes.py
  src/posting/widgets
  input.py 33, 74
  select.py
  text_area.py
  variable_input.py
  src/posting/widgets/request
  method_selection.py
  request_body.py
  url_bar.py
Project Total  

This report was generated by python-coverage-comment-action