Giter Club home page Giter Club logo

Comments (9)

murbanowicz avatar murbanowicz commented on July 21, 2024 2

@EmilMoe I think @JonasDoebertin is looking to provide easy customization as it is on his check list, so we have to wait.

from keen-ui.

JosephusPaye avatar JosephusPaye commented on July 21, 2024 1

Hey @nivv, that is a problem with stylus-loader. To fix, run:

npm install stylus@latest stylus-loader@latest

Then build the project or run dev.

from keen-ui.

JosephusPaye avatar JosephusPaye commented on July 21, 2024

At the moment there is no easy way to customize the colors in the built files. That's something I hope to have before 1.0.

For now, you can build from source:

  1. Clone the repo:

    git clone [email protected]:JosephusPaye/keen-ui.git
  2. Move into the cloned folder and install the dependencies:

    cd keen-ui && npm install
  3. Customize the variables in the keen-ui/src/styles/variables.styl file. The $md-brand-primary and $md-brand-accent are the primary and secondary colors, respectively.

  4. Build (compile) the project:

    npm run build:all
  5. The keen-ui/dist/keen-ui.css and keen-ui/dist/min/keen-ui.min.css as well as the standalone component files in lib/ should now reflect your changes.

  6. To quickly test your changes, you can build the docs and then open the docs/index.html in your browser.

    npm run clean:docs && npm run build:docs

from keen-ui.

EmilMoe avatar EmilMoe commented on July 21, 2024

Since it isn't scoped it should be possible to override at least with !important

from keen-ui.

EmilMoe avatar EmilMoe commented on July 21, 2024

I'm not customizing it at the moment, but it sounds good !

from keen-ui.

nivv avatar nivv commented on July 21, 2024

I can't build the project. I've downloaded as zip from github and ran the commands above.

Getting the following:

Path must be a string. Received undefined

    at assertPath (path.js:7:11)
    at extname (path.js:1433:5)
    at new SourceMapper (/Users/albin/Desktop/keen/node_modules/stylus/lib/visitor/sourcemapper.js:41:7)
    at Renderer.render (/Users/albin/Desktop/keen/node_modules/stylus/lib/renderer.js:94:9)
    at /Users/albin/Desktop/keen/node_modules/stylus-loader/index.js:149:12
    at tryCatchReject (/Users/albin/Desktop/keen/node_modules/when/lib/makePromise.js:840:30)
    at runContinuation1 (/Users/albin/Desktop/keen/node_modules/when/lib/makePromise.js:799:4)
    at Fulfilled.when (/Users/albin/Desktop/keen/node_modules/when/lib/makePromise.js:590:4)
    at Pending.run (/Users/albin/Desktop/keen/node_modules/when/lib/makePromise.js:481:13)
    at Scheduler._drain (/Users/albin/Desktop/keen/node_modules/when/lib/Scheduler.js:62:19)
    at Scheduler.drain (/Users/albin/Desktop/keen/node_modules/when/lib/Scheduler.js:27:9)
    at _combinedTickCallback (internal/process/next_tick.js:67:7)
    at process._tickCallback (internal/process/next_tick.js:98:9)
 @ ./src/UiTabHeaderItem.vue 2:0-234

from keen-ui.

nivv avatar nivv commented on July 21, 2024

@JosephusPaye Thanks! That worked!

from keen-ui.

JosephusPaye avatar JosephusPaye commented on July 21, 2024

A Customization guide has been added for v1.0 which shows how to change the primary and accent colors, and more.

from keen-ui.

nivv avatar nivv commented on July 21, 2024

@JosephusPaye thanks! Just a heads up, broken link in the new docs:

https://github.com/JosephusPaye/Keen-UI/blob/master/docs/Customization.md#customization

from keen-ui.

Related Issues (20)

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.