Skip to content
Merged
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
Binary file modified public/icons/icon-128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/icons/icon-16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/icons/icon-32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/icons/icon-48.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion src/options/Options.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { useEffect, useRef, useState } from 'react';
import clayIconUrl from '@/assets/clay-icon.png?inline';
import { loadPreferences, savePreferences } from '@/lib/storage';
import { clearRecents } from '@/lib/recents';
import { emptyMapping } from '@/lib/site-host';
Expand Down Expand Up @@ -83,7 +84,7 @@ export function Options() {
return (
<div className="options">
<header className="options-header">
<div className="options-logo">S</div>
<img className="options-logo" src={clayIconUrl} alt="" aria-hidden="true" />
<h1>Clay Slip Settings</h1>
{saved && <span className="options-saved">Saved</span>}
</header>
Expand Down
13 changes: 4 additions & 9 deletions src/options/options.css
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,10 @@ body {
}

.options-logo {
width: 28px;
height: 28px;
border-radius: 6px;
background: var(--accent);
color: #fff;
display: flex;
align-items: center;
justify-content: center;
font-weight: 700;
width: 32px;
height: 32px;
display: block;
object-fit: contain;
}

.options-saved {
Expand Down
4 changes: 3 additions & 1 deletion src/popup/Popup.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import clayIconUrl from '@/assets/clay-icon.png?inline';

export function Popup() {
return (
<div className="popup">
<div className="popup-logo">S</div>
<img className="popup-logo" src={clayIconUrl} alt="" aria-hidden="true" />
<h1 className="popup-title">No Clay components found</h1>
<p className="popup-body">
This page does not appear to be powered by Clay. Open a Clay page and click the toolbar icon
Expand Down
14 changes: 4 additions & 10 deletions src/popup/popup.css
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,11 @@ body {
}

.popup-logo {
width: 36px;
height: 36px;
width: 40px;
height: 40px;
margin: 0 auto 12px;
border-radius: 8px;
background: #e22c2c;
color: #fff;
display: flex;
align-items: center;
justify-content: center;
font-weight: 700;
font-size: 18px;
display: block;
object-fit: contain;
}

.popup-title {
Expand Down
Loading