Skip to content

Commit

Permalink
1.6.6 - Style contrast fixes, minor fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Lains committed Sep 18, 2018
1 parent 00983b0 commit 9e97b90
Show file tree
Hide file tree
Showing 9 changed files with 45 additions and 34 deletions.
8 changes: 8 additions & 0 deletions data/com.github.lainsce.quilter.appdata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,14 @@
<content_attribute id="money-gambling">none</content_attribute>
</content_rating>
<releases>
<release version="1.6.6" date="2018-09-21">
<description>
<p>Release: Stylish Readable Stories</p>
<ul>
<li>All text passes a contrast check to be readable now.</li>
</ul>
</description>
</release>
<release version="1.6.2" date="2018-09-21">
<description>
<p>Release: Track Your Stuff Up</p>
Expand Down
12 changes: 6 additions & 6 deletions data/schemes/quilter-sepia.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
<_description>Emphasis on focus.</_description>

<style name="text" foreground="#3b3228" background="#f0e8dd"/>
<style name="cursor" foreground="#0cd2de"/>
<style name="cursor" foreground="#07747B"/>
<style name="current-line" background="#c1a073"/>
<style name="selection" foreground="#3b3228" background="#0cd2de"/>
<style name="selection" foreground="#3b3228" background="#07747B"/>
<style name="search-match" foreground="#3b3228" background="#ded20c"/>

<!-- Bold -->
Expand All @@ -16,8 +16,8 @@
<style name="def:doc-comment-element" foreground="#c1a073" italic="true"/>

<!-- Links -->
<style name="def:comment" foreground="#0cd2de"/>
<style name="def:underlined" foreground="#0cd2de"/>
<style name="def:comment" foreground="#07747B"/>
<style name="def:underlined" foreground="#07747B"/>

<!-- Code -->
<style name="def:identifier" foreground="#c1a073"/>
Expand All @@ -29,8 +29,8 @@
<style name="def:preprocessor" foreground="#3b3228"/>

<!-- Image marking in Links -->
<style name="def:shebang" foreground="#0cd2de"/>
<style name="def:constant" foreground="#0cd2de"/>
<style name="def:shebang" foreground="#07747B"/>
<style name="def:constant" foreground="#07747B"/>

<!-- Backslash Escaping -->
<style name="def:special-char" foreground="#c1a073"/>
Expand Down
12 changes: 6 additions & 6 deletions data/schemes/quilter.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
<_description>Emphasis on focus.</_description>

<style name="text" foreground="#191919" background="#FAFAFA"/>
<style name="cursor" foreground="#11BCED"/>
<style name="cursor" foreground="#007D9E"/>
<style name="current-line" background="#eff0f1"/>
<style name="selection" foreground="#EAEAEA" background="#11BCED"/>
<style name="selection" foreground="#EAEAEA" background="#007D9E"/>
<style name="search-match" foreground="#191919" background="#EDBC11"/>

<!-- Bold -->
Expand All @@ -16,8 +16,8 @@
<style name="def:doc-comment-element" italic="true"/>

<!-- Links -->
<style name="def:comment" foreground="#11BCED"/>
<style name="def:underlined" foreground="#11BCED"/>
<style name="def:comment" foreground="#007D9E"/>
<style name="def:underlined" foreground="#007D9E"/>

<!-- Code -->
<style name="def:identifier" background="#F0F0F0" foreground="#191919"/>
Expand All @@ -29,8 +29,8 @@
<style name="def:preprocessor" foreground="#191919"/>

<!-- Image marking in Links -->
<style name="def:shebang" foreground="#11BCED"/>
<style name="def:constant" foreground="#11BCED"/>
<style name="def:shebang" foreground="#007D9E"/>
<style name="def:constant" foreground="#007D9E"/>

<!-- Backslash Escaping -->
<style name="def:special-char" foreground="#B7B6B7"/>
Expand Down
6 changes: 6 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
com.github.lainsce.quilter (1.6.6) xenial; urgency=low

* Some styling fixes to pass WCAG AA.

-- Lains <[email protected]> Fri, 21 Sep 2018 14:37:00 -0300

com.github.lainsce.quilter (1.6.2) xenial; urgency=low

