@canonical/react-ds-app-launchpad 0.37.0 → 0.40.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (29) hide show
  1. package/README.md +54 -0
  2. package/dist/esm/lib/DiffChangeMarker/common/DetailedChangeMarker/styles.css +19 -15
  3. package/dist/esm/lib/DiffChangeMarker/common/SimpleChangeMarker/styles.css +25 -22
  4. package/dist/esm/lib/DiffChangeMarker/styles.css +24 -21
  5. package/dist/esm/lib/EditableBlock/styles.css +33 -29
  6. package/dist/esm/lib/FileTree/common/File/styles.css +8 -4
  7. package/dist/esm/lib/FileTree/common/Folder/styles.css +8 -4
  8. package/dist/esm/lib/FileTree/common/IndentationBlock/styles.css +29 -26
  9. package/dist/esm/lib/FileTree/common/Node/styles.css +50 -46
  10. package/dist/esm/lib/FileTree/common/SearchBox/styles.css +54 -51
  11. package/dist/esm/lib/FileTree/styles.css +46 -43
  12. package/dist/esm/lib/GitDiffViewer/common/CodeDiffViewer/HighlighTheme.css +174 -170
  13. package/dist/esm/lib/GitDiffViewer/common/CodeDiffViewer/common/AnnotatedDiffLine/styles.css +15 -12
  14. package/dist/esm/lib/GitDiffViewer/common/CodeDiffViewer/common/DiffLine/styles.css +92 -89
  15. package/dist/esm/lib/GitDiffViewer/common/CodeDiffViewer/styles.css +22 -19
  16. package/dist/esm/lib/GitDiffViewer/common/FileHeader/styles.css +41 -38
  17. package/dist/esm/lib/GitDiffViewer/styles.css +24 -20
  18. package/dist/esm/lib/MarkdownEditor/common/Toolbar/common/Button/styles.css +16 -13
  19. package/dist/esm/lib/MarkdownEditor/common/Toolbar/common/Group/styles.css +8 -5
  20. package/dist/esm/lib/MarkdownEditor/common/Toolbar/common/Separator/styles.css +8 -5
  21. package/dist/esm/lib/MarkdownEditor/common/Toolbar/styles.css +14 -11
  22. package/dist/esm/lib/MarkdownEditor/common/ViewModeTabs/styles.css +36 -33
  23. package/dist/esm/lib/MarkdownEditor/styles.css +68 -64
  24. package/dist/esm/lib/index.css +43 -0
  25. package/dist/types/lib/FileTree/types.d.ts +1 -1
  26. package/dist/types/lib/FileTree/types.d.ts.map +1 -1
  27. package/dist/types/lib/GitDiffViewer/types.d.ts +1 -1
  28. package/dist/types/lib/GitDiffViewer/types.d.ts.map +1 -1
  29. package/package.json +13 -13
@@ -1,59 +1,62 @@
1
- /* @canonical/generator-ds 0.9.0-experimental.1 */
1
+ /* @canonical/generator-ds 0.9.0-experimental.1
2
+ * Layer: ds.components.apps-launchpad (@canonical/styles README, "Cascade layers"). */
2
3
 
