-
Notifications
You must be signed in to change notification settings - Fork 985
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into jc/remove-legacy-wallet
- Loading branch information
Showing
67 changed files
with
1,234 additions
and
459 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
#!/usr/bin/env bash | ||
# WARNING: Versions 2.14, 2.15, 2.16 have an issue creating gcroots: | ||
# https://github.com/NixOS/nix/issues/8564 | ||
export NIX_VERSION="2.13.4" | ||
export NIX_PACKAGE="nixVersions.nix_2_13" | ||
export NIX_VERSION="2.19.3" | ||
export NIX_PACKAGE="nixVersions.nix_2_19" | ||
export NIX_INSTALL_URL="https://nixos.org/releases/nix/nix-${NIX_VERSION}/install" | ||
export NIX_INSTALL_SHA256="a9908cc48f5886b4f22172bdd2f9657873276fd295e78c6ed97fb308c6d284d0" | ||
export NIX_INSTALL_SHA256="73d47b0ab783fddca1b2d44a03d52a74c97c28a1fc8ff5a29419079302ef9c3d" | ||
export NIX_INSTALL_PATH="/tmp/nix-install-${NIX_VERSION}" |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
(ns quo.components.tags.collectible-tag.style | ||
(:require | ||
[quo.foundations.colors :as colors])) | ||
|
||
(defn container | ||
[size options blur? theme] | ||
(let [hold? (= options :hold)] | ||
(merge {:background-color (if blur? | ||
(colors/theme-colors colors/neutral-80-opa-5 colors/white-opa-5 theme) | ||
(colors/theme-colors colors/neutral-10 colors/neutral-90 theme)) | ||
:flex-direction :row | ||
:align-items :center | ||
:padding-left 2 | ||
:border-width (if hold? 1 0) | ||
:border-radius 0 | ||
:border-color (colors/resolve-color :success theme)} | ||
(condp = size | ||
:size-24 {:height (if hold? 26 24) | ||
:padding-right 10 | ||
:border-radius 8} | ||
:size-32 {:height (if hold? 34 32) | ||
:padding-right 12 | ||
:border-radius 10})))) | ||
|
||
(defn options-icon | ||
[size] | ||
(assoc | ||
(condp = size | ||
:size-24 {:right -8 | ||
:top -8} | ||
:size-32 {:right -6 | ||
:top -6}) | ||
:position | ||
:absolute)) | ||
|
||
(defn collectible-img | ||
[size] | ||
(condp = size | ||
:size-24 {:width 20 | ||
:height 20 | ||
:margin-right 6 | ||
:border-radius 6} | ||
:size-32 {:width 28 | ||
:height 28 | ||
:margin-right 8 | ||
:border-radius 8})) | ||
|
||
(defn label | ||
[theme] | ||
{:color (colors/theme-colors colors/neutral-100 colors/white theme)}) |
Oops, something went wrong.