File tree Expand file tree Collapse file tree 12 files changed +20
-22
lines changed Expand file tree Collapse file tree 12 files changed +20
-22
lines changed Original file line number Diff line number Diff line change @@ -461,20 +461,18 @@ h1 .category {
461
461
}
462
462
463
463
.feature {
464
- padding : 2px 4px ;
465
- font-size : 12px ;
466
- border-radius : 4px ;
467
- background-color : # 999 ;
468
- text-transform : uppercase;
469
- color : white;
470
- opacity : .5 ;
471
- }
464
+ display : inline-block;
465
+ background : white;
466
+ border : 1px solid # 0175c2 ;
467
+ border-radius : 20px ;
468
+ color : # 0175c2 ;
472
469
473
- .feature .feature-nnbd {
474
- background-color : # 8d36ad ;
470
+ font-size : 12px ;
471
+ padding : 1px 6px ;
472
+ margin : 0 8px 0 0 ;
475
473
}
476
474
477
- feature . category {
475
+ h1 . feature {
478
476
vertical-align : middle;
479
477
}
480
478
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ mixin FeatureSet {
18
18
// legacy interfaces.
19
19
if (isNNBD) {
20
20
yield LanguageFeature (
21
- 'nnbd ' , packageGraph.rendererFactory.featureRenderer);
21
+ 'Null safety ' , packageGraph.rendererFactory.featureRenderer);
22
22
}
23
23
}
24
24
Original file line number Diff line number Diff line change 5
5
import 'package:dartdoc/src/render/feature_renderer.dart' ;
6
6
7
7
const Map <String , String > _featureDescriptions = {
8
- 'nnbd ' : 'This interface is non-nullable by default .' ,
8
+ 'Null safety ' : 'Supports the null safety language feature .' ,
9
9
};
10
10
11
11
/// An abstraction for a language feature; used to render tags to notify
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ <h5>{{parent.name}} {{parent.kind}}</h5>
8
8
9
9
< div id ="dartdoc-main-content " class ="col-xs-12 col-sm-9 col-md-8 main-content ">
10
10
{{#self}}
11
- < div > {{> source_link}}< h1 > < span class ="kind-class "> {{{nameWithGenerics}}}</ span > {{kind}} {{> categorization }} {{> feature_set }}</ h1 > </ div >
11
+ < div > {{> source_link}}< h1 > < span class ="kind-class "> {{{nameWithGenerics}}}</ span > {{kind}} {{> feature_set }} {{> categorization }}</ h1 > </ div >
12
12
{{/self}}
13
13
14
14
{{#clazz}}
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ <h5>{{parent.name}} {{parent.kind}}</h5>
8
8
9
9
< div id ="dartdoc-main-content " class ="col-xs-12 col-sm-9 col-md-8 main-content ">
10
10
{{#self}}
11
- < div > {{> source_link}}< h1 > < span class ="kind-enum "> {{{name}}}</ span > {{kind}} {{> categorization }} {{> feature_set }}</ h1 > </ div >
11
+ < div > {{> source_link}}< h1 > < span class ="kind-enum "> {{{name}}}</ span > {{kind}} {{> feature_set }} {{> categorization }}</ h1 > </ div >
12
12
{{/self}}
13
13
14
14
{{#eNum}}
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ <h5>{{parent.name}} {{parent.kind}}</h5>
8
8
9
9
< div id ="dartdoc-main-content " class ="col-xs-12 col-sm-9 col-md-8 main-content ">
10
10
{{#self}}
11
- < div > {{> source_link}}< h1 > < span class ="kind-class "> {{{nameWithGenerics}}}</ span > {{kind}} {{> categorization }} {{> feature_set }}</ h1 > </ div >
11
+ < div > {{> source_link}}< h1 > < span class ="kind-class "> {{{nameWithGenerics}}}</ span > {{kind}} {{> feature_set }} {{> categorization }}</ h1 > </ div >
12
12
{{/self}}
13
13
14
14
{{#extension}}
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ <h5>{{parent.name}} {{parent.kind}}</h5>
8
8
9
9
< div id ="dartdoc-main-content " class ="col-xs-12 col-sm-9 col-md-8 main-content ">
10
10
{{#self}}
11
- < div > {{> source_link}}< h1 > < span class ="kind-function "> {{{nameWithGenerics}}}</ span > {{kind}} {{> categorization }} {{> feature_set }}</ h1 > </ div >
11
+ < div > {{> source_link}}< h1 > < span class ="kind-function "> {{{nameWithGenerics}}}</ span > {{kind}} {{> feature_set }} {{> categorization }}</ h1 > </ div >
12
12
{{/self}}
13
13
14
14
{{#function}}
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ <h5><span class="package-name">{{parent.name}}</span> <span class="package-kind"
8
8
9
9
< div id ="dartdoc-main-content " class ="col-xs-12 col-sm-9 col-md-8 main-content ">
10
10
{{#self}}
11
- < div > {{> source_link}}< h1 > < span class ="kind-library "> {{{name}}}</ span > {{kind}} {{> categorization }} {{> feature_set }}</ h1 > </ div >
11
+ < div > {{> source_link}}< h1 > < span class ="kind-library "> {{{name}}}</ span > {{kind}} {{> feature_set }} {{> categorization }}</ h1 > </ div >
12
12
{{/self}}
13
13
14
14
{{#library}}
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ <h5>{{parent.name}} {{parent.kind}}</h5>
8
8
9
9
< div id ="dartdoc-main-content " class ="col-xs-12 col-sm-9 col-md-8 main-content ">
10
10
{{#self}}
11
- < div > {{> source_link}}< h1 > < span class ="kind-mixin "> {{{nameWithGenerics}}}</ span > {{kind}} {{> categorization }} {{> feature_set }}</ h1 > </ div >
11
+ < div > {{> source_link}}< h1 > < span class ="kind-mixin "> {{{nameWithGenerics}}}</ span > {{kind}} {{> feature_set }} {{> categorization }}</ h1 > </ div >
12
12
{{/self}}
13
13
14
14
{{#mixin}}
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ <h5>{{parent.name}} {{parent.kind}}</h5>
8
8
9
9
< div id ="dartdoc-main-content " class ="col-xs-12 col-sm-9 col-md-8 main-content ">
10
10
{{#self}}
11
- < div > {{> source_link}}< h1 > < span class ="kind-top-level-constant "> {{{name}}}</ span > {{kind}} {{> categorization }} {{> feature_set }}</ h1 > </ div >
11
+ < div > {{> source_link}}< h1 > < span class ="kind-top-level-constant "> {{{name}}}</ span > {{kind}} {{> feature_set }} {{> categorization }}</ h1 > </ div >
12
12
13
13
< section class ="multi-line-signature ">
14
14
{{> name_summary}}
You can’t perform that action at this time.
0 commit comments