Skip to content

Commit fe2ebb2

Browse files
committed
🤖 Update LLMs files [skip ci]
1 parent 31299f9 commit fe2ebb2

File tree

2 files changed

+60
-2
lines changed

2 files changed

+60
-2
lines changed

‎docusaurus/static/llms-code.txt‎

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1821,6 +1821,62 @@ export default {
18211821

18221822

18231823

1824+
# Theme extension
1825+
Source: https://docs.strapi.io/cms/admin-panel-customization/theme-extension
1826+
1827+
## Theme extension
1828+
Description: The following example shows how to override the primary color by customizing the light and dark theme keys in the admin panel configuration:
1829+
(Source: https://docs.strapi.io/cms/admin-panel-customization/theme-extension#theme-extension)
1830+
1831+
Language: JavaScript
1832+
File path: /src/admin/app.js
1833+
1834+
```js
1835+
export default {
1836+
config: {
1837+
theme: {
1838+
light: {
1839+
colors: {
1840+
primary600: "#4A6EFF",
1841+
},
1842+
},
1843+
dark: {
1844+
colors: {
1845+
primary600: "#9DB2FF",
1846+
},
1847+
},
1848+
},
1849+
},
1850+
bootstrap() {},
1851+
}
1852+
```
1853+
1854+
---
1855+
Language: TypeScript
1856+
File path: /src/admin/app.ts
1857+
1858+
```ts
1859+
export default {
1860+
config: {
1861+
theme: {
1862+
light: {
1863+
colors: {
1864+
primary600: '#4A6EFF',
1865+
},
1866+
},
1867+
dark: {
1868+
colors: {
1869+
primary600: '#9DB2FF',
1870+
},
1871+
},
1872+
},
1873+
},
1874+
bootstrap() {},
1875+
}
1876+
```
1877+
1878+
1879+
18241880
# Strapi Client
18251881
Source: https://docs.strapi.io/cms/api/client
18261882

‎docusaurus/static/llms-full.txt‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1784,8 +1784,10 @@ To extend the theme, use either:
17841784
- the `config.theme.dark` key for the Dark mode
17851785

17861786
:::strapi Strapi Design System
1787-
The default defines various theme-related keys (shadows, colors…) that can be updated through the `config.theme.light` and `config.theme.dark` keys in `./admin/src/app.js`. The is fully customizable and has a dedicated documentation.
1788-
:::
1787+
1788+
The default
1789+
1790+
</Tabs>
17891791

17901792

17911793

0 commit comments

Comments
 (0)