[THEME][BASE] New and better light theme.

This commit is contained in:
Eliseu Amaro 2021-09-08 22:32:20 +01:00 committed by Hugo Sales
parent 26aec5f626
commit 043c5da58b
Signed by: someonewithpc
GPG Key ID: 7D0C7EAFC9D835A0
3 changed files with 8 additions and 8 deletions

View File

@ -59,13 +59,13 @@ html * {
@media (prefers-color-scheme: light) { @media (prefers-color-scheme: light) {
:root { :root {
/* colours and shadows */ /* colours and shadows */
--bg1: #F4F2E8; --bg1: #eceff4;
--bg2: #B5BBB4; --bg2: #4c566a66;
--bg3: #6C766B; --bg3: #2e3440;
--bg-button: #F4F2E866 !important; --bg-button: #d8dee966 !important;
--translucent: #F4F2E866; --translucent: #eceff466;
--white: #002B36; --white: #2e3440;
--shadow: 0px 0px 32px 0px #00000066; --shadow: 0px 0px 32px 0px #00000066;
--shadow-light: 0px 0px 32px 0px #FFFFFF66; --shadow-light: 0px 0px 32px 0px #FFFFFF66;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 884 KiB

After

Width:  |  Height:  |  Size: 1002 KiB

View File

@ -46,14 +46,14 @@
{# {% endfor %} #} {# {% endfor %} #}
{# </div> #} {# </div> #}
{% if hide_attachments is not defined %} {% if hide_attachments is not defined %}
<div class="note-attachments"> <div class="note-attachments" tabindex="0" title="{{ 'Note attachments.' | trans }}">
{% for attachment in note.getAttachments() %} {% for attachment in note.getAttachments() %}
{% include '/attachments/view.html.twig' with {'attachment': attachment, 'note': note} only%} {% include '/attachments/view.html.twig' with {'attachment': attachment, 'note': note} only%}
{% endfor %} {% endfor %}
</div> </div>
{% endif %} {% endif %}
{% if note.getLinks() is not empty %} {% if note.getLinks() is not empty %}
<div tabindex="0" class="note-links" title="{{ 'Shared links in this note.' | trans }}"> <div tabindex="0" class="note-links" title="{{ 'Shared links.' | trans }}">
{% for link in note.getLinks() %} {% for link in note.getLinks() %}
{% for block in handle_event('ViewLink', {'link': link, 'note': note}) %} {% for block in handle_event('ViewLink', {'link': link, 'note': note}) %}
{{ block | raw }} {{ block | raw }}