3 Commits

  1. 11
      CHANGELOG.md
  2. 8
      assets/css/app.css
  3. 5
      lib/mirage_web/live/note_live/show.html.leex
  4. 2
      mix.exs

11
CHANGELOG.md

@ -5,6 +5,17 @@ See [Conventional Commits](Https://conventionalcommits.org) for commit guideline
<!-- changelog -->
## [v0.105.0](https://git.inhji.de/inhji/mirage/compare/v0.104.0...v0.105.0) (2021-04-05)
### Features:
* add dark styles for tags
* add list link to note
## [v0.104.0](https://git.inhji.de/inhji/mirage/compare/v0.103.0...v0.104.0) (2021-04-05)

8
assets/css/app.css

@ -43,8 +43,10 @@ Variables
--light: var(--white);
--dark: var(--gray-dark);
--color-tag: var(--gray);
--color-link: var(--purple);
--background-navigation: var(--dark);
--background-tag: var(--gray-light);
--color-navigation: var(--light);
--width-sidebar: 15rem;
@ -66,6 +68,8 @@ Variables
@media (prefers-color-scheme: dark) {
--background-navigation: var(--black-dark);
--color-link: var(--purple);
--color-tag: var(--gray-light);
--background-tag: var(--gray-dark);
--ok-b-0: 1px solid #cbcbcb11;
}
@ -191,11 +195,11 @@ article {
}
.tag a {
background: var(--gray-light);
background-color: var(--background-tag);
padding: 0.5rem;
margin-right: 0.5rem;
border-radius: 3px;
color: var(--dark);
color: var(--color-tag);
}
a.button {

5
lib/mirage_web/live/note_live/show.html.leex

@ -14,6 +14,11 @@
</h1>
<div class="tags">
<%= if @note.list do %>
<span class="tag">
<%= link @note.list.name, to: Routes.list_show_path(@socket, :show, @note.list) %>
</span>
<% end %>
<%= for topic <- @note.topics do %>
<span class="tag">
<%= link topic.text, to: Routes.topic_path(MirageWeb.Endpoint, :show, topic), class: "p-category" %>

2
mix.exs

@ -1,7 +1,7 @@
defmodule Mirage.MixProject do
use Mix.Project
@version "0.104.0"
@version "0.105.0"
def project do
[

Loading…
Cancel
Save