标签: themes

如何获取主题标签页的颜色

在具有XP及以上主题的操作系统上运行时,如何确定TTabSheet的背景颜色?

delphi themes ttabsheet

0
推荐指数
1
解决办法
1140
查看次数

全局CSS颜色方案/皮肤

我正在使用需要可换肤/可品牌的CSS构建网站.在技​​术方面,对于每个"品牌",我在数据库中有一组五个颜色值.

我想要做的是构建CSS文件,以便整个网站的颜色方案统一,颜色被重用,所以我可以在一个地方更改值,它会改变整个网站.这个概念看起来像这样:

.SiteBaseColor {color:sienna;}

p {font-size:50; 颜色:SiteBaseColor;}

有没有办法完成这样的事情?

css themes colors skinning

0
推荐指数
1
解决办法
1814
查看次数

Actionbarsherlock背景图像

在覆盖ActionBarSherlock样式时遇到一些麻烦,希望有人可以提供帮助.我创建了一个像这样的drawable:

(在res/drawable/actionbar_background.xml中)

<?xml version="1.0" encoding="utf-8"?>
<bitmap xmlns:android="http://schemas.android.com/apk/res/android"
    android:src="@drawable/bg"
    android:tileMode="repeat" />
Run Code Online (Sandbox Code Playgroud)

然后在我的应用程序的样式文件中(在res/values/style.xml中)

<?xml version="1.0" encoding="utf-8"?>
<resources>
    <style name="ActionBar" parent="@android:style/Widget.Holo.ActionBar">
    <item name="android:background">@drawable/actionbar_background</item>
</style>
<style name="my_theme" parent="@style/Theme.Sherlock.Light">
        <item name="android:actionBarStyle">@style/ActionBar</item>
    </style>
</resources>
Run Code Online (Sandbox Code Playgroud)

结果是拾取了Theme.Sherlock.Light样式(如果我交换了Theme.Sherlock.Light样式),但是我没有对动作栏的背景本身进行任何样式更改.

谢谢

android themes actionbarsherlock

0
推荐指数
2
解决办法
7576
查看次数

如何更改标题栏中标题的颜色

在我的应用程序中,我试图改变标题的颜色.为此,我在app.scss文件中添加了一些主题.我可以更改标题栏的背景颜色.但标题的颜色并没有改变.我的app.scss文件是这样的:

    $base-color: #588aad; // go big blue!$include_default_icons: false;
@import 'sencha-touch/default/all';
@include sencha-panel;
@include sencha-buttons;
@include sencha-sheet;
@include sencha-picker;
@include sencha-tabs;
@include sencha-toolbar;
@include sencha-toolbar-forms;
@include sencha-indexbar;
@include sencha-list;
@include sencha-layout;
@include sencha-form;
@include sencha-msgbox;
@include sencha-loading-spinner;


@include pictos-iconmask("bookmarks");
@include pictos-iconmask("compose");
@include pictos-iconmask("trash");
@include pictos-iconmask("search");
@include pictos-iconmask("bookmark2");


