Updated icons

This commit is contained in:
2021-11-05 23:45:21 +03:00
parent 92f73084e8
commit 85ed1e05e5
27 changed files with 19 additions and 18 deletions

View File

@@ -1,5 +1,7 @@
# Worktime # Worktime
[![CI and DI](https://github.com/anatolykopyl/worktime/actions/workflows/blank.yml/badge.svg)](https://github.com/anatolykopyl/worktime/actions/workflows/blank.yml)
An app to track your time An app to track your time
Works offline ✈ Works offline ✈

View File

@@ -1 +0,0 @@
<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22></text></svg>

Before

Width:  |  Height:  |  Size: 124 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.2 KiB

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.3 KiB

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.6 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 799 B

After

Width:  |  Height:  |  Size: 788 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text y=".9em" font-size="90"></text></svg>

After

Width:  |  Height:  |  Size: 108 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

After

Width:  |  Height:  |  Size: 14 KiB

View File

@@ -1,3 +0,0 @@
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M8.00251 14.9297L0 1.07422H6.14651L8.00251 4.27503L9.84583 1.07422H16L8.00251 14.9297Z" fill="black"/>
</svg>

Before

Width:  |  Height:  |  Size: 215 B

View File

@@ -4,8 +4,9 @@
<meta charset="utf-8"> <meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0"> <meta name="viewport" content="width=device-width,initial-scale=1.0">
<link rel="icon" href="<%= BASE_URL %>favicon.svg"> <link rel="icon" href="<%= BASE_URL %>img/icons/favicon.svg">
<title><%= htmlWebpackPlugin.options.title %></title> <link rel="apple-touch-icon" href="<%= BASE_URL %>img/icons/apple-touch-icon.png"/>
<title>Worktime</title>
</head> </head>
<body> <body>
<noscript> <noscript>

View File

@@ -9,6 +9,8 @@ export default createStore({
state: { state: {
categories: [], categories: [],
tasks: [], tasks: [],
midnightReset: false,
darkTheme: true,
}, },
mutations: { mutations: {
addCategory(state, category) { addCategory(state, category) {
@@ -24,6 +26,15 @@ export default createStore({
return newTask; return newTask;
}); });
}, },
assignCategory(state, { name, category }) {
state.tasks = state.tasks.map((task) => {
const newTask = task;
if (newTask.name === name) {
newTask.category = category;
}
return newTask;
});
},
addTask(state, name) { addTask(state, name) {
if (name) { if (name) {
@@ -66,14 +77,8 @@ export default createStore({
}); });
}, },
assignCategory(state, { name, category }) { setMidnightReset(state, value) {
state.tasks = state.tasks.map((task) => { state.midnightReset = !!value;
const newTask = task;
if (newTask.name === name) {
newTask.category = category;
}
return newTask;
});
}, },
}, },
plugins: [vuexLocal.plugin], plugins: [vuexLocal.plugin],

View File

@@ -27,10 +27,6 @@
</div> </div>
<div v-else class="select-category" @click="$refs.categorySelect.open"> <div v-else class="select-category" @click="$refs.categorySelect.open">
Assign Category Assign Category
<!-- <CategoryDropdown
class="dropdown"
@selected="assignCategory"
/> -->
</div> </div>
</div> </div>