taler-assets

Shared resources (icons) for user interfaces
Log | Files | Refs | README

commit 0a122332db8c9a19566a11a65b8b107fc1ec6e15
parent 694a9cf945b8062df9426e9dc2e0e91f88af0be0
Author: Sebastian <sebasjm@gmail.com>
Date:   Tue, 31 Jan 2023 16:08:27 -0300

more documentation

Diffstat:
MREADME | 31+++++++++++++++++++++++++++++++
Dsvg/index.tsx | 38--------------------------------------
Rsvg/check_24px.svg -> svg/undefined/check_24px.svg | 0
Rsvg/chevron-down.svg -> svg/undefined/chevron-down.svg | 0
Rsvg/close_24px.svg -> svg/undefined/close_24px.svg | 0
Rsvg/delete_24px.svg -> svg/undefined/delete_24px.svg | 0
Rsvg/download_24px.svg -> svg/undefined/download_24px.svg | 0
Rsvg/edit_24px.svg -> svg/undefined/edit_24px.svg | 0
Rsvg/email.svg -> svg/undefined/email.svg | 0
Rsvg/error_outline_outlined_24px.svg -> svg/undefined/error_outline_outlined_24px.svg | 0
Rsvg/info_outlined_24px.svg -> svg/undefined/info_outlined_24px.svg | 0
Rsvg/languageicon.svg -> svg/undefined/languageicon.svg | 0
Rsvg/logo-2021.svg -> svg/undefined/logo-2021.svg | 0
Rsvg/postal.svg -> svg/undefined/postal.svg | 0
Rsvg/qr_code_24px.svg -> svg/undefined/qr_code_24px.svg | 0
Rsvg/question.svg -> svg/undefined/question.svg | 0
Rsvg/report_problem_outlined_24px.svg -> svg/undefined/report_problem_outlined_24px.svg | 0
Rsvg/ri-bank-line.svg -> svg/undefined/ri-bank-line.svg | 0
Rsvg/ri-file-unknown-line.svg -> svg/undefined/ri-file-unknown-line.svg | 0
Rsvg/ri-hand-heart-line.svg -> svg/undefined/ri-hand-heart-line.svg | 0
Rsvg/ri-refresh-line.svg -> svg/undefined/ri-refresh-line.svg | 0
Rsvg/ri-refund-2-line.svg -> svg/undefined/ri-refund-2-line.svg | 0
Rsvg/ri-shopping-cart-line.svg -> svg/undefined/ri-shopping-cart-line.svg | 0
Rsvg/send_24px.svg -> svg/undefined/send_24px.svg | 0
Rsvg/settings_black_24dp.svg -> svg/undefined/settings_black_24dp.svg | 0
Rsvg/sms.svg -> svg/undefined/sms.svg | 0
Rsvg/spinner-bars.svg -> svg/undefined/spinner-bars.svg | 0
Rsvg/success_outlined_24px.svg -> svg/undefined/success_outlined_24px.svg | 0
Rsvg/taler-logo-2021-plain.svg -> svg/undefined/taler-logo-2021-plain.svg | 0
Rsvg/taler-logo-2022.svg -> svg/undefined/taler-logo-2022.svg | 0
Rsvg/upload_24px.svg -> svg/undefined/upload_24px.svg | 0
Rsvg/video.svg -> svg/undefined/video.svg | 0
Rsvg/warning_24px.svg -> svg/undefined/warning_24px.svg | 0
Rsvg/wifi.svg -> svg/undefined/wifi.svg | 0
34 files changed, 31 insertions(+), 38 deletions(-)

