mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
colorize header tags
This commit is contained in:
parent
bbbc386f26
commit
6dec0ba255
3 changed files with 3 additions and 0 deletions
|
|
@ -2,6 +2,7 @@ use gtk::{TextTag, WrapMode};
|
||||||
|
|
||||||
pub fn new() -> TextTag {
|
pub fn new() -> TextTag {
|
||||||
TextTag::builder()
|
TextTag::builder()
|
||||||
|
.foreground("#3584e4") // @TODO optional
|
||||||
.scale(1.6)
|
.scale(1.6)
|
||||||
.sentence(true)
|
.sentence(true)
|
||||||
.weight(500)
|
.weight(500)
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,7 @@ use gtk::{TextTag, WrapMode};
|
||||||
|
|
||||||
pub fn new() -> TextTag {
|
pub fn new() -> TextTag {
|
||||||
TextTag::builder()
|
TextTag::builder()
|
||||||
|
.foreground("#d56199") // @TODO optional
|
||||||
.scale(1.4)
|
.scale(1.4)
|
||||||
.sentence(true)
|
.sentence(true)
|
||||||
.weight(400)
|
.weight(400)
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,7 @@ use gtk::{TextTag, WrapMode};
|
||||||
|
|
||||||
pub fn new() -> TextTag {
|
pub fn new() -> TextTag {
|
||||||
TextTag::builder()
|
TextTag::builder()
|
||||||
|
.foreground("#3a944a") // @TODO optional
|
||||||
.scale(1.2)
|
.scale(1.2)
|
||||||
.sentence(true)
|
.sentence(true)
|
||||||
.weight(400)
|
.weight(400)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue