From 3c5316e8b1d3105dad3209e23182b39703e715aa Mon Sep 17 00:00:00 2001 From: Behzad Alizadeh Date: Mon, 25 Aug 2025 17:56:45 +0330 Subject: [PATCH] Add styles --- .../Elsa.Studio.Shell/wwwroot/css/custom.css | 2 ++ .../wwwroot/css/fontstyle.css | 24 +++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 src/framework/Elsa.Studio.Shell/wwwroot/css/fontstyle.css diff --git a/src/framework/Elsa.Studio.Shell/wwwroot/css/custom.css b/src/framework/Elsa.Studio.Shell/wwwroot/css/custom.css index 303b9f1..41a40f0 100644 --- a/src/framework/Elsa.Studio.Shell/wwwroot/css/custom.css +++ b/src/framework/Elsa.Studio.Shell/wwwroot/css/custom.css @@ -2,6 +2,8 @@ direction: ltr !important; } +.mud-timeline-item.rounded .mud-typography, +.mud-timeline-item.rounded .mud-typography > .mud-icon-root, .elsa-flowchart-diagram-designer-v2 .activity-label { color: rgb(66, 66, 66) !important; } \ No newline at end of file diff --git a/src/framework/Elsa.Studio.Shell/wwwroot/css/fontstyle.css b/src/framework/Elsa.Studio.Shell/wwwroot/css/fontstyle.css new file mode 100644 index 0000000..753168e --- /dev/null +++ b/src/framework/Elsa.Studio.Shell/wwwroot/css/fontstyle.css @@ -0,0 +1,24 @@ +body { + font-family: IRANSansX !important; +} + +h1, h2, h3, h4, h5, h6,input, textarea { + font-family: IRANSansX !important; +} + +:root { + --mud-typography-default-family: IRANSansX !important; + --mud-typography-h1-family: IRANSansX !important; + --mud-typography-h2-family: IRANSansX !important; + --mud-typography-h3-family: IRANSansX !important; + --mud-typography-h4-family: IRANSansX !important; + --mud-typography-h5-family: IRANSansX !important; + --mud-typography-h6-family: IRANSansX !important; + --mud-typography-subtitle1-family: IRANSansX !important; + --mud-typography-subtitle2-family: IRANSansX !important; + --mud-typography-body1-family: IRANSansX !important; + --mud-typography-body2-family: IRANSansX !important; + --mud-typography-button-family: IRANSansX !important; + --mud-typography-caption-family: IRANSansX !important; + --mud-typography-overline-family: IRANSansX !important; +} \ No newline at end of file