Skip to content

Commit 8f9c7b0

Browse files
pkp/pkp-lib#10850 Add comments to the tw-theme-vars css variables
1 parent f1e5214 commit 8f9c7b0

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

src/styles/tw-theme-vars.css

+24
Original file line numberDiff line numberDiff line change
@@ -20,36 +20,48 @@
2020
--color-profile-5: #ebda68;
2121
--color-profile-6: #bd726c;
2222
--color-transparent: transparent;
23+
2324
--background-color-default: #eaedee;
2425
--background-color-secondary: #ffffff;
2526
--background-color-tertiary: rgba(234, 237, 238, 0.3);
2627
--background-color-blur: rgba(0, 0, 0, 0.5);
2728
--background-color-selection-light: #d5e9f2;
2829
--background-color-selection-dark: #002c40;
2930
--background-color-disabled: rgba(28, 27, 31, 0.1);
31+
3032
--text-color-default: #222222;
3133
--text-color-secondary: #505050;
3234
--text-color-heading: #01354f;
3335
--text-color-disabled: #4e4f4f;
3436
--text-color-on-dark: #ffffff;
37+
3538
--border-color-dark: #696969;
3639
--border-color-light: #bbbbbb;
3740
--border-color-form-fields: #777777;
3841
--border-color-transparent: transparent;
42+
3943
--radius: 4px;
4044
--radius-full: 9999px;
45+
4146
--shadow: 0 0 4px rgba(0, 0, 0, 0.5);
47+
4248
--font-sans: 'Noto Sans', ui-sans-serif, system-ui, sans-serif,
4349
'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
50+
51+
/** 10px */
4452
--text-xs-normal: 0.625rem;
4553
--text-xs-normal--line-height: 0.75rem;
4654
--text-xs-normal--font-weight: 400;
55+
56+
/** 11px */
4757
--text-sm-light: 0.6875rem;
4858
--text-sm-light--line-height: 0.875rem;
4959
--text-sm-light--font-weight: 300;
5060
--text-sm-normal: 0.6875rem;
5161
--text-sm-normal--line-height: 0.875rem;
5262
--text-sm-normal--font-weight: 400;
63+
64+
/** 12px */
5365
--text-base-light: 0.75rem;
5466
--text-base-light--line-height: 1rem;
5567
--text-base-light--font-weight: 300;
@@ -59,6 +71,8 @@
5971
--text-base-bold: 0.75rem;
6072
--text-base-bold--line-height: 1rem;
6173
--text-base-bold--font-weight: 700;
74+
75+
/** 14px */
6276
--text-lg-normal: 0.875rem;
6377
--text-lg-normal--line-height: 1.25rem;
6478
--text-lg-normal--font-weight: 400;
@@ -71,12 +85,18 @@
7185
--text-lg-bold: 0.875rem;
7286
--text-lg-bold--line-height: 1.25rem;
7387
--text-lg-bold--font-weight: 700;
88+
89+
/** 16px */
7490
--text-xl-bold: 1rem;
7591
--text-xl-bold--line-height: 1.5rem;
7692
--text-xl-bold--font-weight: 700;
93+
94+
/** 18px */
7795
--text-2xl-bold: 1.125rem;
7896
--text-2xl-bold--line-height: 1.75rem;
7997
--text-2xl-bold--font-weight: 700;
98+
99+
/** 20px */
80100
--text-3xl-normal: 1.25rem;
81101
--text-3xl-normal--line-height: 1.75rem;
82102
--text-3xl-normal--font-weight: 400;
@@ -86,9 +106,13 @@
86106
--text-3xl-bold: 1.25rem;
87107
--text-3xl-bold--line-height: 1.75rem;
88108
--text-3xl-bold--font-weight: 700;
109+
110+
/** 24px */
89111
--text-4xl-bold: 1.5rem;
90112
--text-4xl-bold--line-height: 2rem;
91113
--text-4xl-bold--font-weight: 700;
114+
115+
/** 36px */
92116
--text-5xl-bold: 2.25rem;
93117
--text-5xl-bold--line-height: 2.5rem;
94118
--text-5xl-bold--font-weight: 700;

0 commit comments

Comments
 (0)