Skip to content

Commit

Permalink
2.0.2 Release
Browse files Browse the repository at this point in the history
lock unlock widget resizable and position values from main window
  • Loading branch information
sametcn99 committed Apr 23, 2024
1 parent b7f77b7 commit 8e10106
Show file tree
Hide file tree
Showing 25 changed files with 93 additions and 880 deletions.
12 changes: 0 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,10 @@ This project is a desktop application developed using Electron.js and Node.js. T
<summary>Clock</summary>
<img src="/public/widgets/clock/screenshot.png"></img>
</details>
<details>
<summary>weather</summary>
<img src="/public/widgets/weather/screenshot.png"></img>
</details>
<details>
<summary>dailyWeather</summary>
<img src="/public/widgets/dailyWeather/screenshot.png"></img>
</details>
<details>
<summary>analogClock</summary>
<img src="/public/widgets/analogClock/screenshot.png"></img>
</details>
<details>
<summary>diskusage</summary>
<img src="/public/widgets/diskusage/screenshot.png"></img>
Expand All @@ -40,10 +32,6 @@ This project is a desktop application developed using Electron.js and Node.js. T
<summary>hacker-news</summary>
<img src="/public/widgets/hacker-news/screenshot.png"></img>
</details>
<details>
<summary>pomodoro</summary>
<img src="/public/widgets/pomodoro/screenshot.png"></img>
</details>
<details>
<summary>transparentClock</summary>
<img src="/public/widgets/transparentClock/screenshot.png"></img>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "electron-widgets",
"productName": "electron-widgets",
"version": "2.0.1",
"version": "2.0.2",
"description": "A minimal widget application created with electron.js",
"main": ".vite/build/main.js",
"scripts": {
Expand Down
5 changes: 5 additions & 0 deletions public/assets/lock.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions public/assets/unlock.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
259 changes: 0 additions & 259 deletions public/widgets/analogClock/index.html

This file was deleted.

Binary file removed public/widgets/analogClock/screenshot.png
Binary file not shown.
11 changes: 2 additions & 9 deletions public/widgets/clock/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,12 @@
--light-text: #131313e0;
--light-primary: #242424c0;
--light-border: 1px solid #aebbd6c9;
--light-box-shadow: 1px 1px 20px rgba(0, 0, 0, 0.171);

/* Dark */
--dark-background: #131313;
--dark-text: #e0e0e0;
--dark-primary: #c0c0c0;
--dark-border: 1px solid #3030309a;
--dark-box-shadow: 1px 1px 20px rgba(214, 214, 214, 0.096);

/* Transition */
--transition-duration: 1s;
Expand All @@ -33,7 +31,6 @@
--text: var(--dark-text);
--primary: var(--dark-primary);
--border: var(--dark-border);
--box-shadow: var(--dark-box-shadow);
}

body {
Expand All @@ -43,8 +40,7 @@
.container {
transition:
background-color var(--transition-duration),
border-color var(--transition-duration),
box-shadow var(--transition-duration);
border-color var(--transition-duration);
}
}

Expand All @@ -55,7 +51,6 @@
--text: var(--light-text);
--primary: var(--light-primary);
--border: var(--light-border);
--box-shadow: var(--light-box-shadow);
}

body {
Expand All @@ -65,8 +60,7 @@
.container {
transition:
background-color var(--transition-duration),
border-color var(--transition-duration),
box-shadow var(--transition-duration);
border-color var(--transition-duration);
}
}

Expand Down Expand Up @@ -100,7 +94,6 @@ body {
padding-top: 12px;
padding-bottom: 12px;
border: var(--border);
box-shadow: var(--box-shadow);
display: flex;
width: 95%;
flex-direction: column;
Expand Down
6 changes: 6 additions & 0 deletions public/widgets/dailyWeather/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -87,3 +87,9 @@ p {
#weather-icon {
font-family: "Montserrat", sans-serif;
}
#temp {
font-family: "Montserrat", sans-serif;
font-size: 2rem;
font-weight: 700;
color: var(--primary);
}
2 changes: 1 addition & 1 deletion public/widgets/dailyWeather/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
width: 100%;
padding: 0;
text-align: center;
height: 100vh;
"
>
<div
Expand Down Expand Up @@ -79,7 +80,6 @@
margin-top: 10px;
"
>
<i style="color: rgb(165, 135, 0)" id="icon"></i>
<p id="temp">23</p>
</div>
</div>
Expand Down
Loading

0 comments on commit 8e10106

Please sign in to comment.