Giter VIP home page Giter VIP logo

primevue-sass-theme's People

Contributors

cagataycivici avatar chu121su12 avatar dahjson avatar mertsincan avatar onursenture avatar soydiego avatar tugcekucukoglu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

primevue-sass-theme's Issues

Colors and !default

The $colors lists do not have a !default tag in most (if not all) themes which makes it impossible to change the colors without copying the whole variables file and base theme.

It would be great if this tag is added so it can be modified like every other variable in the variables file.

Example:

$colors: (
"blue": #2196F3,
"green": #689F38,
"yellow": #FBC02D,
"cyan": #00BCD4,
"pink": #E91E63,
"indigo": #4E5FBB,
"teal": #009688,
"orange": #FF9800,
"bluegray": #607D8B,
"purple": #9C27B0,
"red": #F44336,
"primary": $primaryColor
);

Proposed changes:

     "red": #F44336,
     "primary": $primaryColor
-);
+) !default;

Undefined variable inputFocusOutlineOffset

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()

Improve Lara dark colors

In dark mode, hover and active colors of primary color e.g. on button should lighten instead of darken.

primary button focus ring missing for `mytheme`

Not sure if this is a bug or not.

I just updated to version 3.47.2 (from 3.44.0), and now my primary buttons don't have a focus ring when they are pressed (has the :focus state active), but the Secondary, Info, Warning, etc buttons still do.

They have the SCSS like below inside the theme-base\components\button\_button.scss file

    &:not(:disabled):focus {
        box-shadow: $secondaryButtonFocusShadow;
    }

I noticed that the non-primary buttons have rules that target the :focus state, but the primary button does not have this rule. It looks like this commit changed it to be :focus-visible : 08026c0

Flipping around the themes on https://primevue.org/button/ it looks like the Aura themes do not have this focus ring, but the Lara theme does.

It seems like the mytheme editable base is maybe broken? Or is the intent to manually set the focus ring for the primary button when using the mytheme ?

Question: new theming approach

Hello folks!

I am reaching out to ask you if there would be a possibility to see a spoiler of how the new theming approach will be?

The reason is that in my team we are starting to build a component library based on prime vue.
We are literally just starting, and in the phase of understanding how the sass-theme structure works, and configuring the tokens etc.

I just watched this video: https://youtu.be/iZp_l0Yl3Zw?t=829

Where you explains high level that the new theming will use only css variables, and be backwards compatible.

As we are just starting, we could perhaps start with the "new approach" or have a temporal thing that allow us to migrate to the new way sooner. And that is the reason why I am asking if there was some doc, diagram, or a bit more insights about how the new theming will work?

Could be a nice opportunity to get early feedback from early adopters :)

Thank you for your work on this!
Daniela

NPM release

I dont know if this is meant to go on npm, but the fact that this exists makes it a little confusing. Maybe @riad-rymexp can chime in as well.

Some classes are missing from theme-base

primevue/resources/primevue.css from the the original package has some classes that are missing from this repository. for example .p-hidden-accessible or .p-overflow-hidden , so you still need to import /node_modules/primevue/resources/primevue.min.css in parallel with your theme.

I'm not sure this is intentional, but in the tutorial video (Create your own PrimeVue Themes) there is no mentioning of this.

Both versions are at 3.26 on my local.

SVG: icon width & height fixes

  • Galleria
  • Image
  • Message
  • Toast
  • Password
  • DataTable
  • Tree
  • TreeTable
  • SpeedDial
  • Rating
  • ContextMenu
  • TieredMenu
  • ScrollTop
  • Tag
  • ConfirmPopup
  • Checkbox

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.