* Button to track Chars/Words/Lines.
Expand Down
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Name our project
project('com.github.lainsce.quilter', ['vala', 'c'],
version: '1.6.2'
version: '1.6.6'
)

# Import main lib files
Expand Down
13 changes: 6 additions & 7 deletions src/Styles/quilter.vala
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,13 @@ public class Quilter.Styles.quilter {
public const string css="""
html {
font-size: 16px;
width: 100%;
margin: 0 auto;
}
p {
font-size: 18px;
width: 100%;
color: #191919;
}
Expand Down Expand Up @@ -117,10 +120,6 @@ public class Quilter.Styles.quilter {
line-height: 1.4rem;
margin-left: 80px;
margin-right: 80px;
align-content: center;
align-items: center;
align-self: center;
display: inline-block;
text-align: left;
}
Expand Down Expand Up @@ -157,7 +156,7 @@ public class Quilter.Styles.quilter {
a:hover,
a:focus,
a:active {
color: #3daee9;
color: #007D9E;
}
code{
Expand Down Expand Up @@ -185,7 +184,7 @@ public class Quilter.Styles.quilter {
margin-left: .8rem;
text-align: left;
}
blockquote > p {
color: inherit;
margin-top: 20px;
Expand All @@ -201,7 +200,7 @@ public class Quilter.Styles.quilter {
ul>li {
font-size: 18px;
}
ul, ol {
margin-left: -40px;
}
Expand Down
11 changes: 5 additions & 6 deletions src/Styles/quilterdark.vala
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,13 @@ public class Quilter.Styles.quilterdark {
public const string css="""
html {
font-size: 16px;
width: 100%;
margin: 0 auto;
}
p {
font-size: 18px;
width: 100%;
color: #C3C3C1;
}
Expand Down Expand Up @@ -117,10 +120,6 @@ public class Quilter.Styles.quilterdark {
line-height: 1.4rem;
margin-left: 80px;
margin-right: 80px;
align-content: center;
align-items: center;
align-self: center;
display: inline-block;
text-align: left;
}
Expand Down Expand Up @@ -185,7 +184,7 @@ public class Quilter.Styles.quilterdark {
margin-left: .8rem;
text-align: left;
}
blockquote > p {
color: inherit;
margin-top: 20px;
Expand All @@ -201,7 +200,7 @@ public class Quilter.Styles.quilterdark {
ul>li {
font-size: 18px;
}
ul, ol {
margin-left: -40px;
}
Expand Down
13 changes: 6 additions & 7 deletions src/Styles/quiltersepia.vala
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,13 @@ public class Quilter.Styles.quiltersepia {
public const string css="""
html {
font-size: 16px;
width: 100%;
margin: 0 auto;
}
p {
font-size: 18px;
width: 100%;
color: #3b3228;
}
Expand Down Expand Up @@ -116,10 +119,6 @@ public class Quilter.Styles.quiltersepia {
line-height: 1.4rem;
margin-left: 80px;
margin-right: 80px;
align-content: center;
align-items: center;
align-self: center;
display: inline-block;
text-align: left;
}
Expand Down Expand Up @@ -156,7 +155,7 @@ public class Quilter.Styles.quiltersepia {
a:hover,
a:focus,
a:active {
color: #1d99f3;
color: #07747B;
}
code{
Expand Down Expand Up @@ -184,7 +183,7 @@ public class Quilter.Styles.quiltersepia {
margin-left: .8rem;
text-align: left;
}
blockquote > p {
color: inherit;
margin-top: 20px;
Expand All @@ -200,7 +199,7 @@ public class Quilter.Styles.quiltersepia {
ul>li {
font-size: 18px;
}
ul, ol {
margin-left: -40px;
}
Expand Down
2 changes: 1 addition & 1 deletion src/Widgets/StatusBar.vala
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ namespace Quilter {
track_type_menu_pop.add (track_type_grid);

track_type_menu = new Gtk.MenuButton ();
track_type_menu.tooltip_text = _("Set Preview Font");
track_type_menu.tooltip_text = _("Set Tracking Type");
track_type_menu.popover = track_type_menu_pop;
track_type_menu.label = "";

Expand Down

0 comments on commit 9e97b90

Please sign in to comment.