-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #244 from sparcs-kaist/feature@/3.24-dark-mode
Feature@/3.24 dark mode
- Loading branch information
Showing
35 changed files
with
1,566 additions
and
655 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -80,7 +80,8 @@ | |
"hotNotifications": "Hot Notifications", | ||
"hotPosts": "Hot Posts", | ||
"hotInfo": "We deliver trending announcements and posts every day at 8:30 a.m.", | ||
"emailNotAvailable": "If the default mail application cannot be opened, please contact [email protected]." | ||
"emailNotAvailable": "If the default mail application cannot be opened, please contact [email protected].", | ||
"dark": "Dark Mode" | ||
}, | ||
"userPage": { | ||
"change": "Chg.", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -80,7 +80,8 @@ | |
"hotNotifications": "인기 공지글", | ||
"hotPosts": "인기글", | ||
"hotInfo": "인기 공지글 및 인기 글을 매일 오전 8시 30분에 전달해 드립니다.", | ||
"emailNotAvailable": "기본 메일 어플리케이션을 열 수 없습니다. [email protected]로 문의 부탁드립니다." | ||
"emailNotAvailable": "기본 메일 어플리케이션을 열 수 없습니다. [email protected]로 문의 부탁드립니다.", | ||
"dark": "다크 모드" | ||
}, | ||
"userPage": { | ||
"change": "수정", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
description: This file stores settings for Dart & Flutter DevTools. | ||
documentation: https://docs.flutter.dev/tools/devtools/extensions#configure-extension-enablement-states | ||
extensions: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,152 @@ | ||
import 'package:flutter/material.dart'; | ||
|
||
/// 다크/라이트 모드를 Theme으로 정의합니다 | ||
class NewAraThemes { | ||
// DARK THEME SETTINGS | ||
static final darkTheme = ThemeData( | ||
appBarTheme: | ||
const AppBarTheme(elevation: 0, backgroundColor: Color(0xff111111)), | ||
fontFamily: 'Pretendard', | ||
scaffoldBackgroundColor: Color(0xff111111), | ||
splashColor: Colors.transparent, | ||
textSelectionTheme: const TextSelectionThemeData( | ||
cursorColor: Colors.transparent, | ||
), | ||
textTheme: TextTheme( | ||
displayLarge: TextStyle( | ||
color: Colors.white, | ||
), | ||
displayMedium: TextStyle( | ||
color: Colors.white, | ||
), | ||
displaySmall: TextStyle( | ||
color: Colors.white, | ||
), | ||
headlineLarge: TextStyle( | ||
color: Colors.white, | ||
), | ||
headlineMedium: TextStyle( | ||
color: Colors.white, | ||
), | ||
headlineSmall: TextStyle( | ||
color: Colors.white, | ||
), | ||
titleLarge: TextStyle( | ||
color: Colors.white, | ||
), | ||
titleMedium: TextStyle( | ||
color: Colors.white, | ||
), | ||
titleSmall: TextStyle( | ||
color: Colors.white, | ||
), | ||
bodyLarge: TextStyle( | ||
color: Colors.white, | ||
), | ||
bodyMedium: TextStyle( | ||
color: Colors.white, | ||
), | ||
bodySmall: TextStyle( | ||
color: Colors.white, | ||
), | ||
labelLarge: TextStyle( | ||
color: Colors.white, | ||
), | ||
labelMedium: TextStyle( | ||
color: Colors.white, | ||
), | ||
labelSmall: TextStyle( | ||
color: Colors.white, | ||
), | ||
), | ||
); | ||
|
||
// LIGHT THEME SETTINGS | ||
static final lightTheme = ThemeData( | ||
appBarTheme: | ||
const AppBarTheme(elevation: 0, backgroundColor: Colors.white), | ||
fontFamily: 'Pretendard', | ||
scaffoldBackgroundColor: Colors.white, | ||
splashColor: Colors.transparent, | ||
textSelectionTheme: const TextSelectionThemeData( | ||
cursorColor: Colors.transparent, | ||
), | ||
textTheme: TextTheme( | ||
displayLarge: TextStyle( | ||
color: Colors.black, | ||
), | ||
displayMedium: TextStyle( | ||
color: Colors.black, | ||
), | ||
displaySmall: TextStyle( | ||
color: Colors.black, | ||
), | ||
headlineLarge: TextStyle( | ||
color: Colors.black, | ||
), | ||
headlineMedium: TextStyle( | ||
color: Colors.black, | ||
), | ||
headlineSmall: TextStyle( | ||
color: Colors.black, | ||
), | ||
titleLarge: TextStyle( | ||
color: Colors.black, | ||
), | ||
titleMedium: TextStyle( | ||
color: Colors.black, | ||
), | ||
titleSmall: TextStyle( | ||
color: Colors.black, | ||
), | ||
bodyLarge: TextStyle( | ||
color: Colors.black, | ||
), | ||
bodyMedium: TextStyle( | ||
color: Colors.black, | ||
), | ||
bodySmall: TextStyle( | ||
color: Colors.black, | ||
), | ||
labelLarge: TextStyle( | ||
color: Colors.black, | ||
), | ||
labelMedium: TextStyle( | ||
color: Colors.black, | ||
), | ||
labelSmall: TextStyle( | ||
color: Colors.black, | ||
), | ||
)); | ||
|
||
static const Color darkMainText = Color(0xff000000); | ||
static const Color darkInputDecoration = Color(0xFF161616); | ||
static const Color darkInputHint = Color(0xff555555); | ||
|
||
static const Color lightInputDecoration = Color(0xFFF6F6F6); | ||
static const Color lightInputHint = Color(0xffbbbbbb); | ||
|
||
static const Color gry3 = Color(0xff333333); | ||
static const Color gry5 = Color(0xff555555); | ||
static const Color gryC = Color(0xffcccccc); | ||
static const Color gryB = Color(0xffbbbbbb); | ||
static const Color gry6 = Color(0xff666666); | ||
static const Color lightBRLine = Color(0xfff0f0f0); | ||
|
||
static const Color gryB1 = Color(0xffb1b1b1); | ||
static const Color gry61 = Color(0xff616161); | ||
|
||
static const Color gryDB = Color(0xffdbdbdb); | ||
static const Color gry36 = Color(0xff363636); | ||
|
||
static const Color gryA9 = Color(0xffa9a9a9); | ||
static const Color gry67 = Color(0xff676767); | ||
|
||
static const Color gry4A = Color(0xff4a4a4a); | ||
static const Color gryD5 = Color(0xffd5d5d5); | ||
|
||
static const Color gry64 = Color(0xff646464); | ||
static const Color gryEB = Color(0xffebebeb); | ||
|
||
static const Color darkBRLine = Color(0xff3f3f3f); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.