5 Commits

  1. 15
      CHANGELOG.md
  2. 6
      assets/css/_markdown.scss
  3. 6
      assets/css/app.scss
  4. 4
      lib/mirage_web/live/page_live.html.leex
  5. 2
      lib/mirage_web/templates/note/_note.html.eex
  6. 2
      mix.exs

15
CHANGELOG.md

@ -5,6 +5,21 @@ See [Conventional Commits](Https://conventionalcommits.org) for commit guideline
<!-- changelog -->
## [v0.39.0](https://git.inhji.de/inhji/mirage/compare/v0.38.0...v0.39.0) (2021-02-15)
### Features:
* add surface-alt for borders and lines
* make links in primary color
### Bug Fixes:
* use markdown content for home page hero text
## [v0.38.0](https://git.inhji.de/inhji/mirage/compare/v0.37.0...v0.38.0) (2021-02-15)

6
assets/css/_markdown.scss

@ -5,6 +5,10 @@
margin-bottom: 0;
}
a {
@include color-assign(color, primary);
}
h1 {
font-size: 1.3rem;
}
@ -35,7 +39,7 @@
height: 0;
width: 100%;
border-top: 1px solid $border-base;
@include color-assign(border-color, on-surface);
@include color-assign(border-color, surface-var);
margin: 2rem 0;
}

6
assets/css/app.scss

@ -11,6 +11,7 @@ $on-primary: material-color('grey', '50');
$colors: (
light: (
surface: material-color('grey', '50'),
surface-var: material-color('grey', '300'),
on-surface: material-color('grey', '900'),
background: material-color('grey', '200'),
primary: $primary,
@ -22,6 +23,7 @@ $colors: (
),
dark: (
surface: material-color('blue-grey', '800'),
surface-var: material-color('blue-grey', '800'),
on-surface: material-color('grey', '50'),
background: material-color('blue-grey', '900'),
primary: $primary,
@ -278,7 +280,7 @@ article {
header {
border-bottom: 1px solid $border-base;
@include color-assign(border-color, on-surface);
@include color-assign(border-color, surface-var);
@include color-assign(background, surface);
.title {
@ -289,7 +291,7 @@ article {
footer {
border-top: 1px solid $border-base;
@include color-assign(border-color, on-surface);
@include color-assign(border-color, surface-var);
}
&:last-child {

4
lib/mirage_web/live/page_live.html.leex

@ -1,6 +1,6 @@
<header class="hero">
<h1><%= raw @_s.user_title.value_html %></h1>
<p><%= raw @_s.user_tagline.value_html %></p>
<h1><%= raw @_s.user_title.value %></h1>
<p><%= raw @_s.user_tagline.value %></p>
</header>
<%= if @home_note do %>

2
lib/mirage_web/templates/note/_note.html.eex

@ -21,6 +21,6 @@
<span class="tag"><%= topic.text %></span>
<% end %>
</span>
</footer class="width-full bg-content">
</footer>
</article>

2
mix.exs

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

Loading…
Cancel
Save