Improve text-shadow usage
This commit is contained in:
1 parent
4c9d6093c0
commit
1ee6e23c0f
3 files changed
+6
-6
No files matched your search
@@ -25,7 +25,7 @@ export default class DefaultClockComponent extends Component {
|
||||
type="button"
|
||||
{{on "click" this.openSettings}}
|
||||
aria-label="Edit clock settings"
|
||||
class="cursor-pointer rounded-lg focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-white/70"
|
||||
class="cursor-pointer rounded-lg text-shadow-lg focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-white/70"
|
||||
>
|
||||
<span class="text-[6rem] font-semibold">{{this.parts.time}}</span>
|
||||
{{#if this.parts.period}}
|
||||
|
||||
@@ -92,7 +92,7 @@ export default class GreetingComponent extends Component {
|
||||
type="text"
|
||||
required
|
||||
size="8"
|
||||
class="name border-0 border-b border-white/70 bg-transparent px-1 text-[2rem] text-white focus:border-white focus:outline-none"
|
||||
class="name border-0 border-b border-white/70 bg-transparent px-1 text-[2rem] text-white text-shadow-lg focus:border-white focus:outline-none"
|
||||
value={{this.draft}}
|
||||
{{on "input" this.updateDraft}}
|
||||
{{on "keydown" this.handleKeyDown}}
|
||||
@@ -103,7 +103,7 @@ export default class GreetingComponent extends Component {
|
||||
{{else}}
|
||||
<button
|
||||
type="button"
|
||||
class="name cursor-pointer align-baseline no-underline underline-offset-4 transition-colors hover:underline hover:decoration-dotted hover:decoration-white/60 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-white/70"
|
||||
class="name cursor-pointer align-baseline text-shadow-lg no-underline underline-offset-4 transition-colors hover:underline hover:decoration-dotted hover:decoration-white/60 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-white/70"
|
||||
aria-label="Edit name"
|
||||
title="Edit name"
|
||||
data-test-greeting-name
|
||||
|
||||
@@ -29,11 +29,11 @@ export default class WelcomeComponent extends Component {
|
||||
|
||||
<template>
|
||||
<div
|
||||
class="col-span-3 row-span-3 flex flex-col items-center justify-center px-6 text-center text-white text-shadow-lg"
|
||||
class="col-span-3 row-span-3 flex flex-col items-center justify-center px-6 text-center text-white"
|
||||
data-test-welcome
|
||||
>
|
||||
<form class="w-full max-w-xl" {{on "submit" this.handleSubmit}}>
|
||||
<h1 class="text-3xl font-semibold text-shadow-none sm:text-4xl">
|
||||
<h1 class="text-3xl font-semibold sm:text-4xl">
|
||||
Hello! What's your name?
|
||||
</h1>
|
||||
|
||||
@@ -50,7 +50,7 @@ export default class WelcomeComponent extends Component {
|
||||
{{autofocus}}
|
||||
/>
|
||||
|
||||
<p class="mt-4 text-sm text-white/80">
|
||||
<p class="mt-4 text-sm text-white/80 text-shadow-sm">
|
||||
Please enter your first name or the name you prefer to be called.
|
||||
</p>
|
||||
|
||||
|
||||
Reference in new issue
Block a user