Skip to content

Commit

Permalink
Update themes to use font settings as css variables instead of inherit
Browse files Browse the repository at this point in the history
  • Loading branch information
cagataycivici committed Oct 3, 2023
1 parent af6842b commit 072b3b2
Show file tree
Hide file tree
Showing 47 changed files with 713 additions and 705 deletions.
30 changes: 15 additions & 15 deletions src/assets/components/themes/arya-blue/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,8 @@
}

.p-component {
font-family: inherit;
font-feature-settings: inherit;
font-family: var(--font-family);
font-feature-settings: var(--font-feature-settings, normal);
font-size: 1rem;
font-weight: normal;
}
Expand Down Expand Up @@ -210,9 +210,9 @@
}

.p-link {
font-family: var(--font-family);
font-feature-settings: var(--font-feature-settings, normal);
font-size: 1rem;
font-family: inherit;
font-feature-settings: inherit;
border-radius: 3px;
}
.p-link:focus-visible {
Expand Down Expand Up @@ -269,9 +269,9 @@
padding: 0.25rem 0;
}
.p-autocomplete .p-autocomplete-multiple-container .p-autocomplete-input-token input {
font-family: inherit;
font-feature-settings: inherit;
font-size: inherit;
font-family: var(--font-family);
font-feature-settings: var(--font-feature-settings, normal);
font-size: 1rem;
color: rgba(255, 255, 255, 0.87);
padding: 0;
margin: 0;
Expand Down Expand Up @@ -769,9 +769,9 @@
padding: 0.25rem 0;
}
.p-chips .p-chips-multiple-container .p-chips-input-token input {
font-family: inherit;
font-feature-settings: inherit;
font-size: inherit;
font-family: var(--font-family);
font-feature-settings: var(--font-feature-settings, normal);
font-size: 1rem;
color: rgba(255, 255, 255, 0.87);
padding: 0;
margin: 0;
Expand Down Expand Up @@ -1171,8 +1171,8 @@
}

.p-inputtext {
font-family: inherit;
font-feature-settings: inherit;
font-family: var(--font-family);
font-feature-settings: var(--font-feature-settings, normal);
font-size: 1rem;
color: rgba(255, 255, 255, 0.87);
background: #121212;
Expand Down Expand Up @@ -6353,9 +6353,9 @@
padding: 1rem;
}
.p-terminal .p-terminal-input {
font-family: inherit;
font-feature-settings: inherit;
font-size: inherit;
font-family: var(--font-family);
font-feature-settings: var(--font-feature-settings, normal);
font-size: 1rem;
}
}
/* Customizations to the designer theme should be defined here */
Expand Down
30 changes: 15 additions & 15 deletions src/assets/components/themes/arya-green/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,8 @@
}

.p-component {
font-family: inherit;
font-feature-settings: inherit;
font-family: var(--font-family);
font-feature-settings: var(--font-feature-settings, normal);
font-size: 1rem;
font-weight: normal;
}
Expand Down Expand Up @@ -210,9 +210,9 @@
}

.p-link {
font-family: var(--font-family);
font-feature-settings: var(--font-feature-settings, normal);
font-size: 1rem;
font-family: inherit;
font-feature-settings: inherit;
border-radius: 3px;
}
.p-link:focus-visible {
Expand Down Expand Up @@ -269,9 +269,9 @@
padding: 0.25rem 0;
}
.p-autocomplete .p-autocomplete-multiple-container .p-autocomplete-input-token input {
font-family: inherit;
font-feature-settings: inherit;
font-size: inherit;
font-family: var(--font-family);
font-feature-settings: var(--font-feature-settings, normal);
font-size: 1rem;
color: rgba(255, 255, 255, 0.87);
padding: 0;
margin: 0;
Expand Down Expand Up @@ -769,9 +769,9 @@
padding: 0.25rem 0;
}
.p-chips .p-chips-multiple-container .p-chips-input-token input {
font-family: inherit;
font-feature-settings: inherit;
font-size: inherit;
font-family: var(--font-family);
font-feature-settings: var(--font-feature-settings, normal);
font-size: 1rem;
color: rgba(255, 255, 255, 0.87);
padding: 0;
margin: 0;
Expand Down Expand Up @@ -1171,8 +1171,8 @@
}

