Hackers' Pub is a place for software engineers to share their knowledge and experience with each other. It's also an ActivityPub-enabled social network, so you can follow your favorite hackers in the fediverse and get their latest posts in your feed.
The kind of fantasy novel where you can't really make sense of it unless you keep a wikipedia tab with the French Revolutionary Calendar open on it while you read
The kind of fantasy novel where you can't really make sense of it unless you keep a wikipedia tab with the French Revolutionary Calendar open on it while you read
Trump says US may "completely" cut income tax due to tariff revenue. 드럼프가 자꾸 무리하게 입을 터는데 (위기를 느끼는듯) 나중에 수습하기 대단히 어려울듯 ㅎㅎ 지금 인컴택스+관세 둘다 거둬도 미국정부 빚 메꾸기에는 턱없이 부족함...
After our initial round of hirings, we are now opening applications for the Creative Circle! We're looking for any creatives who earn money through their work and who want to have a say in our collective. Sound like you?
Imagine working a 36 hour shift to deliver a chatbot that says Elon Musk is fitter than LeBron and can swim better than Michael Phelps then jumping online to brag about it.
I've streamlined theme development in Ktistec. The theming system uses a hierarchy of CSS custom properties and fallbacks. Theme authors can customize a theme at multiple levels:
Base Colors Only
Define only base colors like --text-primary, --bg-primary, --bg-input, --semantic-primary, etc. Derived colors will auto-generate using color-mix formulas. For example:
:root { --semantic-primary: #ffa500; }
From this one line, theme-appropriate colors like --bg-accent-code, --anchor-color, etc. auto-generate.
Base Colors Plus Derived Colors
Define base colors and derived colors. Derived colors use custom values when defined. Undefined derived colors auto-generate. For example:
:root {
--text-primary: #333;
--text-primary-2: #ff0000; /* red for this specific shade */
}
Given this theme, derived shades like --text-primary-1, --text-primary-3, and --text-primary-4 auto-generate. --text-primary-2 is red.
The simplest possible interesting theme redefines the primary semantic color. The single line above (in Base Colors Only) would result in the following, with button color, link color, disabled, selected, and hover states all derived automatically:
screenshot of the setting page with the primary semantic color defined
These changes will be in the upcoming release. Existing themes will continue to work, as is.