Skip to content

Commit c52dbb8

Browse files
committed
Version 1.0.1 Typography Update
1 parent a764f5f commit c52dbb8

6 files changed

Lines changed: 148 additions & 69 deletions

File tree

manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "flexcyon",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"minAppVersion": "1.6.3",
55
"author": "bladeacer",
66
"screenshot": "./docs/dark.png",

scss/flexcyon/foundations/typography/_typography.scss

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,37 @@
33

44
body.theme-dark,
55
body.theme-light {
6-
// --text-highlight-bg: rgba(var(--color-purple-rgb), calc(var(--dimmed) + 0.3));
76
--text-highlight-bg: transparent;
87
}
98

9+
body.theme-dark {
10+
--text-normal: #d3d5d3;
11+
}
12+
13+
body.theme-light {
14+
--text-normal: #080808;
15+
}
16+
1017
body {
18+
--flexcyon-w-spacing: 0px;
19+
--flexcyon-l-spacing: 0px;
20+
word-spacing: var(--flexcyon-w-spacing);
21+
letter-spacing: var(--flexcyon-l-spacing);
1122
--oz-fta-file-font-size: 0.9rem;
1223
--oz-fta-folder-font-size: 0.925rem;
1324
text-underline-offset: 0.1em;
1425

1526
--flexcyon-settings-installed-tooltip-left-margin: 1rem;
1627
--h5-line-height: 1.5;
1728
--h6-line-height: 1.5;
29+
--line-height-normal: 1.5;
30+
--line-height-tight: 1.3;
1831

19-
--text-normal: var(--flexcyon-text-normal);
32+
--flexcyon-text-muted: #6f768599;
2033
--text-muted: color-mix(
2134
in hsl,
2235
var(--flexcyon-text-muted),
23-
var(--flexcyon-text-normal)
36+
var(--text-normal)
2437
);
2538
--text-faint: var(--flexcyon-text-muted);
2639

@@ -41,8 +54,6 @@ body {
4154
--bold-color: var(--flexcyon-red-salmon);
4255
--italic-color: var(--flexcyon-accent);
4356

44-
--flexcyon-text-normal: var(--flexcyon-base-grey-light);
45-
--flexcyon-text-muted: #6f768599;
4657
--flexcyon-highlight-verti-padding: 1px;
4758
--flexcyon-highlight-horiz-padding: 2.5px;
4859
--flexcyon-highlight-border-radius: 4px;

scss/flexcyon/others/_others.scss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ body {
55
--flexcyon-media-embed-vertical-margin: 8px;
66
--flexcyon-anim-duration: 0.35s;
77

8-
--modal-border-color: var(--flexcyon-base-02)
9-
--toggle-thumb-color: var(--text-on-accent);
8+
--modal-border-color: var(--flexcyon-base-02);
9+
--toggle-thumb-color: var(--text-on-accent);
1010
--ribbon-width: 48px;
1111
--file-line-width: 50rem;
1212
--vault-name-color: var(--interactive-accent);
13-
--ribbon-background-collapsed: var(--ribbon-background)
14-
--workspace-background-translucent: unset;
13+
--ribbon-background-collapsed: var(--ribbon-background);
14+
--workspace-background-translucent: unset;
1515

1616
--hr-color: #393e48;
1717
--flexcyon-cust-hr-str-horiz-padding: 8px;

scss/flexcyon/style_settings/_style_settings.scss

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -254,12 +254,38 @@ settings:
254254
type: heading
255255
level: 5
256256
collapsed: true
257+
- id: text-normal
258+
title: Normal Text color
259+
type: variable-themed-color
260+
opacity: false
261+
format: hex
262+
default-light: "#080808"
263+
default-dark: "#d3d5d3"
257264
- title: Muted text color
258265
id: flexcyon-text-muted
259266
type: variable-color
260267
opacity: true
261268
format: hex
262269
default: "#6f768599"
270+
- title: Default line height
271+
id: line-height-normal
272+
type: variable-number
273+
default: 1.5
274+
- title: Tight line height
275+
description: Used in search results, tree items, tooltips, and other smaller spaces. Description from the Obsidian Developer Docs.
276+
id: line-height-tight
277+
type: variable-number
278+
default: 1.3
279+
- title: Default word spacing
280+
id: flexcyon-w-spacing
281+
type: variable-number
282+
default: 0
283+
format: px
284+
- title: Default letter spacing
285+
id: flexcyon-l-spacing
286+
type: variable-number
287+
default: 0
288+
format: px
263289
- title: Highlight Text Vertical Padding
264290
id: flexcyon-highlight-verti-padding
265291
type: variable-number

scss/modifiers/plugins/Full_Calendar/_full_calendar.scss

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,3 @@ body.flexcyon-workspace-angled-layout {
6969
transform: skewX(-5deg);
7070
}
7171
}
72-
73-
.setting-item-control select {
74-
width: 80%;
75-
}

theme.css

Lines changed: 101 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -554,6 +554,11 @@ body {
554554
style(--flexcyon-headings-glow-enabled: true): 0.75px 0.75px 1.5px
555555
var(--h6-color) ; else: unset;
556556
);
557+
}
558+
body .cm-formatting-header {
559+
text-shadow: none;
560+
}
561+
body {
557562
--flexcyon-h1-underline-enabled: false;
558563
--flexcyon-h2-underline-enabled: false;
559564
--flexcyon-h3-underline-enabled: false;
@@ -596,9 +601,46 @@ body {
596601
)
597602
solid var(--h6-color) ; else: unset;
598603
);
604+
}
605+
body h1,
606+
body .cm-header-1 {
607+
text-shadow: var(--h1-shadow);
608+
border-block-end: var(--h1-border-btm);
609+
}
610+
body h2,
611+
body .cm-header-2 {
612+
text-shadow: var(--h2-shadow);
613+
border-block-end: var(--h2-border-btm);
614+
}
615+
body h3,
616+
body .cm-header-3 {
617+
text-shadow: var(--h3-shadow);
618+
border-block-end: var(--h3-border-btm);
619+
}
620+
body h4,
621+
body .cm-header-4 {
622+
text-shadow: var(--h4-shadow);
623+
border-block-end: var(--h4-border-btm);
624+
}
625+
body h5,
626+
body .cm-header-5 {
627+
text-shadow: var(--h5-shadow);
628+
border-block-end: var(--h5-border-btm);
629+
}
630+
body h6,
631+
body .cm-header-6 {
632+
text-shadow: var(--h6-shadow);
633+
border-block-end: var(--h6-border-btm);
634+
}
635+
body {
599636
--flexcyon-cm-shadow: if(
600637
style(--flexcyon-headings-glow-enabled: true): none; else: unset;
601638
);
639+
}
640+
body .cm-formatting-header {
641+
text-shadow: var(--flexcyon-cm-shadow);
642+
}
643+
body {
602644
--h1-shadow: none;
603645
--h1-shadow: if(
604646
style(--flexcyon-headings-glow-enabled: true): 2px 2px 4px var(--h1-color) ;
@@ -635,42 +677,6 @@ body {
635677
style(--flexcyon-headings-indicator-h6: false): none; else: unset;
636678
);
637679
}
638-
body .cm-formatting-header {
639-
text-shadow: none;
640-
}
641-
body h1,
642-
body .cm-header-1 {
643-
text-shadow: var(--h1-shadow);
644-
border-block-end: var(--h1-border-btm);
645-
}
646-
body h2,
647-
body .cm-header-2 {
648-
text-shadow: var(--h2-shadow);
649-
border-block-end: var(--h2-border-btm);
650-
}
651-
body h3,
652-
body .cm-header-3 {
653-
text-shadow: var(--h3-shadow);
654-
border-block-end: var(--h3-border-btm);
655-
}
656-
body h4,
657-
body .cm-header-4 {
658-
text-shadow: var(--h4-shadow);
659-
border-block-end: var(--h4-border-btm);
660-
}
661-
body h5,
662-
body .cm-header-5 {
663-
text-shadow: var(--h5-shadow);
664-
border-block-end: var(--h5-border-btm);
665-
}
666-
body h6,
667-
body .cm-header-6 {
668-
text-shadow: var(--h6-shadow);
669-
border-block-end: var(--h6-border-btm);
670-
}
671-
body .cm-formatting-header {
672-
text-shadow: var(--flexcyon-cm-shadow);
673-
}
674680
body h1:not(:hover)::before,
675681
body .cm-header-1::before {
676682
position: relative;
@@ -4407,18 +4413,32 @@ body.theme-light {
44074413
--text-highlight-bg: transparent;
44084414
}
44094415

4416+
body.theme-dark {
4417+
--text-normal: #d3d5d3;
4418+
}
4419+
4420+
body.theme-light {
4421+
--text-normal: #080808;
4422+
}
4423+
44104424
body {
4425+
--flexcyon-w-spacing: 0px;
4426+
--flexcyon-l-spacing: 0px;
4427+
word-spacing: var(--flexcyon-w-spacing);
4428+
letter-spacing: var(--flexcyon-l-spacing);
44114429
--oz-fta-file-font-size: 0.9rem;
44124430
--oz-fta-folder-font-size: 0.925rem;
44134431
text-underline-offset: 0.1em;
44144432
--flexcyon-settings-installed-tooltip-left-margin: 1rem;
44154433
--h5-line-height: 1.5;
44164434
--h6-line-height: 1.5;
4417-
--text-normal: var(--flexcyon-text-normal);
4435+
--line-height-normal: 1.5;
4436+
--line-height-tight: 1.3;
4437+
--flexcyon-text-muted: #6f768599;
44184438
--text-muted: color-mix(
44194439
in hsl,
44204440
var(--flexcyon-text-muted),
4421-
var(--flexcyon-text-normal)
4441+
var(--text-normal)
44224442
);
44234443
--text-faint: var(--flexcyon-text-muted);
44244444
--text-accent: var(--flexcyon-accent);
@@ -4434,8 +4454,6 @@ body {
44344454
);
44354455
--bold-color: var(--flexcyon-red-salmon);
44364456
--italic-color: var(--flexcyon-accent);
4437-
--flexcyon-text-normal: var(--flexcyon-base-grey-light);
4438-
--flexcyon-text-muted: #6f768599;
44394457
--flexcyon-highlight-verti-padding: 1px;
44404458
--flexcyon-highlight-horiz-padding: 2.5px;
44414459
--flexcyon-highlight-border-radius: 4px;
@@ -10589,13 +10607,13 @@ body {
1058910607
--flexcyon-top-actions-alignment: center;
1059010608
--flexcyon-media-embed-vertical-margin: 8px;
1059110609
--flexcyon-anim-duration: 0.35s;
10592-
--modal-border-color: var(--flexcyon-base-02)
10593-
--toggle-thumb-color: var(--text-on-accent);
10610+
--modal-border-color: var(--flexcyon-base-02);
10611+
--toggle-thumb-color: var(--text-on-accent);
1059410612
--ribbon-width: 48px;
1059510613
--file-line-width: 50rem;
1059610614
--vault-name-color: var(--interactive-accent);
10597-
--ribbon-background-collapsed: var(--ribbon-background)
10598-
--workspace-background-translucent: unset;
10615+
--ribbon-background-collapsed: var(--ribbon-background);
10616+
--workspace-background-translucent: unset;
1059910617
--hr-color: #393e48;
1060010618
--flexcyon-cust-hr-str-horiz-padding: 8px;
1060110619
--flexcyon-cust-hr-str-font-size: 1.11803em;
@@ -10960,12 +10978,38 @@ settings:
1096010978
type: heading
1096110979
level: 5
1096210980
collapsed: true
10981+
- id: text-normal
10982+
title: Normal Text color
10983+
type: variable-themed-color
10984+
opacity: false
10985+
format: hex
10986+
default-light: "#080808"
10987+
default-dark: "#d3d5d3"
1096310988
- title: Muted text color
1096410989
id: flexcyon-text-muted
1096510990
type: variable-color
1096610991
opacity: true
1096710992
format: hex
1096810993
default: "#6f768599"
10994+
- title: Default line height
10995+
id: line-height-normal
10996+
type: variable-number
10997+
default: 1.5
10998+
- title: Tight line height
10999+
description: Used in search results, tree items, tooltips, and other smaller spaces. Description from the Obsidian Developer Docs.
11000+
id: line-height-tight
11001+
type: variable-number
11002+
default: 1.3
11003+
- title: Default word spacing
11004+
id: flexcyon-w-spacing
11005+
type: variable-number
11006+
default: 0
11007+
format: px
11008+
- title: Default letter spacing
11009+
id: flexcyon-l-spacing
11010+
type: variable-number
11011+
default: 0
11012+
format: px
1096911013
- title: Highlight Text Vertical Padding
1097011014
id: flexcyon-highlight-verti-padding
1097111015
type: variable-number
@@ -13230,15 +13274,15 @@ body.flexcyon-oz-dimmed-file-exts-enabled
1323013274
font-size: var(--font-ui-small);
1323113275
opacity: var(--dimmed);
1323213276
}
13277+
body.flexcyon-flex-max-mode div.oz-nav-file-title div svg,
13278+
body.flexcyon-oz-dimmed-file-exts-enabled div.oz-nav-file-title div svg {
13279+
display: none;
13280+
}
1323313281
body.flexcyon-flex-max-mode div.oz-nav-file-title,
1323413282
body.flexcyon-oz-dimmed-file-exts-enabled div.oz-nav-file-title {
1323513283
padding: var(--flexcyon-tree-item-verti-padding)
1323613284
var(--flexcyon-tree-item-horiz-padding);
1323713285
}
13238-
body.flexcyon-flex-max-mode div.oz-nav-file-title div svg,
13239-
body.flexcyon-oz-dimmed-file-exts-enabled div.oz-nav-file-title div svg {
13240-
display: none;
13241-
}
1324213286
body.flexcyon-flex-max-mode div.oz-nav-file-title .oz-nav-file-title-content,
1324313287
body.flexcyon-oz-dimmed-file-exts-enabled
1324413288
div.oz-nav-file-title
@@ -13462,10 +13506,6 @@ body.flexcyon-workspace-angled-layout div.oz-folder-line {
1346213506
transform: skewX(-5deg);
1346313507
}
1346413508

13465-
.setting-item-control select {
13466-
width: 80%;
13467-
}
13468-
1346913509
.sr-bg-green {
1347013510
background-color: rgba(var(--color-green-rgb), 0.925) !important;
1347113511
}
@@ -13720,7 +13760,6 @@ div.mermaid svg .nodes node * {
1372013760

1372113761
.mermaid > svg[aria-roledescription="flowchart-v2"] g.root {
1372213762
/* Edge labels */
13723-
/* Nodes */
1372413763
}
1372513764
.mermaid
1372613765
> svg[aria-roledescription="flowchart-v2"]
@@ -13742,10 +13781,11 @@ div.mermaid svg .nodes node * {
1374213781
padding-inline: 0.2rem;
1374313782
background-color: var(--background-primary) !important;
1374413783
}
13784+
.mermaid > svg[aria-roledescription="flowchart-v2"] g.root {
13785+
/* Nodes */
13786+
}
1374513787
.mermaid > svg[aria-roledescription="flowchart-v2"] g.root g.nodes {
1374613788
/* Node labels */
13747-
/* Node default colors */
13748-
/* Colorize individual nodes with classes */
1374913789
}
1375013790
.mermaid
1375113791
> svg[aria-roledescription="flowchart-v2"]
@@ -13763,11 +13803,17 @@ div.mermaid svg .nodes node * {
1376313803
p {
1376413804
color: var(--text-normal) !important;
1376513805
}
13806+
.mermaid > svg[aria-roledescription="flowchart-v2"] g.root g.nodes {
13807+
/* Node default colors */
13808+
}
1376613809
.mermaid > svg[aria-roledescription="flowchart-v2"] g.root g.nodes g :is(*) {
1376713810
stroke: var(--text-faint) !important;
1376813811
fill: var(--background-secondary) !important;
1376913812
fill-opacity: calc(var(--dimmed) - 0.25) !important;
1377013813
}
13814+
.mermaid > svg[aria-roledescription="flowchart-v2"] g.root g.nodes {
13815+
/* Colorize individual nodes with classes */
13816+
}
1377113817
.mermaid
1377213818
> svg[aria-roledescription="flowchart-v2"]
1377313819
g.root

0 commit comments

Comments
 (0)