primefaces / primevue-sass-theme

PrimeVue Theming with SASS
https://primevue.org/theming/#customtheme
MIT License
67 stars 38 forks source link

Undefined variable inputFocusOutlineOffset #45

Closed jrozanski closed 7 months ago

jrozanski commented 8 months ago

There appears to be only one theme, the aura-light that provides this variable, but it is required in the base theme.

ERROR  [sass] Undefined variable.
outline-offset: $inputFocusOutlineOffset;
                ^^^^^^^^^^^^^^^^^^^^^^^^
assets/css/theme-base/_mixins.scss 21:21                         focused-input()
cmavelis commented 8 months ago

note that this breaks when following the "Compile SCSS Manually" portion of the docs

flipping through compiled themes, seems like this value should default to 0 somewhere in the base theme

tugcekucukoglu commented 7 months ago

Fixed internally.

Thank you!

MikaelFields commented 6 months ago

this variable "$inputFocusOutlineOffset" seems to be absent in https://github.com/primefaces/primeng-sass-theme/releases/tag/17.12.0, I cannot make my project work :(

SeanW22 commented 5 months ago

I'm having the same issue as @MikaelFields after:
"sass --update primeng-theme\themes\mytheme\theme.scss:Dev\theme.css"

Error: Undefined variable. ╷ 21 │ outline-offset: $inputFocusOutlineOffset; │ ^^^^^^^^^^^^^^^^^^^^^^^^ ╵ ....\primeng-theme\theme-base_mixins.scss 21:21 focused-input() ....\primeng-theme\theme-base\components\input_autocomplete.scss 22:13 @import ....\primeng-theme\theme-base_components.scss 10:13 @import ....\primeng-theme\themes\mytheme\theme.scss 3:9 root stylesheet