@include sencha-toolbar-ui('blue', #EEEEEE,'matte');
.x-toolbar .x-toolbar-title {
    color: #5a3d23;
}
Run Code Online (Sandbox Code Playgroud)

这是我的面板代码:

  Ext.define('MyApp.view.TitlePanel', {
    extend: 'Ext.Panel',

    config: {
        modal: false,
        items: [
            {
                xtype: 'titlebar',
                docked: 'top',
                height: 120,
                ui: 'blue',
                title: 'Teritree Bussiness Portal',
                items: …
Run Code Online (Sandbox Code Playgroud)

themes sencha-touch sencha-touch-2

0
推荐指数
1
解决办法
1万
查看次数

如何将背景设置为黑色

我将活动主题设置为光明.

android:theme="@android:style/Theme.Light.NoTitleBar"
Run Code Online (Sandbox Code Playgroud)

我将布局背景设置为0x000000.
它会显示灰色.
如何让它变黑?

我将下面的行设置为color.xml.
#000000设置如下:

ll.setBackgroundColor(R.color.black);
Run Code Online (Sandbox Code Playgroud)

ll是LinearLayout.

android themes

0
推荐指数
1
解决办法
1万
查看次数

为HTML5 Blank创建子主题

我刚刚在我的WordPress安装上安装了HTML5 Blank主题.

http://html5blank.com/

我试图使用WordPress codex上显示的@import方法为它创建一个子主题.

/*
Theme Name: html5blank-child
Description: Child theme for HTML5 Blank
Template: html5blank-stable
Author: James
*/

@import url("../html5blank-stable/style.css");
Run Code Online (Sandbox Code Playgroud)

它不起作用,我添加到子主题的任何CSS都不会覆盖父级.

救命!

詹姆士

wordpress html5 themes

0
推荐指数
1
解决办法
4015
查看次数

从源代码编译:无法在magento2中的uber工艺主题的静态内容部署中读取文件中的内容

我已经安装了magento2并尝试配置超级工艺主题,但是当我尝试运行magneto命令来部署静态内容时.它显示新主题的错误,而默认主题显示没有错误.错误如下.

=== frontend -> UberTheme/craft -> en_US ===
...............................................................
...............................................................
...............................................................
...............................................................
...............................................................
...............................................................
...............................................................
...........................................
Compilation from source:
frontend/UberTheme/craft/en_US/css/styles-l.less
Cannot read contents from file "C:/xampp/htdocs/Magento/" >
Run Code Online (Sandbox Code Playgroud)

我正在执行下面的命令

C:\ xampp\htdocs\Magento> php bin/magento setup:static-content:deploy

php deployment themes static-content magento-2.0

0
推荐指数
1
解决办法
3070
查看次数

在WIX安装程序中自定义对话框图像和横幅图像

我在我的C#windows窗体应用程序中创建了wix安装程序项目.

我是使用wix Toolset的新手.我想知道是否有类似主题文件的内容,我可以从中更改对话框图像和横幅图像,因为我需要为不同的客户分发此安装程序,我应该设置其徽标的外观和感觉.我希望他们觉得这个安装程序是专门为他们定制的.

我的意思是,我不想每次都从.wxs文件内部更改对话框图像和横幅图像.我想可能有类似.theme文件的东西,每次我需要更改它时我都可以设置图像.

installer themes wix

0
推荐指数
1
解决办法
2795
查看次数

未添加Prestashop 1.7 JS文件

使用Prestashop 1.7并更新了我的theme.yml文件,如下所示,但未添加到文件中。该文件位于该目录中,但没有被拉入。对代码有任何建议吗?我想包含JS文件,但没有被拉入。

assets:
  # If you're using this theme as child and you want to load
  # the parent theme assets, uncomment this line.
  # use_parent_assets: true

  # The following lines are showing how to load assets in your page
  # Uncomment and change value to start loading css or js files
 css:
   all:
     - id: theme-custom
       path: assets/css/custom.css
#    product:
#      - id: product-style
#        path: assets/css/product.css
#        media: all
#        priority: 200
 js:
   all:
      - id: slick
        path: …
Run Code Online (Sandbox Code Playgroud)

themes yaml prestashop prestashop-1.7

0
推荐指数
1
解决办法
3025
查看次数

材质UI:无法更改主题中的按钮文本颜色

我在Material UI主题中直接更改按钮文本颜色时遇到问题.更改原色+按钮字体大小工作正常,所以问题不在于传递主题.这是我的代码:

import React from 'react';
import { MuiThemeProvider, createMuiTheme } from 'material-ui/styles';
import { lightBlue } from 'material-ui/colors';
import styled from 'styled-components';

const theme = createMuiTheme({
  palette: {
    primary: lightBlue, // works
  },
  raisedButton: {
    color: '#ffffff', // doesn't work
  },
  typography: {
    button: {
      fontSize: 20, // works
      color: '#ffffff' // doesn't work
    }
  }
});

const App = ({ user, pathname, onToggleDrawer }) => (
  <MuiThemeProvider theme={theme}>
    ...
  </MuiThemeProvider>
);
Run Code Online (Sandbox Code Playgroud)

我也尝试使用导入的颜色而不是#ffffff,但这也没有效果.

有人有任何想法吗?

themes colors button material-ui

0
推荐指数
3
解决办法
9169
查看次数