Skip to content

Commit

Permalink
v0.0.5-alpha
Browse files Browse the repository at this point in the history
  • Loading branch information
koiyakiya committed Jul 23, 2024
1 parent 7b6fe7a commit eea3792
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 41 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"test": "exit 0"
},
"name": "vite-coffee",
"version": "0.0.4-alpha",
"version": "0.0.5-alpha",
"type": "module",
"dependencies": {
"vue": "^3.4.33"
Expand Down
57 changes: 29 additions & 28 deletions src/components/Kofi.vue
Original file line number Diff line number Diff line change
Expand Up @@ -37,36 +37,37 @@ export default /*#__PURE__*/ defineComponent({

<style scoped>
.kofi-btn {
display: inline-block;
border: none;
border-radius: 10px;
padding: 0;
cursor: pointer;
background-color: var(--bg-color);
transition: background-color 0.3s ease;
}
.kofi-btn {
display: inline-block;
border: none;
border-radius: 10px;
padding: 0;
cursor: pointer;
background-color: var(--bg-color);
transition: background-color 0.3s ease;
}
.kofi-btn a {
display: flex;
align-items: center;
padding: 3px 5px;
text-decoration: none;
}
.kofi-btn a {
display: flex;
align-items: center;
padding: 3px 5px;
text-decoration: none;
}
.kofi-btn img {
height: 35px;
}
.kofi-btn img {
height: 35px;
}
.kofi-text {
font-family: Arial, sans-serif;
font-size: 15px;
font-weight: bold;
margin-right: 10px;
color: var(--text-color);
}
.kofi-text {
font-family: Arial, sans-serif;
font-size: 15px;
font-weight: bold;
margin-right: 10px;
color: var(--text-color);
}
.kofi-btn:hover {
background-color: var(--bg-hover-color)
}
.kofi-btn:hover {
background-color: var(--bg-hover-color)
}
</style>
11 changes: 1 addition & 10 deletions src/main.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1 @@
import { App } from 'vue'
import Kofi from './components/Kofi.vue'

export { Kofi }

export default {
install: (app: App): void => {
app.component('Kofi', Kofi)
}
}
export { default as Kofi } from "./components/Kofi.vue";

0 comments on commit eea3792

Please sign in to comment.