.p-inputtext {
font-family: inherit;
font-feature-settings: inherit;
font-family: var(--font-family);
font-feature-settings: var(--font-feature-settings, normal);
font-size: 1rem;
color: rgba(255, 255, 255, 0.87);
background: #121212;
Expand Down Expand Up @@ -6353,9 +6353,9 @@
padding: 1rem;
}
.p-terminal .p-terminal-input {
font-family: inherit;
font-feature-settings: inherit;
font-size: inherit;
font-family: var(--font-family);
font-feature-settings: var(--font-feature-settings, normal);
font-size: 1rem;
}
}
/* Customizations to the designer theme should be defined here */
Expand Down
30 changes: 15 additions & 15 deletions src/assets/components/themes/arya-orange/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,8 @@
}

.p-component {
font-family: inherit;
font-feature-settings: inherit;
font-family: var(--font-family);
font-feature-settings: var(--font-feature-settings, normal);
font-size: 1rem;
font-weight: normal;
}
Expand Down Expand Up @@ -210,9 +210,9 @@
}

.p-link {
font-family: var(--font-family);
font-feature-settings: var(--font-feature-settings, normal);
font-size: 1rem;
font-family: inherit;
font-feature-settings: inherit;
border-radius: 3px;
}
.p-link:focus-visible {
Expand Down Expand Up @@ -269,9 +269,9 @@
padding: 0.25rem 0;
}
.p-autocomplete .p-autocomplete-multiple-container .p-autocomplete-input-token input {
font-family: inherit;
font-feature-settings: inherit;
font-size: inherit;
font-family: var(--font-family);
font-feature-settings: var(--font-feature-settings, normal);
font-size: 1rem;
color: rgba(255, 255, 255, 0.87);
padding: 0;
margin: 0;
Expand Down Expand Up @@ -769,9 +769,9 @@
padding: 0.25rem 0;
}
.p-chips .p-chips-multiple-container .p-chips-input-token input {
font-family: inherit;
font-feature-settings: inherit;
font-size: inherit;
font-family: var(--font-family);
font-feature-settings: var(--font-feature-settings, normal);
font-size: 1rem;
color: rgba(255, 255, 255, 0.87);
padding: 0;
margin: 0;
Expand Down Expand Up @@ -1171,8 +1171,8 @@
}

.p-inputtext {
font-family: inherit;
font-feature-settings: inherit;
font-family: var(--font-family);
font-feature-settings: var(--font-feature-settings, normal);
font-size: 1rem;
color: rgba(255, 255, 255, 0.87);
background: #121212;
Expand Down Expand Up @@ -6353,9 +6353,9 @@
padding: 1rem;
}
.p-terminal .p-terminal-input {
font-family: inherit;
font-feature-settings: inherit;
font-size: inherit;
font-family: var(--font-family);
font-feature-settings: var(--font-feature-settings, normal);
font-size: 1rem;
}
}
/* Customizations to the designer theme should be defined here */
Expand Down
30 changes: 15 additions & 15 deletions src/assets/components/themes/arya-purple/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,8 @@
}

.p-component {
font-family: inherit;
font-feature-settings: inherit;
font-family: var(--font-family);
font-feature-settings: var(--font-feature-settings, normal);
font-size: 1rem;
font-weight: normal;
}
Expand Down Expand Up @@ -210,9 +210,9 @@
}

