Giter Club home page Giter Club logo

themebuilder's Introduction

CircleCI

DevExtreme ThemeBuilder UI

The DevExtreme ThemeBuilder UI allows you to modify themes shipped with DevExtreme or create custom themes. This tool is available online.

If you need to run the ThemeBuilder UI locally, clone this repository and follow the instructions below.

Prerequisites

You will need Node.js 12.16 or higher and npm 5.5.1 or higher. The app is built using angular-cli. Run npm install @angular/cli -g to install it.

Install required packages and Launch

Run the following commands:

npm install
npm start

Go to http://localhost:4200/.

NOTE: The ThemeBuilder UI creates themes for the latest minor DevExtreme version. If you want to create a theme for a specific version, use the ThemeBuilder CLI.

themebuilder's People

Contributors

alexslavr avatar babich-a avatar bingorus avatar dokarus avatar dragonzcxv avatar dxvladislavvolkov avatar gooddayforsurf avatar groshenkovamarina avatar ibat avatar ivanblinov2k17 avatar khi-mik avatar magroshenkova avatar mpreyskurantov avatar olegkipchatov avatar pomahtri avatar romantsukanov avatar titerman avatar vasilystrelyaev avatar viterobk avatar

Stargazers

 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

themebuilder's Issues

Oldest supported version?

What's the oldest version of devextreme that this supports? I tried updating packages.json to get 15.1.15, but it says it can't find it.

Version 20.1.6 - excel export button issue with angular

I've updated my theme to version 20.1.6 (custom theme), the css output of the .dx-icon-export-excel-button is significantly different compared to how it used to be and the export icon is not found anymore showing a blank icon:
image

From my own analysis, the problem seems to be with that rule specifically:

.dx-datagrid-export-button .dx-icon-export-excel-button:before {
  content: "\f117";
}

while it previously was:

.dx-datagrid-export-button .dx-icon-export-excel-button:before {
    content: '\f060';
}

replacing that specific css part fixes the issue and the icon properly appears as intended:
image

Am I losing something or is it actually an issue?

Thanks.

Theme builder filter by feature doesn't consider theme items in filtering

Steps to Reproduce:

  1. Open theme builder by https://js.devexpress.com/ThemeBuilder/
  2. Type Accent in search bar

Results You Received:

Filter all properties and show that ones containing word "Accent" for example first one in Base Theming

Results You Expected:

It doesn't show anything

Note: Filter works for filtering "Data Grid" for example, which is not that useful, for example you want to change hover color, and you don't know where is it

What is the swatch option for?

I noticed that there is checkbox for save as swatch, but what does this do?

Also, a suggestion to improve this tool:

A CLI or library to generate the CSS based on metadata (without the Angular app).

Problems with DevExtreme ThemeBuilder "Metadata has a wrong format."

I want to import an existing Theme in the DevExtreme ThemeBuilder via metadata. I got the error message "Metadata has a wrong format."

In the browser console log I can see that there are some CORS mistakes:

       Access to XMLHttpRequest at 'https://js.devexpress.com/api/themebuilder/buildtheme' from origin 'https://devexpress.github.io' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.
main.862f94c9c5680e8be834.js:1 
        
       ERROR Error: Uncaught (in promise): n: {"headers":{"normalizedNames":{},"lazyUpdate":null,"headers":{}},"status":0,"statusText":"Unknown Error","url":"https://js.devexpress.com/api/themebuilder/buildtheme","ok":false,"name":"HttpErrorResponse","message":"Http failure response for https://js.devexpress.com/api/themebuilder/buildtheme: 0 Unknown Error","error":{"isTrusted":true}}
    at Lt (polyfills.a4090ea770c837a9e0e3.js:1:21843)
    at Lt (polyfills.a4090ea770c837a9e0e3.js:1:21339)
    at polyfills.a4090ea770c837a9e0e3.js:1:22722
    at w.invokeTask (polyfills.a4090ea770c837a9e0e3.js:1:12360)
    at Object.onInvokeTask (main.862f94c9c5680e8be834.js:1:2183353)
    at w.invokeTask (polyfills.a4090ea770c837a9e0e3.js:1:12281)
    at w.runTask (polyfills.a4090ea770c837a9e0e3.js:1:7380)
    at $t (polyfills.a4090ea770c837a9e0e3.js:1:14780)
    at w.invokeTask [as invoke] (polyfills.a4090ea770c837a9e0e3.js:1:13531)
    at J (polyfills.a4090ea770c837a9e0e3.js:1:27317)
R6e @ main.862f94c9c5680e8be834.js:1
js.devexpress.com/api/themebuilder/buildtheme:1 

       Failed to load resource: net::ERR_FAILED
        
       Access to XMLHttpRequest at 'https://js.devexpress.com/api/themebuilder/metadata' from origin 'https://devexpress.github.io' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
main.862f94c9c5680e8be834.js:1 
        
       ERROR Error: Uncaught (in promise): n: {"headers":{"normalizedNames":{},"lazyUpdate":null,"headers":{}},"status":0,"statusText":"Unknown Error","url":"https://js.devexpress.com/api/themebuilder/metadata","ok":false,"name":"HttpErrorResponse","message":"Http failure response for https://js.devexpress.com/api/themebuilder/metadata: 0 Unknown Error","error":{"isTrusted":true}}
    at Lt (polyfills.a4090ea770c837a9e0e3.js:1:21843)
    at Lt (polyfills.a4090ea770c837a9e0e3.js:1:21339)
    at polyfills.a4090ea770c837a9e0e3.js:1:22722
    at w.invokeTask (polyfills.a4090ea770c837a9e0e3.js:1:12360)
    at Object.onInvokeTask (main.862f94c9c5680e8be834.js:1:2183353)
    at w.invokeTask (polyfills.a4090ea770c837a9e0e3.js:1:12281)
    at w.runTask (polyfills.a4090ea770c837a9e0e3.js:1:7380)
    at $t (polyfills.a4090ea770c837a9e0e3.js:1:14780)
    at w.invokeTask [as invoke] (polyfills.a4090ea770c837a9e0e3.js:1:13531)
    at J (polyfills.a4090ea770c837a9e0e3.js:1:27317)
R6e @ main.862f94c9c5680e8be834.js:1
js.devexpress.com/api/themebuilder/metadata:1 

       Failed to load resource: net::ERR_FAILED
        
       Failed to load resource: the server responded with a status of 404 ()

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.