Coder Social home page Coder Social logo

material's Introduction

cuba-platform material theme

migrate from appreciated/material

How to install

modify build.gradle

  • add jitpack.io to repositories
   repositories {
        maven {
            url 'https://dl.bintray.com/cuba-platform/main'
        }
        maven { url 'https://jitpack.io' } // <-add
        jcenter()
    }
  • add com.github.chenjiajia:material:0.2.4 to webModule config
configure(webModule) {
    configurations {
        webcontent
    }

    dependencies {
        compileOnly(servletApi)
        compile(globalModule)
        compile('com.github.chenjiajia:material:0.2.4') // <-add
        themes('com.github.chenjiajia:material:0.2.4') //<- add
    }

create theme extension and modify to extend material theme

  • Create Theme Extension and modify dir name to material
  • modify styles.scss
@import "material.scss";  // <- change first line 
@import "you.packge.names/halo-ext-defaults";
@import "app-components";
@import "you.packge.names/halo-ext";

.material {     // <-change to 
  @include material; // <-change to
}

modify web-app.properties

 cuba.web.theme = material
 cuba.themeConfig= /material/material-theme.properties com/haulmont/cuba/havana-theme.properties com/haulmont/cuba/halo-theme.properties com/haulmont/cuba/hover-theme.properties

gallery

login user userdetail entitylog.png

material's People

Contributors

yiliuyan161 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

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.