Make more things themable

This commit is contained in:
Cadence Ember 2020-05-10 00:26:50 +12:00
parent 8aac24bac8
commit d6c97cdaba
No known key found for this signature in database
GPG Key ID: 128B99B1B74A6412
2 changed files with 7 additions and 3 deletions

View File

@ -83,6 +83,7 @@ body
text-align: center text-align: center
position: relative position: relative
line-height: 1 line-height: 1
color: map-get($theme, "foreground-primary")
@media screen and (max-width: $layout-a-max) @media screen and (max-width: $layout-a-max)
border-bottom: map-get($theme, "edge-context-divider") border-bottom: map-get($theme, "edge-context-divider")
@ -115,11 +116,13 @@ body
.full-name .full-name
margin: 0 0 8px margin: 0 0 8px
font-size: 30px font-size: 30px
color: map-get($theme, "foreground-header")
.username .username
margin: 0 margin: 0
font-size: 20px font-size: 20px
font-weight: normal font-weight: normal
color: map-get($theme, "foreground-header")
.bio .bio
margin: 20px 0px margin: 20px 0px
@ -330,7 +333,7 @@ body
.name .name
font-size: 20px font-size: 20px
color: map-get($theme, "foreground-timeline-header") color: map-get($theme, "foreground-post-header")
text-decoration: none text-decoration: none
&:hover &:hover
@ -338,6 +341,7 @@ body
.relative-box .relative-box
background-color: map-get($theme, "background-post-caption") background-color: map-get($theme, "background-post-caption")
color: map-get($theme, "foreground-primary")
@media screen and (min-width: $layout-b-min) @media screen and (min-width: $layout-b-min)
.relative-box .relative-box

View File

@ -23,7 +23,7 @@ $theme: (
"background-error-page": #191919, "background-error-page": #191919,
"background-alert": #282828, "background-alert": #282828,
"background-banner-success": #0b420b, "background-banner-success": #0b420b,
"foreground-primary": #222, "foreground-primary": #111,
"foreground-header": #000, "foreground-header": #000,
"foreground-power-primary": #fff, "foreground-power-primary": #fff,
"foreground-power-secondary": #eee, "foreground-power-secondary": #eee,
@ -31,7 +31,7 @@ $theme: (
"foreground-go-control": #111, "foreground-go-control": #111,
"foreground-thumbnail-alt": #111, "foreground-thumbnail-alt": #111,
"foreground-timeline-page": #444, "foreground-timeline-page": #444,
"foreground-timeline-header": #000, "foreground-post-header": #000,
"foreground-gallery-alt": #eee, "foreground-gallery-alt": #eee,
"foreground-error-code": #fff, "foreground-error-code": #fff,
"foreground-error-message": #ccc, "foreground-error-message": #ccc,