-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bf28fbc
commit 0beed19
Showing
6 changed files
with
261 additions
and
86 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 |
---|---|---|
@@ -1,5 +1,6 @@ | ||
from fasthtml.common import * | ||
from fh_frankenui.core import * | ||
from fh_frankenui.components import * | ||
from fh_frankenui.style import * | ||
from fh_frankenui.foundations import * | ||
|
||
|
||
|
@@ -14,10 +15,10 @@ def home(): | |
|
||
header = (Strong('Create an account'), | ||
P(cls='uk-text-muted')('Enter your email below to create your account')) | ||
footer = UkButton(typ='primary')('Create Account') | ||
footer = UkButton(typ=UkTyp.primary)('Create Account') | ||
|
||
body = (UkButton(typ='default')('Github'), | ||
UkButton(typ='default')('Google'), | ||
body = (UkButton(typ=UkTyp.default)('Github'), | ||
UkButton(typ=UkTyp.default)('Google'), | ||
P(cls='uk-text-lead uk-text-small')("Or continue with"), | ||
UkInput('Email','', 'email',placeholder='[email protected]'), | ||
UkInput('Password','', 'Password',placeholder='Password',type='Password')) | ||
|
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
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
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,19 @@ | ||
# AUTOGENERATED! DO NOT EDIT! File to edit: ../nbs/02_style.ipynb. | ||
|
||
# %% auto 0 | ||
__all__ = ['UkTyp'] | ||
|
||
# %% ../nbs/02_style.ipynb 2 | ||
from fasthtml.common import * | ||
from .components import * | ||
from enum import Enum | ||
|
||
# %% ../nbs/02_style.ipynb 6 | ||
class UkTyp(Enum): | ||
default = 'default' | ||
ghost = 'ghost' | ||
primary = 'primary' | ||
secondary = 'secondary' | ||
danger = 'danger' | ||
|
||
def __str__(self): return self.value |
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.