Skip to content

Commit

Permalink
feat: target chatterino2 v2.5.0 (#19)
Browse files Browse the repository at this point in the history
* chore: add reference links

* feat: do not force line below the most recent message

* feat: target chatterino2 v2.5.0

* fixup! feat: target chatterino2 v2.5.0

* fixup! fixup! feat: target chatterino2 v2.5.0
  • Loading branch information
fruzitent authored Jul 1, 2024
1 parent 100e75c commit 858dcdc
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 6 deletions.
26 changes: 21 additions & 5 deletions templates/settings.json.tera
Original file line number Diff line number Diff line change
Expand Up @@ -7,27 +7,43 @@ whiskers:
- "flavor"
version: "2.4.0"
---
{# @help: https://github.com/Chatterino/chatterino2/blob/v2.5.0/src/singletons/Settings.hpp #}
{
"appearance": {
"messages": {
"lastMessageColor": "{{ flavor.colors[accent].hex }}",
"showLastMessageIndicator": true
"lastMessageColor": "{{ flavor.colors[accent].hex }}"
},
"theme": {
"name": "{{ flavor.identifier }}-{{ accent }}.json"
{%- if flavor.dark %}
"darkSystem": "{{ flavor.identifier }}-{{ accent }}.json",
"lightSystem": "Light",
{%- else %}
"darkSystem": "Dark",
"lightSystem": "{{ flavor.identifier }}-{{ accent }}.json",
{%- endif %}
"name": "System"
}
},
"highlighting": {
"automod": {
"color": "{{ surface2 | mod(opacity=0.15) | get(key="hex") }}"
},
"elevatedMessageHighlight": {
"color": "{{ yellow | mod(opacity=0.25) | get(key="hex") }}"
},
"firstMessageHighlightColor": "{{ green | mod(opacity=0.25) | get(key="hex") }}",
"redeemedHighlightColor": "{{ teal| mod(opacity=0.25) | get(key="hex") }}",
"selfHighlightColor": "{{ red | mod(opacity=0.50) | get(key="hex") }}",
"selfMessageHighlight": {
"color": "{{ flavor.colors[accent] | mod(opacity=1.00) | get(key="hex") }}"
"color": "{{ flavor.colors[accent] | mod(opacity=0.20) | get(key="hex") }}"
},
"subHighlightColor": "{{ mauve| mod(opacity=0.40) | get(key="hex") }}",
"threadHighlightColor": "{{ red | mod(opacity=0.25) | get(key="hex") }}"
"threadHighlightColor": "{{ red | mod(opacity=0.25) | get(key="hex") }}",
"users": [
{
"color": "{{ flavor.colors[accent] | mod(opacity=0.20) | get(key="hex") }}",
"pattern": "testaccount_420"
}
]
}
}
5 changes: 4 additions & 1 deletion templates/themes.json.tera
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ whiskers:
- "flavor"
version: "2.4.0"
---
{# @help: https://github.com/Chatterino/chatterino2/blob/v2.5.0/src/singletons/Theme.hpp #}
{
"$schema": "https://raw.githubusercontent.com/Chatterino/chatterino2/v2.4.6/docs/ChatterinoTheme.schema.json",
"$schema": "https://raw.githubusercontent.com/Chatterino/chatterino2/v2.5.0/docs/ChatterinoTheme.schema.json",
"colors": {
"accent": "{{ flavor.colors[accent].hex }}",
"messages": {
Expand Down Expand Up @@ -70,6 +71,7 @@ whiskers:
},
"text": "{{ subtext1.hex }}"
},
"liveIndicator": "{{ red.hex }}",
"newMessage": {
"backgrounds": {
"hover": "{{ mantle.hex }}",
Expand All @@ -96,6 +98,7 @@ whiskers:
},
"text": "{{ subtext0.hex }}"
},
"rerunIndicator": "{{ yellow.hex }}",
"selected": {
"backgrounds": {
"hover": "{{ surface0.hex }}",
Expand Down

0 comments on commit 858dcdc

Please sign in to comment.