diff --git a/.github/workflows/website.yml b/.github/workflows/website.yml index d1b229a..d7410e3 100644 --- a/.github/workflows/website.yml +++ b/.github/workflows/website.yml @@ -4,7 +4,7 @@ name: Deploy static content to Pages on: # Runs on pushes targeting the default branch push: - branches: ['feat/website', 'master'] + branches: ['feat/website', 'master', 'feat/new-design'] # Allows you to run this workflow manually from the Actions tab workflow_dispatch: diff --git a/README.md b/README.md index 3a44c29..ee387af 100644 --- a/README.md +++ b/README.md @@ -52,7 +52,19 @@ Current wallets supported: ### Styling -- the following attributes can be configured as hex or rgb: `color-gradient1`, `color-gradient2`, `color-primary`, `color-secondary` +- the following css variables can be configured as hex or rgb: + +```css +html { + --lwc-color-primary: #21ecc7; + --lwc-color-secondary: #21ecc7; + --lwc-color-bg-primary: black; + --lwc-color-bg-secondary: black; + --lwc-color-text-primary: black; + --lwc-color-text-secondary: #f4f4f4; + --lwc-color-text-tertiary: white; +} +``` ### Pure HTML @@ -149,6 +161,7 @@ We are happy to help, please contact us or create an issue. - Read the [Alby developer guide](https://guides.getalby.com/overall-guide/alby-for-developers/getting-started) to better understand how Alby packages and APIs can be used to power your app. ## FAQ + - Does this work on mobile browsers and mobile PWAs, or desktop browsers without a WebLN extension? Yes! that's the main benefit. @@ -178,8 +191,6 @@ You should have a certain level of trust on the website you decide to connect yo 1. add the "Connect Wallet" button 2. wait for a connection event (using window.addEventListener) and then request to pay the invoice with window.webln - - # 🔥 Lit This project is powered by Lit. diff --git a/dev/vite/index.html b/dev/vite/index.html index 9b9a62f..8c3deb6 100644 --- a/dev/vite/index.html +++ b/dev/vite/index.html @@ -26,21 +26,73 @@ body { font-family: Arial, Helvetica, sans-serif; } + .theme-default-dark { + --lwc-color-bg-primary: #222; + --lwc-color-bg-secondary: #000; + --lwc-color-text-secondary: #808080; + } + .theme-geyser-light { + --lwc-color-primary: #10caa8; + --lwc-color-secondary: #10caa8; + --lwc-color-tertiary: #21ecc7; + --lwc-color-bg-primary: white; + --lwc-color-bg-secondary: black; + --lwc-color-text-primary: black; + --lwc-color-text-secondary: #1a202c; + --lwc-color-text-tertiary: white; + } + .theme-geyser-dark { + --lwc-color-primary: #21ecc7; + --lwc-color-secondary: #21ecc7; + --lwc-color-bg-primary: black; + --lwc-color-bg-secondary: black; + --lwc-color-text-primary: black; + --lwc-color-text-secondary: #f4f4f4; + --lwc-color-text-tertiary: white; + } + .theme-orange-dark { + --lwc-color-primary: #ffc837; + --lwc-color-secondary: #ff8008; + --lwc-color-bg-primary: black; + --lwc-color-bg-secondary: black; + --lwc-color-text-primary: black; + --lwc-color-text-secondary: #ca9; + }