Skip to content

Commit

Permalink
feat(app): Add support for 1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
AamuLumi committed Mar 27, 2024
1 parent c25e4f5 commit e0adfcc
Show file tree
Hide file tree
Showing 12 changed files with 496 additions and 309 deletions.
Binary file renamed Assemblies/Diary.dll → 1.4/Assemblies/Diary.dll
Binary file not shown.
File renamed without changes.
Binary file added 1.5/Assemblies/Diary.dll
Binary file not shown.
91 changes: 91 additions & 0 deletions 1.5/Assemblies/HTML/DiaryExport/diary-default.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
html {
--header-background: rgba(160, 160, 160, 0.7);
--color-base-00: #dadada;
--color-base-100: #1e1e1e;
--color-accent: #027aff;
}

@media (prefers-color-scheme: dark) {
html {
--header-background: rgba(22, 22, 22, 0.7);
--color-base-00: #1e1e1e;
--color-base-100: #dadada;
--color-accent: #027aff;
}
}

html {
background-color: var(--color-base-00);
color: var(--color-base-100);
font-family: sans-serif;
width: 100vw;
margin: 0;
overflow-x: hidden;
}

body {
display: flex;
flex-direction: column;
align-items: center;
margin: 0;
}

h2 {
font-size: 1.5rem;
margin: 8px 0 24px 0;
}

img {
width: 100%;
margin: 8px 0;
}

.top-bar {
height: 60px;
position: fixed;
top: 0;
left: 0;
background-color: var(--header-background);
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
width: 100%;
padding: 0 16px;
box-sizing: border-box;
}

.title-header {
font-size: 1.5rem;
text-transform: uppercase;
font-weight: 400;
letter-spacing: 2px;
}

.content {
max-width: 1200px;
margin-top: 80px;
padding: 0 24px;
box-sizing: border-box;
}

footer {
margin-top: 32px;
height: 60px;
background-color: var(--header-background);
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
width: 100%;
padding: 0 24px;
box-sizing: border-box;
font-weight: 700;
}

a {
color: var(--color-accent);
}

.p {
}
19 changes: 19 additions & 0 deletions 1.5/Assemblies/HTML/DiaryExport/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<html>
<head>
<title>{{title}}</title>

<link href="diary-default.css" rel="stylesheet">
</head>

<body>
<div class="top-bar">
<div class="title-header">{{title}}</div>
</div>

<div class="content">
{{content}}
</div>

<footer>Generated by&nbsp;<a href="https://steamcommunity.com/sharedfiles/filedetails/?id=2888141826">Diary</a></footer>
</body>
</html>
49 changes: 26 additions & 23 deletions About/About.xml
Original file line number Diff line number Diff line change
@@ -1,27 +1,30 @@
<?xml version="1.0" encoding="utf-8"?>
<ModMetaData>
<name>Diary</name>
<author>Aamu Lumi</author>
<packageId>aamu.diary</packageId>
<url>https://github.com/AamuLumi/Rimworld-Diary</url>
<supportedVersions>
<li>1.4</li>
</supportedVersions>
<description>Write, read and export your colony's tales.

Diary adds a new tab to keep a trace of each of your colony's days.
You can write freely what happened during these days, and export the whole diary to a text file or a web page to share with anyone.</description>
<modDependencies>
<li>
<packageId>brrainz.harmony</packageId>
<displayName>Harmony</displayName>
<steamWorkshopUrl>steam://url/CommunityFilePage/2009463077</steamWorkshopUrl>
<downloadUrl>https://github.com/pardeike/HarmonyRimWorld/releases/latest</downloadUrl>
</li>
</modDependencies>
<name>Diary</name>
<author>Aamu Lumi</author>
<packageId>aamu.diary</packageId>
<url>https://github.com/AamuLumi/Rimworld-Diary</url>
<supportedVersions>
<li>1.5</li>
<li>1.4</li>
</supportedVersions>
<description>Write, read and export your colony's tales.

<loadAfter>
<li>Ludeon.RimWorld</li>
<li>brrainz.harmony</li>
</loadAfter>
Diary adds a new tab to keep a trace of each of your colony's days.
You can write freely what happened during these days, and export the whole diary to a text file or a web page to
share with anyone.
</description>
<modDependencies>
<li>
<packageId>brrainz.harmony</packageId>
<displayName>Harmony</displayName>
<steamWorkshopUrl>steam://url/CommunityFilePage/2009463077</steamWorkshopUrl>
<downloadUrl>https://github.com/pardeike/HarmonyRimWorld/releases/latest</downloadUrl>
</li>
</modDependencies>

<loadAfter>
<li>Ludeon.RimWorld</li>
<li>brrainz.harmony</li>
</loadAfter>
</ModMetaData>
2 changes: 1 addition & 1 deletion About/Manifest.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Manifest>
<identifier>aamu.diary</identifier>
<version>1.1.7</version>
<version>1.1.8</version>
<dependencies>
<li>Ludeon.RimWorld</li>
<li>brrainz.harmony</li>
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 1.1.8 (03/27/2024)

- Add 1.5 version

# 1.1.7 (07/07/2023)

- Fix RTF Exporter not supporting all Unicode characters
Expand Down

0 comments on commit e0adfcc

Please sign in to comment.