diff --git a/apps/identity.json b/apps/identity.json deleted file mode 100644 index a4c28e41..00000000 --- a/apps/identity.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "type": "tildefriends-app", - "emoji": "🪪", - "previous": "&kgukkyDk1RxgfzgMH6H/0QeDPIuwPZypLuAFax21ljk=.sha256" -} diff --git a/apps/identity/app.js b/apps/identity/app.js deleted file mode 100644 index a56e5572..00000000 --- a/apps/identity/app.js +++ /dev/null @@ -1,93 +0,0 @@ -import * as tfrpc from '/tfrpc.js'; - -tfrpc.register(async function get_private_key(id) { - return bip39Words(await ssb.getPrivateKey(id)); -}); -tfrpc.register(async function create_id(id) { - return await ssb.createIdentity(); -}); -tfrpc.register(async function add_id(id) { - return await ssb.addIdentity(bip39Bytes(id)); -}); -tfrpc.register(async function delete_id(id) { - return await ssb.deleteIdentity(id); -}); -tfrpc.register(async function reload() { - await main(); -}); - -async function main() { - let ids = await ssb.getIdentities(); - await app.setDocument( - ` - - -

SSB Identity Management

-

Create a new identity

- -

Import an SSB Identity from 12 BIP39 English Words

- -

Identities

- - ` - ); -} - -main(); diff --git a/apps/user_settings/app.js b/apps/user_settings/app.js index a40ac36d..b6c42063 100644 --- a/apps/user_settings/app.js +++ b/apps/user_settings/app.js @@ -19,6 +19,10 @@ tfrpc.register(async function getThemes() { // TODO return ['solarized', 'gruvbox', 'light']; }); +tfrpc.register(async function getTheme() { + // TODO + return 'solarized'; +}); tfrpc.register(async function setTheme() { // TODO console.warn('setTheme called - not implemented'); diff --git a/core/tildefriends-v1.css b/core/tildefriends-v1.css index d64c12f4..7bb33999 100644 --- a/core/tildefriends-v1.css +++ b/core/tildefriends-v1.css @@ -8,7 +8,7 @@ * and use this tag to import it: * * - * v1.0.0 / 2024 M03 21 + * v1.0 / 2024 M03 21 */ body {