Home
last modified time | relevance | path

Searched refs:styles (Results 1 – 25 of 409) sorted by relevance

12345678910>>...17

/third_party/node/deps/npm/node_modules/ansi-styles/
Dindex.js21 const styles = { variable
76 styles.color.grey = styles.color.gray;
78 for (const groupName of Object.keys(styles)) {
79 const group = styles[groupName];
84 styles[styleName] = { variable
89 group[styleName] = styles[styleName];
94 Object.defineProperty(styles, groupName, {
99 Object.defineProperty(styles, 'codes', {
108 styles.color.close = '\u001B[39m';
109 styles.bgColor.close = '\u001B[49m';
[all …]
Dreadme.md1 # ansi-styles [![Build Status](https://travis-ci.org/chalk/ansi-styles.svg?branch=master)](https://…
7 <img src="https://cdn.rawgit.com/chalk/ansi-styles/8261697c95bf34b6c7767e2cbe9941a851d59385/screens…
13 $ npm install ansi-styles
20 const style = require('ansi-styles');
94 By default, you get a map of styles, but the styles are also available as groups. They are non-enum…
118 `ansi-styles` uses the [`color-convert`](https://github.com/Qix-/color-convert) package to allow fo…
/third_party/node/deps/npm/node_modules/chalk/
Dtemplates.js66 function buildStyle(chalk, styles) { argument
69 for (const layer of styles) {
70 for (const style of layer.styles) {
94 const styles = []; variable
105 chunks.push(styles.length === 0 ? str : buildStyle(chalk, styles)(str));
106 styles.push({inverse, styles: parseStyle(style)}); property
108 if (styles.length === 0) {
112 chunks.push(buildStyle(chalk, styles)(chunk.join('')));
114 styles.pop();
122 if (styles.length > 0) {
[all …]
Dindex.js16 const styles = Object.create(null);
58 styles[key] = { variable
66 styles.visible = {
78 styles[model] = { variable
101 styles[bgModel] = { variable
117 const proto = Object.defineProperties(() => {}, styles);
224 Object.defineProperties(Chalk.prototype, styles);
/third_party/typescript/tests/baselines/reference/
DsymbolLinkDeclarationEmitModuleNamesImportRef.symbols2 import { styles } from "package-a";
3 >styles : Symbol(styles, Decl(index.ts, 0, 8))
8 return styles;
9 >styles : Symbol(styles, Decl(index.ts, 0, 8))
13 export declare const styles: import("styled-components").InterpolationValue[];
14 >styles : Symbol(styles, Decl(index.d.ts, 0, 20))
DrecursiveTypeRelations.types32 export function css<S extends { [K in keyof S]: string }>(styles: S, ...classNames: ClassNameArg<S>…
33 >css : <S extends { [K in keyof S]: string; }>(styles: S, ...classNames: ClassNameArg<S>[]) => stri…
34 >styles : S
39styles[arg]; } if (typeof arg == "object") { return Object.keys(arg).reduce<ClassNameOb…
43styles[arg]; } if (typeof arg == "object") { return Object.keys(arg).reduce<ClassNameOb…
60 return styles[arg];
61 >styles[arg] : S[keyof S & string]
62 >styles : S
72 …bj: ClassNameObject, key: keyof S) => { const exportedClassName = styles[key]; obj[e…
80 >(obj: ClassNameObject, key: keyof S) => { const exportedClassName = styles[key]; obj…
[all …]
DsymbolLinkDeclarationEmitModuleNamesImportRef.types2 import { styles } from "package-a";
3 >styles : import("tests/cases/compiler/Folder/node_modules/styled-components/typings/styled-compone…
8 return styles;
9 >styles : import("tests/cases/compiler/Folder/node_modules/styled-components/typings/styled-compone…
13 export declare const styles: import("styled-components").InterpolationValue[];
14 >styles : import("tests/cases/compiler/Folder/node_modules/styled-components/typings/styled-compone…
DrecursiveTypeRelations.js19 export function css<S extends { [K in keyof S]: string }>(styles: S, ...classNames: ClassNameArg<S>…
25 return styles[arg];
29 const exportedClassName = styles[key];
49 function css(styles) { argument
59 return styles[arg];
63 var exportedClassName = styles[key];
DsymbolLinkDeclarationEmitModuleNamesImportRef.js4 export declare const styles: import("styled-components").InterpolationValue[];
16 import { styles } from "package-a";
19 return styles;
29 return package_a_1.styles;
DcontrolFlowPropertyDeclarations.js142 styles = {}; field in StyleParser
144 for (var key in this.styles) {
145 if (!this.styles.hasOwnProperty(key)) {
283 this.styles = {};
285 for (var key in _this.styles) {
286 if (!_this.styles.hasOwnProperty(key)) {
DcontrolFlowPropertyDeclarations.types250 …|| parentTag === 'style') { // Ignore text content of textareas and styles, as it will have a…
277 // Ignore text content of textareas and styles, as it will have already been moved
352 * Handles parsing of inline styles
357 styles = {};
358 >styles : {}
363 >() => { for (var key in this.styles) { if (!this.styles.hasOwnProperty(key)) { } }…
365 for (var key in this.styles) {
367 >this.styles : {}
369 >styles : {}
371 if (!this.styles.hasOwnProperty(key)) {
[all …]
DcontrolFlowPropertyDeclarations.symbols205 // Ignore text content of textareas and styles, as it will have already been moved
261 * Handles parsing of inline styles
266 styles = {};
267 >styles : Symbol(StyleParser.styles, Decl(controlFlowPropertyDeclarations.ts, 139, 26))
272 for (var key in this.styles) {
274 >this.styles : Symbol(StyleParser.styles, Decl(controlFlowPropertyDeclarations.ts, 139, 26))
276 >styles : Symbol(StyleParser.styles, Decl(controlFlowPropertyDeclarations.ts, 139, 26))
278 if (!this.styles.hasOwnProperty(key)) {
279 >this.styles.hasOwnProperty : Symbol(Object.hasOwnProperty, Decl(lib.es5.d.ts, --, --))
280 >this.styles : Symbol(StyleParser.styles, Decl(controlFlowPropertyDeclarations.ts, 139, 26))
[all …]
DrecursiveTypeRelations.symbols58 export function css<S extends { [K in keyof S]: string }>(styles: S, ...classNames: ClassNameArg<S>…
63 >styles : Symbol(styles, Decl(recursiveTypeRelations.ts, 17, 58))
84 return styles[arg];
85 >styles : Symbol(styles, Decl(recursiveTypeRelations.ts, 17, 58))
102 const exportedClassName = styles[key];
104 >styles : Symbol(styles, Decl(recursiveTypeRelations.ts, 17, 58))
/third_party/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/
DReplaceableTest.java66 || tr.styles.hasMetaData()) { in check()
84 ReplaceableString styles; field in ReplaceableTest.TestReplaceable
90 TestReplaceable (String text, String styles) { in TestReplaceable() argument
94 if (styles != null && i < styles.length()) { in TestReplaceable()
95 s.append(styles.charAt(i)); in TestReplaceable()
104 this.styles = new ReplaceableString(s.toString()); in TestReplaceable()
108 return styles.toString(); in getStyles()
113 return chars.toString() + "{" + styles.toString() + "}"; in toString()
160 if (start != limit && styles.charAt(start) != NO_STYLE) { in fixStyles()
161 newStyle = styles.charAt(start); in fixStyles()
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/translit/
DReplaceableTest.java69 || tr.styles.hasMetaData()) { in check()
87 ReplaceableString styles; field in ReplaceableTest.TestReplaceable
93 TestReplaceable (String text, String styles) { in TestReplaceable() argument
97 if (styles != null && i < styles.length()) { in TestReplaceable()
98 s.append(styles.charAt(i)); in TestReplaceable()
107 this.styles = new ReplaceableString(s.toString()); in TestReplaceable()
111 return styles.toString(); in getStyles()
116 return chars.toString() + "{" + styles.toString() + "}"; in toString()
163 if (start != limit && styles.charAt(start) != NO_STYLE) { in fixStyles()
164 newStyle = styles.charAt(start); in fixStyles()
[all …]
/third_party/node/deps/npm/node_modules/ansistyles/
DREADME.md14 var styles = require('ansistyles');
16 console.log(styles.bright('hello world')); // prints hello world in 'bright' white
17 console.log(styles.underline('hello world')); // prints hello world underlined
18 console.log(styles.inverse('hello world')); // prints hello world black on white
28 var styles = require('ansistyles')
33 colors.bgGreen(colors.blue(styles.underline('hello world')))
45 …ttps://github.com/thlorenz/ansistyles/blob/master/ansistyles.js#L4-L15), more styles are available,
57 console.log(styles.underline('hell' + styles.reset('o') + ' world'));
63 console.log(styles.underline('hell') + styles.reset('') + 'o world');
Dansistyles.js27 , styles = {} variable
31 styles[k] = function (s) { function
38 module.exports = styles;
/third_party/icu/icu4c/source/test/intltest/
Dreptest.cpp43 UnicodeString styles; member in TestReplaceable
71 this->styles = s; in TestReplaceable()
75 return new TestReplaceable(chars, styles); in clone()
81 return styles; in getStyles()
87 s.append(styles); in toString()
125 if (start != limit && styles.charAt(start) != NO_STYLE) { in fixStyles()
126 newStyle = styles.charAt(start); in fixStyles()
128 newStyle = styles.charAt(start-1); in fixStyles()
129 } else if (limit < styles.length()) { in fixStyles()
130 newStyle = styles.charAt(limit); in fixStyles()
[all …]
/third_party/node/deps/npm/node_modules/ansistyles/test/
Dansistyles.js4 , styles = require('../') variable
10 assert.equal(styles.reset('reset'), '\u001b[0mreset\u001b[22m', 'reset')
11 assert.equal(styles.underline('underlined'), '\u001b[4munderlined\u001b[24m', 'underline')
12 assert.equal(styles.bright('bright'), '\u001b[1mbright\u001b[22m', 'bright')
13 assert.equal(styles.inverse('inversed'), '\u001b[7minversed\u001b[27m', 'inverse')
/third_party/icu/tools/multi/proj/provider/
Ddatediff.cpp51 UDateFormatStyle styles[] = { UDAT_FULL, UDAT_SHORT }; in main()
57 for(uint32_t s=0;s<sizeof(styles)/sizeof(styles[0]);s++) { in main()
77 UDateFormat *dat = udat_open(styles[s],styles[s], locID, NULL, -1, NULL, 0, &subStatus); in main()
/third_party/typescript/tests/cases/compiler/
DsymbolLinkDeclarationEmitModuleNamesImportRef.ts5 export declare const styles: import("styled-components").InterpolationValue[]; constant
17 import { styles } from "package-a";
20 return styles;
DrecursiveTypeRelations.ts18 export function css<S extends { [K in keyof S]: string }>(styles: S, ...classNames: ClassNameArg<S>…
24 return styles[arg];
28 const exportedClassName = styles[key];
/third_party/node/deps/npm/node_modules/colors/lib/
Dstyles.js26 var styles = {}; variable
27 module['exports'] = styles;
74 var style = styles[key] = [];
/third_party/node/test/sequential/
Dtest-util-debug.js72 const { colors, styles } = util.inspect;
74 const num = addCodes(colors[styles.number]);
75 const str = addCodes(colors[styles.string]);
76 const regexp = addCodes(colors[styles.regexp]);
/third_party/boost/libs/locale/src/icu/
Dpredefined_formatters.hpp38 static const icu::DateFormat::EStyle styles[4] = { in icu_formatters_cache() local
47 … hold_ptr<icu::DateFormat> fmt(icu::DateFormat::createDateInstance(styles[i],locale)); in icu_formatters_cache()
55 … hold_ptr<icu::DateFormat> fmt(icu::DateFormat::createTimeInstance(styles[i],locale)); in icu_formatters_cache()
65 icu::DateFormat::createDateTimeInstance(styles[i],styles[j],locale)); in icu_formatters_cache()

12345678910>>...17