enso/app/gui/view/documentation/tailwind.config.js
Ilya Bogdanov 9e4dd9d708
Documentation display delay and hovered item preview caption (#4075)
This PR adds a configurable delay before displaying documentation ([task](https://www.pivotaltracker.com/story/show/183970872)) and a "hovered item preview" caption on top of the panel when you hover some not-selected entry. ([task](https://www.pivotaltracker.com/story/show/183970838)). The caption design will be adjusted in a future PR with a style update.


https://user-images.githubusercontent.com/6566674/214233481-10550fcf-a106-4b11-b5a2-15283745cbbf.mp4
2023-01-27 01:34:35 +00:00

29 lines
835 B
JavaScript

/** @type {import('tailwindcss').Config} */
module.exports = {
content: ['src/**/*.rs'],
theme: {
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: [],
}