From c9461bd9100892de4e54de89d35f96561d03cca0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=BB=A8=ED=8A=B8=EB=A1=A4DELTA?= Date: Tue, 10 Mar 2026 15:07:00 +0900 Subject: [PATCH] Add Switch Component --- angular.json | 7 +- src/app/app.html | 178 ++------------------------ src/app/app.scss | 29 +++++ src/app/app.ts | 8 +- src/app/components/switch/switch.html | 1 + src/app/components/switch/switch.scss | 65 ++++++++++ src/app/components/switch/switch.ts | 41 ++++++ src/styles/_functions.scss | 7 + src/styles/_library.scss | 1 + 9 files changed, 163 insertions(+), 174 deletions(-) create mode 100644 src/app/components/switch/switch.html create mode 100644 src/app/components/switch/switch.scss create mode 100644 src/app/components/switch/switch.ts create mode 100644 src/styles/_functions.scss create mode 100644 src/styles/_library.scss diff --git a/angular.json b/angular.json index da98da7..f12f9d7 100644 --- a/angular.json +++ b/angular.json @@ -29,9 +29,10 @@ "input": "public" } ], - "styles": [ - "src/styles.scss" - ] + "styles": ["src/styles.scss"], + "stylePreprocessorOptions": { + "includePaths": ["src","src/styles"] + } }, "configurations": { "production": { diff --git a/src/app/app.html b/src/app/app.html index a1c4296..310dda3 100644 --- a/src/app/app.html +++ b/src/app/app.html @@ -1,173 +1,11 @@ - - - - - - - - - -