diff --git a/src/assets/icons/heart-solid.svg b/src/assets/icons/heart-solid.svg index b6b04b6..0269383 100644 --- a/src/assets/icons/heart-solid.svg +++ b/src/assets/icons/heart-solid.svg @@ -1 +1,2 @@ - \ No newline at end of file + + diff --git a/src/assets/icons/heart.svg b/src/assets/icons/heart.svg index d6dabd0..ac5b105 100644 --- a/src/assets/icons/heart.svg +++ b/src/assets/icons/heart.svg @@ -1 +1,2 @@ - \ No newline at end of file + + diff --git a/src/components/ButtonTwoTone.vue b/src/components/ButtonTwoTone.vue index 98de7aa..d2cde2b 100644 --- a/src/components/ButtonTwoTone.vue +++ b/src/components/ButtonTwoTone.vue @@ -29,6 +29,14 @@ export default { type: String, default: "blue", }, + backgroundColor: { + type: String, + default: "", + }, + textColor: { + type: String, + default: "", + }, shape: { type: String, default: "square", @@ -36,12 +44,16 @@ export default { }, computed: { buttonStyle() { - return { + let styles = { borderRadius: this.shape === "round" ? "50%" : "8px", padding: `8px ${this.horizontalPadding}px`, // height: "38px", width: this.shape === "round" ? "38px" : "auto", }; + if (this.backgroundColor !== "") + styles.backgroundColor = this.backgroundColor; + if (this.textColor !== "") styles.color = this.textColor; + return styles; }, }, }; @@ -74,7 +86,8 @@ button { } button.grey { background-color: var(--color-secondary-bg); - color: var(--color-secondary); + color: var(--color-text); + opacity: 0.78; } button.transparent { background-color: transparent; diff --git a/src/views/playlist.vue b/src/views/playlist.vue index 888f1c8..0de3370 100644 --- a/src/views/playlist.vue +++ b/src/views/playlist.vue @@ -1,6 +1,9 @@