Home
last modified time | relevance | path

Searched refs:theme (Results 1 - 24 of 24) sorted by relevance

/third_party/node/deps/npm/node_modules/gauge/lib/
H A Dindex.js50 this._theme = options.theme
51 var theme = this._computeTheme(options.theme)
60 this._gauge = new PlumbingClass(theme, template, this.getWidth())
87 Gauge.prototype._computeTheme = function (theme) {
88 if (!theme) {
89 theme = {}
91 if (typeof theme === 'string') {
92 theme = this._themes.getTheme(theme)
[all...]
H A Dplumbing.js6 var Plumbing = module.exports = function (theme, template, width) {
10 validate('OAN', [theme, template, width])
12 this.theme = theme
18 Plumbing.prototype.setTheme = function (theme) {
19 validate('O', [theme])
20 this.theme = theme
42 var values = Object.create(this.theme)
H A Dtheme-set.js9 ThemeSetProto.baseTheme = require('./base-theme.js')
11 ThemeSetProto.newTheme = function (parent, theme) {
12 if (!theme) {
13 theme = parent
16 return Object.assign({}, parent, theme)
23 ThemeSetProto.addTheme = function (name, parent, theme) {
24 this.themes[name] = this.newTheme(parent, theme)
27 ThemeSetProto.addToAllThemes = function (theme) {
30 Object.assign(themes[name], theme)
32 Object.assign(this.baseTheme, theme)
[all...]
/third_party/python/Lib/tkinter/test/test_ttk/
H A Dtest_style.py111 for theme in self.style.theme_names():
112 if theme != curr_theme:
113 new_theme = theme
114 self.style.theme_use(theme)
117 # just one theme available, can't go on with tests
131 for theme in self.style.theme_names():
132 self.style.theme_use(theme)
137 with self.subTest(theme=theme, name=name):
139 print('configure', theme, nam
[all...]
/third_party/python/Lib/idlelib/
H A Dcolorizer.py88 theme = idleConf.CurrentTheme()
89 normal_colors = idleConf.GetHighlight(theme, 'normal')
90 cursor_color = idleConf.GetHighlight(theme, 'cursor')['foreground']
91 select_colors = idleConf.GetHighlight(theme, 'hilite')
163 theme = idleConf.CurrentTheme()
165 "COMMENT": idleConf.GetHighlight(theme, "comment"),
166 "KEYWORD": idleConf.GetHighlight(theme, "keyword"),
167 "BUILTIN": idleConf.GetHighlight(theme, "builtin"),
168 "STRING": idleConf.GetHighlight(theme, "string"),
169 "DEFINITION": idleConf.GetHighlight(theme, "definitio
[all...]
H A Dconfig.py274 def GetHighlight(self, theme, element):
275 """Return dict of theme element highlight colors.
280 cfg = ('default' if self.defaultCfg['highlight'].has_section(theme)
282 theme_dict = self.GetThemeDict(cfg, theme)
292 type - string, 'default' or 'user' theme type
293 themeName - string, theme name
295 that all theme elements are present in a newly created theme.
302 raise InvalidTheme('Invalid theme type specified')
303 # Provide foreground and background colors for each theme
[all...]
H A Dbrowser.py123 theme = idleConf.CurrentTheme()
124 background = idleConf.GetHighlight(theme, 'normal')['background']
H A Dconfigdialog.py75 # Each theme element key is its display name.
475 concerned. Any theme can be used as the base for a new custom
476 theme, stored in .idlerc/config-highlight.cfg.
478 Function load_theme_cfg() initializes tk variables and theme
480 for the current theme. Radiobuttons builtin_theme_on and
482 current set of colors are from a builtin or custom theme.
487 Function paint_theme_sample() applies the colors from the theme
500 paint_theme_sample() (theme is changed or load_cfg is called), and
504 a custom theme from idleConf.userCfg['highlight'] and changes.
506 get_new_theme_name() and create_new() to save a custom theme
[all...]
H A Dtree.py278 theme = idleConf.CurrentTheme()
280 self.label.configure(idleConf.GetHighlight(theme, 'hilite'))
282 self.label.configure(idleConf.GetHighlight(theme, 'normal'))
H A Dpyshell.py168 theme = idleConf.CurrentTheme()
169 cfg = idleConf.GetHighlight(theme, "break")
651 theme = idleConf.CurrentTheme()
652 background = idleConf.GetHighlight(theme, 'normal')['background']
969 theme = idleConf.CurrentTheme()
972 "stdout": idleConf.GetHighlight(theme, "stdout"),
973 "stderr": idleConf.GetHighlight(theme, "stderr"),
974 "console": idleConf.GetHighlight(theme, "normal"),
/third_party/typescript/tests/baselines/reference/
H A DcontrolFlowCaching.js7 var o = this.opt, ta = this.chart.theme.axis, position = o.position,
10 labelGap = this.chart.theme.axis.tick.labelGap,
17 taMajorTick = this.chart.theme.getTick("major", o),
18 taMinorTick = this.chart.theme.getTick("minor", o),
19 taMicroTick = this.chart.theme.getTick("micro", o),
75 var o = this.opt, ta = this.chart.theme.axis, position = o.position, leftBottom = position !== "rightOrTop", rotation = o.rotation % 360, start, stop, titlePos, titleRotation = 0, titleOffset, axisVector, tickVector, anchorOffset, labelOffset, labelAlign, labelGap = this.chart.theme.axis.tick.labelGap, taFont = o.font || (ta.majorTick && ta.majorTick.font) || (ta.tick && ta.tick.font), taTitleFont = o.titleFont || (ta.title && ta.title.font), taFontColor = o.fontColor || (ta.majorTick && ta.majorTick.fontColor) || (ta.tick && ta.tick.fontColor) || "black", taTitleFontColor = o.titleFontColor || (ta.title && ta.title.fontColor) || "black", taTitleGap = (o.titleGap == 0) ? 0 : o.titleGap || (ta.title && ta.title.gap) || 15, taTitleOrientation = o.titleOrientation || (ta.title && ta.title.orientation) || "axis", taMajorTick = this.chart.theme.getTick("major", o), taMinorTick = this.chart.theme.getTick("minor", o), taMicroTick = this.chart.theme
[all...]
/third_party/node/deps/npm/node_modules/@colors/colors/lib/
H A DextendStringPrototype.js53 function applyTheme(theme) {
68 Object.keys(theme).forEach(function(prop) {
74 if (typeof(theme[prop]) === 'string') {
75 colors[prop] = colors[theme[prop]];
82 for (var t = 0; t < theme[prop].length; t++) {
83 ret = colors[theme[prop][t]](ret);
96 colors.setTheme = function(theme) {
97 if (typeof theme === 'string') {
99 'If you are trying to set a theme from a file, it is now your (the ' +
107 applyTheme(theme);
[all...]
H A Dcolors.js147 colors.setTheme = function(theme) {
148 if (typeof theme === 'string') {
150 'If you are trying to set a theme from a file, it is now your (the ' +
158 for (var style in theme) {
161 if (typeof theme[style] === 'object') {
163 for (var i in theme[style]) {
164 out = colors[theme[style][i]](out);
168 return colors[theme[style]](str);
/third_party/toybox/kconfig/lxdialog/
H A Dutil.c155 * Select color theme
157 static int set_theme(const char *theme) in set_theme() argument
160 if (!theme) in set_theme()
162 else if (strcmp(theme, "classic") == 0) in set_theme()
164 else if (strcmp(theme, "bluetitle") == 0) in set_theme()
166 else if (strcmp(theme, "blackbg") == 0) in set_theme()
168 else if (strcmp(theme, "mono") == 0) in set_theme()
222 static void color_setup(const char *theme) in color_setup() argument
224 if (set_theme(theme)) { in color_setup()
/third_party/vk-gl-cts/external/vulkan-docs/src/config/
H A Drouge-extend-css.rb5 # Khronos overrides for Rouge 'github' theme CSS for accessibility.
15 # Then replace many 'github' theme colors for accessibility compliance
19 /* Khronos overrides for Rouge 'github' theme for accessibility */
20 /* Basically everything is overridden, but it is unclear how to add a new Rouge theme */
/third_party/python/Lib/idlelib/idle_test/
H A Dtest_sidebar.py70 def mock_idleconf_GetHighlight(theme, element):
73 return orig_idleConf_GetHighlight(theme, element)
654 def mock_idleconf_GetHighlight(theme, element):
657 return orig_idleConf_GetHighlight(theme, element)
H A Dtest_codecontext.py86 def mock_idleconf_GetHighlight(theme, element):
89 return orig_idleConf_GetHighlight(theme, element)
H A Dtest_colorizer.py118 # Uses IDLE Classic theme as default.
206 highlight = partial(config.idleConf.GetHighlight, theme='IDLE Classic')
216 highlight = partial(config.idleConf.GetHighlight, theme='IDLE Classic')
H A Dtest_configdialog.py303 # Use builtin theme with no user themes created.
315 # Builtin theme with non-empty user theme list.
325 # Use custom theme.
370 eq(d.theme_message['text'], 'New theme, see Help')
378 eq(d.theme_message['text'], 'New theme, see Help')
503 # Builtin theme selected.
510 # Custom theme selected.
542 # Default theme.
546 # No theme nam
[all...]
/third_party/python/Doc/
H A Dmake.bat24 echo Installing python-docs-theme with %PYTHON%
25 %PYTHON% -m pip install python-docs-theme
/third_party/node/deps/npm/node_modules/npmlog/lib/
H A Dlog.js45 theme: { hasColor: log.useColor() },
/third_party/ffmpeg/tests/fate/
H A Dadpcm.mak116 fate-adpcm-ima-alp-stereo: CMD = md5 -i $(TARGET_SAMPLES)/alp/theme-cut.tun -f s16le
/third_party/glfw/src/
H A Dx11_window.c2953 char* theme = XcursorGetTheme(_glfw.x11.display); in _glfwCreateStandardCursorX11() local
2954 if (theme) in _glfwCreateStandardCursorX11()
2993 XcursorImage* image = XcursorLibraryLoadImage(name, theme, size); in _glfwCreateStandardCursorX11()
H A Dwl_window.c1492 struct wl_cursor_theme* theme = _glfw.wl.cursorTheme; in pointerHandleMotion() local
1498 // requires us to load a different theme for each size. in pointerHandleMotion()
1500 theme = _glfw.wl.cursorThemeHiDPI; in pointerHandleMotion()
1503 struct wl_cursor* cursor = wl_cursor_theme_get_cursor(theme, cursorName); in pointerHandleMotion()

Completed in 20 milliseconds