Skip to content

Commit

Permalink
pkp/pkp-lib#10850 Add comments to the tw-theme-vars css variables
Browse files Browse the repository at this point in the history
  • Loading branch information
blesildaramirez committed Feb 13, 2025
1 parent f1e5214 commit 8f9c7b0
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions src/styles/tw-theme-vars.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,36 +20,48 @@
--color-profile-5: #ebda68;
--color-profile-6: #bd726c;
--color-transparent: transparent;

--background-color-default: #eaedee;
--background-color-secondary: #ffffff;
--background-color-tertiary: rgba(234, 237, 238, 0.3);
--background-color-blur: rgba(0, 0, 0, 0.5);
--background-color-selection-light: #d5e9f2;
--background-color-selection-dark: #002c40;
--background-color-disabled: rgba(28, 27, 31, 0.1);

--text-color-default: #222222;
--text-color-secondary: #505050;
--text-color-heading: #01354f;
--text-color-disabled: #4e4f4f;
--text-color-on-dark: #ffffff;

--border-color-dark: #696969;
--border-color-light: #bbbbbb;
--border-color-form-fields: #777777;
--border-color-transparent: transparent;

--radius: 4px;
--radius-full: 9999px;

--shadow: 0 0 4px rgba(0, 0, 0, 0.5);

--font-sans: 'Noto Sans', ui-sans-serif, system-ui, sans-serif,
'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';

/** 10px */
--text-xs-normal: 0.625rem;
--text-xs-normal--line-height: 0.75rem;
--text-xs-normal--font-weight: 400;

/** 11px */
--text-sm-light: 0.6875rem;
--text-sm-light--line-height: 0.875rem;
--text-sm-light--font-weight: 300;
--text-sm-normal: 0.6875rem;
--text-sm-normal--line-height: 0.875rem;
--text-sm-normal--font-weight: 400;

/** 12px */
--text-base-light: 0.75rem;
--text-base-light--line-height: 1rem;
--text-base-light--font-weight: 300;
Expand All @@ -59,6 +71,8 @@
--text-base-bold: 0.75rem;
--text-base-bold--line-height: 1rem;
--text-base-bold--font-weight: 700;

/** 14px */
--text-lg-normal: 0.875rem;
--text-lg-normal--line-height: 1.25rem;
--text-lg-normal--font-weight: 400;
Expand All @@ -71,12 +85,18 @@
--text-lg-bold: 0.875rem;
--text-lg-bold--line-height: 1.25rem;
--text-lg-bold--font-weight: 700;

/** 16px */
--text-xl-bold: 1rem;
--text-xl-bold--line-height: 1.5rem;
--text-xl-bold--font-weight: 700;

/** 18px */
--text-2xl-bold: 1.125rem;
--text-2xl-bold--line-height: 1.75rem;
--text-2xl-bold--font-weight: 700;

/** 20px */
--text-3xl-normal: 1.25rem;
--text-3xl-normal--line-height: 1.75rem;
--text-3xl-normal--font-weight: 400;
Expand All @@ -86,9 +106,13 @@
--text-3xl-bold: 1.25rem;
--text-3xl-bold--line-height: 1.75rem;
--text-3xl-bold--font-weight: 700;

/** 24px */
--text-4xl-bold: 1.5rem;
--text-4xl-bold--line-height: 2rem;
--text-4xl-bold--font-weight: 700;

/** 36px */
--text-5xl-bold: 2.25rem;
--text-5xl-bold--line-height: 2.5rem;
--text-5xl-bold--font-weight: 700;
Expand Down

0 comments on commit 8f9c7b0

Please sign in to comment.