mirror of
https://codeberg.org/yeentown/barkey
synced 2024-11-26 09:53:00 +00:00
remove "👁 preview" button from theme editor
it stopped working back in May, see
3d4a90b08a
Thanks Amelia for noticing!
This commit is contained in:
parent
0d23e7a278
commit
75637b0f48
1 changed files with 0 additions and 9 deletions
|
@ -134,10 +134,6 @@ let changed = $ref(false);
|
|||
|
||||
useLeaveGuard($$(changed));
|
||||
|
||||
function showPreview() {
|
||||
os.pageWindow('/preview');
|
||||
}
|
||||
|
||||
function setBgColor(color: typeof bgColors[number]) {
|
||||
if (theme.base !== color.kind) {
|
||||
const base = color.kind === 'dark' ? darkTheme : lightTheme;
|
||||
|
@ -214,11 +210,6 @@ async function saveAs() {
|
|||
watch($$(theme), apply, { deep: true });
|
||||
|
||||
const headerActions = $computed(() => [{
|
||||
asFullButton: true,
|
||||
icon: 'ph-eye ph-bold ph-lg',
|
||||
text: i18n.ts.preview,
|
||||
handler: showPreview,
|
||||
}, {
|
||||
asFullButton: true,
|
||||
icon: 'ph-check ph-bold ph-lg',
|
||||
text: i18n.ts.saveAs,
|
||||
|
|
Loading…
Reference in a new issue