Skip to content

Commit

Permalink
fully match design
Browse files Browse the repository at this point in the history
  • Loading branch information
dxstiny committed Jan 8, 2024
1 parent 18fd0d5 commit ee9028f
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 8 deletions.
1 change: 0 additions & 1 deletion dist/assets/index-_hjdk0vx.css

This file was deleted.

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/assets/index-ssf_1ATp.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
/>

<title>reAudioPlayer Insights</title>
<script type="module" crossorigin src="/insights/assets/index-OL0q35Pf.js"></script>
<link rel="stylesheet" crossorigin href="/insights/assets/index-_hjdk0vx.css">
<script type="module" crossorigin src="/insights/assets/index-dSC3sH6u.js"></script>
<link rel="stylesheet" crossorigin href="/insights/assets/index-ssf_1ATp.css">
</head>
<body>
<div id="app"></div>
Expand Down
10 changes: 8 additions & 2 deletions src/components/player/WaveAudio.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,14 @@ const audio = ref<any>(null);
const audioElement = ref<any>();

onMounted(() => {
const waveColor = "white";
const progressColor = "green";
const fgBase = getComputedStyle(document.documentElement).getPropertyValue(
"--fg-base"
);
const waveColor = fgBase;
const fgSecondary = getComputedStyle(
document.documentElement
).getPropertyValue("--fg-secondary");
const progressColor = fgSecondary;

// @ts-ignore
audio.value = WaveSurfer.create({
Expand Down
2 changes: 1 addition & 1 deletion src/views/Insights.vue
Original file line number Diff line number Diff line change
Expand Up @@ -472,11 +472,11 @@ const formatLoudness = (loudness: number) => {
display: flex;
flex-direction: column;
align-items: center;
width: 100%;
.label {
font-size: 0.8em;
color: var(--fg-base-dk);
text-transform: uppercase;
}
}
}
Expand Down

0 comments on commit ee9028f

Please sign in to comment.