Comments (1)
Not a silly question at all! It takes a couple of steps, but should be straight forward - and feel free to ask if something doesn't make sense, I did not verify each individual step I'm laying out below.
This project detects the available themes at build time by looking for css files in node_modules/@elastic/eui/dist
To modify/add a theme, you'll need to clone the EUI repo and follow these instructions to set up a theme. To recompile only the CSS files (and not all of EUI), you can run:
node ./scripts/compile-scss.js "@elastic/eui"
which will create the new files in the dist dir within your EUI checkout. They can be copied into your next-eui-starter project and referenced by your next.config.js's buildThemeConfig
from next-eui-starter.
Related Issues (20)
- Initial thoughts HOT 18
- Error using EuiHeaderBreadcrumbs
- CodeBlock not render properly (Colors)! HOT 4
- Warning: Did not expect server HTML to contain a <path> in <svg>. HOT 4
- Update to EUI version 31 HOT 1
- Bad-precaching-response with themes/min.css when trying to use EUI next.js Starter for PWA HOT 3
- Any Plans to Deprecate React Ace and Migrate to Next JS 11 ? (Webpack 5) HOT 5
- Incompatible with Nextjs 5 HOT 5
- Please update the starter template with eui 23.1.0 HOT 2
- Modules that import @elastic/eui are failing
- Cross Ref: Error 'Document is not defined...'
- EuiNavDrawer isLocked prop does not shift main content to the right HOT 5
- Inconsistent link opening on the home page HOT 1
- CodeSandbox template doesn't work HOT 1
- Add new help page - How we prototype at Elastic
- Unable to compile to serverless target HOT 10
- regeneratorRuntime is not defined HOT 1
- Flash of unstyled content when loading from server HOT 16
- Flash of unstyled content HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from next-eui-starter.