.p-link {
font-family: var(--font-family);
font-feature-settings: var(--font-feature-settings, normal);
font-size: 1rem;
font-family: inherit;
font-feature-settings: inherit;
border-radius: 3px;
}
.p-link:focus-visible {
Expand Down Expand Up @@ -269,9 +269,9 @@
padding: 0.25rem 0;
}
.p-autocomplete .p-autocomplete-multiple-container .p-autocomplete-input-token input {
font-family: inherit;
font-feature-settings: inherit;
font-size: inherit;
font-family: var(--font-family);
font-feature-settings: var(--font-feature-settings, normal);
font-size: 1rem;
color: rgba(255, 255, 255, 0.87);
padding: 0;
margin: 0;
Expand Down Expand Up @@ -769,9 +769,9 @@
padding: 0.25rem 0;
}
.p-chips .p-chips-multiple-container .p-chips-input-token input {
font-family: inherit;
font-feature-settings: inherit;
font-size: inherit;
font-family: var(--font-family);
font-feature-settings: var(--font-feature-settings, normal);
font-size: 1rem;
color: rgba(255, 255, 255, 0.87);
padding: 0;
margin: 0;
Expand Down Expand Up @@ -1171,8 +1171,8 @@
}

.p-inputtext {
font-family: inherit;
font-feature-settings: inherit;
font-family: var(--font-family);
font-feature-settings: var(--font-feature-settings, normal);
font-size: 1rem;
color: rgba(255, 255, 255, 0.87);
background: #121212;
Expand Down Expand Up @@ -6353,9 +6353,9 @@
padding: 1rem;
}
.p-terminal .p-terminal-input {
font-family: inherit;
font-feature-settings: inherit;
font-size: inherit;
font-family: var(--font-family);
font-feature-settings: var(--font-feature-settings, normal);
font-size: 1rem;
}
}
/* Customizations to the designer theme should be defined here */
Expand Down
30 changes: 15 additions & 15 deletions src/assets/components/themes/bootstrap4-dark-blue/theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,8 @@
}

.p-component {
font-family: inherit;
font-feature-settings: inherit;
font-family: var(--font-family);
font-feature-settings: var(--font-feature-settings, normal);
font-size: 1rem;
font-weight: normal;
}
Expand Down Expand Up @@ -210,9 +210,9 @@
}

.p-link {
font-family: var(--font-family);
font-feature-settings: var(--font-feature-settings, normal);
font-size: 1rem;
font-family: inherit;
font-feature-settings: inherit;
border-radius: 4px;
}
.p-link:focus-visible {
Expand Down Expand Up @@ -269,9 +269,9 @@
padding: 0.25rem 0;
}
.p-autocomplete .p-autocomplete-multiple-container .p-autocomplete-input-token input {
font-family: inherit;
font-feature-settings: inherit;
font-size: inherit;
font-family: var(--font-family);
font-feature-settings: var(--font-feature-settings, normal);
font-size: 1rem;
color: rgba(255, 255, 255, 0.87);
padding: 0;
margin: 0;
Expand Down Expand Up @@ -773,9 +773,9 @@
padding: 0.25rem 0;
}
.p-chips .p-chips-multiple-container .p-chips-input-token input {
font-family: inherit;
font-feature-settings: inherit;
font-size: inherit;
font-family: var(--font-family);
font-feature-settings: var(--font-feature-settings, normal);
font-size: 1rem;
color: rgba(255, 255, 255, 0.87);
padding: 0;
margin: 0;
Expand Down Expand Up @@ -1175,8 +1175,8 @@
}

.p-inputtext {
font-family: inherit;
font-feature-settings: inherit;
font-family: var(--font-family);
font-feature-settings: var(--font-feature-settings, normal);
font-size: 1rem;
color: rgba(255, 255, 255, 0.87);
background: #20262e;
Expand Down Expand Up @@ -6365,9 +6365,9 @@
padding: 1.25rem;
}
.p-terminal .p-terminal-input {
font-family: inherit;
font-feature-settings: inherit;
font-size: inherit;
font-family: var(--font-family);
font-feature-settings: var(--font-feature-settings, normal);
font-size: 1rem;
}
}
/* Vendor extensions to the designer enhanced bootstrap compatibility */
Expand Down
Loading

1 comment on commit 072b3b2

@vercel
Copy link

@vercel vercel bot commented on 072b3b2 Oct 3, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.