From c505fc37839ed84c597f2d8a03c54c13204c4b32 Mon Sep 17 00:00:00 2001 From: ijin08 Date: Fri, 16 Nov 2018 13:02:29 +0100 Subject: [PATCH] moved slider into label to make it clickable, styled slider in dark and light theme, created variables for slider --- public/app/core/components/switch.ts | 20 +++++++++-------- public/sass/_variables.dark.scss | 8 +++++++ public/sass/_variables.light.scss | 8 +++++++ public/sass/components/_switch.scss | 33 +++++++++++++++------------- 4 files changed, 45 insertions(+), 24 deletions(-) diff --git a/public/app/core/components/switch.ts b/public/app/core/components/switch.ts index edfed5593e0..1fce79105dc 100644 --- a/public/app/core/components/switch.ts +++ b/public/app/core/components/switch.ts @@ -1,16 +1,18 @@ import coreModule from 'app/core/core_module'; const template = ` -