Skip to content

Commit

Permalink
deploy: a7a6827
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jun 26, 2024
1 parent e205c0f commit c3af684
Show file tree
Hide file tree
Showing 10 changed files with 112 additions and 43 deletions.
26 changes: 18 additions & 8 deletions _sketch/dark.html
Original file line number Diff line number Diff line change
Expand Up @@ -1498,15 +1498,25 @@ <h3>Badges</h3>
</div>

<div class="bd-example">
<span class="badge rounded-pill text-bg-primary">Primary</span>
<!--<span class="badge rounded-pill text-bg-secondary">Secondary</span>-->
<span class="badge rounded-pill text-bg-success">Success</span>
<span class="badge rounded-pill text-bg-danger">Danger</span>
<span class="badge rounded-pill text-bg-warning">Warning</span>
<span class="badge rounded-pill text-bg-info">Info</span>
<!--<span class="badge rounded-pill text-bg-light">Light</span>-->
<!--<span class="badge rounded-pill text-bg-dark">Dark</span>-->
</div>

<span class="badge rounded-pill bg-primary">Primary</span>
<span class="badge rounded-pill bg-secondary">Secondary</span>
<span class="badge rounded-pill bg-success">Success</span>
<span class="badge rounded-pill bg-danger">Danger</span>
<span class="badge rounded-pill bg-warning">Warning</span>
<span class="badge rounded-pill bg-info">Info</span>
<span class="badge rounded-pill bg-light">Light</span>
<span class="badge rounded-pill bg-dark">Dark</span>
<div class="bd-example">
<span class="badge badge-translucent rounded-pill text-bg-primary">Primary</span>
<!--<span class="badge badge-translucent rounded-pill text-bg-secondary">Secondary</span>-->
<span class="badge badge-translucent rounded-pill text-bg-success">Success</span>
<span class="badge badge-translucent rounded-pill text-bg-danger">Danger</span>
<span class="badge badge-translucent rounded-pill text-bg-warning">Warning</span>
<span class="badge badge-translucent rounded-pill text-bg-info">Info</span>
<!--<span class="badge badge-translucent rounded-pill text-bg-light">Light</span>-->
<!--<span class="badge badge-translucent rounded-pill text-bg-dark">Dark</span>-->
</div>
</div>
</article>
Expand Down
26 changes: 18 additions & 8 deletions _sketch/light.html
Original file line number Diff line number Diff line change
Expand Up @@ -1498,15 +1498,25 @@ <h3>Badges</h3>
</div>

<div class="bd-example">
<span class="badge rounded-pill text-bg-primary">Primary</span>
<!--<span class="badge rounded-pill text-bg-secondary">Secondary</span>-->
<span class="badge rounded-pill text-bg-success">Success</span>
<span class="badge rounded-pill text-bg-danger">Danger</span>
<span class="badge rounded-pill text-bg-warning">Warning</span>
<span class="badge rounded-pill text-bg-info">Info</span>
<!--<span class="badge rounded-pill text-bg-light">Light</span>-->
<!--<span class="badge rounded-pill text-bg-dark">Dark</span>-->
</div>

<span class="badge rounded-pill bg-primary">Primary</span>
<span class="badge rounded-pill bg-secondary">Secondary</span>
<span class="badge rounded-pill bg-success">Success</span>
<span class="badge rounded-pill bg-danger">Danger</span>
<span class="badge rounded-pill bg-warning">Warning</span>
<span class="badge rounded-pill bg-info">Info</span>
<span class="badge rounded-pill bg-light">Light</span>
<span class="badge rounded-pill bg-dark">Dark</span>
<div class="bd-example">
<span class="badge badge-translucent rounded-pill text-bg-primary">Primary</span>
<!--<span class="badge badge-translucent rounded-pill text-bg-secondary">Secondary</span>-->
<span class="badge badge-translucent rounded-pill text-bg-success">Success</span>
<span class="badge badge-translucent rounded-pill text-bg-danger">Danger</span>
<span class="badge badge-translucent rounded-pill text-bg-warning">Warning</span>
<span class="badge badge-translucent rounded-pill text-bg-info">Info</span>
<!--<span class="badge badge-translucent rounded-pill text-bg-light">Light</span>-->
<!--<span class="badge badge-translucent rounded-pill text-bg-dark">Dark</span>-->
</div>
</div>
</article>
Expand Down
4 changes: 2 additions & 2 deletions _state.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"config": {
"name": "BTCPay Server Design System",
"version": "0.1.0",
"update": 1718692942239,
"update": 1719427589218,
"logo": "/resources/design-files/btcpay-logo.svg",
"source": {
"components": [
Expand Down Expand Up @@ -2650,7 +2650,7 @@
"componentId": "bootstrap",
"title": "Badges",
"extension": "html",
"raw": "<div class=\"bd-example\">\n <p class=\"h1\">Example heading <span class=\"badge bg-primary\">New</span></p>\n <p class=\"h2\">Example heading <span class=\"badge bg-secondary\">New</span></p>\n <p class=\"h3\">Example heading <span class=\"badge bg-success\">New</span></p>\n <p class=\"h4\">Example heading <span class=\"badge bg-danger\">New</span></p>\n <p class=\"h5\">Example heading <span class=\"badge bg-warning\">New</span></p>\n <p class=\"h6\">Example heading <span class=\"badge bg-info\">New</span></p>\n <p class=\"h6\">Example heading <span class=\"badge bg-light\">New</span></p>\n <p class=\"h6\">Example heading <span class=\"badge bg-dark\">New</span></p>\n </div>\n\n <div class=\"bd-example\">\n\n <span class=\"badge rounded-pill bg-primary\">Primary</span>\n <span class=\"badge rounded-pill bg-secondary\">Secondary</span>\n <span class=\"badge rounded-pill bg-success\">Success</span>\n <span class=\"badge rounded-pill bg-danger\">Danger</span>\n <span class=\"badge rounded-pill bg-warning\">Warning</span>\n <span class=\"badge rounded-pill bg-info\">Info</span>\n <span class=\"badge rounded-pill bg-light\">Light</span>\n <span class=\"badge rounded-pill bg-dark\">Dark</span>\n </div>"
"raw": "<div class=\"bd-example\">\n <p class=\"h1\">Example heading <span class=\"badge bg-primary\">New</span></p>\n <p class=\"h2\">Example heading <span class=\"badge bg-secondary\">New</span></p>\n <p class=\"h3\">Example heading <span class=\"badge bg-success\">New</span></p>\n <p class=\"h4\">Example heading <span class=\"badge bg-danger\">New</span></p>\n <p class=\"h5\">Example heading <span class=\"badge bg-warning\">New</span></p>\n <p class=\"h6\">Example heading <span class=\"badge bg-info\">New</span></p>\n <p class=\"h6\">Example heading <span class=\"badge bg-light\">New</span></p>\n <p class=\"h6\">Example heading <span class=\"badge bg-dark\">New</span></p>\n </div>\n\n <div class=\"bd-example\">\n <span class=\"badge rounded-pill text-bg-primary\">Primary</span>\n <!--<span class=\"badge rounded-pill text-bg-secondary\">Secondary</span>-->\n <span class=\"badge rounded-pill text-bg-success\">Success</span>\n <span class=\"badge rounded-pill text-bg-danger\">Danger</span>\n <span class=\"badge rounded-pill text-bg-warning\">Warning</span>\n <span class=\"badge rounded-pill text-bg-info\">Info</span>\n <!--<span class=\"badge rounded-pill text-bg-light\">Light</span>-->\n <!--<span class=\"badge rounded-pill text-bg-dark\">Dark</span>-->\n </div>\n\n <div class=\"bd-example\">\n <span class=\"badge badge-translucent rounded-pill text-bg-primary\">Primary</span>\n <!--<span class=\"badge badge-translucent rounded-pill text-bg-secondary\">Secondary</span>-->\n <span class=\"badge badge-translucent rounded-pill text-bg-success\">Success</span>\n <span class=\"badge badge-translucent rounded-pill text-bg-danger\">Danger</span>\n <span class=\"badge badge-translucent rounded-pill text-bg-warning\">Warning</span>\n <span class=\"badge badge-translucent rounded-pill text-bg-info\">Info</span>\n <!--<span class=\"badge badge-translucent rounded-pill text-bg-light\">Light</span>-->\n <!--<span class=\"badge badge-translucent rounded-pill text-bg-dark\">Dark</span>-->\n </div>"
},
{
"file": "buttons.html",
Expand Down
26 changes: 18 additions & 8 deletions _variants/dark/bootstrap/badges.html-8.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,25 @@
</div>

<div class="bd-example">
<span class="badge rounded-pill text-bg-primary">Primary</span>
<!--<span class="badge rounded-pill text-bg-secondary">Secondary</span>-->
<span class="badge rounded-pill text-bg-success">Success</span>
<span class="badge rounded-pill text-bg-danger">Danger</span>
<span class="badge rounded-pill text-bg-warning">Warning</span>
<span class="badge rounded-pill text-bg-info">Info</span>
<!--<span class="badge rounded-pill text-bg-light">Light</span>-->
<!--<span class="badge rounded-pill text-bg-dark">Dark</span>-->
</div>

<span class="badge rounded-pill bg-primary">Primary</span>
<span class="badge rounded-pill bg-secondary">Secondary</span>
<span class="badge rounded-pill bg-success">Success</span>
<span class="badge rounded-pill bg-danger">Danger</span>
<span class="badge rounded-pill bg-warning">Warning</span>
<span class="badge rounded-pill bg-info">Info</span>
<span class="badge rounded-pill bg-light">Light</span>
<span class="badge rounded-pill bg-dark">Dark</span>
<div class="bd-example">
<span class="badge badge-translucent rounded-pill text-bg-primary">Primary</span>
<!--<span class="badge badge-translucent rounded-pill text-bg-secondary">Secondary</span>-->
<span class="badge badge-translucent rounded-pill text-bg-success">Success</span>
<span class="badge badge-translucent rounded-pill text-bg-danger">Danger</span>
<span class="badge badge-translucent rounded-pill text-bg-warning">Warning</span>
<span class="badge badge-translucent rounded-pill text-bg-info">Info</span>
<!--<span class="badge badge-translucent rounded-pill text-bg-light">Light</span>-->
<!--<span class="badge badge-translucent rounded-pill text-bg-dark">Dark</span>-->
</div>

<link href="/styles/patternlib-overrides.css" rel="stylesheet">
Expand Down
26 changes: 18 additions & 8 deletions _variants/light/bootstrap/badges.html-8.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,25 @@
</div>

<div class="bd-example">
<span class="badge rounded-pill text-bg-primary">Primary</span>
<!--<span class="badge rounded-pill text-bg-secondary">Secondary</span>-->
<span class="badge rounded-pill text-bg-success">Success</span>
<span class="badge rounded-pill text-bg-danger">Danger</span>
<span class="badge rounded-pill text-bg-warning">Warning</span>
<span class="badge rounded-pill text-bg-info">Info</span>
<!--<span class="badge rounded-pill text-bg-light">Light</span>-->
<!--<span class="badge rounded-pill text-bg-dark">Dark</span>-->
</div>

<span class="badge rounded-pill bg-primary">Primary</span>
<span class="badge rounded-pill bg-secondary">Secondary</span>
<span class="badge rounded-pill bg-success">Success</span>
<span class="badge rounded-pill bg-danger">Danger</span>
<span class="badge rounded-pill bg-warning">Warning</span>
<span class="badge rounded-pill bg-info">Info</span>
<span class="badge rounded-pill bg-light">Light</span>
<span class="badge rounded-pill bg-dark">Dark</span>
<div class="bd-example">
<span class="badge badge-translucent rounded-pill text-bg-primary">Primary</span>
<!--<span class="badge badge-translucent rounded-pill text-bg-secondary">Secondary</span>-->
<span class="badge badge-translucent rounded-pill text-bg-success">Success</span>
<span class="badge badge-translucent rounded-pill text-bg-danger">Danger</span>
<span class="badge badge-translucent rounded-pill text-bg-warning">Warning</span>
<span class="badge badge-translucent rounded-pill text-bg-info">Info</span>
<!--<span class="badge badge-translucent rounded-pill text-bg-light">Light</span>-->
<!--<span class="badge badge-translucent rounded-pill text-bg-dark">Dark</span>-->
</div>

<link href="/styles/patternlib-overrides.css" rel="stylesheet">
Expand Down
2 changes: 1 addition & 1 deletion index.html

Large diffs are not rendered by default.

37 changes: 33 additions & 4 deletions styles/btcpayserver-bootstrap.css
Original file line number Diff line number Diff line change
Expand Up @@ -12266,11 +12266,9 @@ ul:not([class]) li {
}

.accordion-button .icon {
flex-shrink: 0;
width: 24px;
height: 24px;
--icon-size: 1.5rem;
margin-left: auto;
transition: transform 0.2s ease-in-out;
transition: transform var(--btcpay-transition-duration-fast) ease-in-out;
}

.accordion-button:not(.collapsed) .icon {
Expand Down Expand Up @@ -12306,6 +12304,37 @@ ul:not([class]) li {
padding: 1rem;
}

/* Badges */
.badge-translucent {
--btcpay-bg-opacity: .25;
}
.badge-translucent.text-bg-primary {
--btcpay-primary-text: var(--btcpay-primary);
}
.badge-translucent.text-bg-secondary {
--btcpay-secondary-text: var(--btcpay-neutral-light-900);
--btcpay-secondary-rgb: 248, 249, 250;
}
.badge-translucent.text-bg-success {
--btcpay-success-text: var(--btcpay-success);
}
.badge-translucent.text-bg-info {
--btcpay-info-text: var(--btcpay-info);
}
.badge-translucent.text-bg-warning {
--btcpay-warning-text: var(--btcpay-yellow-600);
}
.badge-translucent.text-bg-danger {
--btcpay-danger-text: var(--btcpay-danger);
}
.badge-translucent.text-bg-light {
--btcpay-light-text: var(--btcpay-neutral-800);
--btcpay-bg-opacity: .75;
}
.badge-translucent.text-bg-dark {
--btcpay-dark-text: var(--btcpay-white);
}

/* Icons */
.icon {
display: inline-block;
Expand Down
2 changes: 1 addition & 1 deletion styles/btcpayserver-bootstrap.min.css

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions styles/btcpayserver-variables.css
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@
--btcpay-pre-bg: var(--btcpay-neutral-900);

--btcpay-primary: var(--btcpay-brand-primary);
--btcpay-primary-accent: var(--btcpay-brand-tertiary);
--btcpay-primary-accent: var(--btcpay-primary-700);
--btcpay-primary-text: var(--btcpay-white);
--btcpay-primary-text-hover: var(--btcpay-white);
--btcpay-primary-text-active: var(--btcpay-white);
Expand All @@ -277,7 +277,7 @@
--btcpay-primary-rgb: 81, 177, 62;

--btcpay-secondary: var(--btcpay-white);
--btcpay-secondary-accent: var(--btcpay-secondary);
--btcpay-secondary-accent: var(--btcpay-neutral-700);
--btcpay-secondary-text: var(--btcpay-primary);
--btcpay-secondary-text-hover: var(--btcpay-primary);
--btcpay-secondary-text-active: var(--btcpay-brand-dark);
Expand Down
2 changes: 1 addition & 1 deletion styles/btcpayserver-variables.min.css

Large diffs are not rendered by default.

0 comments on commit c3af684

Please sign in to comment.