Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

neon theme #14

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,4 @@ testem.log
# System Files
.DS_Store
Thumbs.db
/src/lib/node_modules
40 changes: 16 additions & 24 deletions src/app/app.component.html
Original file line number Diff line number Diff line change
@@ -1,26 +1,18 @@
<div class="wrapper">
<div class="wrapper--top">
<h1 class="header">Ngx Cool Dialogs</h1>
<p class="subheader">Easily create
<ngx-dynamic-text class="feature"
(animationFinish)="switchFeature()"
[text]="feature"></ngx-dynamic-text>
alert and confirm dialogs in Angular.</p>
<div class="ctas">
<button class="simple-btn cta" (click)="open(0)">Alert</button>
<button class="simple-btn cta" (click)="open(1)">Confirm</button>
<button class="simple-btn cta" (click)="open(2)">Prompt</button>
<div class="wrapper--top">
<h1 class="header">Ngx Cool Dialogs</h1>
<p class="subheader">Easily create
<ngx-dynamic-text class="feature" (animationFinish)="switchFeature()" [text]="feature"></ngx-dynamic-text>
alert and confirm dialogs in Angular.</p>
<div class="ctas">
<button class="simple-btn cta" (click)="open(0)">Alert</button>
<button class="simple-btn cta" (click)="open(1)">Confirm</button>
<button class="simple-btn cta" (click)="open(2)">Prompt</button>
</div>
<h4 class="themes-title">Select theme</h4>
<button *ngFor="let theme of themes" class="simple-btn theme-btn" [class.theme-btn--active]="activeTheme === theme" (click)="activeTheme = theme">{{theme}}</button>
</div>
<h4 class="themes-title">Select theme</h4>
<button *ngFor="let theme of themes"
class="simple-btn theme-btn"
[class.theme-btn--active]="activeTheme === theme"
(click)="activeTheme = theme">{{theme}}</button>
</div>
<div class="wrapper--bottom">
<a href="https://github.com/caroso1222/ngx-cool-dialogs"
target="_blank"
rel="noopener noreferrer"
class="simple-btn github-btn">GitHub</a>
</div>
</div>
<div class="wrapper--bottom">
<a href="https://github.com/caroso1222/ngx-cool-dialogs" target="_blank" rel="noopener noreferrer" class="simple-btn github-btn">GitHub</a>
</div>
</div>
3 changes: 2 additions & 1 deletion src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,5 +77,6 @@ export class AppComponent {
export enum Theme {
Default = 'Default',
Material = 'Material',
Dark = 'Dark'
Dark = 'Dark',
Neon = 'neon'
}
38 changes: 21 additions & 17 deletions src/index.html
Original file line number Diff line number Diff line change
@@ -1,25 +1,29 @@
<!doctype html>
<html lang="en">

<head>
<meta charset="utf-8">
<title>Ngx Cool Dialogs - Alert, confirm and prompt dialogs for Angular</title>
<meta name="description" content="Easily create alert, confirm and prompt dialogs for Angular. Think of window.alert or window.confirm, but more angularish and way cooler.">
<base href="/">
<meta charset="utf-8">
<title>Ngx Cool Dialogs - Alert, confirm and prompt dialogs for Angular</title>
<meta name="description" content="Easily create alert, confirm and prompt dialogs for Angular. Think of window.alert or window.confirm, but more angularish and way cooler.">
<base href="/">

<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="favicon.ico">
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,600,700" rel="stylesheet">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="favicon.ico">
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,600,700" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300" rel="stylesheet">

<meta name="twitter:card" content="summary" />
<meta name="twitter:site" content="@caroso1222" />
<meta property="og:site_name" content="Ngx Cool Dialogs"/>
<meta property="og:title" content="Ngx Cool Dialogs - Angular Library"/>
<meta property="og:description" content="Easily create alert, confirm and prompt dialogs for Angular. Think of window.alert or window.confirm, but more angularish and way cooler."/>
<meta property="og:image" content="https://i.imgur.com/KLiYyVt.jpg">
<meta property="og:url" content="https://ngx-cool-dialogs.carlosroso.com/">
<meta property="og:type" content="website" />
<meta name="twitter:card" content="summary" />
<meta name="twitter:site" content="@caroso1222" />
<meta property="og:site_name" content="Ngx Cool Dialogs" />
<meta property="og:title" content="Ngx Cool Dialogs - Angular Library" />
<meta property="og:description" content="Easily create alert, confirm and prompt dialogs for Angular. Think of window.alert or window.confirm, but more angularish and way cooler." />
<meta property="og:image" content="https://i.imgur.com/KLiYyVt.jpg">
<meta property="og:url" content="https://ngx-cool-dialogs.carlosroso.com/">
<meta property="og:type" content="website" />
</head>

<body>
<app-root></app-root>
<app-root></app-root>
</body>
</html>

</html>
21 changes: 21 additions & 0 deletions src/lib/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions src/lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,12 @@
"module": "./esm5/ngx-cool-dialogs.es5.js",
"typings": "./ngx-cool-dialogs.d.ts",
"dependencies": {
"@angular/cdk": "^5.0.0"
"@angular/cdk": "^5.0.0",
"node-sass": "^4.14.1"
},
"peerDependencies": {
"@angular/core": "^5.0.0",
"@angular/common": "^5.0.0",
"@angular/core": "^5.0.0",
"@angular/http": "^5.0.0"
}
}
}
Loading