enso/app/gui/view/documentation/tailwind.config.js
Ilya Bogdanov 5a56d69fdf
Make font size in the documentation panel smaller (#5654)
Closes #5653

Make the font size in the documentation panel smaller, the same size as component browser entries.

<img width="1301" alt="Screenshot 2023-02-14 at 14 23 51" src="https://user-images.githubusercontent.com/6566674/218712728-1f233ebb-7b17-4f6d-92e3-2e60def626d3.png">
<img width="890" alt="Screenshot 2023-02-14 at 14 36 55" src="https://user-images.githubusercontent.com/6566674/218712753-72d1cd49-14f7-46c0-a5f5-f56f568219a5.png">
2023-02-14 11:41:09 +00:00

35 lines
969 B
JavaScript

/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['src/**/*.rs'],
theme: {
fontSize: {
base: '11.5px',
lg: '13px',
xl: '15px',
'2xl': '17px',
},
extend: {
colors: {
typeName: '#9640da',
moduleName: '#a239e2',
methodsHeader: '#1f71d3',
methodName: '#1f71d3',
typesHeader: '#1f71d3',
examplesHeader: '#6da85e',
importantBackground: '#edefe7',
infoBackground: '#e6f1f8',
exampleBackground: '#e6f1f8',
docsBackground: '#fcfeff',
docsText: '#434343',
tagBackground: '#f5f5f5',
captionBackground: '#0077f6',
},
opacity: {
85: '.85',
34: '.34',
},
},
},
plugins: [],
}