summaryrefslogtreecommitdiff
path: root/themes/light
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-04-07 16:04:50 +0300
committerAndrew Dolgov <[email protected]>2021-04-07 16:04:50 +0300
commit49ef15f11dfbd53b27808e9a0949cf6825102126 (patch)
tree584472307bc6ef7aa62f7097d2400595a4cb0b08 /themes/light
parentc0fba62fa051d076768e2cba13c39ef0fe87d520 (diff)
* fonts-ui: use system font family instead of segoe, etc. by name
* disable segoe-specific baseline hack for the time being
Diffstat (limited to 'themes/light')
-rw-r--r--themes/light/cdm.less6
-rw-r--r--themes/light/defines.less3
-rw-r--r--themes/light/prefs.less2
-rw-r--r--themes/light/tt-rss.less6
-rw-r--r--themes/light/utility.less4
5 files changed, 10 insertions, 11 deletions
diff --git a/themes/light/cdm.less b/themes/light/cdm.less
index 4bb1c6064..41d789a09 100644
--- a/themes/light/cdm.less
+++ b/themes/light/cdm.less
@@ -158,7 +158,7 @@
font-weight : 600;
transition : color 0.2s, background 0.2s;
text-rendering: optimizelegibility;
- font-family : @fonts-ui-bold;
+ font-family : @fonts-ui;
}
&.active,
@@ -279,7 +279,7 @@
font-size : @font-size-content;
transition : color 0.2s, background 0.2s;
text-rendering: optimizelegibility;
- font-family : @fonts-ui-bold;
+ font-family : @fonts-ui;
}
&.Unread div.header a.title {
@@ -301,7 +301,7 @@
font-size: 16px;
font-weight: 600;
text-rendering: optimizelegibility;
- font-family: @fonts-ui-bold;
+ font-family: @fonts-ui;
}
}
diff --git a/themes/light/defines.less b/themes/light/defines.less
index 4097fad9f..08896b4f1 100644
--- a/themes/light/defines.less
+++ b/themes/light/defines.less
@@ -1,5 +1,4 @@
-@fonts-ui-bold: "Segoe WP Semibold", "Segoe UI Semibold", "Segoe UI Web Semibold", "Segoe UI", Ubuntu, Cantarell, "Helvetica Neue", Helvetica, Arial, sans-serif;
-@fonts-ui: "Segoe UI", Ubuntu, Cantarell, "Helvetica Neue", Helvetica, Arial, sans-serif;
+@fonts-ui: system-ui, "Helvetica Neue", Helvetica, Arial, sans-serif;
@default-fg: #555;
@default-bg: white;
diff --git a/themes/light/prefs.less b/themes/light/prefs.less
index 0bea00b00..27e88d601 100644
--- a/themes/light/prefs.less
+++ b/themes/light/prefs.less
@@ -4,7 +4,7 @@ body.ttrss_prefs {
font-size: @font-size-content;
h1, h2, h3, h4 {
- font-family : @fonts-ui-bold;
+ font-family : @fonts-ui;
font-weight : 600;
color : @default-text;
}
diff --git a/themes/light/tt-rss.less b/themes/light/tt-rss.less
index e94aaa176..088a3c7ff 100644
--- a/themes/light/tt-rss.less
+++ b/themes/light/tt-rss.less
@@ -51,7 +51,7 @@ body.ttrss_main {
font-size : 15px;
font-weight : 600;
text-rendering: optimizelegibility;
- font-family : @fonts-ui-bold;
+ font-family : @fonts-ui;
}
}
@@ -469,7 +469,7 @@ body.ttrss_main {
font-size : 16px;
font-weight : 600;
color : @default-text;
- font-family: @fonts-ui-bold;
+ font-family: @fonts-ui;
}
section,
@@ -665,7 +665,7 @@ body.ttrss_main {
position : relative;
// Segoe UI (@fonts-ui) seems to have wrong baseline set
- top : -0.5px;
+ // top : -0.5px;
&.Unread {
font-weight : bold;
diff --git a/themes/light/utility.less b/themes/light/utility.less
index c88e89ba9..89675ac13 100644
--- a/themes/light/utility.less
+++ b/themes/light/utility.less
@@ -21,7 +21,7 @@ body.ttrss_utility {
h2, h3, h4 {
color : @color-accent;
- font-family: @fonts-ui-bold;
+ font-family: @fonts-ui;
}
h2 {
@@ -46,7 +46,7 @@ body.ttrss_utility {
h1 {
color : gray;
- font-family: @fonts-ui-bold;
+ font-family: @fonts-ui;
font-size : 18px;
margin : 10px 0 0 0;
}