Update css variables

This commit is contained in:
Adina Țeudan 2023-08-23 18:13:15 +03:00
parent 03eb179298
commit 867037cc0a
2 changed files with 7 additions and 5 deletions

View File

@ -46,8 +46,6 @@ body {
--iqser-button-radius: 17px;
--iqser-button-font-size: 13px;
--iqser-button-height: 34px;
--iqser-font-family: 'some placeholder value that should be overridden when configuring a theme';
--iqser-app-name-font-family: 'some placeholder value that should be overridden when configuring a theme';
--iqser-app-name-font-size: 18px;
--iqser-logo-size: 28px;
--iqser-app-name-color: black;
@ -58,9 +56,13 @@ body {
--iqser-menu-padding-bottom: 24px;
--iqser-menu-min-height: 24px;
--iqser-menu-item-margin: 0 8px 2px 8px;
--iqser-inputs-height: 36px;
--iqser-textarea-padding-y: 7px;
--iqser-font-family: Inter, sans-serif;
--iqser-app-name-font-family: Inter, sans-serif;
}
$required-variables: 'iqser-font-family' 'iqser-primary';
$required-variables: 'iqser-primary';
@mixin checkRequiredVariables($args, $theme) {
@each $var in $required-variables {

View File

@ -201,8 +201,8 @@ iqser-dynamic-input {
textarea {
resize: vertical;
padding-top: 7px;
padding-bottom: 7px;
padding-top: var(--iqser-textarea-padding-y);
padding-bottom: var(--iqser-textarea-padding-y);
@include mixins.scroll-bar;
&.has-scrollbar {