Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Theme system extended #66

Merged
merged 13 commits into from
Jul 31, 2024
Merged

Theme system extended #66

merged 13 commits into from
Jul 31, 2024

Conversation

darrenburns
Copy link
Owner

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

Copy link
Contributor

github-actions bot commented Jul 29, 2024

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

@darrenburns darrenburns marked this pull request as ready for review July 31, 2024 20:26
@darrenburns darrenburns merged commit c99549c into main Jul 31, 2024
1 check passed
@darrenburns darrenburns deleted the theme-syntax-and-url branch July 31, 2024 20:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant