Skip to content

Commit

Permalink
DT-2422 - changes for billing center v2 (#2296)
Browse files Browse the repository at this point in the history
* changes for billing center

add credit-card icon
fix table header font weight

* fix icon
  • Loading branch information
rossedfort authored Sep 3, 2024
1 parent d459dc0 commit 2d3c60e
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/lib/holocene/icon/paths.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ import compact from './svg/compact.svelte';
import converterDown from './svg/converter-down.svelte';
import converterUp from './svg/converter-up.svelte';
import copy from './svg/copy.svelte';
import creditCard from './svg/credit-card.svelte';
import descending from './svg/descending.svelte';
import dollarBadge from './svg/dollar-badge.svelte';
import download from './svg/download.svelte';
Expand Down Expand Up @@ -135,6 +136,7 @@ export const icons = {
'converter-down': converterDown,
'converter-up': converterUp,
copy,
'credit-card': creditCard,
descending,
download,
'dollar-badge': dollarBadge,
Expand Down
10 changes: 10 additions & 0 deletions src/lib/holocene/icon/svg/credit-card.svelte
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<script lang="ts">
import Svg from '../svg.svelte';
</script>

<Svg {...$$props}>
<path
d="m 22.00005,3.7696507 v 2.25 H 1.999995 v -2.25 z m 0,6.7500003 v 9.75 H 1.999995 v -9.75 z M 1.999995,1.5196507 H 0 v 2.25 16.5000003 2.25 H 1.999995 22.00005 24 v -2.25 -16.5000003 -2.25 h -1.99995 z m 6,14.2500003 h -3.99999 v 2.25 h 3.99999 z m 8.000055,0 H 9.3333 v 2.25 h 6.66675 z"
fill="currentcolor"
/>
</Svg>
2 changes: 1 addition & 1 deletion src/lib/holocene/table/paginated-table/index.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
}
:global(tr > th) {
@apply px-2 text-left first-of-type:rounded-tl last-of-type:rounded-tr;
@apply px-2 text-left font-medium first-of-type:rounded-tl last-of-type:rounded-tr;
}
}
Expand Down

0 comments on commit 2d3c60e

Please sign in to comment.