Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

Various style cleanup to make more themeable and color consistent

Tianzhou Chen11f9c4a39465
diff --git a/frontend/src/assets/css/tailwind.css b/frontend/src/assets/css/tailwind.css
index 906b07eadc..4e236e08f8 100644
--- a/frontend/src/assets/css/tailwind.css
+++ b/frontend/src/assets/css/tailwind.css
@@ -40,19 +40,31 @@
@tailwind utilities;
.btn-primary {
- @apply border border-transparent rounded-md text-accent-text bg-accent hover:bg-accent-hover disabled:bg-accent disabled:opacity-50 disabled:cursor-not-allowed px-4 py-2 text-sm leading-5 font-medium focus:ring-accent focus:outline-none focus-visible:ring-2 focus:ring-offset-2;
+ @apply border border-transparent rounded-md text-accent-text bg-accent hover:bg-accent-hover disabled:bg-accent disabled:opacity-50 disabled:cursor-not-allowed px-4 py-2 text-sm leading-5 font-medium focus:ring-control focus:outline-none focus-visible:ring-2 focus:ring-offset-2;
}
.btn-normal {
- @apply border border-control-border rounded-md text-control bg-normal hover:bg-normal-hover disabled:bg-normal disabled:opacity-50 disabled:cursor-not-allowed px-4 py-2 text-sm leading-5 font-medium focus:ring-accent focus:outline-none focus-visible:ring-2 focus:ring-offset-2;
+ @apply border border-control-border rounded-md text-control bg-normal hover:bg-normal-hover disabled:bg-normal disabled:opacity-50 disabled:cursor-not-allowed px-4 py-2 text-sm leading-5 font-medium focus:ring-control focus:outline-none focus-visible:ring-2 focus:ring-offset-2;
}
.btn-icon {
- @apply rounded-md text-control bg-white hover:bg-transparent disabled:opacity-50 disabled:cursor-not-allowed focus:outline-none;
+ @apply rounded-md text-control bg-white hover:bg-transparent disabled:opacity-50 disabled:cursor-not-allowed focus:ring-control focus:outline-none focus-visible:ring-2 focus:ring-offset-1;
}
.btn-danger {
- @apply border border-transparent rounded-md text-accent-text bg-error hover:bg-error-hover disabled:bg-error disabled:opacity-50 disabled:cursor-not-allowed px-4 py-2 text-sm leading-5 font-medium focus:ring-accent focus:outline-none focus-visible:ring-2 focus:ring-offset-2;
+ @apply border border-transparent rounded-md text-accent-text bg-error hover:bg-error-hover disabled:bg-error disabled:opacity-50 disabled:cursor-not-allowed px-4 py-2 text-sm leading-5 font-medium focus:ring-control focus:outline-none focus-visible:ring-2 focus:ring-offset-2;
+}
+
+.control {
+ @apply focus:ring-control focus:border-control border-control-border rounded-md;
+}
+
+.textlabel {
+ @apply text-sm font-medium text-control;
+}
+
+.textfield {
+ @apply text-main shadow-sm focus:ring-control focus:border-control sm:text-sm border-control-border rounded-md;
}
.link {
diff --git a/frontend/src/bbkit/BBTable/BBTableTabFilter.vue b/frontend/src/bbkit/BBTable/BBTableTabFilter.vue
index d902127c1c..ec30c17151 100644
--- a/frontend/src/bbkit/BBTable/BBTableTabFilter.vue
+++ b/frontend/src/bbkit/BBTable/BBTableTabFilter.vue
@@ -4,7 +4,7 @@
<select
id="tabs"
name="tabs"
- class="block w-full focus:ring-accent focus:border-accent border-control-border rounded-md"
+ class="control block w-full"
@change="
(e) => {
$emit('select-index', parseInt(e.target.value));
diff --git a/frontend/src/components/EnvironmentForm.vue b/frontend/src/components/EnvironmentForm.vue
index e790ff5148..415d62ba15 100644
--- a/frontend/src/components/EnvironmentForm.vue
+++ b/frontend/src/components/EnvironmentForm.vue
@@ -13,7 +13,7 @@
id="name"
name="name"
type="text"
- class="shadow-sm mt-4 focus:ring-accent block w-full sm:text-sm border-control-border rounded-md"
+ class="textfield mt-4 w-full"
:value="state.environment.attributes.name"
@input="updateEnvironment('name', $event.target.value)"
/>
diff --git a/frontend/src/components/EnvironmentSelect.vue b/frontend/src/components/EnvironmentSelect.vue
index 736ec95495..4af6104e5c 100644
--- a/frontend/src/components/EnvironmentSelect.vue
+++ b/frontend/src/components/EnvironmentSelect.vue
@@ -1,6 +1,6 @@
<template>
<select
- class="block w-full focus:ring-accent focus:border-accent border-gray-300 rounded-md"
+ class="control block w-full"
@change="
(e) => {
$emit('select-environment-id', e.target.value);
diff --git a/frontend/src/components/PipelineTable.vue b/frontend/src/components/PipelineTable.vue
index 6f6d613cc5..fe84602280 100644
--- a/frontend/src/components/PipelineTable.vue
+++ b/frontend/src/components/PipelineTable.vue
@@ -9,7 +9,7 @@
<BBTableCell :leftPadding="4" class="w-4 table-cell">
<span
class="w-5 h-5 flex items-center justify-center rounded-full"
- :class="statusMap[pipeline.attributes.status].class"
+ :class="iconStatusMap[pipeline.attributes.status].class"
>
<template v-if="pipeline.attributes.status == `PENDING`">
<span
@@ -114,7 +114,7 @@ interface LocalState {
dataSource: Object[];
}
-const statusMap = {
+const iconStatusMap = {
PENDING: {
name: "Pending",
class:
@@ -127,7 +127,7 @@ const statusMap = {
},
DONE: {
name: "Done",
- class: "bg-accent hover:bg-accent-hover text-white",
+ class: "bg-green-600 hover:bg-green-700 text-white",
},
FAILED: {
name: "Failed",
@@ -233,7 +233,7 @@ export default {
return {
state,
environmentName,
- statusMap,
+ iconStatusMap,
stageList,
humanize,
clickPipeline,
diff --git a/frontend/src/components/QuickActionPanel.vue b/frontend/src/components/QuickActionPanel.vue
index b4978c48b1..87f7fc0ae7 100644
--- a/frontend/src/components/QuickActionPanel.vue
+++ b/frontend/src/components/QuickActionPanel.vue
@@ -24,7 +24,7 @@
</svg>
</span>
</router-link>
- <h3 class="mt-1 text-base font-normal text-accent tracking-tight">
+ <h3 class="mt-1 text-base font-normal text-main tracking-tight">
Add Instance
</h3>
</div>
@@ -54,7 +54,7 @@
</span>
</button>
<h3
- class="mt-1 text-center text-base font-normal text-accent tracking-tight"
+ class="mt-1 text-center text-base font-normal text-main tracking-tight"
>
Manage User
</h3>
@@ -85,7 +85,7 @@
</span>
</button>
<h3
- class="mt-1 text-center text-base font-normal text-accent tracking-tight"
+ class="mt-1 text-center text-base font-normal text-main tracking-tight"
>
Query
</h3>
@@ -116,7 +116,7 @@
</span>
</button>
<h3
- class="mt-1 text-center text-base font-normal text-accent tracking-tight"
+ class="mt-1 text-center text-base font-normal text-main tracking-tight"
>
Edit Data
</h3>
@@ -146,7 +146,7 @@
</svg>
</span>
</router-link>
- <h3 class="mt-1 text-base font-normal text-accent tracking-tight">
+ <h3 class="mt-1 text-base font-normal text-main tracking-tight">
Request DB
</h3>
</div>
@@ -175,7 +175,7 @@
</svg>
</span>
</button>
- <h3 class="mt-1 text-center text-base font-normal text-accent">
+ <h3 class="mt-1 text-center text-base font-normal text-main">
Edit Schema
</h3>
</div>
@@ -204,7 +204,7 @@
</svg>
</span>
</button>
- <h3 class="mt-1 text-center text-base font-normal text-accent">Ticket</h3>
+ <h3 class="mt-1 text-center text-base font-normal text-main">Ticket</h3>
</div>
<div
@@ -232,7 +232,7 @@
</svg>
</span>
</button>
- <h3 class="mt-1 text-center text-base font-normal text-accent">
+ <h3 class="mt-1 text-center text-base font-normal text-main">
Add Environment
</h3>
</div>
@@ -262,9 +262,7 @@
</svg>
</span>
</button>
- <h3 class="mt-1 text-center text-base font-normal text-accent">
- Reorder
- </h3>
+ <h3 class="mt-1 text-center text-base font-normal text-main">Reorder</h3>
</div>
</div>
</template>
diff --git a/frontend/src/views/InstanceDetail.vue b/frontend/src/views/InstanceDetail.vue
index 675c27c1f7..df75518372 100644
--- a/frontend/src/views/InstanceDetail.vue
+++ b/frontend/src/views/InstanceDetail.vue
@@ -17,7 +17,7 @@ input[type="number"] {
<!-- Instance Name -->
<div class="grid grid-cols-1 gap-y-6 gap-x-4 sm:grid-cols-6">
<div class="sm:col-span-2">
- <label for="name" class="text-sm font-medium text-gray-700">
+ <label for="name" class="textlabel">
Instance Name <span style="color: red">*</span>
</label>
<input
@@ -25,14 +25,14 @@ input[type="number"] {
id="name"
name="name"
type="text"
- class="shadow-sm mt-1 focus:ring-accent block w-full sm:text-sm border-control-border rounded-md"
+ class="textfield mt-1 w-full"
:value="state.instance.attributes.name"
@input="updateInstance('name', $event.target.value)"
/>
</div>
<div class="sm:col-span-2 sm:col-start-1">
- <label for="environment" class="text-sm font-medium text-gray-700">
+ <label for="environment" class="textlabel">
Environment <span style="color: red">*</span>
</label>
<EnvironmentSelect
@@ -48,7 +48,7 @@ input[type="number"] {
</div>
<div class="sm:col-span-5">
- <label for="host" class="block text-sm font-medium text-gray-700">
+ <label for="host" class="textlabel block">
Host or Socket <span style="color: red">*</span>
</label>
<div class="mt-1">
@@ -58,7 +58,7 @@ input[type="number"] {
id="host"
name="host"
placeholder="e.g. 127.0.0.1 | localhost | /tmp/mysql.sock"
- class="shadow-sm focus:ring-accent block w-full sm:text-sm border-control-border rounded-md"
+ class="textfield mt-1 w-full"
:value="state.instance.attributes.host"
@input="updateInstance('host', $event.target.value)"
/>
@@ -66,16 +66,14 @@ input[type="number"] {
</div>
<div class="sm:col-span-1">
- <label for="port" class="block text-sm font-medium text-gray-700">
- Port
- </label>
+ <label for="port" class="textlabel block"> Port </label>
<div class="mt-1">
<input
type="number"
id="port"
name="port"
placeholder="3306"
- class="shadow-sm focus:ring-accent block w-full sm:text-sm border-control-border rounded-md"
+ class="textfield mt-1 w-full"
:value="state.instance.attributes.port"
@input="updateInstance('port', $event.target.value)"
/>
@@ -83,13 +81,10 @@ input[type="number"] {
</div>
<div class="sm:col-span-6 sm:col-start-1">
- <label
- for="externallink"
- class="inline-flex text-sm font-medium text-gray-700"
- >
+ <label for="externallink" class="textlabel inline-flex">
<span class="">External Link</span>
<button
- class="btn-icon"
+ class="ml-1 btn-icon"
:disabled="
state.instance.attributes.externalLink?.trim().length == 0
"
@@ -101,7 +96,7 @@ input[type="number"] {
"
>
<svg
- class="ml-1 w-5 h-5"
+ class="w-5 h-5"
fill="none"
stroke="currentColor"
viewBox="0 0 24 24"
@@ -121,7 +116,7 @@ input[type="number"] {
id="externallink"
name="externallink"
type="text"
- class="shadow-sm mt-1 focus:ring-accent block w-full sm:text-sm border-control-border rounded-md"
+ class="textfield mt-1 w-full"
:value="state.instance.attributes.externalLink"
@input="updateInstance('externalLink', $event.target.value)"
/>
@@ -146,7 +141,7 @@ input[type="number"] {
</div>
<div class="pt-6 grid grid-cols-1 gap-y-6 gap-x-4 sm:grid-cols-6">
<div class="sm:col-span-2 sm:col-start-1">
- <label for="username" class="block text-sm font-medium text-gray-700">
+ <label for="username" class="textlabel block">
Username <span style="color: red">*</span>
</label>
<div class="mt-1">
@@ -158,7 +153,7 @@ input[type="number"] {
id="username"
name="username"
type="text"
- class="shadow-sm focus:ring-accent block w-full sm:text-sm border-control-border rounded-md"
+ class="textfield mt-1 w-full"
:value="state.adminDataSource.attributes.username"
@input="updateDataSource('username', $event.target.value)"
/>
@@ -166,15 +161,13 @@ input[type="number"] {
</div>
<div class="sm:col-span-2 sm:col-start-1">
- <label for="password" class="block text-sm font-medium text-gray-700">
- Password
- </label>
+ <label for="password" class="textlabel block"> Password </label>
<div class="mt-1 inline-flex">
<input
id="password"
name="password"
:type="state.showPassword ? 'text' : 'password'"
- class="shadow-sm focus:ring-accent block w-full sm:text-sm border-control-border rounded-md"
+ class="textfield mt-1 w-full"
:value="state.adminDataSource.attributes.password"
@input="updateDataSource('password', $event.target.value)"
/>
diff --git a/frontend/src/views/PipelineFlow.vue b/frontend/src/views/PipelineFlow.vue
index c2c0bc1cfe..4a080f00d5 100644
--- a/frontend/src/views/PipelineFlow.vue
+++ b/frontend/src/views/PipelineFlow.vue
@@ -190,7 +190,7 @@ export default {
case "SKIPPED":
return textClass + "text-gray-500";
case "DONE":
- return textClass + "text-normal-text";
+ return textClass + "text-control";
case "PENDING":
case "RUNNING":
return textClass + "text-blue-600";
diff --git a/frontend/src/views/PipelineHighlightPanel.vue b/frontend/src/views/PipelineHighlightPanel.vue
index ead34ba197..6bb4fd19c8 100644
--- a/frontend/src/views/PipelineHighlightPanel.vue
+++ b/frontend/src/views/PipelineHighlightPanel.vue
@@ -18,11 +18,11 @@
<div>
<p class="mt-2 text-sm text-gray-500">
#{{ pipeline.id }} opened by
- <span href="#" class="font-medium text-normal-text">{{
+ <span href="#" class="font-medium text-control">{{
pipeline.attributes.creator.name
}}</span>
at
- <span href="#" class="font-medium text-normal-text">{{
+ <span href="#" class="font-medium text-control">{{
moment(pipeline.attributes.lastUpdatedTs).format("LLL")
}}</span>
</p>
@@ -31,18 +31,8 @@
</div>
</div>
<div class="mt-6 flex space-x-3 md:mt-0 md:ml-4">
- <button
- type="button"
- class="inline-flex items-center px-4 py-2 border border-gray-300 shadow-sm text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-cyan-500"
- >
- Add money
- </button>
- <button
- type="button"
- class="inline-flex items-center px-4 py-2 border border-transparent shadow-sm text-sm font-medium rounded-md text-accent-text bg-accent hover:bg-accent-hover focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-cyan-500"
- >
- Send money
- </button>
+ <button type="button" class="btn-normal px-4 py-2">Add money</button>
+ <button type="button" class="btn-primary px-4 py-2">Send money</button>
</div>
</div>
</div>
diff --git a/frontend/src/views/PipelineSidebar.vue b/frontend/src/views/PipelineSidebar.vue
index 032c99d2bd..13ad8f6731 100644
--- a/frontend/src/views/PipelineSidebar.vue
+++ b/frontend/src/views/PipelineSidebar.vue
@@ -18,6 +18,18 @@
</li>
</ul>
</div>
+ <div>
+ <h2 class="text-sm font-medium text-gray-500">Requested DB Name</h2>
+ <div class="mt-1">
+ <input
+ type="text"
+ name="db"
+ id="db"
+ class="shadow-sm focus:ring-indigo-500 focus:border-indigo-500 block w-64 text-sm border-gray-300 rounded-md"
+ placeholder="Your DB Name"
+ />
+ </div>
+ </div>
</div>
<div class="mt-6 border-t border-gray-200 py-6 space-y-4">
<div class="flex items-center space-x-2">
diff --git a/frontend/src/views/auth/PasswordReset.vue b/frontend/src/views/auth/PasswordReset.vue
index bad6fedb81..fa6b70c408 100644
--- a/frontend/src/views/auth/PasswordReset.vue
+++ b/frontend/src/views/auth/PasswordReset.vue
@@ -4,23 +4,23 @@
Read the documentation to get started: https://tailwindui.com/documentation
-->
<div class="bg-normal min-h-screen flex">
- <div class="hidden lg:block relative w-0 flex-1">
+ <a class="hidden lg:block relative w-0 flex-1" href="https://bytebase.com">
<img
class="absolute inset-0 h-full w-full object-cover"
src="../../assets/signin-splash.jpeg"
alt=""
/>
- </div>
+ </a>
<div
class="flex-1 flex flex-col justify-center py-12 px-4 sm:px-6 lg:flex-none lg:px-20 xl:px-24"
>
<div class="mx-auto w-full max-w-sm lg:w-96">
- <div>
+ <a href="https://bytebase.com">
<img class="h-12 w-auto" src="../../assets/logo.svg" alt="Bytebase" />
- <h2 class="mt-6 text-3xl leading-9 font-extrabold text-gray-900">
+ <h2 class="mt-6 text-3xl leading-9 font-extrabold text-main">
Reset your password
</h2>
- </div>
+ </a>
<div class="mt-8">
<div class="mt-6">
@@ -28,7 +28,7 @@
<div>
<label
for="email"
- class="block text-base font-medium leading-5 text-gray-700"
+ class="block text-base font-medium leading-5 text-control"
>
Enter your email address and we will send you a password reset
link
@@ -39,7 +39,7 @@
type="email"
v-model="email"
required
- class="appearance-none block w-full px-3 py-2 border border-control-border rounded-md placeholder-gray-400 focus:outline-none focus:shadow-outline-blue focus:border-blue-300 sm:text-sm sm:leading-5"
+ class="appearance-none block w-full px-3 py-2 border border-control-border rounded-md placeholder-control-placeholder focus:outline-none focus:shadow-outline-blue focus:border-control-border sm:text-sm sm:leading-5"
/>
</div>
</div>
@@ -63,10 +63,7 @@
<div class="w-full border-t border-control-border"></div>
</div>
<div class="relative flex justify-center text-sm">
- <router-link
- to="signin"
- class="text-accent bg-normal px-2 font-medium hover:underline focus:outline-none focus:underline"
- >
+ <router-link to="signin" class="accentlink bg-normal px-2">
Return to Sign in
</router-link>
</div>
diff --git a/frontend/src/views/auth/Signin.vue b/frontend/src/views/auth/Signin.vue
index 633e5aa85c..6213b46bdc 100644
--- a/frontend/src/views/auth/Signin.vue
+++ b/frontend/src/views/auth/Signin.vue
@@ -4,23 +4,23 @@
Read the documentation to get started: https://tailwindui.com/documentation
-->
<div class="bg-normal min-h-screen flex">
- <div class="hidden lg:block relative w-0 flex-1">
+ <a class="hidden lg:block relative w-0 flex-1" href="https://bytebase.com">
<img
class="absolute inset-0 h-full w-full object-cover"
src="../../assets/signin-splash.jpeg"
alt=""
/>
- </div>
+ </a>
<div
class="flex-1 flex flex-col justify-center py-12 px-4 sm:px-6 lg:flex-none lg:px-20 xl:px-24"
>
<div class="mx-auto w-full max-w-sm lg:w-96">
- <div>
+ <a href="https://bytebase.com">
<img class="h-12 w-auto" src="../../assets/logo.svg" alt="Bytebase" />
- <h2 class="mt-6 text-3xl leading-9 font-extrabold text-gray-900">
+ <h2 class="mt-6 text-3xl leading-9 font-extrabold text-main">
Sign in to your account
</h2>
- </div>
+ </a>
<div class="mt-8">
<div class="mt-6">
@@ -28,7 +28,7 @@
<div>
<label
for="email"
- class="block text-sm font-medium leading-5 text-gray-700"
+ class="block text-sm font-medium leading-5 text-control"
>
Email
</label>
@@ -38,7 +38,8 @@
type="email"
v-model="state.email"
required
- class="appearance-none block w-full px-3 py-2 border border-control-border rounded-md placeholder-gray-400 focus:outline-none focus:shadow-outline-blue focus:border-blue-300 sm:text-sm sm:leading-5"
+ placeholder="[email protected]"
+ class="appearance-none block w-full px-3 py-2 border border-control-border rounded-md placeholder-control-placeholder focus:outline-none focus:shadow-outline-blue focus:border-control-border sm:text-sm sm:leading-5"
/>
</div>
</div>
@@ -46,7 +47,7 @@
<div>
<label
for="password"
- class="block text-sm font-medium leading-5 text-gray-700"
+ class="block text-sm font-medium leading-5 text-control"
>
Password
</label>
@@ -56,7 +57,7 @@
type="password"
v-model="state.password"
required
- class="appearance-none block w-full px-3 py-2 border border-control-border rounded-md placeholder-gray-400 focus:outline-none focus:shadow-outline-blue focus:border-blue-300 sm:text-sm sm:leading-5"
+ class="appearance-none block w-full px-3 py-2 border border-control-border rounded-md placeholder-control-placeholder focus:outline-none focus:shadow-outline-blue focus:border-control-border sm:text-sm sm:leading-5"
/>
</div>
</div>
@@ -67,21 +68,18 @@
id="remember_me"
type="checkbox"
v-model="state.rememberMe"
- class="text-accent form-checkbox h-4 w-4"
+ class="text-control form-checkbox h-4 w-4"
/>
<label
for="remember_me"
- class="ml-2 block text-sm leading-5 text-gray-900"
+ class="ml-2 block text-sm leading-5 text-main"
>
Remember me
</label>
</div>
<div class="text-sm leading-5">
- <router-link
- to="password-reset"
- class="text-accent font-medium hover:underline focus:outline-none focus:underline"
- >
+ <router-link to="password-reset" class="link">
Forgot your password?
</router-link>
</div>
@@ -106,11 +104,8 @@
<div class="w-full border-t border-control-border"></div>
</div>
<div class="relative flex justify-center text-sm">
- <span class="pl-2 bg-normal text-gray-500"> New to Bytebase? </span>
- <router-link
- to="signup"
- class="text-blue-600 bg-normal px-2 font-medium hover:underline focus:outline-none focus:underline"
- >
+ <span class="pl-2 bg-normal text-control"> New to Bytebase? </span>
+ <router-link to="signup" class="accentlink px-2 bg-normal">
Sign up
</router-link>
</div>
diff --git a/frontend/src/views/auth/Signup.vue b/frontend/src/views/auth/Signup.vue
index 0151ff1c5a..0b375324d6 100644
--- a/frontend/src/views/auth/Signup.vue
+++ b/frontend/src/views/auth/Signup.vue
@@ -4,23 +4,23 @@
Read the documentation to get started: https://tailwindui.com/documentation
-->
<div class="bg-normal min-h-screen flex">
- <div class="hidden lg:block relative w-0 flex-1">
+ <a class="hidden lg:block relative w-0 flex-1" href="https://bytebase.com">
<img
class="absolute inset-0 h-full w-full object-cover"
src="../../assets/signin-splash.jpeg"
alt=""
/>
- </div>
+ </a>
<div
class="flex-1 flex flex-col justify-center py-12 px-4 sm:px-6 lg:flex-none lg:px-20 xl:px-24"
>
<div class="mx-auto w-full max-w-sm lg:w-96">
- <div>
+ <a href="https://bytebase.com">
<img class="h-12 w-auto" src="../../assets/logo.svg" alt="Bytebase" />
- <h2 class="mt-6 text-3xl leading-9 font-extrabold text-gray-900">
+ <h2 class="mt-6 text-3xl leading-9 font-extrabold text-main">
Register your account
</h2>
- </div>
+ </a>
<div class="mt-8">
<div class="mt-6">
@@ -28,7 +28,7 @@
<div>
<label
for="email"
- class="block text-sm font-medium leading-5 text-gray-700"
+ class="block text-sm font-medium leading-5 text-control"
>
Email
</label>
@@ -38,7 +38,7 @@
type="email"
v-model="state.email"
required
- class="appearance-none block w-full px-3 py-2 border border-control-border rounded-md placeholder-gray-400 focus:outline-none focus:shadow-outline-blue focus:border-blue-300 sm:text-sm sm:leading-5"
+ class="appearance-none block w-full px-3 py-2 border border-control-border rounded-md placeholder-control-placeholder focus:outline-none focus:shadow-outline-blue focus:border-control-border sm:text-sm sm:leading-5"
/>
</div>
</div>
@@ -46,7 +46,7 @@
<div>
<label
for="password"
- class="block text-sm font-medium leading-5 text-gray-700"
+ class="block text-sm font-medium leading-5 text-control"
>
Password
</label>
@@ -56,7 +56,7 @@
type="password"
v-model="state.password"
required
- class="appearance-none block w-full px-3 py-2 border border-control-border rounded-md placeholder-gray-400 focus:outline-none focus:shadow-outline-blue focus:border-blue-300 sm:text-sm sm:leading-5"
+ class="appearance-none block w-full px-3 py-2 border border-control-border rounded-md placeholder-control-placeholder focus:outline-none focus:shadow-outline-blue focus:border-control-border sm:text-sm sm:leading-5"
/>
</div>
</div>
@@ -67,11 +67,11 @@
id="remember_me"
type="checkbox"
v-model="state.rememberMe"
- class="text-accent form-checkbox h-4 w-4"
+ class="text-control form-checkbox h-4 w-4"
/>
<label
for="remember_me"
- class="ml-2 block text-sm leading-5 text-gray-900"
+ class="ml-2 block text-sm leading-5 text-main"
>
Remember me
</label>
@@ -97,13 +97,10 @@
<div class="w-full border-t border-control-border"></div>
</div>
<div class="relative flex justify-center text-sm">
- <span class="pl-2 bg-normal text-gray-500">
+ <span class="pl-2 bg-normal text-control">
Already have an account?
</span>
- <router-link
- to="signin"
- class="text-blue-600 bg-normal px-2 font-medium hover:underline focus:outline-none focus:underline"
- >
+ <router-link to="signin" class="accentlink px-2 bg-normal">
Sign in
</router-link>
</div>