Skip to content

Commit

Permalink
style: Udpate website style.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Jul 18, 2021
1 parent 8bff1a4 commit 4dcc2b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/app/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ export default function App() {
<div
style={{
backgroundColor: `rgba(${color.r}, ${color.g}, ${color.b}, ${color.a})`,
transition: 'background-color 0.3s ease 0s',
}}
>
<GitHubCorners fixed zIndex={999} size={60} target="__blank" href="https://github.com/uiwjs/ui-color" />
Expand Down
1 change: 1 addition & 0 deletions src/app/Code.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ export default function Code(props: CodeProps) {
display: 'inline-block',
minWidth: 12,
minHeight: 12,
transition: 'background-color 0.3s ease 0s',
backgroundColor: `rgba(${color.r}, ${color.g}, ${color.b}, ${color.a})`,
}}
/>
Expand Down

0 comments on commit 4dcc2b0

Please sign in to comment.