테마
tinyauth 의 프론트엔드는 daisyUI를 기반으로 구축됐어요. 이 덕분에 다양한 테마 옵션을 제공하며, 선호하는 인터페이스 모양과 느낌을 지정할 수 있어요. 설정의 예시는 다음과 같아요.
branding: theme_mode: system light_theme: light dark_theme: darktheme_mode: 테마 전환 모드를 설정해요.system: 시스템 설정에 따라 라이트 또는 다크 모드를 자동으로 선택해요. 사용자에게 테마 전환 토글이 제공돼요.light: 항상 라이트 모드의 테마를 사용해요.dark: 항상 다크 모드의 테마를 사용해요.
light_theme: 라이트 모드에서 사용할 테마 이름이에요. 기본값은light예요.dark_theme: 다크 모드에서 사용할 테마 이름이에요. 기본값은dark예요.
만약 light 모드에서는 cupcake 테마를, dark 모드에서는 dracula 테마를 사용하고 싶다면 다음과 같이 설정할 수 있어요.
branding: theme_mode: system light_theme: cupcake dark_theme: dracula만약 light 모드로 고정하면서 emerald 테마를 사용하고 싶다면 다음과 같이 설정할 수 있어요.
branding: theme_mode: light light_theme: emerald