From ddc6d618d1c6cb93f2db96db31457880b167b5ad Mon Sep 17 00:00:00 2001 From: Max Date: Sun, 5 Jan 2020 21:56:43 +0100 Subject: [PATCH] removed login button in feed --- src/app/components/feed/feed.component.html | 5 +---- src/app/components/feed/feed.component.sass | 4 ++++ src/styles/greenvironment-material-theme.scss | 1 + src/typings.d.ts | 2 +- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/app/components/feed/feed.component.html b/src/app/components/feed/feed.component.html index 6c021fb..c51821b 100644 --- a/src/app/components/feed/feed.component.html +++ b/src/app/components/feed/feed.component.html @@ -30,12 +30,9 @@ - You need no log in to post something. + You need to login to post something. - - Login - diff --git a/src/app/components/feed/feed.component.sass b/src/app/components/feed/feed.component.sass index 2aaf164..6ab61bd 100644 --- a/src/app/components/feed/feed.component.sass +++ b/src/app/components/feed/feed.component.sass @@ -1,5 +1,9 @@ @import '../../../styles/mixins.sass' @import '../../../styles/vars.sass' +@import 'src/styles/greenvironment-material-theme.scss'; + +.primary-color + color: $primary-color #home width: 100% diff --git a/src/styles/greenvironment-material-theme.scss b/src/styles/greenvironment-material-theme.scss index d83e945..724989c 100644 --- a/src/styles/greenvironment-material-theme.scss +++ b/src/styles/greenvironment-material-theme.scss @@ -10,6 +10,7 @@ // (imported above). For each palette, you can optionally specify a default, lighter, and darker // hue. Available color palettes: https://material.io/design/color/ $primary: mat-palette($mat-light-green); +$primary-color: mat-color($primary); $accent: mat-palette($mat-brown, A200, A100, A400); // The warn palette is optional (defaults to red). $warn: mat-palette($mat-red); diff --git a/src/typings.d.ts b/src/typings.d.ts index 44692e6..000bfb9 100644 --- a/src/typings.d.ts +++ b/src/typings.d.ts @@ -1,5 +1,5 @@ declare module '*.svg' { const svg: string; export default svg; - } +} \ No newline at end of file