From 6342346ad33d16b05395acc3a680e7ed4b10df95 Mon Sep 17 00:00:00 2001 From: myh Date: Fri, 1 Dec 2023 00:46:24 +0800 Subject: [PATCH] format file --- src/app/app.component.html | 6 ++++-- src/app/app.component.ts | 18 +++++++++--------- src/app/app.config.ts | 8 ++++---- src/app/app.routes.ts | 2 +- src/index.html | 12 ++++++------ 5 files changed, 24 insertions(+), 22 deletions(-) diff --git a/src/app/app.component.html b/src/app/app.component.html index 1b7f2c3..737519c 100644 --- a/src/app/app.component.html +++ b/src/app/app.component.html @@ -133,9 +133,11 @@ .pill-group .pill:nth-child(6n + 1) { --pill-accent: var(--bright-blue); } + .pill-group .pill:nth-child(6n + 2) { --pill-accent: var(--french-violet); } + .pill-group .pill:nth-child(6n + 3), .pill-group .pill:nth-child(6n + 4), .pill-group .pill:nth-child(6n + 5) { @@ -205,7 +207,7 @@ gradientTransform="rotate(118.122 171.182 60.81) scale(205.794)" gradientUnits="userSpaceOnUse" > - + @@ -217,7 +219,7 @@ y2="192" gradientUnits="userSpaceOnUse" > - + diff --git a/src/app/app.component.ts b/src/app/app.component.ts index 847ddaf..871152b 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -1,14 +1,14 @@ -import { Component } from '@angular/core'; -import { CommonModule } from '@angular/common'; -import { RouterOutlet } from '@angular/router'; +import {Component} from '@angular/core'; +import {CommonModule} from '@angular/common'; +import {RouterOutlet} from '@angular/router'; @Component({ - selector: 'app-root', - standalone: true, - imports: [CommonModule, RouterOutlet], - templateUrl: './app.component.html', - styleUrl: './app.component.scss' + selector: 'app-root', + standalone: true, + imports: [CommonModule, RouterOutlet], + templateUrl: './app.component.html', + styleUrl: './app.component.scss' }) export class AppComponent { - title = 'AngularDemo'; + title = 'AngularDemo'; } diff --git a/src/app/app.config.ts b/src/app/app.config.ts index 6c6ef60..03860b9 100644 --- a/src/app/app.config.ts +++ b/src/app/app.config.ts @@ -1,8 +1,8 @@ -import { ApplicationConfig } from '@angular/core'; -import { provideRouter } from '@angular/router'; +import {ApplicationConfig} from '@angular/core'; +import {provideRouter} from '@angular/router'; -import { routes } from './app.routes'; +import {routes} from './app.routes'; export const appConfig: ApplicationConfig = { - providers: [provideRouter(routes)] + providers: [provideRouter(routes)] }; diff --git a/src/app/app.routes.ts b/src/app/app.routes.ts index dc39edb..8b5e5fb 100644 --- a/src/app/app.routes.ts +++ b/src/app/app.routes.ts @@ -1,3 +1,3 @@ -import { Routes } from '@angular/router'; +import {Routes} from '@angular/router'; export const routes: Routes = []; diff --git a/src/index.html b/src/index.html index 19b040a..2cb5388 100644 --- a/src/index.html +++ b/src/index.html @@ -1,13 +1,13 @@ - - AngularDemo - - - + + AngularDemo + + + - +