diff --git a/README b/README @@ -3,4 +3,35 @@ Taler assets This repository holds all the assets being used in web and mobile applications. +Assets names +------------ + +Names should be meaningful in a way that any client that uses the icons will know the purpose of it and can create references without ambiguity. That may lead to duplicate icons with the same content and different name (like using the same icon on different views), but it's fine. We can also start creating a placeholder for icons that we know we are going to need (with the correct name) but we don't have the content for. + +* Example: + + + svg + \__ + transactions + \__ README + \__ deposit.svg + \__ invoice_send.svg + \__ payment_pending.svg + \__ refresh.svg + \__ tip.svg + \__ withdrawal.svg + \__ invoice_payment.svg + \__ payment_ok.svg + \__ payment_refunded.svg + \__ refund.svg + \__ transfer_send.svg + + balance + \__ README + \__ + currency + \__ dolar.svg + \__ euro.svg + ... + + undefined + \__ send_24px.svg + ... +Folder with name "undefined" can be used for icons that some UI apps (android, ios, web) reference but have not yet agree. diff --git a/svg/index.tsx b/svg/index.tsx @@ -1,38 +0,0 @@ -/* - This file is part of GNU Taler - (C) 2022 Taler Systems S.A. - - GNU Taler is free software; you can redistribute it and/or modify it under the - terms of the GNU General Public License as published by the Free Software - Foundation; either version 3, or (at your option) any later version. - - GNU Taler is distributed in the hope that it will be useful, but WITHOUT ANY - WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR - A PARTICULAR PURPOSE. See the GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along with - GNU Taler; see the file COPYING. If not, see <http://www.gnu.org/licenses/> - */ -import { h, VNode } from "preact"; - -export const CopyIcon = (): VNode => ( - <svg height="16" viewBox="0 0 16 16" width="16"> - <path - fill-rule="evenodd" - d="M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 010 1.5h-1.5a.25.25 0 00-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 00.25-.25v-1.5a.75.75 0 011.5 0v1.5A1.75 1.75 0 019.25 16h-7.5A1.75 1.75 0 010 14.25v-7.5z" - /> - <path - fill-rule="evenodd" - d="M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0114.25 11h-7.5A1.75 1.75 0 015 9.25v-7.5zm1.75-.25a.25.25 0 00-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 00.25-.25v-7.5a.25.25 0 00-.25-.25h-7.5z" - /> - </svg> -); - -export const CopiedIcon = (): VNode => ( - <svg height="16" viewBox="0 0 16 16" width="16"> - <path - fill-rule="evenodd" - d="M13.78 4.22a.75.75 0 010 1.06l-7.25 7.25a.75.75 0 01-1.06 0L2.22 9.28a.75.75 0 011.06-1.06L6 10.94l6.72-6.72a.75.75 0 011.06 0z" - /> - </svg> -); diff --git a/svg/check_24px.svg b/svg/undefined/check_24px.svg diff --git a/svg/chevron-down.svg b/svg/undefined/chevron-down.svg diff --git a/svg/close_24px.svg b/svg/undefined/close_24px.svg diff --git a/svg/delete_24px.svg b/svg/undefined/delete_24px.svg diff --git a/svg/download_24px.svg b/svg/undefined/download_24px.svg diff --git a/svg/edit_24px.svg b/svg/undefined/edit_24px.svg diff --git a/svg/email.svg b/svg/undefined/email.svg diff --git a/svg/error_outline_outlined_24px.svg b/svg/undefined/error_outline_outlined_24px.svg diff --git a/svg/info_outlined_24px.svg b/svg/undefined/info_outlined_24px.svg diff --git a/svg/languageicon.svg b/svg/undefined/languageicon.svg diff --git a/svg/logo-2021.svg b/svg/undefined/logo-2021.svg diff --git a/svg/postal.svg b/svg/undefined/postal.svg diff --git a/svg/qr_code_24px.svg b/svg/undefined/qr_code_24px.svg diff --git a/svg/question.svg b/svg/undefined/question.svg diff --git a/svg/report_problem_outlined_24px.svg b/svg/undefined/report_problem_outlined_24px.svg diff --git a/svg/ri-bank-line.svg b/svg/undefined/ri-bank-line.svg diff --git a/svg/ri-file-unknown-line.svg b/svg/undefined/ri-file-unknown-line.svg diff --git a/svg/ri-hand-heart-line.svg b/svg/undefined/ri-hand-heart-line.svg diff --git a/svg/ri-refresh-line.svg b/svg/undefined/ri-refresh-line.svg diff --git a/svg/ri-refund-2-line.svg b/svg/undefined/ri-refund-2-line.svg diff --git a/svg/ri-shopping-cart-line.svg b/svg/undefined/ri-shopping-cart-line.svg diff --git a/svg/send_24px.svg b/svg/undefined/send_24px.svg diff --git a/svg/settings_black_24dp.svg b/svg/undefined/settings_black_24dp.svg diff --git a/svg/sms.svg b/svg/undefined/sms.svg diff --git a/svg/spinner-bars.svg b/svg/undefined/spinner-bars.svg diff --git a/svg/success_outlined_24px.svg b/svg/undefined/success_outlined_24px.svg diff --git a/svg/taler-logo-2021-plain.svg b/svg/undefined/taler-logo-2021-plain.svg diff --git a/svg/taler-logo-2022.svg b/svg/undefined/taler-logo-2022.svg diff --git a/svg/upload_24px.svg b/svg/undefined/upload_24px.svg diff --git a/svg/video.svg b/svg/undefined/video.svg diff --git a/svg/warning_24px.svg b/svg/undefined/warning_24px.svg diff --git a/svg/wifi.svg b/svg/undefined/wifi.svg