3
- .ds.file-tree {
4
- --file-tree-container-border-color: #c4c4c4;
4
+ @layer ds.components.apps-launchpad {
5
+ .ds.file-tree {
6
+ --file-tree-container-border-color: #c4c4c4;
5
7
 
6
- --file-tree-node-icon-size: 16px;
8
+ --file-tree-node-icon-size: 16px;
7
9
 
8
- --file-tree-node-text-size: 0.875rem;
9
- --file-tree-node-text-weight: 400;
10
- --file-tree-node-text-weight-active: 550;
10
+ --file-tree-node-text-size: 0.875rem;
11
+ --file-tree-node-text-weight: 400;
12
+ --file-tree-node-text-weight-active: 550;
11
13
 
12
- --file-tree-node-text-line-height: 1.25rem;
14
+ --file-tree-node-text-line-height: 1.25rem;
13
15
 
14
- --file-tree-node-text-color-active: #000000;
15
- --file-tree-node-text-color-default: #000000;
16
+ --file-tree-node-text-color-active: #000000;
17
+ --file-tree-node-text-color-default: #000000;
16
18
 
17
- --file-tree-node-background-color: #ffffff;
18
- --file-tree-node-background-color-hover: #f2f2f2;
19
- --file-tree-node-background-color-active: #f2f2f2;
19
+ --file-tree-node-background-color: #ffffff;
20
+ --file-tree-node-background-color-hover: #f2f2f2;
21
+ --file-tree-node-background-color-active: #f2f2f2;
20
22
 
21
- --file-tree-node-border-color: transparent;
22
- --file-tree-node-border-color-hover: transparent;
23
- --file-tree-node-border-color-active: black;
23
+ --file-tree-node-border-color: transparent;
24
+ --file-tree-node-border-color-hover: transparent;
25
+ --file-tree-node-border-color-active: black;
24
26
 
25
- --file-tree-node-indent-width: 16px;
26
- --file-tree-node-indent-bar-color: #efefef;
27
- --file-tree-node-indent-bar-width: 1px;
28
- --file-tree-node-items-gap: 8px;
29
- --file-tree-node-horizontal-padding: 0.25rem;
30
- --file-tree-node-vertical-padding: 0.25rem;
27
+ --file-tree-node-indent-width: 16px;
28
+ --file-tree-node-indent-bar-color: #efefef;
29
+ --file-tree-node-indent-bar-width: 1px;
30
+ --file-tree-node-items-gap: 8px;
31
+ --file-tree-node-horizontal-padding: 0.25rem;
32
+ --file-tree-node-vertical-padding: 0.25rem;
31
33
 
32
- --file-tree-node-file-icon: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M6.99194 2.5H4.5V13.5H11.5V7.00806H9.24194C7.9993 7.00806 6.99194 6.0007 6.99194 4.75806V2.5ZM10.8869 5.50806L8.49194 3.1127V4.75806C8.49194 5.17227 8.82773 5.50806 9.24194 5.50806H10.8869ZM3 2.5C3 1.67157 3.67157 1 4.5 1H8.08647C8.35172 1 8.60609 1.10538 8.79364 1.29295L12.7072 5.20712C12.8947 5.39465 13 5.64898 13 5.91417V13.5C13 14.3284 12.3284 15 11.5 15H4.5C3.67157 15 3 14.3284 3 13.5V2.5ZM5.65837 8.48389H10.4917V9.98389H5.65837V8.48389ZM5.65837 10.7339V12.2339H10.4917V10.7339H5.65837Z' fill='black'/%3E%3C/svg%3E%0A");
33
- --file-tree-node-closed-folder-icon: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M10 5H13.5C14.3284 5 15 5.67157 15 6.5V12.5C15 13.3284 14.3284 14 13.5 14H2.5C1.67157 14 1 13.3284 1 12.5V3.5C1 2.67157 1.67157 2 2.5 2H8.5C9.32843 2 10 2.67157 10 3.5V5ZM8.5 3.5V5H2.5V3.5H8.5ZM2.5 12.5L2.5 6.5H13.5V12.5H2.5Z' fill='black'/%3E%3C/svg%3E%0A");
34
- --file-tree-node-opened-folder-icon: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M6 5.46408V3.60693H2.5V8.66667L2.94235 7.09388C3.12429 6.44696 3.7143 6 4.38632 6H11.5V5.46408H6ZM13 6H14.0216C15.0862 6 15.812 7.07821 15.4113 8.06457L13.38 13.0646C13.1503 13.6301 12.6007 14 11.9903 14H2.98007C2.97153 14 2.963 13.9999 2.9545 13.9998H2.5C1.67157 13.9998 1 13.3282 1 12.4998V3.60693C1 2.77851 1.67157 2.10693 2.5 2.10693H6C6.82843 2.10693 7.5 2.77851 7.5 3.60693V3.96408H11.5C12.3284 3.96408 13 4.63565 13 5.46408V6ZM4.38632 7.5H14.0216L11.9903 12.5H2.98007L4.38632 7.5Z' fill='black'/%3E%3C/svg%3E%0A");
34
+ --file-tree-node-file-icon: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M6.99194 2.5H4.5V13.5H11.5V7.00806H9.24194C7.9993 7.00806 6.99194 6.0007 6.99194 4.75806V2.5ZM10.8869 5.50806L8.49194 3.1127V4.75806C8.49194 5.17227 8.82773 5.50806 9.24194 5.50806H10.8869ZM3 2.5C3 1.67157 3.67157 1 4.5 1H8.08647C8.35172 1 8.60609 1.10538 8.79364 1.29295L12.7072 5.20712C12.8947 5.39465 13 5.64898 13 5.91417V13.5C13 14.3284 12.3284 15 11.5 15H4.5C3.67157 15 3 14.3284 3 13.5V2.5ZM5.65837 8.48389H10.4917V9.98389H5.65837V8.48389ZM5.65837 10.7339V12.2339H10.4917V10.7339H5.65837Z' fill='black'/%3E%3C/svg%3E%0A");
35
+ --file-tree-node-closed-folder-icon: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M10 5H13.5C14.3284 5 15 5.67157 15 6.5V12.5C15 13.3284 14.3284 14 13.5 14H2.5C1.67157 14 1 13.3284 1 12.5V3.5C1 2.67157 1.67157 2 2.5 2H8.5C9.32843 2 10 2.67157 10 3.5V5ZM8.5 3.5V5H2.5V3.5H8.5ZM2.5 12.5L2.5 6.5H13.5V12.5H2.5Z' fill='black'/%3E%3C/svg%3E%0A");
36
+ --file-tree-node-opened-folder-icon: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M6 5.46408V3.60693H2.5V8.66667L2.94235 7.09388C3.12429 6.44696 3.7143 6 4.38632 6H11.5V5.46408H6ZM13 6H14.0216C15.0862 6 15.812 7.07821 15.4113 8.06457L13.38 13.0646C13.1503 13.6301 12.6007 14 11.9903 14H2.98007C2.97153 14 2.963 13.9999 2.9545 13.9998H2.5C1.67157 13.9998 1 13.3282 1 12.4998V3.60693C1 2.77851 1.67157 2.10693 2.5 2.10693H6C6.82843 2.10693 7.5 2.77851 7.5 3.60693V3.96408H11.5C12.3284 3.96408 13 4.63565 13 5.46408V6ZM4.38632 7.5H14.0216L11.9903 12.5H2.98007L4.38632 7.5Z' fill='black'/%3E%3C/svg%3E%0A");
35
37
 
36
- --file-tree-search-box-vertical-padding: 6px;
37
- --file-tree-search-box-horizontal-padding: 8px;
38
+ --file-tree-search-box-vertical-padding: 6px;
39
+ --file-tree-search-box-horizontal-padding: 8px;
38
40
 
39
- --file-tree-search-box-line-height: 24px;
40
- --file-tree-search-box-button-size: 24px;
41
- --file-tree-search-box-background-color: #f5f5f5;
42
- --file-tree-search-box-border-color: #6c6c6c;
41
+ --file-tree-search-box-line-height: 24px;
42
+ --file-tree-search-box-button-size: 24px;
43
+ --file-tree-search-box-background-color: #f5f5f5;
44
+ --file-tree-search-box-border-color: #6c6c6c;
43
45
 
44
- --file-tree-search-box-search-icon: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.96399 1C8.08013 1.00013 9.17384 1.31346 10.1207 1.90436C11.0676 2.49526 11.8297 3.34002 12.3203 4.34256C12.8109 5.34511 13.0103 6.4652 12.8959 7.57547C12.7815 8.68573 12.3578 9.7416 11.673 10.623L15.976 14.928L14.916 15.988L10.61 11.683C9.85937 12.2631 8.98121 12.6558 8.0484 12.8284C7.1156 13.001 6.15506 12.9487 5.24655 12.6757C4.33805 12.4026 3.50777 11.9168 2.82467 11.2586C2.14157 10.6003 1.62534 9.7886 1.31886 8.89083C1.01237 7.99305 0.924467 7.03512 1.06244 6.09656C1.20042 5.158 1.5603 4.26589 2.11219 3.49431C2.66409 2.72273 3.39208 2.09393 4.23573 1.66012C5.07938 1.22631 6.01434 1.00001 6.96299 1H6.96399ZM6.96399 2.5C6.37221 2.49114 5.78458 2.60005 5.23528 2.82039C4.68598 3.04072 4.18598 3.36809 3.76436 3.78344C3.34274 4.19879 3.00793 4.69384 2.7794 5.23978C2.55087 5.78572 2.43318 6.37166 2.43318 6.9635C2.43318 7.55534 2.55087 8.14128 2.7794 8.68722C3.00793 9.23316 3.34274 9.72821 3.76436 10.1436C4.18598 10.5589 4.68598 10.8863 5.23528 11.1066C5.78458 11.327 6.37221 11.4359 6.96399 11.427C8.13621 11.4095 9.25448 10.9315 10.0772 10.0963C10.9 9.26115 11.3612 8.13585 11.3612 6.9635C11.3612 5.79115 10.9 4.66585 10.0772 3.83069C9.25448 2.99553 8.13621 2.51755 6.96399 2.5Z' fill='black'/%3E%3C/svg%3E%0A");
45
- --file-tree-search-box-reset-icon: url("data:image/svg+xml,%3Csvg width='16' height='16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23000' fill-rule='nonzero' d='M13.041 1.898l1.06 1.06L9.062 8l5.04 5.042-1.06 1.06L8 9.062 2.96 14.1l-1.06-1.06L6.938 8 1.9 2.96l1.06-1.06 5.04 5.04z'/%3E%3C/svg%3E");
46
+ --file-tree-search-box-search-icon: url("data:image/svg+xml,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.96399 1C8.08013 1.00013 9.17384 1.31346 10.1207 1.90436C11.0676 2.49526 11.8297 3.34002 12.3203 4.34256C12.8109 5.34511 13.0103 6.4652 12.8959 7.57547C12.7815 8.68573 12.3578 9.7416 11.673 10.623L15.976 14.928L14.916 15.988L10.61 11.683C9.85937 12.2631 8.98121 12.6558 8.0484 12.8284C7.1156 13.001 6.15506 12.9487 5.24655 12.6757C4.33805 12.4026 3.50777 11.9168 2.82467 11.2586C2.14157 10.6003 1.62534 9.7886 1.31886 8.89083C1.01237 7.99305 0.924467 7.03512 1.06244 6.09656C1.20042 5.158 1.5603 4.26589 2.11219 3.49431C2.66409 2.72273 3.39208 2.09393 4.23573 1.66012C5.07938 1.22631 6.01434 1.00001 6.96299 1H6.96399ZM6.96399 2.5C6.37221 2.49114 5.78458 2.60005 5.23528 2.82039C4.68598 3.04072 4.18598 3.36809 3.76436 3.78344C3.34274 4.19879 3.00793 4.69384 2.7794 5.23978C2.55087 5.78572 2.43318 6.37166 2.43318 6.9635C2.43318 7.55534 2.55087 8.14128 2.7794 8.68722C3.00793 9.23316 3.34274 9.72821 3.76436 10.1436C4.18598 10.5589 4.68598 10.8863 5.23528 11.1066C5.78458 11.327 6.37221 11.4359 6.96399 11.427C8.13621 11.4095 9.25448 10.9315 10.0772 10.0963C10.9 9.26115 11.3612 8.13585 11.3612 6.9635C11.3612 5.79115 10.9 4.66585 10.0772 3.83069C9.25448 2.99553 8.13621 2.51755 6.96399 2.5Z' fill='black'/%3E%3C/svg%3E%0A");
47
+ --file-tree-search-box-reset-icon: url("data:image/svg+xml,%3Csvg width='16' height='16' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23000' fill-rule='nonzero' d='M13.041 1.898l1.06 1.06L9.062 8l5.04 5.042-1.06 1.06L8 9.062 2.96 14.1l-1.06-1.06L6.938 8 1.9 2.96l1.06-1.06 5.04 5.04z'/%3E%3C/svg%3E");
46
48
 
47
- display: flex;
48
- flex-direction: column;
49
- gap: 0;
50
- border: 1px solid var(--file-tree-container-border-color);
51
- overflow: auto;
52
- padding: 0;
53
- margin: 0;
54
-
55
- ul {
56
- margin: 0;
49
+ display: flex;
50
+ flex-direction: column;
51
+ gap: 0;
52
+ border: 1px solid var(--file-tree-container-border-color);
53
+ overflow: auto;
57
54
  padding: 0;
55
+ margin: 0;
56
+
57
+ ul {
58
+ margin: 0;
59
+ padding: 0;
60
+ }
58
61
  }
59
62
  }
@@ -1,171 +1,175 @@
1
- .hljs {
2
- display: block;
3
- overflow-x: auto;
4
- padding: 0.5em;
5
-
6
- color: #000000;
7
- background: #f7f7f7;
8
- font-family: var(--font-family-mono);
9
- }
10
-
11
- .hljs-comment,
12
- .hljs-prolog,
13
- .hljs-doctype,
14
- .hljs-cdata {
15
- color: #8b949e;
16
- }
17
-
18
- .hljs-punctuation {
19
- color: #000000;
20
- }
21
-
22
- .hljs-namespace {
23
- opacity: 0.7;
24
- }
25
-
26
- .hljs-property,
27
- .hljs-tag,
28
- .hljs-boolean,
29
- .hljs-number,
30
- .hljs-constant,
31
- .hljs-symbol,
32
- .hljs-deleted {
33
- color: #77216f;
34
- }
35
-
36
- .hljs-selector,
37
- .hljs-attr-name,
38
- .hljs-string,
39
- .hljs-char,
40
- .hljs-builtin,
41
- .hljs-inserted {
42
- color: #0e811f;
43
- }
44
-
45
- .hljs-operator,
46
- .hljs-entity,
47
- .hljs-url,
48
- .language-css .hljs-string,
49
- .style .hljs-string {
50
- color: #a86500;
51
- }
52
-
53
- .hljs-atrule,
54
- .hljs-attr-value,
55
- .hljs-keyword {
56
- color: #06c;
57
- }
58
-
59
- .hljs-function,
60
- .hljs-class-name {
61
- color: #c7162b;
62
- }
63
-
64
- .hljs-regexp,
65
- .hljs-important,
66
- .hljs-variable {
67
- color: #dc3023;
68
- }
69
-
70
- .hljs-important,
71
- .hljs-bold {
72
- font-weight: bold;
73
- }
74
-
75
- .hljs-italic {
76
- font-style: italic;
77
- }
78
-
79
- .hljs-entity {
80
- cursor: help;
81
- }
82
-
83
- .hljs-attr,
84
- .hljs-attribute,
85
- .hljs-meta,
86
- .hljs-selector-attr,
87
- .hljs-selector-class,
88
- .hljs-selector-id {
89
- color: #77216f;
90
- }
91
-
92
- .hljs-variable,
93
- .hljs-literal,
94
- .hljs-number,
95
- .hljs-doctag {
96
- color: #77216f;
97
- }
98
-
99
- .hljs-params {
100
- color: #000000;
101
- }
102
-
103
- .hljs-class,
104
- .hljs-tag,
105
- .hljs-title,
106
- .hljs-built_in {
107
- color: #0e811f;
108
- }
109
-
110
- .hljs-keyword,
111
- .hljs-type,
112
- .hljs-builtin-name,
113
- .hljs-meta-keyword,
114
- .hljs-template-tag,
115
- .hljs-template-variable {
116
- color: #06c;
117
- }
118
-
119
- .hljs-string,
120
- .hljs-undefined {
121
- color: #0e811f;
122
- }
123
-
124
- .hljs-regexp {
125
- color: #dc3023;
126
- }
127
-
128
- .hljs-symbol {
129
- color: #77216f;
130
- }
131
-
132
- .hljs-bullet {
133
- color: #a86500;
134
- }
135
-
136
- .hljs-section {
137
- color: #77216f;
138
- font-weight: bold;
139
- }
140
-
141
- .hljs-quote,
142
- .hljs-name,
143
- .hljs-selector-tag,
144
- .hljs-selector-pseudo {
145
- color: #0e811f;
146
- }
147
-
148
- .hljs-emphasis {
149
- color: #06c;
150
- font-style: italic;
151
- }
152
-
153
- .hljs-strong {
154
- color: #06c;
155
- font-weight: bold;
156
- }
157
-
158
- .hljs-deletion {
159
- color: #dc3023;
160
- background-color: transparent;
161
- }
162
-
163
- .hljs-addition {
164
- color: #0e811f;
165
- background-color: transparent;
166
- }
167
-
168
- .hljs-link {
169
- color: #a86500;
170
- font-style: underline;
1
+ /* Layer: ds.components.apps-launchpad (@canonical/styles README, "Cascade layers"). */
2
+
3
+ @layer ds.components.apps-launchpad {
4
+ .hljs {
5
+ display: block;
6
+ overflow-x: auto;
7
+ padding: 0.5em;
8
+
9
+ color: #000000;
10
+ background: #f7f7f7;
11
+ font-family: var(--font-family-mono);
12
+ }
13
+
14
+ .hljs-comment,
15
+ .hljs-prolog,
16
+ .hljs-doctype,
17
+ .hljs-cdata {
18
+ color: #8b949e;
19
+ }
20
+
21
+ .hljs-punctuation {
22
+ color: #000000;
23
+ }
24
+
25
+ .hljs-namespace {
26
+ opacity: 0.7;
27
+ }
28
+
29
+ .hljs-property,
30
+ .hljs-tag,
31
+ .hljs-boolean,
32
+ .hljs-number,
33
+ .hljs-constant,
34
+ .hljs-symbol,
35
+ .hljs-deleted {
36
+ color: #77216f;
37
+ }
38
+
39
+ .hljs-selector,
40
+ .hljs-attr-name,
41
+ .hljs-string,
42
+ .hljs-char,
43
+ .hljs-builtin,
44
+ .hljs-inserted {
45
+ color: #0e811f;
46
+ }
47
+
48
+ .hljs-operator,
49
+ .hljs-entity,
50
+ .hljs-url,
51
+ .language-css .hljs-string,
52
+ .style .hljs-string {
53
+ color: #a86500;
54
+ }
55
+
56
+ .hljs-atrule,
57
+ .hljs-attr-value,
58
+ .hljs-keyword {
59
+ color: #06c;
60
+ }
61
+
62
+ .hljs-function,
63
+ .hljs-class-name {
64
+ color: #c7162b;
65
+ }
66
+
67
+ .hljs-regexp,
68
+ .hljs-important,
69
+ .hljs-variable {
70
+ color: #dc3023;
71
+ }
72
+
73
+ .hljs-important,
74
+ .hljs-bold {
75
+ font-weight: bold;
76
+ }
77
+
78
+ .hljs-italic {
79
+ font-style: italic;
80
+ }
81
+
82
+ .hljs-entity {
83
+ cursor: help;
84
+ }
85
+
86
+ .hljs-attr,
87
+ .hljs-attribute,
88
+ .hljs-meta,
89
+ .hljs-selector-attr,
90
+ .hljs-selector-class,
91
+ .hljs-selector-id {
92
+ color: #77216f;
93
+ }
94
+
95
+ .hljs-variable,
96
+ .hljs-literal,
97
+ .hljs-number,
98
+ .hljs-doctag {
99
+ color: #77216f;
100
+ }
101
+
102
+ .hljs-params {
103
+ color: #000000;
104
+ }
105
+
106
+ .hljs-class,
107
+ .hljs-tag,
108
+ .hljs-title,
109
+ .hljs-built_in {
110
+ color: #0e811f;
111
+ }
112
+
113
+ .hljs-keyword,
114
+ .hljs-type,
115
+ .hljs-builtin-name,
116
+ .hljs-meta-keyword,
117
+ .hljs-template-tag,
118
+ .hljs-template-variable {
119
+ color: #06c;
120
+ }
121
+
122
+ .hljs-string,
123
+ .hljs-undefined {
124
+ color: #0e811f;
125
+ }
126
+
127
+ .hljs-regexp {
128
+ color: #dc3023;
129
+ }
130
+
131
+ .hljs-symbol {
132
+ color: #77216f;
133
+ }
134
+
135
+ .hljs-bullet {
136
+ color: #a86500;
137
+ }
138
+
139
+ .hljs-section {
140
+ color: #77216f;
141
+ font-weight: bold;
142
+ }
143
+
144
+ .hljs-quote,
145
+ .hljs-name,
146
+ .hljs-selector-tag,
147
+ .hljs-selector-pseudo {
148
+ color: #0e811f;
149
+ }
150
+
151
+ .hljs-emphasis {
152
+ color: #06c;
153
+ font-style: italic;
154
+ }
155
+
156
+ .hljs-strong {
157
+ color: #06c;
158
+ font-weight: bold;
159
+ }
160
+
161
+ .hljs-deletion {
162
+ color: #dc3023;
163
+ background-color: transparent;
164
+ }
165
+
166
+ .hljs-addition {
167
+ color: #0e811f;
168
+ background-color: transparent;
169
+ }
170
+
171
+ .hljs-link {
172
+ color: #a86500;
173
+ font-style: underline;
174
+ }
171
175
  }
@@ -1,15 +1,18 @@
1
- /* @canonical/generator-ds 0.9.0-experimental.12 */
1
+ /* @canonical/generator-ds 0.9.0-experimental.12
2
+ * Layer: ds.components.apps-launchpad (@canonical/styles README, "Cascade layers"). */
2
3
 
3
- .ds.annotated-diff-line {
4
- display: flex;
5
- position: sticky;
6
- left: 0;
7
- width: var(--table-width);
8
- .container {
9
- width: 100%;
10
- border: 1px solid var(--git-diff-viewer-border-color-tinted);
11
- border-width: 1px 0;
12
- border-radius: 1px;
13
- padding: 0;
4
+ @layer ds.components.apps-launchpad {
5
+ .ds.annotated-diff-line {
6
+ display: flex;
7
+ position: sticky;
8
+ left: 0;
9
+ width: var(--table-width);
10
+ .container {
11
+ width: 100%;
12
+ border: 1px solid var(--git-diff-viewer-border-color-tinted);
13
+ border-width: 1px 0;
14
+ border-radius: 1px;
15
+ padding: 0;
16
+ }
14
17
  }
15
18
  }